# SAT rejections: payroll

> What each NOM code SAT or the PAC rejects a Nómina 1.2 receipt with means, and what to change in your request.

The payroll receipt is built from [`POST /v1/payroll_receipts`](https://fiscalisto.com/en/docs/api/nomina#stamp-it) (with an employee from your catalog) or from [`POST /v1/payroll_receipts/external`](https://fiscalisto.com/en/docs/api/nomina#stamp-the-payroll-your-system-calculated) (with what your system calculated). In the first Fiscalisto calculates everything; in the second it stamps exactly the amounts you send, and first checks these same rules and returns `invoice_invalid` with the field (`param`) to change, so most shouldn't reach you from SAT.

The codes are those of the Nómina 1.2 complement's error matrix for CFDI 4.0 (`NOM1` to `NOM111`). Some PACs still answer with the 2016 numbering (`NOM151` to `NOM224`): each section gives both and the `doc_url` leads to the same one.

```json
{
  "error": {
    "type": "invoice_error",
    "code": "invoice_rejected",
    "sat_code": "NOM9",
    "doc_url": "https://fiscalisto.com/docs/api/rechazos-nomina#nom9",
    "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-nomina), 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 (`#nom5`), so you can build the link from `sat_code` on your own.
