Facture App MCP by usefulapi
v1.5.1Stamp, cancel and list CFDI invoices, and manage clients and products in Facture App.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
facture_list_issuers List issuers
List the issuers (emisores: the taxpayers that can stamp invoices) on this Facture account, with their RFC. Use an RFC to filter branches. Facture API: GET /emisor/find.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Start position (default 0). |
size | integer | Page size, 1 to 100 (default 10). |
facture_list_branches List branches
List the branches (sucursales) that can stamp invoices. Each branch id is the branch_id that facture_stamp_invoice needs. Pass issuer_rfc to show only one issuer's branches. Facture API: GET /sucursal/find.
| Parameter | Type | Description |
|---|---|---|
issuer_rfc | string | Show only branches of this issuer RFC. |
offset | integer | Start position (default 0). |
size | integer | Page size, 1 to 100 (default 10). |
facture_list_clients List clients
List the clients (receptores) in the account catalog: name, RFC, tax regime and address. Facture API: GET /cliente/find.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Start position (default 0). |
size | integer | Page size, 1 to 100 (default 10). |
facture_list_products List products and services
List the products and services (conceptos) in the account catalog, with their unit prices and SAT keys. Facture API: GET /concepto/find.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Start position (default 0). |
size | integer | Page size, 1 to 100 (default 10). |
facture_list_invoices List invoices
List the invoices (comprobantes) issued from this account: folio, series, total, receiver and cancelled flag. Facture API: GET /facturacion/find.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Start position (default 0). |
size | integer | Page size, 1 to 100 (default 10). |
facture_get_invoice Get an invoice
Get one stamped invoice by its fiscal UUID: date, type, folio, currency, cancelled flag and totals. Facture API: GET /facturacion?id=<uuid>.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The invoice's fiscal UUID (from facture_list_invoices). |
facture_create_client Create a client
Create a client (receptor) in the account catalog. The SAT requires the RFC, tax regime, CFDI use and a fiscal address. Creates a record only; it stamps nothing. Facture API: POST /cliente.
| Parameter | Type | Description |
|---|---|---|
cfdi_use * | string | CFDI use code, for example G01 (usoCFDI). |
email * | string | Email address for invoices. |
exterior_number * | string | Exterior number (numeroexterior). |
municipality * | string | Municipality (municipio). |
name * | string | Legal name (nombre). |
neighborhood * | string | Neighborhood (colonia). |
postal_code * | string | Postal code (codigopostal). |
rfc * | string | RFC. Use XAXX010101000 for the general public. |
state * | string | State name, for example Michoacán de Ocampo (estado). |
street * | string | Street (calle). |
tax_regime * | string | SAT tax regime code, for example 601 (regimen). |
city | string | City (ciudad). |
country | string | Country name (pais). Default México. |
interior_number | string | Interior number (numerointerior). |
payment_form | string | Payment form code, for example 03 (formaPago). |
reference | string | Address reference (referencia). |
facture_create_product Create a product or service
Create a product or service (concepto) in the account catalog with a unit price in MXN and one IVA rate. Creates a record only; it stamps nothing. Facture API: POST /concepto.
| Parameter | Type | Description |
|---|---|---|
description * | string | Description shown on the invoice (descripcion). |
product_key * | string | SAT product or service key, for example 43201902 (claveProdServ). |
unit_key * | string | SAT unit key, for example H87 for piece (claveUnidad). |
unit_name * | string | Unit name, for example Pieza (unidad). |
unit_price * | number | Unit price in MXN, before tax (precio). |
code | string | Your internal product code (codigo). |
vat_rate | number | IVA rate as a fraction: 0.16 = 16%. Default 0.16. |
facture_stamp_invoice Stamp an invoice
Stamp (timbrar) one CFDI invoice from a Facture JSON document, through the given branch. This issues a real tax invoice with the SAT and uses Facture credits: call it only after the user confirms every field. The stamped XML is left out of the reply; get it from Facture. Facture API: POST /timbrado/json.
| Parameter | Type | Description |
|---|---|---|
branch_id * | integer | Branch id that signs the invoice (from facture_list_branches). |
invoice_json * | string | The CFDI as a Facture JSON document (text). It is sent base64 encoded. |
facture_cancel_invoice Cancel an invoice
Cancel (cancelar) one stamped invoice with the SAT. Reason 01 means an error with a replacement invoice: it needs replacement_uuid. Reasons 02 to 04 need no replacement. Cancelling can need the receiver's approval; the reply says so. Facture API: POST /cancelacion.
| Parameter | Type | Description |
|---|---|---|
reason * | string | 01 error with a replacement, 02 error without a replacement, 03 operation not carried out, 04 global invoice. |
uuid * | string | The fiscal UUID of the invoice to cancel. |
replacement_uuid | string | Fiscal UUID of the replacement invoice. Required for reason 01. |