Peppol BIS Billing 3.0.21 · UBL

UBL-CR-657: A UBL invoice should not include the DocumentCurrencyCode listID

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-657]-A UBL invoice should not include the DocumentCurrencyCode listID

Stored validation assertion
not(cbc:DocumentCurrencyCode/@listID)

UBL-CR-657 is a warning rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.

What this rule requires

This rule forbids the attribute cbc:DocumentCurrencyCode/@listID in a UBL document. The test is not(cbc:DocumentCurrencyCode/@listID), evaluated for /ubl:Invoice, /cn:CreditNote, so the rule reports every place where that attribute is present.

How to fix

Remove cbc:DocumentCurrencyCode/@listID from the document. If your system always writes it, change the export so that it leaves this attribute out.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to UBL-CR-657.

Validate an invoice against these rules · All release changes