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

Node.js mysql results to array

I've been slowly learning node.js so that I can integrate things better between a lot of our current ops (mysql) and Xero accounting. I have several tables in mysql, one each for…
Jon Quiros SV
  • 41
  • 1
  • 1
  • 3
3
votes
2 answers

Is there a way to signin Xero api using oauth2 in c# desktop application?

There are several .Net sample codes that using oauth2 to signin Xero, but all of them is working with browser (most of the sample code for C# is for ASP.NET MVC). I am going to develop a desktop application using Xero Api but Xero official tutorial…
ysk silver
  • 160
  • 10
3
votes
3 answers

Xero PHP API Error: "You are not permitted to access this resource"

I have the Xero API setup and the OAuth flow working. I have linked up the "Demo Company UK" as the tenant (Organisation) and have granted my user with Adviser • Contact bank account admin, Payroll admin • Expenses (Admin) permissions (which appears…
Nick Howarth
  • 511
  • 4
  • 21
3
votes
1 answer

Xero-Api and Vapor 3 unable to connect to recive token

I have a vapor3 app within which I am trying to connect to the Xero Api, the process is fairly simple. We send the user to a xero web page where they login with the details and authorise our connection, it then redirects back to my vapor 3 app. In…
Joby Ingram-Dodd
  • 730
  • 5
  • 23
3
votes
2 answers

Xero API 403 - AuthenticationUnsuccessful error

I am using the Xero Api with Nodejs and the xero-node library. I have completed the oAuth flow and saved the token to the database. The issue i am now having is continually getting a 403 forbidden error when attempting to get anything from Xero be…
duckdivesurvive
  • 177
  • 1
  • 8
3
votes
0 answers

Integrating React app with Xero API using OAuth 2.0

Created a new app a developer Xero account. From the App, I got client_id and a callback. This is a dotnet core project integrating Xero SDK. I created a simple HTML using the following code and that works nicely. (same as they provided here) …
Athar
  • 579
  • 5
  • 12
3
votes
1 answer

How to get name of the connections in OAuth2?

After successfully establishing OAuth2 connection to Xero, call to https://api.xero.com/connections is giving only the id, tenant id and type. How to get the name (display name) of the connections? Tried calling Organizations API. It does not work…
Michaes
  • 73
  • 6
3
votes
1 answer

Connecting to Xero OAuth2 from localhost give CORS Erros

Im connecting to the Xero oauth server 'https://login.xero.com/identity/connect/authorize' through an Angular 7 app using the angular-oauth2-oidc package. In my authConfig i have the following properties export const authConfig: AuthConfig = { …
3
votes
1 answer

How do you get Aged Receivables By Contact in the xero-node library?

I'm using the xero-node library and attempting to get Aged Receivables By Contact. I cannot find any documentation on doing so as it appears that there is only one accepted argument: ReportID. xero.reports.get({ ReportID:…
ariaule
  • 51
  • 3
3
votes
0 answers

How to request Xero API in R programming language?

I am trying to request the XERO demo company data via its API using R programming language. I am getting the following error: Error in init_oauth1.0(self$endpoint, self$app, permission = self$params$permission, : Unauthorized (HTTP 401). In…
3
votes
2 answers

Retrieve "Shopify Payments" fees by Order # for reconciliation with Accounting + Bank Deposits?

Reconciling deposits, within an accounting system, coming into a Shopify User's bank account from a Shopify store running Shopify Payments (or otherwise) appears to be one of the things people frequently stumble on — based on the number of requests…
Necevil
  • 2,802
  • 5
  • 25
  • 42
3
votes
1 answer

Setup Webhook Receiver with signature verification - computed hash sometimes off by one character

I'm trying to develop a webhook for the Xero API for when a Contact is updated. I managed to get past the Intent to Receive validation (eventually) thanks to the answers. However it doesn't always work. Sometimes, for example, the Hash I compute…
Healyhatman
  • 1,482
  • 1
  • 14
  • 23
3
votes
2 answers

How can I remove the session cookie from the response in my Rails project in order to support Xero Webhooks?

I am trying to implement a Xero Webhook in my Ruby on Rails application. However, the Xero documentation says that the response should not contain any cookie. Hence, I am trying to find a way to remove all the cookies from the response, but I have…
p.matsinopoulos
  • 7,655
  • 6
  • 44
  • 92
3
votes
1 answer

get invoice in my site using invoice id from xero api?

I am using xero for generate invoice, now I want get invoice using xero invoice id in php, my code is ........... $nik = $xero->load('Accounting\\Invoice') ->where('InvoiceID', $outwardRecord->xero_invoice_id) or …
Neeraj Prajapati
  • 541
  • 5
  • 24
2
votes
2 answers

Xero API Webhook Server using Python and Azure functions

I am working with Azure Function Apps to receive webhooks from Xero for processing. However, I am getting stuck with my HASH not being computed correctly. I think it something to do with the way Python is processing the Body Request. Here is the…
1
2
3
41 42