VRBL-INV-PT-2p1-205

Basic Info

Rule The Invoice Line Group where the Invoice Line Tax ID is "Exempt from VAT" must have a Invoice Line Additional Item Property Group.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item
Pattern vrbl-invoice-pt-2p1
Severity fatal

Implementation

not(cac:ClassifiedTaxCategory/cbc:ID = 'E') and not(cac:ClassifiedTaxCategory/cbc:ID = 'ISE') or boolean(cac:AdditionalItemProperty)