DK-R-013: For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used…
Peppol BIS Billing 3.0.2 · UBL
fatalcountry
Original rule text
For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty
Stored validation assertion
not(($supplierCountry = 'DK') and (((boolean(cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID)) and (normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID/@schemeID) = '')) or ((boolean(cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID)) and (normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID/@schemeID) = '')) ) )
DK-R-013 is a fatal rule in the country layer of Peppol BIS Billing 3.0.2 · UBL. An invoice that breaks it is rejected.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to DK-R-013.