VRBL-INV-DK-OIOUBL-2p0-65
Basic Info
| Rule | If the Seller ID is marked as a Danish P number, it must be 10 characters long. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID
|
| Pattern | vrbl-invoice-dk-oioubl-2p0 |
| Severity | fatal |
Used Template: VRBL-DK-schemeID-DKP
Implementation
not(@schemeID = concat($VRBL-DK-Prefix, 'P'))
or
(
string-length(normalize-space(.)) = 10
)