SchemaGuard by Ironbark Digital · EN 16931 / Peppol / XRechnung Reference
← All 294 EN 16931 / Peppol Rules & Live Validator
FATAL Official EN 16931 / Peppol / CIUS Rule BT/BG Fields: BT-31, BT-48

BR-AE-03 — E-Invoice Validation Rule & Fix

Fixture ID: allowanceNoSellerId_AE · XPath: /ubl:Invoice/cac:AllowanceCharge[1]/cac:TaxCategory/cbc:ID

1. Why This Rule Triggers (Diagnostic Message)

This invoice contains a document level allowance (BG-20) whose VAT category code (BT-95) is AE (Reverse charge) — allowances[0] — so the invoice must contain the seller VAT identifier (BT-31), the seller tax registration identifier (BT-32) and/or the seller tax representative VAT identifier (BT-63), and the buyer VAT identifier (BT-48) and/or the buyer legal registration identifier (BT-47). Reverse charge moves the VAT liability to the buyer, who self-assesses it. A document level adjustment in category AE changes the base they self-assess on, so both ends of the transfer have to be identifiable: yours for the output side that reports zero, theirs for the input side that reports the tax. This is the only allowance/charge family that constrains the buyer as well as the seller.

2. How to Fix BR-AE-03

Set buyer.vatId to your client's VAT number (buyer.legalRegistrationId also satisfies the rule) and make sure seller.vatId or seller.taxRegistrationId is set. Validate the buyer's number against VIES on the invoice date and keep the response — if it is invalid at the time of supply the liability stays with you.

3. Valid Code / Payload Example

"buyer": { "vatId": "ATU12345678" }
Test & Validate XML / JSON in Live SchemaGuard Validator →