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