VRBL-INV-EN16931-M-182
Basic Info
| Rule | A Tax Sub Total with Tax Subtotal Category ID "IPSI" must not have a Tax Subtotal Category Exemption Reason or a Tax Subtotal Category Exemption Reason Code. |
| Context |
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cac:TaxCategory
|
| Pattern | vrbl-invoice-en16931-ubl-model |
| Severity | fatal |
Implementation
not(
cbc:ID = 'M'
and
cac:TaxScheme/cbc:ID = 'VAT'
)
or
not(
boolean(cbc:TaxExemptionReason)
or
boolean(cbc:TaxExemptionReasonCode)
)