VRBL-INV-AU-1p0-68
Basic Info
|
Rule
|
The value of the Invoice Line Tax ID must be contained in Tax Category ID [VRBL-CL-AU-TaxCategoryID]. |
|
Context
|
/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:ID
|
|
Pattern
|
vrbl-invoice-au-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
.
|
| codeList |
= |
$VRBL-CL-AU-TaxCategoryID
|
| showValue |
= |
true
|
Implementation
not(boolean(.))
or
(
(
not(
contains(
normalize-space(.),
substring($VRBL-CL-AU-TaxCategoryID, 1, 1)
)
)
and
contains(
$VRBL-CL-AU-TaxCategoryID,
concat(
substring($VRBL-CL-AU-TaxCategoryID, 1, 1),
normalize-space(.),
substring($VRBL-CL-AU-TaxCategoryID, 1, 1)
)
)
)
)