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-111

BR-53 — E-Invoice Validation Rule & Fix

Fixture ID: taxCurrencyNoAmount · XPath: /ubl:Invoice/cac:TaxTotal[2]/cbc:TaxAmount

1. Why This Rule Triggers (Diagnostic Message)

The invoice declares a VAT accounting currency (BT-6 = "SEK"), so it must also state the invoice total VAT amount in that currency (BT-111). BT-6 exists for the case where VAT is invoiced in one currency and must be *accounted for* in another — a euro invoice from a seller who reports VAT in Polish złoty, say. Declaring the currency and omitting the amount tells the tax authority which currency the figure will be in without giving them the figure. This library cannot derive it: it depends on the exchange rate the authority prescribes for the tax point, which is not on the invoice.

2. How to Fix BR-53

Set taxAmountInAccountingCurrency to the total VAT converted at the rate your tax authority prescribes for the tax point, rounded to 2 decimals. Remove vatAccountingCurrency if VAT is accounted for in the invoice currency.

3. Valid Code / Payload Example

"vatAccountingCurrency": "PLN", "taxAmountInAccountingCurrency": 1218.45
Test & Validate XML / JSON in Live SchemaGuard Validator →