VRBL-INV-IT-1p2-8

Basic Info

Rule For the Invoice Type Code "TD21" there must not be any Invoice Line Group with a Invoice Line Tax Percent of zero.
Context /ubl:Invoice
Pattern vrbl-invoice-it-1p2
Severity fatal

Implementation

not(
	cbc:InvoiceTypeCode = concat($VRBL-IT-Prefix, 'TD21')
)
or
not(boolean(cac:InvoiceLine[cac:Item/cac:ClassifiedTaxCategory/cbc:Percent = 0]))