BR-AG-04:When using this VAT category, the seller must have a VAT identifier, tax...
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. It checks whether when using this vat category, the seller must have a vat identifier, tax....
When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach 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. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.
Validator Behavior
- ·Causes invoice rejection
- ·Error returned: BR-AG-04
- ·Specification: EN 16931
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 →
See Also
Related Errors
Last updated: 27 February 2026
Handle BR-AG-04 Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.