|
5959 | 5959 | <!-- *****REPLACE***** `xero-node` with the correct repo naming pattern + also add/delete api sets (ex. Ruby does not have Bankfeeds) --> |
5960 | 5960 | <option data-url="#">-API-</option> |
5961 | 5961 | <option data-url="https://xeroapi.github.io/xero-python/v1/accounting/index.html" value="Accounting">Accounting</option> |
| 5962 | + <option data-url="https://xeroapi.github.io/xero-python/appstore/index.html" value="AppStore">App Store</option> |
| 5963 | + <option data-url="https://xeroapi.github.io/xero-python/assets/index.html" value="Asset">Assets</option> |
| 5964 | + <option data-url="https://xeroapi.github.io/xero-python/files/index.html" value="Files">Files</option> |
| 5965 | + <option data-url="https://xeroapi.github.io/xero-python/finance/index.html" value="Finance">Finance</option> |
| 5966 | + <option data-url="https://xeroapi.github.io/xero-python/payroll-au/index.html" value="PayrollAu">Payroll (AU)</option> |
| 5967 | + <option data-url="https://xeroapi.github.io/xero-python/payroll-nz/index.html" value="PayrollNz">Payroll (NZ)</option> |
| 5968 | + <option data-url="https://xeroapi.github.io/xero-python/payroll-uk/index.html" value="PayrollUk">Payroll (UK)</option> |
| 5969 | + <option data-url="https://xeroapi.github.io/xero-python/projects/index.html" value="Project">Projects</option> |
5962 | 5970 | </select> |
5963 | 5971 | </fieldset> |
5964 | 5972 | <div class='api-set-wrapper'> |
|
6000 | 6008 | <nav id="scrollingNav"> |
6001 | 6009 | <ul class="sidenav nav nav-list"> |
6002 | 6010 | <li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li> |
6003 | | - <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>1.13.1</li> |
| 6011 | + <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>1.13.2</li> |
6004 | 6012 | <li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li> |
6005 | 6013 | <li data-group="Accounting" data-name="createAccount" class=""> |
6006 | 6014 | <a href="#api-Accounting-createAccount">createAccount</a> |
@@ -9657,7 +9665,7 @@ <h3>Usage and SDK Samples</h3> |
9657 | 9665 | xero_tenant_id = 'YOUR_XERO_TENANT_ID' |
9658 | 9666 | credit_note_id = '00000000-0000-0000-0000-000000000000' |
9659 | 9667 | file_name = 'xero-dev.jpg' |
9660 | | - include_online = 'true' |
| 9668 | + include_online = 'True' |
9661 | 9669 |
|
9662 | 9670 | path_to_upload = Path(__file__).resolve().parent.joinpath(fileName) |
9663 | 9671 | open_file = open(path_to_upload, 'rb') |
@@ -10844,7 +10852,7 @@ <h3>Usage and SDK Samples</h3> |
10844 | 10852 | xero_tenant_id = 'YOUR_XERO_TENANT_ID' |
10845 | 10853 | invoice_id = '00000000-0000-0000-0000-000000000000' |
10846 | 10854 | file_name = 'xero-dev.jpg' |
10847 | | - include_online = 'true' |
| 10855 | + include_online = 'True' |
10848 | 10856 |
|
10849 | 10857 | path_to_upload = Path(__file__).resolve().parent.joinpath(fileName) |
10850 | 10858 | open_file = open(path_to_upload, 'rb') |
@@ -22382,8 +22390,8 @@ <h3>Usage and SDK Samples</h3> |
22382 | 22390 | where = 'ContactStatus=="ACTIVE"' |
22383 | 22391 | order = 'Name ASC' |
22384 | 22392 | ids = ["00000000-0000-0000-0000-000000000000"] |
22385 | | - include_archived = 'true' |
22386 | | - summary_only = 'true' |
| 22393 | + include_archived = 'True' |
| 22394 | + summary_only = 'True' |
22387 | 22395 | search_term = 'searchTerm=Joe Bloggs' |
22388 | 22396 |
|
22389 | 22397 | try: |
@@ -25630,9 +25638,9 @@ <h3>Usage and SDK Samples</h3> |
25630 | 25638 | invoice_numbers = ["INV-001", "INV-002"] |
25631 | 25639 | contact_ids = ["00000000-0000-0000-0000-000000000000"] |
25632 | 25640 | statuses = ["DRAFT", "SUBMITTED"] |
25633 | | - include_archived = 'true' |
25634 | | - created_by_my_app = 'false' |
25635 | | - summary_only = 'true' |
| 25641 | + include_archived = 'True' |
| 25642 | + created_by_my_app = 'False' |
| 25643 | + summary_only = 'True' |
25636 | 25644 |
|
25637 | 25645 | try: |
25638 | 25646 | api_response = api_instance.get_invoices(xero_tenant_id, if_modified_since, where, order, ids, invoice_numbers, contact_ids, statuses, page, include_archived, created_by_my_app, unitdp, summary_only) |
@@ -26582,7 +26590,7 @@ <h3>Usage and SDK Samples</h3> |
26582 | 26590 | api_instance = AccountingApi(api_client) |
26583 | 26591 | xero_tenant_id = 'YOUR_XERO_TENANT_ID' |
26584 | 26592 | if_modified_since = dateutil.parser.parse("2020-02-06T12:17:43.202-08:00") |
26585 | | - payments_only = 'true' |
| 26593 | + payments_only = 'True' |
26586 | 26594 |
|
26587 | 26595 | try: |
26588 | 26596 | api_response = api_instance.get_journals(xero_tenant_id, if_modified_since, offset, payments_only) |
@@ -34633,8 +34641,8 @@ <h3>Usage and SDK Samples</h3> |
34633 | 34641 | timeframe = 'MONTH' |
34634 | 34642 | tracking_option_id_1 = '00000000-0000-0000-0000-000000000000' |
34635 | 34643 | tracking_option_id_2 = '00000000-0000-0000-0000-000000000000' |
34636 | | - standard_layout = 'true' |
34637 | | - payments_only = 'false' |
| 34644 | + standard_layout = 'True' |
| 34645 | + payments_only = 'False' |
34638 | 34646 |
|
34639 | 34647 | try: |
34640 | 34648 | api_response = api_instance.get_report_balance_sheet(xero_tenant_id, date, periods, timeframe, tracking_option_id_1, tracking_option_id_2, standard_layout, payments_only) |
@@ -35430,8 +35438,8 @@ <h3>Usage and SDK Samples</h3> |
35430 | 35438 | tracking_category_id_2 = '00000000-0000-0000-0000-000000000000' |
35431 | 35439 | tracking_option_id = '00000000-0000-0000-0000-000000000000' |
35432 | 35440 | tracking_option_id_2 = '00000000-0000-0000-0000-000000000000' |
35433 | | - standard_layout = 'true' |
35434 | | - payments_only = 'false' |
| 35441 | + standard_layout = 'True' |
| 35442 | + payments_only = 'False' |
35435 | 35443 |
|
35436 | 35444 | try: |
35437 | 35445 | api_response = api_instance.get_report_profit_and_loss(xero_tenant_id, from_date, to_date, periods, timeframe, tracking_category_id, tracking_category_id_2, tracking_option_id, tracking_option_id_2, standard_layout, payments_only) |
@@ -35859,7 +35867,7 @@ <h3>Usage and SDK Samples</h3> |
35859 | 35867 | api_instance = AccountingApi(api_client) |
35860 | 35868 | xero_tenant_id = 'YOUR_XERO_TENANT_ID' |
35861 | 35869 | date = dateutil.parser.parse("2019-10-31") |
35862 | | - payments_only = 'true' |
| 35870 | + payments_only = 'True' |
35863 | 35871 |
|
35864 | 35872 | try: |
35865 | 35873 | api_response = api_instance.get_report_trial_balance(xero_tenant_id, date, payments_only) |
@@ -36257,7 +36265,7 @@ <h3>Usage and SDK Samples</h3> |
36257 | 36265 | xero_tenant_id = 'YOUR_XERO_TENANT_ID' |
36258 | 36266 | where = 'Status=="ACTIVE"' |
36259 | 36267 | order = 'Name ASC' |
36260 | | - include_archived = 'true' |
| 36268 | + include_archived = 'True' |
36261 | 36269 |
|
36262 | 36270 | try: |
36263 | 36271 | api_response = api_instance.get_tracking_categories(xero_tenant_id, where, order, include_archived) |
|
0 commit comments