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 - OAuth problems

Despite following the xero documentation on creating and authorizing an app using postman, when the browser window pops up to login, I get an error 500 and "Error: unauthorized_client : Unknown client or client not enabled". I have created the app…
0
votes
0 answers

Xero api - how to add custion fields in Bank Transactions posting api

We need to include additional notes or text while using the bank transactions posting API (https://api.xero.com/api.xro/2.0/BankTransactions). We would like to receive the same information in the response as well. We attempted to use the "Reference"…
0
votes
0 answers

Set Auto pay for online payments on repeating invoices

When creating a repeating invoice via the API and setting "Approve for Sending" is it possible to send in a flag to also set "Offer Auto Pay" (stripe in our case) or at least have it turned on in the payment settings section? Update Currently as of…
Rippo
  • 22,117
  • 14
  • 78
  • 117
0
votes
0 answers

Lambda Management console, xero API call returns "Error missing token"

I'm running a pilot, whereby I've written a function in aws lambda on console management that should call the accounts and invoices endpoint for the xero demo company, obtain the data and push it to an S3 bucket. However every time I run the…
0
votes
2 answers

Get all Invoices with their LineItems from Xero API

I need to request all invoices within a quarter, and return and sum the amount of each line item grouped by the line items account. However, no matter how I build the request the line items array is empty. I am using the calcinai/xero-php library…
dxj197i6
  • 53
  • 6
0
votes
1 answer

Xero API : Payroll AU - Leave Application and LeavePeriodStatus to create a pending approval application

Is it possible to create a payroll AU leave application with a LeavePeriodStatus of pending approval? I am able to make a leave request for a user but it always defaults to approved status. I am following these…
Brendon Moss
  • 134
  • 5
0
votes
1 answer

OAuth2.0 server to server request without access token

I am building an application with Xero apis. I have implemented the OAuth flow successfully and I am able to CRUD invoices for a given tenant. The issue I am facing is implementing the webhook and how I am meant to GET data from my server. Typically…
Jim
  • 570
  • 5
  • 15
0
votes
0 answers

Xero Auth 2.0 API status 403

I am trying to create an invoice and send it after via the email api. After I authenticate i am able to get https://api.xero.com/connections When I try to create the invoice i do the following in Postman POST:…
0
votes
1 answer

Is there the ability to start/stop a project timer through the API?

I've been looking through the API reference, and I can't tell if there's a way to start and stop a timer. In the Projects -> Time section of the docs, this doesn't seem to be listed, but I'm hoping that I'm missing something. (For context, I've been…
Hugh
  • 726
  • 1
  • 6
  • 25
0
votes
0 answers

Why can't I get Callback from Xero API Sample website

I'm attempting to deploy the Xero Net Standard Auth2.0 sample app. But I'm deploying it not on my workstation, but on an Azure webserver. The only thing I've changed is that (a) I've put the ClientId and ClientSecret into the appsettings.json file,…
Lisa
  • 23
  • 3
0
votes
1 answer

Xero Payslip List

I can get a payslip's information by this api GET https://api.xero.com/payroll.xro/1.0/Payslip/5037f8ef-e9b5-40a6-9ec1-0f6f7ebb4787. But I need all the payslip list's api. Beacuse I want to integrate this api in my system and get all the payslip…
0
votes
1 answer

Xero-Laravel How To Pass Attachment To Xero

I am using the "langleyfoxall/xero-laravel" package version 3.0.0 in my Laravel project and I'm having difficulty passing an attachment to Xero. Here is the code I have so far: $this->xero->PurcheseOrder([ 'lead' => $user, //'description' =>…
0
votes
1 answer

what is the Xero openid configuration url

do you know what is the open id configuration for xero. I need to implement the xero PKCE flow with "oidc-client-ts" as a exsample google open id configuration url is https://accounts.google.com/.well-known/openid-configuration so do Xero have a url…
yasith rangana
  • 196
  • 2
  • 12
0
votes
1 answer

Why are my Xero Webapp connections being used up when clients are not active?

I have a web based application which can connect to customer Xero accounts using an uncertified/private app to submit invoice information. I understand there is a limit of 25 web connections for uncertified web apps, but it appears that these…
0
votes
0 answers

Xero Payroll AU API: when I post a new EarningsLines item all existing EarningsLines items are removed

Using MS Power Automate. I am trying to post an additional EarningsLines item into the existing EarningsLines array in a PaySlip https://api.xero.com/payroll.xro/1.0/PaySlip/{PaySlipID} But instead of adding a new item my entry seems to be replacing…
Karl In OZ
  • 63
  • 8