Peppol BIS Billing 3.0.21 · UBL

DK-R-013: For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DK-R-013]-For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty

Stored validation assertion
not((boolean(cbc:ID))
and (normalize-space(cbc:ID/@schemeID) = '')
)

DK-R-013 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

For UBL invoices and credit notes where both the supplier and customer country are 'DK', the rule requires that whenever a PartyIdentification/ID is used in AccountingSupplierParty or AccountingCustomerParty, that cbc:ID must have a schemeID attribute whose value is not empty or whitespace. The test rejects the document when a cbc:ID is present and its schemeID is missing or normalizes to an empty string. The severity is fatal, so such a document fails validation.

How to fix

Add a non-empty schemeID attribute to each cbc:ID inside PartyIdentification in the relevant AccountingSupplierParty or AccountingCustomerParty. If the ID is not needed, remove the PartyIdentification/ID element instead. Ensure the system that generates the invoice fills schemeID whenever it includes a party ID for Danish parties.

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-013.

Validate an invoice against these rules · All release changes