Could you write something to run before invoicing to populate the misc charges, based on qty shipped - qty invoiced?
We calculate the surcharge at shipping and stuff it in the misc charges automatically. Standard invoicing picks it up there. You need 4gl, but not Syteline source code. It's...