BR-AG-04:When using this VAT category, the seller must have a VAT identifier, tax...
Fix: This requires user input to resolve. Provide the correct value for `cac:AllowanceCharge` (BG-21) (BR-AG-04). Provide the required value in the free validator.
When using this VAT category, the seller must have a VAT identifier, tax registration, or tax representative (applies to `cac:AllowanceCharge`, rule BR-AG-04).
Engine Classification
Business data required · Explicit input workflow · No assumptions made
Required input: Seller VAT/Tax ID
What is BR-AG-04?
BR-AG-04 is a fatal validation rule defined in the EN 16931 specification.
When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.
Why This Error Matters
Invoice will be rejected. IPSI (Ceuta/Melilla indirect tax) transactions must follow specific rules for Spanish territory tax compliance.
BR-AG-04 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.
Validator Behavior
- ·Causes invoice rejection
- ·Error returned: BR-AG-04
- ·Specification: EN 16931
How to Fix It
Identify the missing data
When using this VAT category, the seller must have a VAT identifier, tax registration, or tax representative (applies to `cac:AllowanceCharge`, rule BR-AG-04).
Provide the required value
This requires user input to resolve. Provide the correct value for `cac:AllowanceCharge` (BG-21) (BR-AG-04).
Re-validate your invoice
Upload the corrected invoice to confirm BR-AG-04 is resolved.
Before / After
<Invoice> <cac:AllowanceCharge>INVALID_CODE</cac:AllowanceCharge> </Invoice>
<Invoice> <cac:AllowanceCharge>VALID_CODE</cac:AllowanceCharge> </Invoice>
Technical Reference
Common Causes
- ·Document charge uses IPSI but seller has no tax identifier
- ·Surcharge on IPSI transaction missing seller tax registration
- ·Tax representative not configured for IPSI charges
- ·Seller tax identifiers not mapped for charge
- ·IPSI charge created without seller tax setup
Seeing this in production? The API handles BR-AG-04 automatically. See the fix response →
Frequently Asked Questions
When using this VAT category, the seller must have a VAT identifier, tax registration, or tax representative (applies to `cac:AllowanceCharge`, rule BR-AG-04).
This requires user input to resolve. Provide the correct value for `cac:AllowanceCharge` (BG-21) (BR-AG-04). You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.
Yes, BR-AG-04 is a critical error that will cause invoice rejection. It must be fixed before submission.
Many instances of BR-AG-04 can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.
Related Errors
Related Content
Last updated: 14 April 2026
Validate your invoice
Drop your XML here to check for BR-AG-04
Fix BR-AG-04 with guided input
Upload your invoice and we'll ask for the missing data, then apply a safe, auditable fix.