|
GnuCash c935c2f+
|
Data Structures | |
| class | Error |
Functions | |
| api_accounts () | |
| api_account (guid) | |
| api_account_splits (guid) | |
| api_transactions () | |
| api_transaction (guid) | |
| api_bills () | |
| api_bill (id) | |
| api_bill_entries (id) | |
| api_invoices () | |
| api_invoice (id) | |
| api_invoice_entries (id) | |
| api_entry (guid) | |
| api_customers () | |
| api_customer (id) | |
| api_customer_invoices (id) | |
| api_vendors () | |
| api_vendor (id) | |
| api_vendor_bills (id) | |
| getCustomers (book) | |
| getCustomer (book, id) | |
| getVendors (book) | |
| getVendor (book, id) | |
| getAccounts (book) | |
| getAccountsFlat (book) | |
| getSubAccounts (account) | |
| getAccount (book, guid) | |
| getTransaction (book, guid) | |
| getTransactions (book, account_guid, date_posted_from, date_posted_to) | |
| getAccountSplits (book, guid, date_posted_from, date_posted_to) | |
| getInvoices (book, customer, is_paid, is_active, date_due_from, date_due_to) | |
| getBills (book, customer, is_paid, is_active, date_opened_from, date_opened_to) | |
| getGnuCashInvoice (book, id) | |
| getGnuCashBill (book, id) | |
| getInvoice (book, id) | |
| payInvoice (book, id, posted_account_guid, transfer_account_guid, payment_date, memo, num, auto_pay) | |
| payBill (book, id, posted_account_guid, transfer_account_guid, payment_date, memo, num, auto_pay) | |
| getBill (book, id) | |
| addVendor (book, id, currency_mnumonic, name, contact, address_line_1, address_line_2, address_line_3, address_line_4, phone, fax, email) | |
| addCustomer (book, id, currency_mnumonic, name, contact, address_line_1, address_line_2, address_line_3, address_line_4, phone, fax, email) | |
| updateCustomer (book, id, name, contact, address_line_1, address_line_2, address_line_3, address_line_4, phone, fax, email) | |
| addInvoice (book, id, customer_id, currency_mnumonic, date_opened, notes) | |
| updateInvoice (book, id, customer_id, currency_mnumonic, date_opened, notes, posted, posted_account_guid, posted_date, due_date, posted_memo, posted_accumulatesplits, posted_autopay) | |
| updateBill (book, id, vendor_id, currency_mnumonic, date_opened, notes, posted, posted_account_guid, posted_date, due_date, posted_memo, posted_accumulatesplits, posted_autopay) | |
| addEntry (book, invoice_id, date, description, account_guid, quantity, price) | |
| addBillEntry (book, bill_id, date, description, account_guid, quantity, price) | |
| getEntry (book, entry_guid) | |
| updateEntry (book, entry_guid, date, description, account_guid, quantity, price) | |
| deleteEntry (book, entry_guid) | |
| deleteTransaction (book, transaction_guid) | |
| addBill (book, id, vendor_id, currency_mnumonic, date_opened, notes) | |
| addAccount (book, name, currency_mnumonic, account_type_id, parent_account_guid, description, code) | |
| addTransaction (book, num, description, date_posted, currency_mnumonic, splits) | |
| editTransaction (book, transaction_guid, num, description, date_posted, currency_mnumonic, splits) | |
| gnc_numeric_from_decimal (decimal_value) | |
| shutdown () | |
Variables | |
| app = Flask(__name__) | |
| debug | |
| str | host = '127.0.0.1' |
| bool | is_new = False |
| session = gnucash.Session(arguments[0], SessionOpenMode.SESSION_NEW_STORE) | |
| stream_handler = StreamHandler() | |
gnucash_rest.py -- A Flask app which responds to REST requests with JSON responses Copyright (C) 2013 Tom Lofts <dev@loftx.co.uk> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, contact: Free Software Foundation Voice: +1-617-542-5942 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 Boston, MA 02110-1301, USA gnu@gnu.org @author Tom Lofts <dev@loftx.co.uk>
| gnucash_rest.addAccount | ( | book, | |
| name, | |||
| currency_mnumonic, | |||
| account_type_id, | |||
| parent_account_guid, | |||
| description, | |||
| code | |||
| ) |
Definition at line 1675 of file gnucash_rest.py.
| gnucash_rest.addBill | ( | book, | |
| id, | |||
| vendor_id, | |||
| currency_mnumonic, | |||
| date_opened, | |||
| notes | |||
| ) |
Definition at line 1640 of file gnucash_rest.py.
| gnucash_rest.addBillEntry | ( | book, | |
| bill_id, | |||
| date, | |||
| description, | |||
| account_guid, | |||
| quantity, | |||
| price | |||
| ) |
Definition at line 1516 of file gnucash_rest.py.
| gnucash_rest.addCustomer | ( | book, | |
| id, | |||
| currency_mnumonic, | |||
| name, | |||
| contact, | |||
| address_line_1, | |||
| address_line_2, | |||
| address_line_3, | |||
| address_line_4, | |||
| phone, | |||
| fax, | |||
| ) |
Definition at line 1206 of file gnucash_rest.py.
| gnucash_rest.addEntry | ( | book, | |
| invoice_id, | |||
| date, | |||
| description, | |||
| account_guid, | |||
| quantity, | |||
| price | |||
| ) |
Definition at line 1471 of file gnucash_rest.py.
| gnucash_rest.addInvoice | ( | book, | |
| id, | |||
| customer_id, | |||
| currency_mnumonic, | |||
| date_opened, | |||
| notes | |||
| ) |
Definition at line 1281 of file gnucash_rest.py.
| gnucash_rest.addTransaction | ( | book, | |
| num, | |||
| description, | |||
| date_posted, | |||
| currency_mnumonic, | |||
| splits | |||
| ) |
Definition at line 1736 of file gnucash_rest.py.
| gnucash_rest.addVendor | ( | book, | |
| id, | |||
| currency_mnumonic, | |||
| name, | |||
| contact, | |||
| address_line_1, | |||
| address_line_2, | |||
| address_line_3, | |||
| address_line_4, | |||
| phone, | |||
| fax, | |||
| ) |
Definition at line 1166 of file gnucash_rest.py.
| gnucash_rest.api_account | ( | guid | ) |
Definition at line 112 of file gnucash_rest.py.
| gnucash_rest.api_account_splits | ( | guid | ) |
Definition at line 122 of file gnucash_rest.py.
| gnucash_rest.api_accounts | ( | ) |
Definition at line 80 of file gnucash_rest.py.
| gnucash_rest.api_bill | ( | id | ) |
Definition at line 284 of file gnucash_rest.py.
| gnucash_rest.api_bill_entries | ( | id | ) |
Definition at line 370 of file gnucash_rest.py.
| gnucash_rest.api_bills | ( | ) |
Definition at line 227 of file gnucash_rest.py.
| gnucash_rest.api_customer | ( | id | ) |
Definition at line 656 of file gnucash_rest.py.
| gnucash_rest.api_customer_invoices | ( | id | ) |
Definition at line 702 of file gnucash_rest.py.
| gnucash_rest.api_customers | ( | ) |
Definition at line 615 of file gnucash_rest.py.
| gnucash_rest.api_entry | ( | guid | ) |
Definition at line 577 of file gnucash_rest.py.
| gnucash_rest.api_invoice | ( | id | ) |
Definition at line 459 of file gnucash_rest.py.
| gnucash_rest.api_invoice_entries | ( | id | ) |
Definition at line 544 of file gnucash_rest.py.
| gnucash_rest.api_invoices | ( | ) |
Definition at line 402 of file gnucash_rest.py.
| gnucash_rest.api_transaction | ( | guid | ) |
Definition at line 173 of file gnucash_rest.py.
| gnucash_rest.api_transactions | ( | ) |
Definition at line 140 of file gnucash_rest.py.
| gnucash_rest.api_vendor | ( | id | ) |
Definition at line 756 of file gnucash_rest.py.
| gnucash_rest.api_vendor_bills | ( | id | ) |
Definition at line 770 of file gnucash_rest.py.
| gnucash_rest.api_vendors | ( | ) |
Definition at line 715 of file gnucash_rest.py.
| gnucash_rest.deleteEntry | ( | book, | |
| entry_guid | |||
| ) |
Definition at line 1612 of file gnucash_rest.py.
| gnucash_rest.deleteTransaction | ( | book, | |
| transaction_guid | |||
| ) |
Definition at line 1630 of file gnucash_rest.py.
| gnucash_rest.editTransaction | ( | book, | |
| transaction_guid, | |||
| num, | |||
| description, | |||
| date_posted, | |||
| currency_mnumonic, | |||
| splits | |||
| ) |
Definition at line 1796 of file gnucash_rest.py.
| gnucash_rest.getAccount | ( | book, | |
| guid | |||
| ) |
Definition at line 866 of file gnucash_rest.py.
| gnucash_rest.getAccounts | ( | book | ) |
Definition at line 829 of file gnucash_rest.py.
| gnucash_rest.getAccountsFlat | ( | book | ) |
Definition at line 835 of file gnucash_rest.py.
| gnucash_rest.getAccountSplits | ( | book, | |
| guid, | |||
| date_posted_from, | |||
| date_posted_to | |||
| ) |
Definition at line 918 of file gnucash_rest.py.
| gnucash_rest.getBill | ( | book, | |
| id | |||
| ) |
Definition at line 1162 of file gnucash_rest.py.
| gnucash_rest.getBills | ( | book, | |
| customer, | |||
| is_paid, | |||
| is_active, | |||
| date_opened_from, | |||
| date_opened_to | |||
| ) |
Definition at line 1017 of file gnucash_rest.py.
| gnucash_rest.getCustomer | ( | book, | |
| id | |||
| ) |
Definition at line 796 of file gnucash_rest.py.
| gnucash_rest.getCustomers | ( | book | ) |
Definition at line 781 of file gnucash_rest.py.
| gnucash_rest.getEntry | ( | book, | |
| entry_guid | |||
| ) |
Definition at line 1562 of file gnucash_rest.py.
| gnucash_rest.getGnuCashBill | ( | book, | |
| id | |||
| ) |
Definition at line 1098 of file gnucash_rest.py.
| gnucash_rest.getGnuCashInvoice | ( | book, | |
| id | |||
| ) |
Definition at line 1070 of file gnucash_rest.py.
| gnucash_rest.getInvoice | ( | book, | |
| id | |||
| ) |
Definition at line 1126 of file gnucash_rest.py.
| gnucash_rest.getInvoices | ( | book, | |
| customer, | |||
| is_paid, | |||
| is_active, | |||
| date_due_from, | |||
| date_due_to | |||
| ) |
Definition at line 964 of file gnucash_rest.py.
| gnucash_rest.getSubAccounts | ( | account | ) |
Definition at line 855 of file gnucash_rest.py.
| gnucash_rest.getTransaction | ( | book, | |
| guid | |||
| ) |
Definition at line 884 of file gnucash_rest.py.
| gnucash_rest.getTransactions | ( | book, | |
| account_guid, | |||
| date_posted_from, | |||
| date_posted_to | |||
| ) |
Definition at line 901 of file gnucash_rest.py.
| gnucash_rest.getVendor | ( | book, | |
| id | |||
| ) |
Definition at line 820 of file gnucash_rest.py.
| gnucash_rest.getVendors | ( | book | ) |
Definition at line 805 of file gnucash_rest.py.
| gnucash_rest.gnc_numeric_from_decimal | ( | decimal_value | ) |
Definition at line 1864 of file gnucash_rest.py.
| gnucash_rest.payBill | ( | book, | |
| id, | |||
| posted_account_guid, | |||
| transfer_account_guid, | |||
| payment_date, | |||
| memo, | |||
| num, | |||
| auto_pay | |||
| ) |
Definition at line 1145 of file gnucash_rest.py.
| gnucash_rest.payInvoice | ( | book, | |
| id, | |||
| posted_account_guid, | |||
| transfer_account_guid, | |||
| payment_date, | |||
| memo, | |||
| num, | |||
| auto_pay | |||
| ) |
Definition at line 1130 of file gnucash_rest.py.
| gnucash_rest.shutdown | ( | ) |
Definition at line 1895 of file gnucash_rest.py.
| gnucash_rest.updateBill | ( | book, | |
| id, | |||
| vendor_id, | |||
| currency_mnumonic, | |||
| date_opened, | |||
| notes, | |||
| posted, | |||
| posted_account_guid, | |||
| posted_date, | |||
| due_date, | |||
| posted_memo, | |||
| posted_accumulatesplits, | |||
| posted_autopay | |||
| ) |
Definition at line 1394 of file gnucash_rest.py.
| gnucash_rest.updateCustomer | ( | book, | |
| id, | |||
| name, | |||
| contact, | |||
| address_line_1, | |||
| address_line_2, | |||
| address_line_3, | |||
| address_line_4, | |||
| phone, | |||
| fax, | |||
| ) |
Definition at line 1246 of file gnucash_rest.py.
| gnucash_rest.updateEntry | ( | book, | |
| entry_guid, | |||
| date, | |||
| description, | |||
| account_guid, | |||
| quantity, | |||
| price | |||
| ) |
Definition at line 1574 of file gnucash_rest.py.
| gnucash_rest.updateInvoice | ( | book, | |
| id, | |||
| customer_id, | |||
| currency_mnumonic, | |||
| date_opened, | |||
| notes, | |||
| posted, | |||
| posted_account_guid, | |||
| posted_date, | |||
| due_date, | |||
| posted_memo, | |||
| posted_accumulatesplits, | |||
| posted_autopay | |||
| ) |
Definition at line 1316 of file gnucash_rest.py.
| gnucash_rest.app = Flask(__name__) |
Definition at line 76 of file gnucash_rest.py.
| gnucash_rest.debug |
Definition at line 77 of file gnucash_rest.py.
| gnucash_rest.host = '127.0.0.1' |
Definition at line 1920 of file gnucash_rest.py.
| bool gnucash_rest.is_new = False |
Definition at line 1927 of file gnucash_rest.py.
| gnucash_rest.session = gnucash.Session(arguments[0], SessionOpenMode.SESSION_NEW_STORE) |
Definition at line 1937 of file gnucash_rest.py.
| gnucash_rest.stream_handler = StreamHandler() |
Definition at line 1958 of file gnucash_rest.py.