tefacturo MCP by usefulapi is an MCP server published by io.usefulapi, hosted at tefacturo.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 10 tools, including tefacturo_get_status, tefacturo_get_xml, tefacturo_get_pdf, tefacturo_get_cdr, tefacturo_preview_document.
Read SUNAT status, XML, PDF and CDR; emit invoices, receipts, notes and voids in tefacturo.
4,412 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Get the three states of one issued document: SUNAT answer (estadoSunat), declaration (estadoComprobante) and mail delivery (estadoEntrega), with the declaration text. Use it before a document is sent again. Read-only.
| Parameter | Type | Description |
|---|---|---|
| serie * | string | Series of the document, for example FFA2. Invoices start with F, receipts with B. |
| numero * | integer | Correlative number of the document. |
| tipoComprobante * | string | Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
{
"name": "tefacturo_get_status",
"title": "Get document status",
"description": "Get the three states of one issued document: SUNAT answer (estadoSunat), declaration (estadoComprobante) and mail delivery (estadoEntrega), with the declaration text. Use it before a document is sent again. Read-only.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"serie",
"numero",
"tipoComprobante"
],
"properties": {
"serie": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,4}$",
"description": "Series of the document, for example FFA2. Invoices start with F, receipts with B."
},
"numero": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Correlative number of the document.",
"exclusiveMinimum": 0
},
"tipoComprobante": {
"enum": [
"01",
"03",
"07",
"08"
],
"type": "string",
"description": "Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note."
}
}
},
"annotations": {
"title": "Get document status",
"readOnlyHint": true
}
}Get the signed UBL XML of one issued document. The reply holds xmlFirma, the XML in base64, and hashCode (may be null). Read-only.
| Parameter | Type | Description |
|---|---|---|
| serie * | string | Series of the document, for example FFA2. Invoices start with F, receipts with B. |
| numero * | integer | Correlative number of the document. |
| tipoComprobante * | string | Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note. |
{
"name": "tefacturo_get_xml",
"title": "Get document XML",
"description": "Get the signed UBL XML of one issued document. The reply holds xmlFirma, the XML in base64, and hashCode (may be null). Read-only.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"serie",
"numero",
"tipoComprobante"
],
"properties": {
"serie": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,4}$",
"description": "Series of the document, for example FFA2. Invoices start with F, receipts with B."
},
"numero": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Correlative number of the document.",
"exclusiveMinimum": 0
},
"tipoComprobante": {
"enum": [
"01",
"03",
"07",
"08"
],
"type": "string",
"description": "Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note."
}
}
},
"annotations": {
"title": "Get document XML",
"readOnlyHint": true
}
}Get the printed PDF of one issued document, as a base64 string (decode it to a .pdf file). Read-only.
| Parameter | Type | Description |
|---|---|---|
| serie * | string | Series of the document, for example FFA2. Invoices start with F, receipts with B. |
| numero * | integer | Correlative number of the document. |
| tipoComprobante * | string | Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note. |
{
"name": "tefacturo_get_pdf",
"title": "Get document PDF",
"description": "Get the printed PDF of one issued document, as a base64 string (decode it to a .pdf file). Read-only.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"serie",
"numero",
"tipoComprobante"
],
"properties": {
"serie": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,4}$",
"description": "Series of the document, for example FFA2. Invoices start with F, receipts with B."
},
"numero": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Correlative number of the document.",
"exclusiveMinimum": 0
},
"tipoComprobante": {
"enum": [
"01",
"03",
"07",
"08"
],
"type": "string",
"description": "Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note."
}
}
},
"annotations": {
"title": "Get document PDF",
"readOnlyHint": true
}
}Get the SUNAT receipt (CDR) of one document as a base64 ZIP that holds an XML answer from SUNAT. The CDR proves SUNAT accepted the document. Read-only.
| Parameter | Type | Description |
|---|---|---|
| serie * | string | Series of the document, for example FFA2. Invoices start with F, receipts with B. |
| numero * | integer | Correlative number of the document. |
| tipoComprobante * | string | Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note. |
{
"name": "tefacturo_get_cdr",
"title": "Get SUNAT receipt (CDR)",
"description": "Get the SUNAT receipt (CDR) of one document as a base64 ZIP that holds an XML answer from SUNAT. The CDR proves SUNAT accepted the document. Read-only.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"serie",
"numero",
"tipoComprobante"
],
"properties": {
"serie": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,4}$",
"description": "Series of the document, for example FFA2. Invoices start with F, receipts with B."
},
"numero": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Correlative number of the document.",
"exclusiveMinimum": 0
},
"tipoComprobante": {
"enum": [
"01",
"03",
"07",
"08"
],
"type": "string",
"description": "Document type: 01 invoice, 03 receipt (boleta), 07 credit note, 08 debit note."
}
}
},
"annotations": {
"title": "Get SUNAT receipt (CDR)",
"readOnlyHint": true
}
}Render a PDF preview of a document from its JSON, without a number and without a SUNAT filing (the tool sets datosDocumento.numero to 0). Use it to check the layout before tefacturo_emit_invoice. Read-only. Returns base64Pdf.
| Parameter | Type | Description |
|---|---|---|
| payload * | object | Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC. |
| documentType * | string | Which document the preview shows. |
{
"name": "tefacturo_preview_document",
"title": "Preview a document",
"description": "Render a PDF preview of a document from its JSON, without a number and without a SUNAT filing (the tool sets datosDocumento.numero to 0). Use it to check the layout before tefacturo_emit_invoice. Read-only. Returns base64Pdf.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"documentType",
"payload"
],
"properties": {
"payload": {
"type": "object",
"description": "Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"documentType": {
"enum": [
"factura",
"boleta",
"nota-credito",
"nota-debito"
],
"type": "string",
"description": "Which document the preview shows."
}
}
},
"annotations": {
"title": "Preview a document",
"readOnlyHint": true
}
}SUNAT FILING, IRREVERSIBLE: files a new invoice (factura, type 01) with SUNAT for this login's RUC. The numero must be new: check the series with tefacturo_get_status first. Use tefacturo_preview_document to check the layout first. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.
| Parameter | Type | Description |
|---|---|---|
| payload * | object | Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC. |
{
"name": "tefacturo_emit_invoice",
"title": "Emit an invoice (files with SUNAT)",
"description": "SUNAT FILING, IRREVERSIBLE: files a new invoice (factura, type 01) with SUNAT for this login's RUC. The numero must be new: check the series with tefacturo_get_status first. Use tefacturo_preview_document to check the layout first. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"payload"
],
"properties": {
"payload": {
"type": "object",
"description": "Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Emit an invoice (files with SUNAT)",
"idempotentHint": false,
"destructiveHint": true
}
}SUNAT FILING, IRREVERSIBLE: files a new receipt (boleta de venta, type 03) for a consumer with SUNAT, through the daily summary. The numero must be new: check the series with tefacturo_get_status first. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.
| Parameter | Type | Description |
|---|---|---|
| payload * | object | Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC. |
{
"name": "tefacturo_emit_receipt",
"title": "Emit a receipt (files with SUNAT)",
"description": "SUNAT FILING, IRREVERSIBLE: files a new receipt (boleta de venta, type 03) for a consumer with SUNAT, through the daily summary. The numero must be new: check the series with tefacturo_get_status first. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"payload"
],
"properties": {
"payload": {
"type": "object",
"description": "Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Emit a receipt (files with SUNAT)",
"idempotentHint": false,
"destructiveHint": true
}
}SUNAT FILING, IRREVERSIBLE: files a credit note (nota de crédito, type 07) that adjusts an earlier invoice or receipt. The payload must name the original document in comprobanteAjustado and a motivo. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.
| Parameter | Type | Description |
|---|---|---|
| payload * | object | Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC. |
{
"name": "tefacturo_emit_credit_note",
"title": "Emit a credit note (files with SUNAT)",
"description": "SUNAT FILING, IRREVERSIBLE: files a credit note (nota de crédito, type 07) that adjusts an earlier invoice or receipt. The payload must name the original document in comprobanteAjustado and a motivo. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"payload"
],
"properties": {
"payload": {
"type": "object",
"description": "Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Emit a credit note (files with SUNAT)",
"idempotentHint": false,
"destructiveHint": true
}
}SUNAT FILING, IRREVERSIBLE: files a debit note (nota de débito, type 08) that adds a charge to an earlier invoice or receipt. The payload must name the original document in comprobanteAjustado and a motivo. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.
| Parameter | Type | Description |
|---|---|---|
| payload * | object | Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC. |
{
"name": "tefacturo_emit_debit_note",
"title": "Emit a debit note (files with SUNAT)",
"description": "SUNAT FILING, IRREVERSIBLE: files a debit note (nota de débito, type 08) that adds a charge to an earlier invoice or receipt. The payload must name the original document in comprobanteAjustado and a motivo. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"payload"
],
"properties": {
"payload": {
"type": "object",
"description": "Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Emit a debit note (files with SUNAT)",
"idempotentHint": false,
"destructiveHint": true
}
}SUNAT FILING, IRREVERSIBLE: sends a voiding summary (resumen de baja) that cancels issued invoices or receipts. The payload holds fechaGeneracion, fechaDocumentoBaja and resumenBajaItemList (serie, numero, tipoComprobante 01 or 03, motivo). SUNAT processes it later: check it with tefacturo_get_status. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.
| Parameter | Type | Description |
|---|---|---|
| payload * | object | Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC. |
{
"name": "tefacturo_void_documents",
"title": "Void documents (files with SUNAT)",
"description": "SUNAT FILING, IRREVERSIBLE: sends a voiding summary (resumen de baja) that cancels issued invoices or receipts. The payload holds fechaGeneracion, fechaDocumentoBaja and resumenBajaItemList (serie, numero, tipoComprobante 01 or 03, motivo). SUNAT processes it later: check it with tefacturo_get_status. Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"payload"
],
"properties": {
"payload": {
"type": "object",
"description": "Use the same JSON as the tefacturo docs for this document (close2u, datosDocumento, detalleDocumento, emisor, receptor, informacionAdicional). The emisor.numeroDocumentoIdentidad must be this login's RUC; the tool sets it and rejects another RUC.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Void documents (files with SUNAT)",
"idempotentHint": false,
"destructiveHint": true
}
}Tools for tefacturo, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Show the SUNAT status of invoice FFA2-15."; "Get the PDF of receipt BBV5-4 so I can send it to the customer."; "Preview this invoice layout before we file it with SUNAT.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes tefacturo data. Free plan: 50 tool calls per month. Run tefacturo_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run tefacturo_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run tefacturo_upgrade without a plan: it returns both plans, each with a payment link for the user to open. tefacturo_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.