xero-python
xero-python copied to clipboard
Official Xero OAuth 2.0 python SDK
I'm getting an error just querying the contacts of a tenant. ``` ValueError: Invalid value for `tax_number_type` (TAXNUMBERTYPE/SSN), must be one of ['SSN', 'EIN', 'ITIN', 'ATIN', 'None'] ``` Using xero-python...
This issue is an extension of [this discussion](https://github.com/XeroAPI/xero-python/discussions/80). The issue is, in fact, worse than we thought. As previously noted, `xero-python` uses `urllib3` under the hood and this results in...
We're integrating with Xero using the Accounting API and need to maintain a reliable mapping between our backend InvoiceItem records and the corresponding LineItems in Xero for future updates. Since...
Even for the invoices with actually allocated CNs with amount_credited To reproduce, let's use Demo Company and e.g. Invoice INV-0005 for Hamilton Smith Ltd paid with Credit Note CN-0015: ```...
## Problem The xero-python SDK lacks proper type annotations and stub files (.pyi), causing issues with static type checkers, IDE autocompletion, and making it difficult to use the SDK with...
For a budget period of "2025-05" its coming through as "2025-04-30" when in the New Zealand Timezone. It appears that when usin DATE_WITH_NO_DAY_RE (https://github.com/XeroAPI/xero-python/blob/master/xero_python/api_client/deserializer.py) it adds a "-01" onto the...
Direct invocation of setup.py is [deprecated](https://packaging.python.org/en/latest/discussions/setup-py-deprecated/). setuptools dependency is not required. Build and publish wheels.