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

Always showed Intent to receive required on Xero Webhooks and not x-xero-signature header not matched

When a click on Intent to Receive then it always showed me same like Intent to Received required, not showed 200 OK. Method for ensuring_security is: def ensuring_security? key = 'XERO_WEBHOOK_KEY' payload = request.body.read …
1
vote
0 answers

How can I add multiple App connections in my zapier account using Zapier's Webhook or API

I can add a xero connection manually but want to add multiple through an API or webhook. I cannot find anything regarding this on the Zapier documentatioj I could not find any API or webhook to programatically add connections or manipulate them
1
vote
0 answers

How to get cash summary report using Xero API

I have noticed a general trend that most of the helpful information is not available to pull from the Xero API (eg cash summary or import bank statement lines). What I don't understand is how is that g-accon (https://www.g-accon.com/) is able to…
Tiago Dias
  • 11
  • 1
1
vote
1 answer

AWS Cognito - Pre-clicking an OAuth provider in hosted UI

We have a provider (Xero) who insist that when we use their site to authenticate a user we must use their OAuth provider process directly, but we're using Cognito to allow users a choice of auth identities. To get around this restriction we want to…
JSobell
  • 1,825
  • 1
  • 14
  • 10
1
vote
1 answer

Cannot delete a connection on Xero API

I have completed the Xero OAuth flow with the following scopes: openid profile email accounting.transactions offline_access When I attempt to DELETE a connection using the URI https://api.xero.com/connections/{xeroTenantId} I get the error…
Nick
  • 685
  • 12
  • 27
1
vote
1 answer

Xero API: How to access all tenants connected to app

I have a created a Xero web app. We have added this to Codat as an accounting integration (https://docs.codat.io/docs/accounting-xero-setup). Other Xero users have created organisations and are able to use this integration. Unfortunately, Codat…
Andrew Rands
  • 154
  • 9
1
vote
0 answers

Xero - Creating Multiple invoices via API

In my Laravel/VueJS system I have a routine that i called to create invoices from our system into Xero. I've a two fold issue, one is that when I have 300+ invoices, I get a 504 timeout error BUT all the invoices seem to transfer and are…
Carl Ogden
  • 45
  • 6
1
vote
1 answer

Xero API - how to retrieve online Quote URL or Quote PDF

Does anyone know of a way to retrieve a quote URL or Quote in PDF format using the Xero API? I know this is possible with Invoices but for some reason the API is lacking on the Quote side. If not possible, is there a workaround?
V4n1ll4
  • 5,973
  • 14
  • 53
  • 92
1
vote
1 answer

Xero API, create payslips for PayRun in "DRAFT" status

community I would be grateful if you could help me with Payslips creation via Xero Api? I didn't find any answers to my questions on GitHub, Dev community and official documentation.. If we create PayRun in "DRAFT" status, then PaySlip won't be…
MustDie1Bit
  • 560
  • 4
  • 16
1
vote
0 answers

Xero Ruby SDK for OAuth 2.0 Request sending in tenantId

We are trying to create a contact (applies to all requests) with the Xero Oauth 2.0 sdk gem. When we make a request like this xero_client.accounting_api.get_invoices(xero_client.last_connection['tenantId']).invoices The response we get is …
1
vote
1 answer

Get user email on Xero after establishing connection

I have managed to connect my user to their xero profile on my application. However, I am not able to get my user's email from their xero token. I am using nodejs, what is the method that I can use to get my user's email and number? I would be using…
siri
  • 61
  • 3
1
vote
1 answer

Xero NZ Payroll API : Employee number vs GUID?

Most payroll systems have some sort of employee code that is unique to employees. I have been using the Employees endpoint to GET all employees in the Demo company and can see the EmployeeID field which appears to be a regular GUID. But when…
Tommy Sharp
  • 65
  • 2
  • 8
1
vote
1 answer

Xero BankTransfers won't show up

I'm using BankTransfers endpoint to add transfers between bank accounts. It used to work like a charm in the past. I did not make any changes to my code, but transfers suddenly stopped to appear. Xero responds with 200 code and status OK but…
Tenshi
  • 13
  • 2
1
vote
1 answer

Invalid response received from Authorization Server. Xero integration with Bagisto

I need some to do integration with accounting software (Xero). once an order is completed, it sends an API call to Xero to create an invoice in Xero. once Xero does a reconciliation that payment is received. it will be sending an API call to bagisto…
Pritesh
  • 1,066
  • 3
  • 15
  • 35
1
vote
1 answer

Xero Api in Google Apps Script: How do I refresh access token?

So basically I'm trying to refresh my access token for access to the xero API on a google sheets spreadsheet. I want to be able to continue using the API without having to re-authorize every 30 minutes. Below is the fetch request I have set up to do…