Peppol BIS Billing 3.0.21 · UBL

UBL-CR-674: A UBL invoice should not include the PrimaryAccountNumber schemeID

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-674]-A UBL invoice should not include the PrimaryAccountNumber schemeID

Stored validation assertion
not(//cbc:PrimaryAccountNumberID/@schemeID)

UBL-CR-674 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:PrimaryAccountNumberID/@schemeID in a UBL document. The test is not(//cbc:PrimaryAccountNumberID/@schemeID), evaluated for /ubl:Invoice, /cn:CreditNote, so the rule reports every place where that attribute is present.

How to fix

Remove //cbc:PrimaryAccountNumberID/@schemeID 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

UBL-CR-674 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes