Facturación electrónica del SRI (Ecuador): XML de factura, firma XAdES-BES, envío y autorización.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Consulta en el SRI el estado de autorización de un comprobante por su clave de acceso.
Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp-sri-ecuador https://mcp.oneprotech.com/sri/mcp
Consulta en el SRI el estado de autorización de un comprobante por su clave de acceso.
| Argument | Type | Description |
|---|---|---|
| ambiente | string | Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'. |
| claveAcceso* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"claveAcceso"
],
"properties": {
"ambiente": {
"enum": [
"pruebas",
"produccion"
],
"type": "string",
"description": "Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'."
},
"claveAcceso": {
"type": "string",
"pattern": "^\\d+$",
"maxLength": 49,
"minLength": 49
}
}
}Genera la clave de acceso de 49 dígitos (con dígito verificador módulo 11) de un comprobante electrónico del SRI.
| Argument | Type | Description |
|---|---|---|
| ruc* | string | RUC del emisor (13 dígitos) |
| ambiente | string | Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'. |
| secuencial* | any | Secuencial del comprobante, hasta 9 dígitos |
| fechaEmision* | string | Fecha de emisión en formato aaaa-mm-dd o dd/mm/aaaa |
| puntoEmision | string | |
| codigoNumerico | string | 8 dígitos; si se omite se genera al azar |
| establecimiento | string | |
| tipoComprobante | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"fechaEmision",
"ruc",
"secuencial"
],
"properties": {
"ruc": {
"type": "string",
"maxLength": 13,
"description": "RUC del emisor (13 dígitos)"
},
"ambiente": {
"enum": [
"pruebas",
"produccion"
],
"type": "string",
"description": "Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'."
},
"secuencial": {
"anyOf": [
{
"type": "string",
"maxLength": 9
},
{
"type": "integer",
"maximum": 999999999,
"minimum": 0
}
],
"description": "Secuencial del comprobante, hasta 9 dígitos"
},
"fechaEmision": {
"type": "string",
"maxLength": 10,
"description": "Fecha de emisión en formato aaaa-mm-dd o dd/mm/aaaa"
},
"puntoEmision": {
"type": "string",
"default": "001",
"maxLength": 3
},
"codigoNumerico": {
"type": "string",
"maxLength": 8,
"description": "8 dígitos; si se omite se genera al azar"
},
"establecimiento": {
"type": "string",
"default": "001",
"maxLength": 3
},
"tipoComprobante": {
"enum": [
"factura",
"liquidacionCompra",
"notaCredito",
"notaDebito",
"guiaRemision",
"comprobanteRetencion"
],
"type": "string",
"default": "factura"
}
}
}Construye el XML de una factura electrónica (versión 1.1.0) con totales e IVA calculados, sin firmar ni enviar. Útil para revisar antes de emitir.
| Argument | Type | Description |
|---|---|---|
| items* | array | |
| pagos | array | |
| emisor* | object | |
| propina | number | |
| ambiente | string | Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'. |
| comprador* | object | |
| secuencial* | any | |
| fechaEmision* | string | aaaa-mm-dd o dd/mm/aaaa |
| puntoEmision | string | |
| infoAdicional |
Verifica el dígito verificador de una clave de acceso y la desglosa en sus campos.
| Argument | Type | Description |
|---|---|---|
| claveAcceso* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"claveAcceso"
],
"properties": {
"claveAcceso": {
"type": "string",
"maxLength": 49
}
}
}Valida una cédula (10 dígitos) o RUC (13 dígitos) ecuatoriano con los algoritmos módulo 10/11 e indica el tipo de contribuyente.
| Argument | Type | Description |
|---|---|---|
| identificacion* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"identificacion"
],
"properties": {
"identificacion": {
"type": "string",
"maxLength": 20
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 1, 2026.
| object |
| Campos adicionales (máx. 15), p. ej. { Email: '...' } |
| codigoNumerico | string |
| establecimiento | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"fechaEmision",
"secuencial",
"emisor",
"comprador",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"codigoPrincipal",
"descripcion",
"cantidad",
"precioUnitario"
],
"properties": {
"cantidad": {
"type": "number",
"maximum": 1000000000,
"exclusiveMinimum": 0
},
"descuento": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"tarifaIva": {
"enum": [
"0",
"5",
"12",
"13",
"14",
"15",
"noObjeto",
"exento"
],
"type": "string",
"default": "15",
"description": "Tarifa de IVA: '15' (general), '0', '5', 'exento', 'noObjeto'…"
},
"descripcion": {
"type": "string",
"maxLength": 300
},
"codigoAuxiliar": {
"type": "string",
"maxLength": 25
},
"precioUnitario": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"codigoPrincipal": {
"type": "string",
"maxLength": 25
}
}
},
"maxItems": 500,
"minItems": 1
},
"pagos": {
"type": "array",
"items": {
"type": "object",
"required": [
"formaPago"
],
"properties": {
"plazo": {
"type": "number",
"maximum": 1000000000
},
"total": {
"type": "number",
"maximum": 1000000000
},
"formaPago": {
"enum": [
"sinSistemaFinanciero",
"compensacionDeudas",
"tarjetaDebito",
"dineroElectronico",
"tarjetaPrepago",
"tarjetaCredito",
"otrosConSistemaFinanciero",
"endosoTitulos"
],
"type": "string"
},
"unidadTiempo": {
"type": "string",
"maxLength": 10
}
}
},
"maxItems": 20
},
"emisor": {
"type": "object",
"required": [
"ruc",
"razonSocial",
"dirMatriz"
],
"properties": {
"ruc": {
"type": "string",
"maxLength": 13
},
"dirMatriz": {
"type": "string",
"maxLength": 300
},
"razonSocial": {
"type": "string",
"maxLength": 300
},
"agenteRetencion": {
"type": "string",
"maxLength": 8
},
"nombreComercial": {
"type": "string",
"maxLength": 300
},
"contribuyenteRimpe": {
"type": "string",
"maxLength": 50
},
"dirEstablecimiento": {
"type": "string",
"maxLength": 300
},
"obligadoContabilidad": {
"type": "boolean"
},
"contribuyenteEspecial": {
"type": "string",
"maxLength": 13
}
}
},
"propina": {
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
"ambiente": {
"enum": [
"pruebas",
"produccion"
],
"type": "string",
"description": "Ambiente del SRI. Por defecto: el configurado en SRI_AMBIENTE o 'pruebas'."
},
"comprador": {
"type": "object",
"required": [
"tipoIdentificacion",
"identificacion",
"razonSocial"
],
"properties": {
"direccion": {
"type": "string",
"maxLength": 300
},
"razonSocial": {
"type": "string",
"maxLength": 300
},
"identificacion": {
"type": "string",
"maxLength": 20
},
"tipoIdentificacion": {
"enum": [
"ruc",
"cedula",
"pasaporte",
"consumidorFinal",
"exterior"
],
"type": "string"
}
}
},
"secuencial": {
"anyOf": [
{
"type": "string",
"maxLength": 9
},
{
"type": "integer",
"maximum": 999999999,
"minimum": 0
}
]
},
"fechaEmision": {
"type": "string",
"maxLength": 10,
"description": "aaaa-mm-dd o dd/mm/aaaa"
},
"puntoEmision": {
"type": "string",
"default": "001",
"maxLength": 3
},
"infoAdicional": {
"type": "object",
"description": "Campos adicionales (máx. 15), p. ej. { Email: '...' }",
"propertyNames": {
"type": "string",
"maxLength": 300
},
"additionalProperties": {
"type": "string",
"maxLength": 300
}
},
"codigoNumerico": {
"type": "string",
"maxLength": 8
},
"establecimiento": {
"type": "string",
"default": "001",
"maxLength": 3
}
}
}