Peppol BIS Billing 3.0 · rule
UBL-CR-674
What does UBL-CR-674 mean? A UBL invoice should not include the PrimaryAccountNumber schemeID
Why did my invoice fail UBL-CR-674?
The schemeID attribute on cac:CardAccount/cbc:PrimaryAccountNumber should not be used in an EN 16931 UBL invoice. The core standard maps only the plain card account number value (BT-87); the attribute is outside the core invoice model and validators warn on it. Remove the attribute and keep just the (masked) card number.
Official rule text
A UBL invoice should not include the PrimaryAccountNumber schemeID
Common causes
- Generic UBL library emits schemeID on every identifier by default
- Copying examples from full UBL 2.1 documentation rather than the EN 16931 subset
How do I fix it?
<cac:CardAccount> <cbc:PrimaryAccountNumber>1234********5678</cbc:PrimaryAccountNumber> </cac:CardAccount>
Related rules
UBL-CR-001 · UBL-CR-002 · UBL-CR-003 · UBL-CR-004 · UBL-CR-005 · UBL-CR-006 · UBL-CR-007 · UBL-CR-008
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.