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

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

Fixture ID: badCurrency · XPath: /ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/@currencyID

1. Why This Rule Triggers (Diagnostic Message)

Every monetary amount in the document carries a currencyID attribute, and it must be an ISO 4217 alphabetic code. This library writes the invoice currency code (BT-5) into all of them, so "euro" fails BR-CL-03 on each amount element — the line net amounts, the VAT breakdown amounts and all five document totals — as well as failing BR-CL-04 on the currency code itself.

2. How to Fix BR-CL-03

Fix the currency code once, at the document level. There is no per-amount currency in this model, and EN 16931 does not permit mixing currencies inside one invoice: the only second currency it recognises is the VAT accounting currency (BT-6), which reports the VAT total again in the currency your tax authority requires and changes no other amount on the document. Set vatAccountingCurrency together with taxAmountInAccountingCurrency (BT-111) if you need it — BR-53 requires both or neither.

3. Valid Code / Payload Example

"currency": "EUR"
Test & Validate XML / JSON in Live SchemaGuard Validator →