Questions tagged [xero-api]

For questions about the API of Xero, the cloud-based accounting application for small and medium businesses.

Official documentation: http://developer.xero.com

628 questions
0
votes
1 answer

Xero PHP API, getting an error

Steps I am following. I am sending the authenticate parameter as 1 to public.php file and recieving the oauth_token and oauth_token_secret. http://localhost/XeroOAuth-PHP-master/public.php?authenticate=1 Here at this stage session is generated as…
0
votes
1 answer

Issue on Put method for creating a tracking option - Python

I want to create a tracking option ((i.e) Add tracking option) under the respective tracking category, using Xero tracking category API for my organisation. But while creating data using 'put' Requests method, it is not creating. I am using the…
Sekar Raj
  • 113
  • 1
  • 1
  • 11
0
votes
1 answer

Codeigniter Xero api Library to add Purchase orders

I am using https://github.com/dharyk/codeigniter-xero to integrate Xero to my website. It is very helpful when adding invoices to Xero or adding a contact. But it cannot add Purchase orders. I am using $this->xero->PurchaseOrders($new_po); to add…
user974172
  • 75
  • 2
  • 8
0
votes
1 answer

Xero API - Insert unique QR code onto Xero Payslips via API

Can someone from Xero help me with a request, as there are no email addresses on the developer page. I was wanting to insert a unique QR code with information gathered from an API Post response onto payslips and perhaps invoices. Is there an API…
Renegade Rob
  • 393
  • 1
  • 4
  • 21
0
votes
1 answer

Querying PurchaseOrderNumber returns all PurchaseOrders

I'm trying to query for a specific purchase order using the "PurchaseOrderNumber" field, however regardless of what value I provide, all PurchaseOrders are returned. I've replicated the exact same code except swapped out for Invoices and the…
Anim8r
  • 191
  • 1
  • 9
0
votes
1 answer

Adding Account Code filter to XeroInvoice API

We are creating a Salesforce API and only want to import Xero Invoices that relate to certain account codes. We don't want every Xero contact and Xero invoice in the system. At present, we call a page of invoices and then loop over the line items…
0
votes
1 answer

Correct xml data type for Payroll hours

I'm trying to integrate the Payroll API (USA) but running into challenges posting a Timesheet. I'm using a JSON to xml parser which is giving me an output like this:
Sam Matthews
  • 677
  • 1
  • 12
  • 27
0
votes
1 answer

Xero partner certificate installation under IIS

I am having problems correctly installing the OAuth certificate required for Xero partner integration on IIS 7.5 on Windows Server 2008 R2. There used to be guidance from Xero on this at…
David Keaveny
  • 3,904
  • 2
  • 38
  • 52
0
votes
1 answer

Xero Api - Expense Mark as Paid

Using Xero.Api for Xero accounting, I am looking to update expenses from Authorised to Paid. At present, I am getting the following error: "Invalid status change. An expense claim with status 'AUTHORISED', cannot be updated to have the status…
RFigg
  • 21
  • 3
0
votes
1 answer

XERO API, Update payment amount

I need to create note for an invoice on XERO using XERO API, however, it seems that this functionality is not yet available. So my next solution is to set the amount of a payment into $0.00. My problem is that xero api returns a validation error but…
valrecx
  • 459
  • 5
  • 19
0
votes
1 answer

Xero SDK - A validation exception occurred, DELETE method cannot be used on Bank accounts

I am trying to delete account or updating account using xero api. Api is giving me exception with status code like 400 A validation exception occurred, DELETE method cannot be used on Bank accounts. Attached is the code. //deleting account using…
Jay
  • 41
  • 5
0
votes
1 answer

Xero-api for pagination not working

I am using Xero as a trial version. I have 100+ contacts, Now I want to add pagination through NodeJS API. Read the documentation of it (https://developer.xero.com/documentation/api/contacts) it specify but doesn't work. My code like this:- let…
Dweep
  • 104
  • 13
0
votes
1 answer

Permissions over an App

I'm new to Xero API's and I'm trying to understand a thing. In my Company we currently have various different “organisations” within Xero, and this number will be growing in the near future. We also have a 3rd party web application we use for…
0
votes
1 answer

Get item references

Using get item references returns just a few fields of the app item. If I then use Get item by app_item_id to drill down to all of the fields. Is there a more efficient way of doing this so that I can just use one call instead of multiple calls to…
0
votes
1 answer

Xero POST/PUT request signature_invalid error

I'm using a java rest client lib for OAuth1.0 authentication to access xero API. This is working fine with GET request and I'm able to receive expected response. But it's not working with POST/PUT request and throwing exception …
Dilip
  • 2,271
  • 5
  • 32
  • 52