Home
/
Models
En16931
Versions
2017
Rules
PEPPOL-COMMON-R042
Cius
BIS3
Validation message
Danish organization number (CVR) MUST be stated in the correct format.
UBL
Context
Copied
1
cbc:EndpointID[@schemeID = '0184'] | cac:PartyIdentification/cbc:ID[@schemeID = '0184'] | cbc:CompanyID[@schemeID = '0184']
Rule
(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)
CII
ram:URIID[@schemeID = '0184'] | ram:ID[@schemeID = '0184'] | ram:GlobalID[@schemeID = '0184']
(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)
UBL CREDIT NOTE
Used in business terms
BT-34
BT-29
BT-90
BT-31
BT-32
BT-49
BT-46
BT-48