Material Surcharges

Has anyone automated this when doing invoicing? Or are you still
adding it manually as a Misc. Charge?