Peppol BIS Billing 3.0.19 · UBL

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)

Stored validation assertion
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:

Validate an invoice against these rules · All release changes