To amend an invoice where the invoice was issued to an agent rather than the company:
in the order details section, zero out the agent pay charges and then add the charge to the company pay charges
To future proof this, make use of these additional settings:
In the company order page, in the advanced settings, change the setting to bill the company
In the company profile area, select "Company Pays All Invoices"