FISCALISTO / API / REFERENCE
Customers
Each issuer's customer catalog.
The object Customer
- Customer
A customer in an issuer's catalog.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
issuer*stringThe issuer (iss_…).
tax_id*stringRFC (Rfc), 12 characters for a persona moral and 13 for a persona física.
legal_name*stringName or razón social exactly as on the constancia de situación fiscal, without the capital regime (without «S.A. de C.V.»).
tax_system*stringTax regime (RegimenFiscal), a c_RegimenFiscal key: 601, 612, 626…
zip*stringPostal code of the tax address, 5 digits, as on the constancia de situación fiscal. An issuer's is the place of issue (LugarExpedicion) of its CFDIs.
email*|The customer's email (several separated by commas), where their invoices go.
use*|CFDI use (UsoCFDI), a c_UsoCFDI key. G03 by default, or S01 with regime 616.
foreign*|If they're foreign: their country of residence (ResidenciaFiscal, c_Pais) and their tax registration number (NumRegIdTrib), with the generic RFC XEXX010101000.
ieps_taxpayer*booleantrue if the customer is an IEPS taxpayer: IEPS is broken out instead of added to the price, except that of alcohol and tobacco (rates 0.5, 1.6 and 0.304), which always goes in the price (LIEPS art. 19 fr. II).
credit_days*|Credit days given, from 0 to 365, or null to not change the customer's.
quote_valid_days*|Days a new quote is valid (1 to 366). On a customer or group, null uses its group's or the company's (Ajustes › Horarios).
payment_terms*|Payment terms (CondicionesDePago), up to 1,000 characters without «|»: «Crédito a 30 días», «50 % anticipo». They go in the XML and the PDF; income and expense receipts only. They don't change when it is due (due_date uses the customer's credit days).
group*|Their customer group (cgr_…), or null if they aren't in one.
price_list*|Price list (prl_…). On a customer, their own, which wins over their group's; null to use their group's or everyone's.
discount_percent*|Discount percentage on the price, from 0 to 100; in the CFDI it goes as each line item's Descuento.
created_at*stringWhen it was created, ISO 8601 with Mexico City time (-06:00).
date-timeupdated_at*|When it last changed, ISO 8601 (-06:00).
Example Customer
{ "id": "cus_OufpKqnrvx9p1", "object": "customer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "tax_id": "ICV060329BY0", "legal_name": "INMOBILIARIA CVA", "tax_system": "601", "zip": "33826", "email": "pagos@cva.example", "use": "G03", "foreign": null, "ieps_taxpayer": false, "credit_days": 30, "quote_valid_days": null, "payment_terms": "Crédito a 30 días", "group": "cgr_OufpKqnrvx9p1", "price_list": null, "discount_percent": null, "created_at": "2026-10-20T09:02:11-06:00", "updated_at": "2026-10-24T10:15:42-06:00"}The object CustomerDataRequest
- CustomerDataRequest
A link for a customer to give their tax details.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
issuer*stringThe issuer that will invoice them.
status*stringopen (the link is waiting), completed (the customer sent their details), expired (it expired) or canceled.
"open""completed""expired""canceled"url*|The link for your customer, on fiscalisto.com. null when it is no longer open.
reference*|Your id for this customer or order.
description*|What the customer sees above the form.
expires_at*|When the link stops working.
created_at*|When it was created.
submission*|What the customer sent (the latest submission: they can correct it within the next 24 hours). null until they answer.
Example CustomerDataRequest
{ "id": "cdr_0q1Vmmw52sbD4cHPqLfBvX0AkFg3hX2Ys", "object": "customer_data_request", "livemode": false, "issuer": "iss_0q1Vmmw52sbD", "status": "open", "url": "https://fiscalisto.com/datos/g3U-W4H-BbObB6ychi9M5m45", "reference": "cliente-8812", "description": "Para facturar su suscripción de octubre.", "expires_at": "2026-12-23T10:15:00-06:00", "created_at": "2026-10-24T10:15:00-06:00", "submission": null}The object TaxIdValidation
- TaxIdValidation
Whether a customer's tax details will pass the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
tax_id*stringThe RFC checked.
kind*stringcompany (persona moral, 12 characters), person (persona física, 13) or generic (XAXX010101000, XEXX010101000).
"company""person""generic"valid*booleantrue if there are no errors: with what you sent, the SAT shouldn't reject the invoice over the customer's details.
checked_with_sat*booleantrue if it was compared with the SAT's registry (you sent cif_id and the SAT answered).
errors*array<>What would make the SAT reject the invoice. Each with the field (param), a code, the explanation and, when possible, the correct value (suggestion).
warnings*array<>What doesn't prevent stamping but is worth checking: the check digit, uppercase, whether the RFC is on the SAT lists.
sat_record*|What the SAT has in the constancia (with cif_id): name, postal code and current tax regimes. null without cif_id.
sat_error*|Whether the SAT didn't answer in time (with cif_id): retry in a few minutes. null if it answered or wasn't checked.
sat_lists*|Whether the RFC appears on the SAT lists. null with a generic or misspelled RFC.
Example TaxIdValidation
{ "object": "tax_id_validation", "tax_id": "ICV060329BY0", "kind": "company", "valid": false, "checked_with_sat": true, "errors": [ { "param": "legal_name", "code": "legal_name_capital_regime", "message": "Sin «S.A. de C.V.»: en CFDI 4.0 el nombre va sin régimen de capital, como en la constancia.", "suggestion": "INMOBILIARIA CVA" }, { "param": "zip", "code": "zip_mismatch", "message": "El código postal no es el del domicilio fiscal que tiene el SAT.", "suggestion": "33826" } ], "warnings": [], "sat_record": { "legal_name": "INMOBILIARIA CVA", "zip": "33826", "tax_systems": [ "601" ] }, "sat_error": null, "sat_lists": { "object": "sat_list_check", "tax_id": "ICV060329BY0", "name": null, "listed": false, "risk": "none", "verified": true, "lists": [], "lists_updated_at": "2026-10-24T00:12:40-06:00", "lists_unavailable": [] }}Was this page helpful?
Get a batch GET
With each invoice: its status, its id and its error.
Validate a customer's tax data POST
Before stamping: whether the RFC, name, regime, postal code and use will pass. Without cif_id it checks what can be checked without SAT (format, regime for that type of person, postal code in the catalog, use for the regime, name without «S.A. de C.V.») and SAT's lists. With the idCIF of the constancia it reads SAT's record and compares the name, postal code and regime, as the PAC will. It doesn't use stamps.