|
GnuCash
5.6-150-g038405b370+
|
some help for working with invoices, used in Python invoice export More...
Go to the source code of this file.
Functions | |
| def | gncinvoicefkt.get_all_lots (account) |
| def | gncinvoicefkt.get_all_invoices_from_lots (account) |
| def | gncinvoicefkt.get_all_invoices (book, is_paid=None, is_active=None) |
| def | gncinvoicefkt.get_all_customers (book) |
some help for working with invoices, used in Python invoice export
Credits to Tom Loft for the query to get_all_invoices as used in his REST-Api
Issues:
Definition in file gncinvoicefkt.py.
| def gncinvoicefkt.get_all_customers | ( | book | ) |
Returns all customers in book.
Posts a query to search for all customers.
arguments:
book the gnucash book to work with
Definition at line 95 of file gncinvoicefkt.py.
| def gncinvoicefkt.get_all_invoices | ( | book, | |
is_paid = None, |
|||
is_active = None |
|||
| ) |
Returns a list of all invoices in the book.
Posts a query to search for all invoices.
arguments:
book the gnucash book to work with
keyword-arguments:
is_paid int 1 to search for invoices having been paid, 0 for not, None to ignore.
is_active int 1 to search for active invoices
Definition at line 51 of file gncinvoicefkt.py.
| def gncinvoicefkt.get_all_invoices_from_lots | ( | account | ) |
Return all invoices in account and descendants This is based on lots. So invoices without lots will be missed.
Definition at line 38 of file gncinvoicefkt.py.
| def gncinvoicefkt.get_all_lots | ( | account | ) |
Return all lots in account and descendants
Definition at line 29 of file gncinvoicefkt.py.
1.8.14