Questions tagged [xero]

134 questions
4
votes
1 answer

How to Submit Post Requests to Xero API Inside Xero Webhook

I have a Webhook on my Xero Account for Invoices. When a new invoice is created I want to access the Xero Api using the data from the Webhook to Send the user the invoice email. I have all the code for this but my issue is that the Webhook expects a…
Reece
  • 2,581
  • 10
  • 42
  • 90
3
votes
0 answers

Dynamically setting an input value with javascript or jQuery is not working

I am trying to update an input value in a Xero contact form. Here is the HTML I wish to update:
3
votes
1 answer

Azure Devops Pipeline build fails Could not resolve this reference Could not locate the assembly

First time using the Azure Devops and the first pipeline I set up keeps on failing. I have a project created in VS 2019 to test the new Xero Oauth 2.0 implementation. I have installed the Xero.NetStandard nuget packages and all other nuget packages…
Margie
  • 63
  • 1
  • 6
2
votes
1 answer

How to Validate a Xero webhook payload with HMACSHA256 Node js

I need to validate Xero webhook in my node js project. This is Xero documentation steps to validate: https://developer.xero.com/documentation/webhooks/creating-webhooks#STATUS var crypto = require("crypto") function getHmacSha256(message, secret) { …
Hiral
  • 132
  • 1
  • 12
2
votes
1 answer

XERO Delete connection with connection id

I want to allow deleting specific tenant from my api but every time I make DELETE request to https://api.xero.com/connections/{connectionId} with my access token I get "AuthenticationUnsuccessful". Furthemore, when I change DELETE to GET I recieve…
huligan17
  • 23
  • 1
  • 2
1
vote
1 answer

cURL error 18: Tried everything yet still getting this error when connecting to Xero API

I am developing a web app that connects to Xero's API to fetch Contacts and Invoices using Laravel Xero. At first it was fetching the data properly. Then the cURL 18 error started to appear erratically. And now the error has become…
fufubrocat
  • 204
  • 1
  • 7
1
vote
1 answer

Xero Tax calculation

I have an invoice and a few payments has the amount of 7.7454. For these payments, we have 10% GST included. When we generate an invoice with 10% tax, this 7.7454 value gets the wrong tax amount. It will add 0.01 extra amount to it. I want to know…
1
vote
1 answer

Is there a limit on the number of labels that can be accessed via the API?

I've got a 3rd party software from CDATA to download Xero data to Excel. It has a max of 13 labels which can be downloaded. This is fine for months. Not fine for tracking categories. ie we have a label per employee. CDATA says it is a…
JimmyB
  • 11
  • 1
1
vote
0 answers

GetItems() filtering Archived items

Finding my around Xero API. Using the Xero .NetStandard library and getting a little stuck with what I thought would be quite a simple thing so pretty sure I'm missing something. Trying to get a list of Items from a particular tenant using the…
Hursey
  • 541
  • 2
  • 8
  • 17
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
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
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

Stripe application fees not visible. Combined with Stripe fees into one value

I am developing a SaaS using Stripe Connect with standard accounts using direct charges and charging an application fee for each payment. It seems there is no way for the connected account to see how much they have been charged in total application…
MadMac
  • 4,048
  • 6
  • 32
  • 69
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
2 3
8 9