How can I prepare an invoice from the command line?


2

Making invoices in Openoffice, and saving as a PDF file is annoying and taking too long. Is there any command-line software for Linux that can generate a high quality PDF invoice?

Business Process

asked Dec 18 '09 at 10:58
Blank
Steve Hanov
596 points

5 Answers


2

Check out LaTeX. It has a command line interface and I think can read Open Documents but I am not sure about that.

answered Dec 18 '09 at 13:19
Blank
Jarie Bolander
11,421 points
  • Seconded. You can automate a lot of document formatting functions with LaTeX – Joseph Fung 9 years ago

1

If you don't mind writing a little code, you could use FreshBooks as your invoicing system, and then use their (very simple!) API to create invoices and/or download them in PDF format.

The nice thing about this solution is that you also have a great non-automated system for dealing with invoices.

answered Dec 19 '09 at 02:36
Blank
Jason
16,231 points

0

I ended up using my own solution. I create the invoice as an RTF or other openoffice file. Then, using a custom script, I replace certain keywords in it.

The unoconv utility can convert any openoffice file to PDF.

answered Jan 18 '10 at 02:21
Blank
Steve Hanov
596 points

0

I don't think this can make invoices from command line, but it's a good tool to know about: http://www.gnucash.org/

answered Dec 18 '09 at 11:36
Blank
Matt
460 points

0

This might be a question you want to post on StackOverflow which is more programming oriented and they might have better idea of how you could do this.

answered Dec 18 '09 at 15:26
Blank
Dane
1,866 points
  • Or maybe power user? – Jeff O 9 years ago

Your Answer

  • Bold
  • Italic
  • • Bullets
  • 1. Numbers
  • Quote
Not the answer you're looking for? Ask your own question or browse other questions in these topics:

Business Process