UBL-CR-674: A UBL invoice should not include the PrimaryAccountNumber schemeID
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-CR-674]-A UBL invoice should not include the PrimaryAccountNumber schemeID
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:
- UBL-CR-674 in 3.0.20 → 3.0.21: Test expression rewritten
Validate an invoice against these rules · All release changes