E-invoice rule explained · Peppol BIS
PEPPOL-EN16931-R051: An amount uses a different currency from the invoice currency
Official message
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).
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL
- Business terms
- BT-5, BT-111
What does PEPPOL-EN16931-R051 mean?
Every amount in the invoice (prices, line amounts, allowances and charges, VAT amounts and the document totals) must carry a currencyID equal to the Invoice currency code (BT-5, cbc:DocumentCurrencyCode). The only exception is the VAT total in accounting currency (BT-111): a second cac:TaxTotal that has no tax subtotals.
Usual causes
- The invoice is in one currency but some amounts were written with your home currency, for example USD invoice with EUR on the VAT amounts.
- The VAT total in accounting currency was written inside the main tax total or with tax subtotals, so it is no longer treated as BT-111.
- A typo or lower-case code in one currencyID, such as eur or EURO.
How do I fix PEPPOL-EN16931-R051?
- Set currencyID on every amount to the value of cbc:DocumentCurrencyCode, exactly as written there.
- If you must state VAT in your accounting currency, set cbc:TaxCurrencyCode and add a separate cac:TaxTotal with only cbc:TaxAmount in that currency, no cac:TaxSubtotal.
- Search the file for currencyID= and check each value.
Corrected XML (minimal example we wrote)
UBL
<cbc:DocumentCurrencyCode>USD</cbc:DocumentCurrencyCode> <cbc:TaxCurrencyCode>EUR</cbc:TaxCurrencyCode> <!-- parties, lines and other elements unchanged --><cac:TaxTotal> <cbc:TaxAmount currencyID="USD">19.00</cbc:TaxAmount> <cac:TaxSubtotal> <cbc:TaxableAmount currencyID="USD">100.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="USD">19.00</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <cbc:Percent>19</cbc:Percent> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal></cac:TaxTotal><cac:TaxTotal> <cbc:TaxAmount currencyID="EUR">17.48</cbc:TaxAmount> </cac:TaxTotal>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the OpenPeppol BIS Billing 3 rules, 3.0.22 (MPL-2.0), compiled from upstream commit 38d693d. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. OpenPeppol BIS Billing 3 rules 3.0.22