Message

A unit code attribute MUST have a unit code list identifier attribute "UNECERec20"

Context
cbc:*[ends-with(name(),'Quantity')]
Test
not(attribute::unitCode) or (attribute::unitCode and attribute::unitCodeListID = 'UNECERec20')
Usage
/ ubl:OrderResponse / cac:OrderLine / cac:LineItem / cbc:Quantity