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

Session Becoming Null After Callback from XERO Authorization

I am facing a very weird problem. I have an application which basically connects to XERO Authorization using OAUTH 2.0 . The way the application works is that from my application, I have a button (provided by XERO) which basically redirects me to…
Haris Tasawar
  • 53
  • 1
  • 1
  • 11
0
votes
0 answers

Inconsistent VAT calculation in invoices created via Xero API

I am creating invoices via the API which typically have a number of line items. Xero occasionally calculates the total with 1p different to what I am expecting. What makes this really strange is if I open up the invoice in Xero and click edit...…
user1803975
  • 345
  • 1
  • 4
  • 14
0
votes
1 answer

updateTenants not working after token refreshed

I'm in the process of updating our app from from oauth 1 to 2. Entire flow works well - I can migrate and save the tokens and access the APIs. However, there is a problem once the original token expires and it gets refreshed. After refreshing, the…
Billy Johnson
  • 461
  • 3
  • 8
0
votes
0 answers

I am anot able to disconnect My xero App using API

Here is my code //var token1 = await _tokenStore.GetAccessTokenAsync(Id); //accessToken1 = token1.RefreshToken; //var restClient1 = new RestClient("https://identity.xero.com/connect/revocation"); //var…
test duck
  • 1
  • 1
0
votes
2 answers

Get Contact Details based on Contact Name from Xero API using Oauth2

I am fetching contact's details from Xero based on name via Xero API ( using OAuth2). Now the problem is,I can get contact's details but some details are always null e.g Tracking Categories. I contacted Xero support for this. they suggested to fetch…
Jolly
  • 314
  • 3
  • 15
0
votes
1 answer

How to get a webhook notification for a paid bill in Xero?

How can one get a bill paid notification by webhook? Although webhooks have been configured and work correctly, there seems no resources available to explain how a paid bill can be processed with own third party integration.
codebird456
  • 505
  • 8
  • 19
0
votes
1 answer

How to get a banktransaction record from the Xero API using xere-node

You would think this is simple - but I can't get a simple bank transaction using XERO-API To get the bank transaction in Xero itself I would go…
Martin Thompson
  • 3,415
  • 10
  • 38
  • 62
0
votes
1 answer

How to Update an Xero Invoice Using wp_remote_post()

I am trying to update the invoice template of an Xero invoice. My issue is that I get a 400 error and a response saying: NoDataProcessedException No data has been processed for this endpoint. This endpoint is expecting Invoice data to be specifed in…
Reece
  • 2,581
  • 10
  • 42
  • 90
0
votes
1 answer

Method App\Http\Controllers\XeroController::data does not exist

Hello i am having xero API i am trying to integrate it with my laravel project , i am getting above error I am using following laravel package for same. github package link :…
Sanmit Pawar
  • 211
  • 3
  • 10
0
votes
0 answers

Error 500 when try to create bill invoices by batch in Xero

I always get error 500 when I try to create bill invoices by batch in xero. When I send the same invoices one by one - all ok. The whole text of that exception: xero.exceptions.XeroInternalError: {"Title":"An error occurred","Detail":"An error…
huligan17
  • 23
  • 1
  • 2
0
votes
0 answers

Create Xero Invoice using PHP

I have checked documents and tried various combinations (to the best of my ability) I am attempting to create an invoice in Xero using PHP. I found this answer the closet I've got to completing the task: xero PHP variable which starts with…
pbytes
  • 1
  • 8
0
votes
1 answer

403 Authentication failure in Xero when trying to disconnect from an organization

Getting 403 Authentication failure while disconnecting from a xero organisation after the access token is expired (I.e. 30 minutes after the token creation). I am using C# (.NET 4.6.1) and have tried refreshing the access token using…
User_18
  • 1
  • 2
0
votes
1 answer

Profit and Loss Raw time series data for a specified period with Xero APIs

I want to get the raw time series data for all the charts for Profit and Loss and Balance Sheet. I went through the API documentation and could only find report/summary data for P&L and BS. Is there a way I can fetch all the data for all the…
zealvault
  • 160
  • 10
0
votes
1 answer

Authorising access to Xero after 403 code using the Oauth2 in r

This is the step after the question that can be found here I've run the following code: pack <- c('curl','xml2','XML', 'plyr', 'dplyr','tidyr', 'httr', 'tools', 'lubridate', 'jsonlite', 'stringr', 'data.table', 'anytime', 'RCurl', 'rvest',…
0
votes
2 answers

API OAuth 2.0 - XERO acces with R receiving status 400

We have to migrate to Oauth 2.0. However, I am facing the following issues. Status 400 I believe due to some parameters that may not be entered right. If anyone know what could be wrong or have any idea please let me know. and this is my code: pack…
luis vergara
  • 131
  • 1
  • 9