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