invalid_aeat_code
The AEAT operation code is outside the closed catalogue `S1`, `S2`, `S3`, `E1`-`E6`, `N1`, `N2` used by VeriFactu and SII.
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_aeat_code | invalid_request_error | 422 | Taxes |
Cause
The AEAT operation code is outside the closed catalogue S1, S2, S3, E1-E6, N1, N2 used by VeriFactu and SII.
What to do
Pick the code matching the fiscal nature of the operation: S1 subject and not exempt, S2 reverse charge, E1-E6 exemptions, N1-N2 out of scope.
Related
All Taxes error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.