errorEN16931
BR-AG-05:IPSI invoice line VAT rate must be 0% or positive
When an invoice line uses the IPSI VAT category (M for Ceuta/Melilla indirect tax), the VAT rate must be 0 or greater than zero.
We can fix this automatically
AUTO-FIX1. Find items with this category but non-zero rate. 2. Set rate to 0. 3. Or suggest different category if rate is intentional.
No manual changes needed
Upload and Fix NowWhy This Error Matters
Invoice will be rejected. IPSI (Ceuta/Melilla indirect tax) transactions must follow specific rules for Spanish territory tax compliance.
How to Fix It
1
Identify IPSI invoice lines
2
Check VAT rate values
3
Fix negative rates
4
Validate the result
Technical Details
XPath: /Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:Percent (BT-152) where cbc:ID = M. IPSI is the indirect tax for Ceuta and Melilla Spanish territories. The rate cannot be negative.Common Causes
- IPSI line item has negative VAT rate
- Incorrect rate entered for Ceuta/Melilla tax
- IPSI percentage field contains invalid value
- Rate calculation error for IPSI category
- Data entry error on IPSI tax rate
Frequently Asked Questions
When an invoice line uses the IPSI VAT category (M for Ceuta/Melilla indirect tax), the VAT rate must be 0 or greater than zero.
Set the VAT rate to 0% for IPSI lines if a negative rate was entered, or verify the rate is a valid positive percentage. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
Yes, BR-AG-05 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted.
Many instances of BR-AG-05 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues.
See Also
Last updated: 16 January 2026
Share this guide: