VRBL-INV-SA-1p2-22

Basic Info

Rule When Document Currency Code is not SAR , then a second Tax Total Group must be provided with the SAR currency
Context /ubl:Invoice
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

 $SADocumentCurrencyCode='SAR' or count(cbc:TaxCurrencyCode)=0 or count(cac:TaxTotal[not(cac:TaxSubtotal)]) = 1