VRBL-INV-EN16931-M-153
Basic Info
| Rule | The Tax Sub Total with Tax Subtotal Category ID is "Reverse charge" must have a Tax Subtotal Category Exemption Reason Code the Tax Subtotal Category Exemption Reason. |
| 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 = 'AE'
and
cac:TaxScheme/cbc:ID = 'VAT'
)
or
(
boolean(cbc:TaxExemptionReason)
or
boolean(cbc:TaxExemptionReasonCode)
)