VRBL-INV-AE-1p0-121

Basic Info

Rule When the Invoice Line Item Type Code is 'S' (Services), the Invoice Line Additional Item Identification ID MUST be provided.
Context /ubl:Invoice/cac:InvoiceLine/cac:Item
Pattern vrbl-invoice-AE-1p0
Severity fatal

Implementation

not(cbc:ItemTypeCode = 'S') 
or 
cac:AdditionalItemIdentification/cbc:ID