XML Troubleshooting
Rejection 225 - XML schema validation failure
The submitted NF-e XML does not conform to the official schema, usually because of missing fields or values with an invalid format or length.
- Check that all required fields are present
- Check the format and length of amount, date and code fields
- Correct the data and resubmit
Common problems: Incomplete address, invalid NCM, incorrect value formatting, missing required fields.
tax authority Error Codes
| Code | Description | Solution |
|---|---|---|
217 |
The NF-e does not exist in the tax authority database | Check the access key; cancellation, correction and other events apply only to authorized invoices |
208 / 237 |
Invalid recipient CNPJ / CPF | Check cliente.cnpj or cliente.cpf |
518 / 519 |
CFOP does not match the direction of the invoice (inbound CFOP on an outbound invoice, or the reverse) | Check the CFOP and transaction_type |