How to read ZATCA's answer
- Errors (errorMessages): reject the document, so it never enters ZATCA's records. Fix the cause and send it again.
- Warnings (warningMessages): come back with acceptance, so the document is recorded. Fix the cause on the next invoices.
- A rejected invoice is not cancelled with a note: because it was never recorded, a credit note against it points to a document ZATCA does not know.
Every code has a page in the ZATCA error code reference with ZATCA's official message and severity, most with a full guide to the fix.