BR-AG-04ErrorVAT categories (BR-S, BR-Z, BR-E, BR-AE …)
BR-AG-04: Identifier missing for IPSI (Ceuta and Melilla) (charges)
The invoice is invalid and will be rejected.
What does the error mean?
If category M (IPSI (Ceuta and Melilla)) is used on a document level charge (BT-102), the invoice must contain the seller VAT id (BT-31), tax number (BT-32) or tax representative VAT id (BT-63).
How to fix it
Add the seller's VAT id or tax number (UBL: cac:PartyTaxScheme, CII: ram:SpecifiedTaxRegistration with schemeID VA or FC).
Original validator message
[BR-AG-04] An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
Checked in: UBL, CII
Fields involved
- BG-21 DOCUMENT LEVEL CHARGES
- BT-102 Document level charge VAT category code
- BT-31 Seller VAT identifier
- BT-32 Seller tax registration identifier
- BT-63 Seller tax representative VAT identifier
Check your invoice now
Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.
Open the validatorAvoid the errors in the first place
With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.
Read the API docsRelated error codes
- BR-AG-03: Identifier missing for IPSI (Ceuta and Melilla) (allowances)
- BR-AG-05: Negative VAT rate with IPSI (Ceuta and Melilla) (lines)
- BR-AG-02: Identifier missing for IPSI (Ceuta and Melilla) (lines)
- BR-AG-06: Negative VAT rate with IPSI (Ceuta and Melilla) (allowances)
- BR-AG-01: VAT breakdown for IPSI (Ceuta and Melilla) missing
- BR-AG-07: Negative VAT rate with IPSI (Ceuta and Melilla) (charges)