A UBL invoice should not include the Delivery Quantity
/ubl:Invoice | /cn:CreditNote
not(cac:Delivery/cbc:Quantity)