Well, my view is that you are using the wrong tool, ie typesetting to do bookkeeping instead of letting the bookkeeping do the typesetting.
I use SQL-Ledger which is Open Source in Perl and uses LaTeX to prepare the invoices. I have developed a template with KOMA-Script to my liking and haven't looked at it for years, as it merrily emails the invoises el On 2017-12-21 00:32 , Rich Shepard wrote: > I'm trying to create an account statement for clients whom I invoice > by time and expense and I'm missing something in my efforts. The > statement is a running explanation of payments received and charges > against those payments. I'm trying to use the invoice2 package, so > far unsuccessfully. [...]