VRBL-INV-AE-1p0-107
Basic Info
| Rule | When Invoice Line Tax ID is 'E', the Invoice Line Tax Exemption Reason Code must exist within the Invoice Line Group. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Item
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:ClassifiedTaxCategory/cbc:TaxExemptionReasonCode
|
Implementation
(
not(cac:ClassifiedTaxCategory/cbc:ID = 'E')
)
or
(
boolean(cac:ClassifiedTaxCategory/cbc:TaxExemptionReasonCode)
)