VRBL-INV-JP-1p0-19

Basic Info

Rule When the Invoice Type Code is "480" then the Reduced Tax Subtotal Amount must be 0.
Context /ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:ReducedTotals/cac:TaxTotal/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