Peppol BIS Billing 3.0.19 · UBLStored validation assertion
DK-R-016: For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount)
Peppol BIS Billing 3.0.19 · UBL
fatalcountry
Original rule text
For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount)
not((boolean(/ubl-creditnote:CreditNote) and ($DKCustomerCountry = 'DK')) and (number(cac:LegalMonetaryTotal/cbc:PayableAmount/text()) < 0) )DK-R-016 is a fatal rule in the country layer of Peppol BIS Billing 3.0.19 · UBL. An invoice that breaks it is rejected.
Where to go next
DK-R-016 changed in 1 published Peppol BIS Billing UBL release comparison:
- DK-R-016 in 3.0.2 → 3.0.10: Test expression rewritten
Validate an invoice against these rules · All release changes