Skip to content
Concepts

FISCALISTO / API

SAT rejections: Comercio Exterior

What each CCE code SAT or the PAC rejects a Comercio Exterior 2.0 with means, and what to change in comercio_exterior.

Open in ChatGPTOpen in ClaudeOpen in Cursor

Comercio Exterior 2.0 is built from the comercio_exterior object of POST /v1/invoices, with export: "02" (or "04", where it's optional). Fiscalisto first checks tariff codes, units and addresses against SAT's catalogs, and calculates each good's dollar value and the total.

{
  "error": {
    "type": "invoice_error",
    "code": "invoice_rejected",
    "sat_code": "CCE161",
    "doc_url": "https://fiscalisto.com/docs/api/rechazos-comercio-exterior#cce161",
    "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 (#cce101), so you can build the link from sat_code on your own.

Was this page helpful?

On this page