pyxero
pyxero copied to clipboard
Python API for accessing the REST API of the Xero accounting tool.
Hi, I'm currently using a private application login and it would be really useful to access the raw request/response objects and data being thrown around under the hood (to check...
This is a silly question, but I'm starting out with python in general, and I was wondering if there is a list with the variables or commands used in pyxero?...
Hi While executing the example for public apps, I have noticed that the redirect path called is always '/do-auth' in runserver.py file. My app has OAuth2 authentication so shouldn't the...
I'm having trouble filtering purchase orders. I can filter contacts just fine: xero.purchaseorders.filter(PurchaseOrderNumber='PO-0014') xero.purchaseorders.filter(Contact_ContactID=contact) where contact equals: contact = xero.contacts.filter(Name=request.POST['supplier'])[0]['ContactID'] The contact filter is working fine. however the purchase order...
According to the Xero docs the remaining API call limit is returned in this header, is there a way to get this for each set of requests the module is...
Every trial returns the same 100 lines. I tried: #using since journals = xero.journals.filter(since=datetime(2013, 1, 1)) journals = xero.journals.filter(since=datetime(2017, 1, 1)) #using page journals = xero.journals.filter(page=1) journals = xero.journals.filter(page=2) #combining...
Hey guys, I would like to make a put request against [/prepayments/{PrepaymentID}/allocations](https://developer.xero.com/documentation/api/prepayments) in order to allocate a prepayment. Maybe I am missing something but looking at basemanager.py it seems like...
I'm trying to pull data from the Journals endpoint on a cash basis, but when I send the request using the following: xero.journals.filter(paymentsOnly=True) I get the following error: "QueryParseException: No...
I noticed today when attempting to upload a set of invoices and payments pyxero gives the following: Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.6/dist-packages/xero/basemanager.py", line...
PyXero overall has worked really well, but I'm wondering what the syntax would be for sending an invoice as an email. The Xero documentation shows the example "POST https://api.xero.com/api.xro/2.0/Invoices/aa682059-c8ec-44b9-bc7f-344c94e1ffae/Email" I...