PEPPOL-EN16931-R051
All currencyID attributes must have the same value as the invoice currency code (BT-5), except for the invoice total VAT amount in accounting currency (BT-111).
What does this rule mean?
A currencyID attribute differs from the invoice currency (BT-5).
Every amount is in the invoice currency; the only permitted exception is the VAT amount in accounting currency (BT-111).
- BT-5
- Invoice currency code
- BT-111
- Invoice total VAT amount in accounting currency
Official rule message (standard)
All currencyID attributes must have the same value as the invoice currency code (BT-5), except for the invoice total VAT amount in accounting currency (BT-111).
Where the rule applies
Syntax: UBL
Affected element (XPath):
cbc:Amount | cbc:BaseAmount | cbc:PriceAmount | cac:TaxTotal[cac:TaxSubtotal]/cbc:TaxAmount | cac:TaxSubtotal/cbc:TaxAmount | cbc:TaxableAmount | cbc:LineExtensionAmount | cbc:TaxExclusiveAmount | cbc:TaxInclusiveAmount | cbc:AllowanceTotalAmount | cbc:ChargeTotalAmount | cbc:PrepaidAmount | cbc:PayableRoundingAmount | cbc:PayableAmount
Technical test
The rule passes when this Schematron expression holds true:
@currencyID = $documentCurrencyCodeHow to fix it
A missing or incorrect business entry only you can supply. Add or correct it, then re-check.
Set all currencyID attributes to the invoice currency.
Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.
Check an e-invoice here
Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.