Rules / IBR-070
IBR-070 error
Danish organization number (CVR) must be stated in the correct format for endpoints
Danish organization number (CVR) must be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061).
Fails when this is false
(string-length(text()) = 10) and (substring(text(), 1, 2) = 'DK') and (string-length(translate(substring(text(), 3, 8), '1234567890', '')) = 0)The schematron test, verbatim. Context: cbc:EndpointID[@schemeID = '0184'] | cac:PartyIdentification/cbc:ID[@schemeID = '0184'] | cbc:CompanyID[@schemeID = '0184']
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.