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
2
votes
1 answer

XERO send Invoice through email

I have integrated XERO with my php(codeigniter) website, everything i have implemented is working just fine. I want to send the invoice through an email i have created. I am using XeroOAuth. //This line is working properly $response =…
Rashed Ehsan
  • 119
  • 6
2
votes
0 answers

How to integrate tcl (Project Open) and xero API using oauth 1?

I tried with the help of twitter api call into my tcl program, but it's not working. I want to call Xero API into tcl programming using OAuth 1.0a. ::http::register https 443 [list ::tls::socket -ssl2 0 -ssl3 0 -tls1 1] set handle [::http::geturl…
deepak
  • 23
  • 5
2
votes
1 answer

How to create custom invoice fields in Xero?

Is anyone knows how to create customized fileds in our Xero invoices? We are a tour company and we need to add the following fields. Date of Sale, Booking ID, Guest Name, Tour Name, Children, Adults etc. Our tour booking system is generating and…
Johnny
  • 1,685
  • 6
  • 24
  • 42
2
votes
1 answer

Xero API Tax Rate Modified Since

I'm attempting to filter the list of Tax Rates in Xero by the date since which it is modified. Unfortunately it does not seem to be working, even when using the "Modified After" filter in the API Previewer, as it seems to still be showing every…
2
votes
0 answers

Xero API - PHP: session_handle error

I have downloaded the source code from github. XeroAPI Is there anyone who solved the problem "Undefined index: session_handle in testRunner.php"? I already looked in the Xero Community but it says that they've updated the code. But the latest…
sbrnavls
  • 21
  • 2
2
votes
0 answers

How to use a Xero api endpoint in asp.net c# webforms

In the whole internet I couldn't find complete sample code to use a Xero api endpoint (contacts / Employees / Payments) in asp.net c# webforms and get JSON response and importantly consuming it (whole CRUD functions). FYI: I am aware of below…
nzkks
  • 106
  • 7
2
votes
1 answer

Xero API LeaveTypeID

I'm trying to integrate a web app in PHP to integrate Xero. My objective is to submit a leave form to Xero from the application. I'm using https://github.com/XeroAPI/XeroOAuth-PHP and did manage to get the employee lists. But the example request…
Tanvir Gaus
  • 205
  • 1
  • 3
  • 10
2
votes
0 answers

Xero API: Delete the last ContactPerson in a Contact

I need to delete the last ContactPerson from a contact in Xero. Given this Contact: 4c7370e7-6f83-43b7-b943-a0b77e5dc348 ACTIVE
FilipW
  • 113
  • 5
1
vote
1 answer

How to filter with OR in Xero API?

I am integrating Contacts in Xero with BC. Per default, Contacts in Xero have ContactNumber set to null. But when clearing it is empty (" "). Therefore, when connecting a contact in BC with a contact in Xero, I need to filter on something like…
rpuelma
  • 13
  • 2
1
vote
1 answer

cURL error 18: Tried everything yet still getting this error when connecting to Xero API

I am developing a web app that connects to Xero's API to fetch Contacts and Invoices using Laravel Xero. At first it was fetching the data properly. Then the cURL 18 error started to appear erratically. And now the error has become…
fufubrocat
  • 204
  • 1
  • 7
1
vote
0 answers

Creating Manual Journals on UI allows more accounts than through the API

I can create a manual journal through the UI using System Accounts, like "820 - Realized Currency Gains", however when I try the exact same manual journal via the API, I get the error message: "Account code '820' is not a valid code for this…
1
vote
1 answer

Xero Tax calculation

I have an invoice and a few payments has the amount of 7.7454. For these payments, we have 10% GST included. When we generate an invoice with 10% tax, this 7.7454 value gets the wrong tax amount. It will add 0.01 extra amount to it. I want to know…
1
vote
1 answer

Is there a limit on the number of labels that can be accessed via the API?

I've got a 3rd party software from CDATA to download Xero data to Excel. It has a max of 13 labels which can be downloaded. This is fine for months. Not fine for tracking categories. ie we have a label per employee. CDATA says it is a…
JimmyB
  • 11
  • 1
1
vote
0 answers

GetItems() filtering Archived items

Finding my around Xero API. Using the Xero .NetStandard library and getting a little stuck with what I thought would be quite a simple thing so pretty sure I'm missing something. Trying to get a list of Items from a particular tenant using the…
Hursey
  • 541
  • 2
  • 8
  • 17
1
vote
1 answer

Invoice API response with only 2 decimal places for field UnitAmount (Unit Price)

Today i noticed, that Xero Accounting API, endpoint Invoices, Get Invoice returns array with LineItems. The problem is, that API returns 2 decimal places for field UnitAmount, enter image description here but on UI we can see 3 decimal places (Unit…
Arencjusz
  • 13
  • 3