Peppol BIS Billing 3.0.21 · UBL

DK-R-003: If ItemClassification is provided from Danish suppliers, UNSPSC version 19.05.01 or…

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DK-R-003]-If ItemClassification is provided from Danish suppliers, UNSPSC version 19.05.01 or 26.08.01 should be used.

Stored validation assertion
not((cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/@listID = 'TST')       and not((cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/@listVersionID = '19.05.01')           or (cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/@listVersionID = '19.0501')                                or (cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/@listVersionID = '26.08.01')                                or (cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/@listVersionID = '26.0801')           )       )

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

The rule applies to each cac:InvoiceLine or cac:CreditNoteLine when both the supplier and customer country are DK. For each such line, if the item classification code's listID attribute is TST, the listVersionID attribute must be one of 19.05.01, 19.0501, 26.08.01, or 26.0801. The document is rejected when listID is TST and listVersionID is missing or has any other value.

How to fix

Set the listVersionID attribute on cbc:ItemClassificationCode to one of the accepted values, e.g. 19.05.01 or 26.08.01. Do this on every cac:InvoiceLine or cac:CreditNoteLine where listID is TST. If you are not using UNSPSC classification, ensure listID is not TST; otherwise the version must be one of the allowed four values.

Guidance on this rule. The original text above is authoritative.

Where to go next

DK-R-003 changed in 3 published Peppol BIS Billing UBL release comparisons:

Validate an invoice against these rules · All release changes