VRBL-INV-RS-1p0-23

Basic Info

Rule When the Seller Group is Serbian, then the Reduced Legal Monetary Total Group must be provide for Final Invoice (380).
Context /ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:ReducedTotals
Pattern vrbl-invoice-rs-1p0
Severity fatal

Implementation

not(
	$RSSupplierCountry = 'RS'
	and
	$InvoiceTypeCode = '380'
)
or 
boolean(cac:LegalMonetaryTotal)