VRBL-INV-JP-1p0-22

Basic Info

Rule When the Invoice Type Code is "480" then the Withholding Tax Amount must be 0.
Context /ubl:Invoice/cac:WithholdingTaxTotal/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