VRBL-INV-PT-2p1-275

Basic Info

Rule For the Withholding Tax the Withholding Tax Subtotal Description must be filled and the Withholding Tax Subtotal Tax ID must be equal IFR.
Context /ubl:Invoice/cac:WithholdingTaxTotal
Pattern vrbl-invoice-pt-2p1
Severity fatal

Implementation

boolean(cac:TaxSubtotal/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:WithholdingTaxSubtotalExtension/cbc:Description) and normalize-space(cac:TaxSubtotal/cac:TaxCategory/cbc:ID) = 'IFR'