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.
| Endpoint | Description |
|---|---|
| GET | Invoices and credit notes in the account with folio, client, total and status, newest first. |
| GET | One invoice or credit note with its lines, taxes, totals, series, folio and UUID. |
| GET | Clients in your catalog with RFC, name, CFDI use, tax zip code and fiscal regime. |
| GET | One client with all fiscal data and email addresses. |
| GET | Products and services saved in your catalog with SAT product code, unit and price. |
| GET | 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.
| Endpoint | Description |
|---|---|
| POST | Add a client to the catalog with RFC, name, CFDI use, tax zip code and fiscal regime. |
| POST | Issue and stamp a CFDI 4.0 invoice for a client with one or more lines. |
| POST | Issue and stamp a credit note (CFDI de egreso) against one invoice. |
| POST | Send a stamped invoice or credit note to the client by email. |
| POST | Cancel a stamped invoice or credit note with the SAT. |