From 320a81cbdd7874dd512fb89ebe0fa682af546dc0 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 17 Feb 2026 14:02:01 +1100 Subject: [PATCH 1/2] Update app.py --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 9a51c904..b58ff6ef 100644 --- a/app.py +++ b/app.py @@ -38,8 +38,8 @@ xero = oauth.remote_app( name="xero", version="2", - client_id=app.config["CLIENT_ID"], - client_secret=app.config["CLIENT_SECRET"], + client_id=app.config"A17354F603E64AC79E51355CC1521FD9", + client_secret=app.config"DENHcFJW3HHpVHyLUIrlIeeJWJs6peBAai0OfZT3_lIet1x6", endpoint_url="https://api.xero.com/", authorization_url="https://login.xero.com/identity/connect/authorize", access_token_url="https://identity.xero.com/connect/token", From bd0bcbed6d202f4a922e685a6c672d08cce4e8b9 Mon Sep 17 00:00:00 2001 From: MonkeyJona Date: Wed, 18 Feb 2026 10:07:05 +1100 Subject: [PATCH 2/2] Update app.py --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index b58ff6ef..5c2e758f 100644 --- a/app.py +++ b/app.py @@ -211,7 +211,8 @@ def get_invoices(): accounting_api = AccountingApi(api_client) invoices = accounting_api.get_invoices( - xero_tenant_id, statuses=["DRAFT", "SUBMITTED"] + xero_tenant_id, statuses=["DRAFT", "AUTHORISED"] + type="ACCREC" ) code = serialize_model(invoices) sub_title = "Total invoices found: {}".format(len(invoices.invoices))