Peppol BIS Billing 3.0.21 · UBL

DK-R-014: For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK CVR-number) when…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DK-R-014]-For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty

Stored validation assertion
not(((boolean(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID))           and (normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/@schemeID) != '0184'))       )

DK-R-014 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

This is a fatal rule for documents where the AccountingSupplierParty country code is "DK". If cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID is used, its @schemeID attribute must be exactly "0184". A missing @schemeID also fails, because the test treats it as not equal to "0184".

How to fix

On cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID, set the attribute schemeID="0184". Ensure the attribute is present, not omitted, when a Danish supplier uses CompanyID.

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 DK-R-014.

Validate an invoice against these rules · All release changes