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
0 answers

Xero GET Response Truncated by TLS Close Notify

We are using a Custom Connector to pull Bills data from the API's 2.0 Invoice endpoint. This has been in production for 18 months with no issues. Over the last four weeks, there has been an increasing occurrence of the cURL GET request failing. When…
Jim Dwyer
  • 1
  • 2
0
votes
0 answers

Is there a way to auto-fill the reference field in Xero when I begin a new quote?

99% of our quotes in Xero are generated using the same value in the 'Reference' field. We have to look this up, and copy-paste it each time we make a new quote. I want to auto-fill the reference field when I visit the 'New quote' page, which is…
0
votes
1 answer

App authorization failed in XERO: unauthorized_client : Unknown client or client not enabled

I'd like to create my custom Xero app, but unfortunately, user can not authorize in it. I use this guide When user opens authorization link like…
Bohdan B
  • 3
  • 3
0
votes
1 answer

Xero Invoice API Can return date range but won't let me add page parameter. What am i doing wrong

I am pretty new to Xero API but have gotten most things working. I am trying to return a list of invoices from a date range. I can do this by using the following url https://api.xero.com/api.xro/2.0/Invoices?where=Type=="ACCREC" AND…
0
votes
0 answers

Xero api Integration., Sample oauth2 app works on localhost but cannot find way to make it work in production

See https://github.com/XeroAPI/xero-netstandard-oauth2-app I simply want to get this sample app up and running on the webserver. Works perfectly on localhost but I must be doing something wrong as it never authenticates on production server. I…
Jolly
  • 1
0
votes
1 answer

Will reports generated via the Xero API be affected when the old reports are retired?

I've seen the notice about old reports being retired: https://central.xero.com/s/article/Retiring-old-versions-of-reports-in-Xero Currently my app uses the 2.0 version of these reports: https://api.xero.com/api.xro/2.0/Reports/ProfitAndLoss Does…
particlepat
  • 33
  • 1
  • 2
  • 7
0
votes
0 answers

Xero API organisation connections

I have more than a 1000 organisations(my clients) to connect to and I am only able to give it access one by one, can someone please tell me how do I add all the organisations at once? Thanks :) I tried to do it one by one and i think there should be…
0
votes
0 answers

Xero XPM API - Job Task endpoint

I have been exploring the XPM APIs recently and have come across a feature discrepancy between the API and the UI. Specifically, I have noticed that while it is possible to assign a staff member to a task using the UI, I have not been able to…
0
votes
1 answer

Can't set Create Sales Invoice Account Code in Xero API

I'm successfully creating invoices using the Xero API using slightly modified code from: https://xeroapi.github.io/xero-php-oauth2/docs/v2/accounting/index.html#api-Accounting-createInvoices The issue is the created invoice is missing the Account…
TomC
  • 338
  • 2
  • 10
0
votes
1 answer

Why is "finance.statements.read" scope not accepted by Xero API?

I am building an OAuth2 based app talking to Xero API based on the following official starter repo: https://github.com/XeroAPI/xero-netstandard-oauth2-starter-dotnet-core When I connect it to my organisation's playground app, it works fine for most…
Brendan Hill
  • 3,406
  • 4
  • 32
  • 61
0
votes
1 answer

How to facilitate offline machine-to-machine API access to a large number of Xero organisations?

Our aim to facilitate machine-to-machine communciation between our backend services and Xero API for a large number of Xero organisations (1000+). One model which has been proposed is: Build a custom Web App in developer portal Advise each client…
Brendan Hill
  • 3,406
  • 4
  • 32
  • 61
0
votes
1 answer

Xero API, Can send an Invoice but I can't send a Credit note, get error "Message": "Invoice not of valid type for creation"

Sorry, I am new to this, so this may sound a bit silly. We have a very basic Xero API that seems to work fine for other installs For a new Client, I have hit this brick wall. Via the Xero API We can send an Invoice ACCREC to say AccountCode…
0
votes
0 answers

Creating PayRun Returning Status 503 Error

For the past number of months, I was successfully posting to the Following Payroll NZ PayRun Endpoint. https://api.xero.com/payroll.xro/2.0/PayRuns Request…
Pearce
  • 320
  • 4
  • 10
0
votes
1 answer

Unable to get the list of employees in xero, getting 401 unauthorized

I'm using postman to test my integration before putting it in my code to get list of payroll employees NZ and perform actions. I have all the necessary scopes: openid profile email offline_access assets.read files.read payroll.employees.read…
Pavanraotk
  • 1,097
  • 4
  • 15
  • 33
0
votes
1 answer

Xero Api Custom Tags

I am working on a dashboard that integrates with the Xero API. I'm using xero-node and the documentation is great, highly recommended. However, as a more general Xero API question, what are good patterns for handling custom information on Employees…
WebSight
  • 640
  • 2
  • 12
  • 27