# 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.

Comercio Exterior 2.0 is built from the `comercio_exterior` object of [`POST /v1/invoices`](https://fiscalisto.com/en/docs/api/complementos#example-export-with-comercio-exterior), 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.

```json
{
  "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](https://fiscalisto.com/docs/api/rechazos-comercio-exterior), 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.
