An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130).
cac:InvoiceLine | cac:CreditNoteLine
exists(cbc:InvoicedQuantity/@unitCode) or exists(cbc:CreditedQuantity/@unitCode)