FISCALISTO / API
Objects and conventions
How routes, ids, amounts, dates, metadata and API versions work.
Routes and methods
- Everything lives at
https://api.fiscalisto.com/v1. - Bodies go as JSON with
Content-Type: application/json, and answers are JSON too (except the PDF and the XML). GETreads,POSTcreates and also updates (POST /v1/customers/{id}changes only the fields you send),DELETEdeletes or archives. There's noPUTorPATCH.- Field names are in English and
snake_case. The RFC is always calledtax_id, inside complementos too.
Objects
Every object carries id, object (what it is: invoice, customer, event…) and livemode. Ids start with their type:
| Prefix | Object |
|---|---|
iss_ | Issuer |
inv_ | Invoice, payment complement, credit note, advance or payroll receipt |
ret_ | Withholding certificate |
cus_ | Customer |
prd_ | Product |
emp_ | Employee |
bat_ | Invoice batch |
whe_ | Webhook |
evt_ | Event |
Documents can also be looked up by their folio fiscal (UUID), always in upper case.
Amounts
Amounts are numbers in the document's currency, with decimals (2500, 1160.5), never integer cents or text. You send the unit price before taxes (unit_price) and Fiscalisto computes the taxes, SAT's rounding and the totals; the answer carries them in subtotal, discount, taxes and total.
Rates go as a fraction, as in the XML: 0.10 is 10%. The transferred IVA rate goes as text because it can also be "exento" ("0.16", "0.08", "0", "exento"); withholding rates go as numbers (0.106667 is two thirds of the IVA).
Dates
- What happened in Fiscalisto (
created_at,canceled_at) goes in ISO 8601 with Mexico City time:2026-10-24T10:15:42-06:00. - The CFDI's issue date (
date) goes without a zone, as the XML carries it:2026-10-24T10:15:42, in Mexico City time.
Empty fields
A field that doesn't apply comes as null, it's never left out: your code can read invoice.cancellation without checking that it exists. When creating, leave out what has its usual value. The API may add new fields to objects without changing version, so your code should ignore those it doesn't know.
metadata
Keep your own data on an object with metadata: the id of the order, of the customer in your system, of the branch.
{ "metadata": { "pedido": "A-1042", "sucursal": "monterrey" } }- Up to 50 keys of up to 40 characters, with text values of up to 500.
- They don't go into the CFDI or the PDF: they're only for you.
- They come back on the object, in lists and in webhooks.
- In Fiscalisto's dashboard they show on the invoice's page, under Metadata de la API, so your team finds the order without opening your system.
- Issuers and everything that's stamped accept it (invoices, payments, credit notes, advances, payroll receipts and withholding certificates). Each invoice in a batch carries
referenceinstead.
Versions
Every answer carries the Fiscalisto-Version header with the API version that answered (today 2026-10-24) and every event carries it in api_version. Adding fields, events, routes or error codes doesn't change the version. A change that could break your code (removing or renaming a field, changing its type) would come with a new version, announced ahead.
Response headers
| Header | What it is |
|---|---|
Request-Id | The request's id. Keep it in your logs: with it you find the request in Desarrolladores › Solicitudes. |
Fiscalisto-Version | The API version. |
Idempotent-Replayed | true when the answer is the one kept from an earlier request with the same Idempotency-Key. |
Retry-After | On a 429, 409 or 503: how many seconds to wait before repeating. |
Was this page helpful?