VRBL-INV-MY-1p0-117
Basic Info
| Rule | When the Invoice Line Tax ID indicates a tax exemption, the Invoice Line Tax Exemption Reason must exist within the Invoice Line Tax Group. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
|
| Pattern | vrbl-invoice-my-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cbc:TaxExemptionReason
|
Implementation
(
not(cbc:ID = concat($VRBL-MY-Prefix, 'E') or cbc:ID='E')
)
or
(
boolean(cbc:TaxExemptionReason)
)