I would go the way of a suitelet, as you suggested...
# suitescript
a
I would go the way of a suitelet, as you suggested, but since this runs upon Invoice creation, I would need lots of deployments, lest I get the frustrating "NO_DEPLOYMENTS_AVAILABLE" error.