Program for writing invoices