Message

An Invoice line (ibg-25) shall have an Invoiced quantity unit of measure code (ibt-130).

Context
cac:InvoiceLine | cac:CreditNoteLine
Test
exists(cbc:InvoicedQuantity/@unitCode) or exists(cbc:CreditedQuantity/@unitCode)