BR-05

An Invoice shall have an Invoice currency code (BT-5).

error: the document is invalid Peppol documentation ↗

Why it fails

  • There is no cbc:DocumentCurrencyCode (ram:InvoiceCurrencyCode in CII).

How to fix it

Add the invoice currency (BT-5) as an ISO 4217 code such as EUR. Every amount's currencyID should match it, apart from a VAT total given in the VAT accounting currency.

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/rsm:CrossIndustryInvoice
Test
normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode) != ''

Checked with EN 16931 Invoice (CII)

Context
/ubl:Invoice | /cn:CreditNote
Test
(cbc:DocumentCurrencyCode) !=''

Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)

Context
/rsm:CrossIndustryInvoice
Test
(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode!='')

Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL