Deleting invoices can only be done by the account owner.
If you receive an x4 error, it means that you do not have the sufficient permission level to carry out the action you’re attempting.