Rules
VRBL-INV-DK-1p0-20
Basic Info
| Rule | If the Remittance Information is prefixed with 71# or 75# the 15-16 digits instruction ID must be added to the Payment ID eg."71#1234567890123456" when Payment Means Code equals 93 (FIK). |
| Context |
/ubl:Invoice/cac:PaymentMeans/cbc:PaymentID
|
| Pattern | vrbl-invoice-dk-1p0 |
| Severity | fatal |
Implementation
not($DKSupplierCountry = 'DK')
or
not(../cbc:PaymentMeansCode = '93')
or
(
(
substring((.), 1, 2) = '71'
or
substring((.), 1, 2) = '75'
)
and
(
string-length(normalize-space(.)) = 18
or
string-length(normalize-space(.)) = 19
)
)