VRBL-INV-JP-1p0-23

Basic Info

Rule When the Invoice Type Code is "480" then the Withholding Tax Subtotal Amount must be 0.
Context /ubl:Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cbc:TaxAmount
Pattern vrbl-invoice-jp-1p0
Severity fatal

Used Template: VRBL-JP-TaxAmount-zero-check

Implementation

not(/ubl:Invoice/cbc:InvoiceTypeCode = '480')
or
number(.) = 0