VRBL-INV-PEPPOL-PINT-242
Basic Info
|
Rule
|
The value of the Tax Currency Code must be contained in ISO 4217 Alpha-3 currency [VRBL-CL-PINT-CurrencyCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/ |
|
Context
|
/ubl:Invoice/cbc:TaxCurrencyCode
|
|
Pattern
|
vrbl-invoice-peppol-pint |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
.
|
| codeList |
= |
$VRBL-CL-PINT-CurrencyCode
|
Implementation
not(boolean(.))
or
(
(
not(
contains(
normalize-space(.),
substring($VRBL-CL-PINT-CurrencyCode, 1, 1)
)
)
and
contains(
$VRBL-CL-PINT-CurrencyCode,
concat(
substring($VRBL-CL-PINT-CurrencyCode, 1, 1),
normalize-space(.),
substring($VRBL-CL-PINT-CurrencyCode, 1, 1)
)
)
)
)