DK-R-004: When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use the…
Peppol BIS Billing 3.0.15 · UBL
fatalcountry
Original rule text
When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in AllowanceChargeReason
Stored validation assertion
not((cbc:AllowanceChargeReasonCode = 'ZZZ') and not((string-length(normalize-space(cbc:AllowanceChargeReason/text())) = 4) and (number(cbc:AllowanceChargeReason) >= 0) and (number(cbc:AllowanceChargeReason) <= 9999)) )
DK-R-004 is a fatal rule in the country layer of Peppol BIS Billing 3.0.15 · UBL. An invoice that breaks it is rejected.
Where to go next
DK-R-004 changed in 1 published Peppol BIS Billing UBL release comparison: