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