VRBL-INV-RS-1p0-17

Basic Info

Rule When the Seller Group is Serbian, then the Prepayment Tax Subtotal Taxable Amount must be provided for Final Invoice (380).
Context /ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:InvoicedPrepaymentAmount/cac:TaxTotal/cac:TaxSubtotal
Pattern vrbl-invoice-rs-1p0
Severity fatal

Implementation

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