VRBL-INV-SA-1p2-112
Basic Info
|
Rule
|
The Line Item Tax Sub Total Tax Inclusive Amount is mandatory for Invoice Simplified Invoice Indicator 'true'. |
|
Context
|
/ubl:Invoice/cac:InvoiceLine
|
|
Pattern
|
vrbl-invoice-sa-1p2 |
|
Severity
|
fatal |
Implementation
not(/ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:SimplifiedInvoiceIndicator = 'true')
or
(count(cac:TaxTotal/cac:TaxSubtotal/cbc:TaxInclusiveAmount)>0 and cac:TaxTotal/cac:TaxSubtotal/cbc:TaxInclusiveAmount != '')