VRBL-INV-RS-1p0-20

Basic Info

Rule The Reduced Tax Subtotal Taxable Amount must be provide for Final Invoice (380).
Context /ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:ReducedTotals/cac:TaxTotal/cac:TaxSubtotal
Pattern vrbl-invoice-rs-1p0
Severity fatal

Implementation

not(
	$RSSupplierCountry = 'RS'
	and
	$InvoiceTypeCode = '380'
)
or 
boolean(cbc:TaxableAmount)