Facturama API

11 endpoints for Facturama, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.

Base URL
https://cotlet.dev/api/v1/facturama
Connects with
Your own Facturama account (the one you use at facturama.mx), with a plan that has invoicing folios
Integration page
Facturama

Read (6)

Return data and change nothing in the account.

Facturama Endpoints: Read
EndpointDescription
GET /invoices Invoices and credit notes in the account with folio, client, total and status, newest first.
GET /invoices/{invoice_id} One invoice or credit note with its lines, taxes, totals, series, folio and UUID.
GET /clients Clients in your catalog with RFC, name, CFDI use, tax zip code and fiscal regime.
GET /clients/{client_id} One client with all fiscal data and email addresses.
GET /products Products and services saved in your catalog with SAT product code, unit and price.
GET /invoices/{invoice_id}/file/download The XML or PDF of one invoice or credit note, as a file.

Write (5)

Change the account. Calls marked Confirm wait for the user to approve them.

Facturama Endpoints: Write
EndpointDescription
POST /tax-zips/{tax_zip_code}/clients Add a client to the catalog with RFC, name, CFDI use, tax zip code and fiscal regime.
POST /clients/{client_id}/invoices Confirm Issue and stamp a CFDI 4.0 invoice for a client with one or more lines.
POST /invoices/{invoice_id}/credit-notes Confirm Issue and stamp a credit note (CFDI de egreso) against one invoice.
POST /invoices/{invoice_id}/email Confirm Send a stamped invoice or credit note to the client by email.
POST /invoices/{invoice_id}/cancel Confirm Cancel a stamped invoice or credit note with the SAT.

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.