Python list all invoices
Christoph Holtermann
c.holtermann at gmx.de
Mon Nov 10 10:10:01 EST 2014
Dear developers,
to get my invoices to LaTeX I went to jinja2 templating engine
which works quite fine.
src/optional/python-bindings/example_scripts/gncinvoice_jinja.py
https://github.com/c-holtermann/gnucash/commit/15a69f120569a174837b467d54a22fb1b4345777
I want to be able to show a list of all invoices to select which one to extract.
This leads to my question:
What ways are there to list all invoices (with python) ?
I first went through all lots to get corresponding invoices - which leaves all
invoices without transactions. Did this in latex_invoices.py.
Then I realized that in the python business bindings there is
InvoiceLookupByID which is a good way to access invoices.
But it's not possible by this way to know all IDs.
When I use the way similar to the search dialogue like "all invoices
after 1970 january" I would probably get all invoices. But as far as I
know the query api is not yet open to python, is it ?
Is there another way to get all invoices ?
regards,
Christoph Holtermann
--
--- Nachricht gesendet von C. Holtermann ---
- -
- Verschlüsselte Nachrichten können über -
- den öffentlichen Schlüssel auf folgendem -
- Keyserver an mich gesendet werden: -
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4DD9CF0482B0620B
More information about the gnucash-devel
mailing list