Servidor MCPHerramientas disponibles
Leer configuración
Busca o recupera sucursales y campos de recibos de la organización. Si un campo indica valuesComplete: false, usa operation: values con kind: sales_receipt_field y entryId, desde la primera página, para recuperar todas sus opciones mediante cursor.
Herramienta MCP
get_configurationPropósito
- Usar cuando
- Necesitas configuración antes de crear o actualizar registros.
- No usar cuando
- Necesitas el catálogo oficial de claves del SAT.
- Permisos requeridos
- Efectos secundarios
- Ninguno
- Idempotencia
- Idempotente
Esquema de entrada
JSON Schema{ "type": "object", "properties": { "input": { "oneOf": [ { "type": "object", "properties": { "operation": { "const": "search" }, "kind": { "$ref": "#/definitions/__schema0" }, "query": { "type": "string", "minLength": 1 }, "cursor": { "type": "string" }, "limit": { "type": "integer", "minimum": 1, "maximum": 100 } }, "required": [ "operation", "kind" ], "additionalProperties": false }, { "type": "object", "properties": { "operation": { "const": "get" }, "kind": { "$ref": "#/definitions/__schema0" }, "entryId": { "type": "string" } }, "required": [ "operation", "kind", "entryId" ], "additionalProperties": false }, { "type": "object", "properties": { "operation": { "const": "values" }, "kind": { "const": "sales_receipt_field" }, "entryId": { "type": "string", "minLength": 1 }, "cursor": { "type": "string", "minLength": 1 }, "limit": { "type": "integer", "minimum": 1, "maximum": 100 } }, "required": [ "operation", "kind", "entryId" ], "additionalProperties": false } ] } }, "required": [ "input" ], "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "__schema0": { "enum": [ "location", "sales_receipt_field" ], "description": "location is a business location; sales_receipt_field configures custom receipt data" } }}Esquema de salida
JSON Schema{ "type": "object", "properties": { "data": { "anyOf": [ { "type": "object", "properties": { "locations": { "type": "array", "items": { "$ref": "#/definitions/__schema0" } }, "nextCursor": { "$ref": "#/definitions/__schema1" }, "hasMore": { "$ref": "#/definitions/__schema2" } }, "required": [ "locations", "nextCursor", "hasMore" ], "additionalProperties": false }, { "type": "object", "properties": { "fields": { "type": "array", "items": { "$ref": "#/definitions/__schema3" } }, "nextCursor": { "$ref": "#/definitions/__schema1" }, "hasMore": { "$ref": "#/definitions/__schema2" } }, "required": [ "fields", "nextCursor", "hasMore" ], "additionalProperties": false }, { "anyOf": [ { "$ref": "#/definitions/__schema0" }, { "$ref": "#/definitions/__schema3" } ] }, { "type": "object", "properties": { "values": { "type": "array", "items": { "type": "string" } }, "nextCursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "hasMore": { "type": "boolean" } }, "required": [ "values", "nextCursor", "hasMore" ], "additionalProperties": false } ] }, "error": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "code": { "enum": [ "validation_error", "unauthenticated", "forbidden", "payment_required", "not_found", "method_not_allowed", "conflict", "idempotency_conflict", "operation_in_progress", "recovery_required", "migration_required", "rate_limited", "provider_unavailable", "internal" ] }, "message": { "type": "string" }, "details": { "type": "object", "properties": { "document": { "type": "object", "properties": { "documentRef": { "type": "string", "pattern": "^(invoice|withholding|sales_receipt|declaration|tax_compliance_opinion|sales_receipt_refund):.+$" }, "editable": { "type": "boolean" } }, "required": [ "documentRef", "editable" ], "additionalProperties": false }, "issues": { "type": "array", "items": { "type": "object", "properties": { "path": { "type": "array", "items": { "anyOf": [ { "type": "string" }, { "type": "number" } ] } }, "message": { "type": "string" }, "code": { "type": "string" } }, "required": [ "path", "message" ], "additionalProperties": false } }, "retryable": { "type": "boolean" }, "retryAfterSeconds": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "reason": { "type": "string" }, "balanceMinor": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "topUpUrl": { "type": "string" } }, "additionalProperties": false } }, "required": [ "code", "message" ], "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "__schema0": { "type": "object", "properties": { "locationId": { "type": "string", "minLength": 1 }, "name": { "type": "string" }, "folioPrefix": { "type": "string" }, "timeZone": { "type": "string" }, "address": { "type": "object", "properties": { "formattedAddress": { "type": "string" }, "street": { "type": "string" }, "exterior": { "type": "string" }, "interior": { "type": "string" }, "neighborhood": { "type": "string" }, "city": { "type": "string" }, "municipality": { "type": "string" }, "state": { "type": "string" }, "zip": { "type": "string" }, "country": { "type": "string" }, "placeId": { "type": "string" } }, "additionalProperties": false }, "pin": { "type": "object", "properties": { "latitude": { "type": "number", "minimum": -90, "maximum": 90 }, "longitude": { "type": "number", "minimum": -180, "maximum": 180 } }, "required": [ "latitude", "longitude" ], "additionalProperties": false }, "radiusMeters": { "type": "number", "minimum": 0 }, "updatedAt": { "type": "string", "format": "date-time" } }, "required": [ "locationId", "name", "updatedAt" ], "additionalProperties": false }, "__schema1": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "__schema2": { "type": "boolean" }, "__schema3": { "type": "object", "properties": { "fieldId": { "type": "string", "minLength": 1 }, "name": { "type": "string" }, "type": { "enum": [ "select", "checkbox" ] }, "required": { "type": "boolean" }, "order": { "type": "number" }, "values": { "type": "array", "items": { "type": "string" } }, "valuesComplete": { "type": "boolean" } }, "required": [ "fieldId", "name", "type", "required", "order", "values", "valuesComplete" ], "additionalProperties": false } }, "oneOf": [ { "required": [ "data" ] }, { "required": [ "error" ] } ]}Flujo relacionado
Consulta los flujos canónicos en Inicio rápidoHerramientas relacionadas
Timbrar nómina
Timbra recibos de nómina de forma irreversible: todos los listos de una nómina, con el número y el neto que verificaste, o un recibo rechazado ya corregido. Cada recibo se timbra en segundo plano por separado.
Buscar catálogo de productos SAT
Busca claves oficiales de productos y servicios del catálogo del SAT.