VRBL-INV-PEPPOL-PINT-269
Basic Info
|
Rule
|
The value of the Allowance Tax Scheme ID must be contained in Tax Scheme ID [VRBL-CL-PINT-TaxScheme-ID]. Allowed values: GST, VAT. |
|
Context
|
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cac:TaxCategory/cac:TaxScheme/cbc:ID
|
|
Pattern
|
vrbl-invoice-peppol-pint |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
.
|
| codeList |
= |
$VRBL-CL-PINT-TaxScheme-ID
|
| showValues |
= |
true
|
Implementation
not(boolean(.))
or
(
(
not(
contains(
normalize-space(.),
substring($VRBL-CL-PINT-TaxScheme-ID, 1, 1)
)
)
and
contains(
$VRBL-CL-PINT-TaxScheme-ID,
concat(
substring($VRBL-CL-PINT-TaxScheme-ID, 1, 1),
normalize-space(.),
substring($VRBL-CL-PINT-TaxScheme-ID, 1, 1)
)
)
)
)