VRBL-INV-AE-1p0-96

Basic Info

Rule When Invoice Type Code '380' (Commercial invoice) or '381' (Credit note), the Invoiced items MUST NOT strictly consist of 'Exempt from VAT' (E) and/or 'Not subject to VAT' (O) categories.
Context /ubl:Invoice
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(cbc:InvoiceTypeCode = '380' or cbc:InvoiceTypeCode = '381')
or
/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[cbc:ID != 'E' and cbc:ID != 'O']