Peppol BIS Billing 3.0 · rule
UBL-CR-678
What does UBL-CR-678 mean? A UBL invoice should not include the TaxCategory/ID schemeID
Why did my invoice fail UBL-CR-678?
The schemeID attribute on cac:TaxCategory/cbc:ID should not be used. The document-level VAT category code (BT-118) is defined by EN 16931 as a code from UNCL5305 without any scheme qualifier, so the attribute is outside the core model and validators warn on it. Use the bare category code (S, Z, E, AE, K, G, O, L, M).
Official rule text
A UBL invoice should not include the TaxCategory/ID schemeID
Common causes
- Library emits schemeID="UNCL5305" or schemeID="UN/ECE 5305" on tax category IDs
- Templates carried over from older CEN BII or OIOUBL profiles
How do I fix it?
<cac:TaxCategory> <cbc:ID>S</cbc:ID> <cbc:Percent>22</cbc:Percent> <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme> </cac:TaxCategory>
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.