FISCALISTO / API
SAT rejections: Carta Porte
What each CP code SAT or the PAC rejects a Carta Porte 3.1 with means, and what to change in carta_porte.
Carta Porte 3.1 is built from the carta_porte object of POST /v1/invoices, on a transfer (type: "T") or a freight invoice. Fiscalisto first checks the rules it can (catalogs, sums, what each means of transport requires) and returns invoice_invalid with the field; total weights, the number of goods, the total distance and location identifiers are calculated by Fiscalisto.
{
"error": {
"type": "invoice_error",
"code": "invoice_rejected",
"sat_code": "CP132",
"doc_url": "https://fiscalisto.com/docs/api/rechazos-carta-porte#cp132",
"request_id": "req_…"
}
}Every code
The explanation of each code, with what to change in your request, is on the Spanish page, one section per code: doc_url in the error links straight to it. The codes are SAT's and the section anchors are the code in lowercase (#cp101), so you can build the link from sat_code on your own.
Was this page helpful?