Peppol BIS Billing 3.0.20 · UBLStored validation assertion
PEPPOL-COMMON-R042: Danish organization number (CVR) MUST be stated in the correct format
Peppol BIS Billing 3.0.20 · UBL
fatalformat
Original rule text
Danish organization number (CVR) MUST be stated in the correct format.
(string-length(string()) = 10 and substring(string(), 1, 2) = 'DK' and string-length(translate(substring(string(), 3, 8), '1234567890', '')) = 0) or (string-length(string()) = 8) and (string-length(translate(substring(string(), 1, 8),'1234567890', '')) = 0)PEPPOL-COMMON-R042 is a fatal rule in the format layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected.
Where to go next
PEPPOL-COMMON-R042 changed in 2 published Peppol BIS Billing UBL release comparisons:
- PEPPOL-COMMON-R042 in 3.0.18 → 3.0.19: Test expression rewritten
- PEPPOL-COMMON-R042 in 3.0.2 → 3.0.10: New rule
Validate an invoice against these rules · All release changes