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

Oauth2 Scope for invoices in Xero API?

What is the correct scope to generate invoices using the Xero API? The docs say I should direct users to the following URL: https://login.xero.com/identity/connect/authorize? response_type=code& client_id=YOURCLIENTID& …
Djave
  • 8,595
  • 8
  • 70
  • 124
0
votes
1 answer

xeri-api aspx vb.net how to disconnect the connected company

Does anybody know how I can disconnect a company from my app. I need to disconnect a company, in order to connect a new one. I am using XeroCoreApi in vb.net. Thanks.
Iman
  • 13
  • 4
0
votes
1 answer

xero API when posting invoices how to add null unitamount and quantity?

I'm trying to post invoices to XERO using the API. I'm getting an exception "The UnitAmount field is mandatory and cannot be derived from the Quantity and LineAmount fields." for null UnitAmount and Quantity. The only way I can post the invoice…
Shereen
  • 119
  • 1
  • 17
0
votes
2 answers

looking to see if there is a way i can extract all the contacts out of xero into excel via vba and an api

have a client in south africa that uses xero as their accounting software. I have written a pricing sheet that is rather complicated but it relies on having an up to date contact list from xero. Right now we are manually extracting the contacts…
0
votes
1 answer

Xero API signature invalid using GAS

I am accessing API using Google Apps Script. I am looking for a https://developer.xero.com/documentation/api/reports#TrialBalance I have tried with the API code as but I get signature invaid as reposnse result [19-09-03 19:45:46:402 IST]…
Code Guy
  • 3,059
  • 2
  • 30
  • 74
0
votes
0 answers

How to update contact's account number using xero node wrapper, xero-node?

I'm trying to achieve this with xero api and xero-node: Make an API call using Xero API and fetch all the contacts. Perform a check for new Contacts with a null value in Account Number in Contacts. Create unique CRN(customer reference number) and…
Bhawna Saroha
  • 603
  • 1
  • 11
  • 28
0
votes
1 answer

Xero callback url won't work without a forward slash

When setting up an app in Xero Developer, it wont let you setup a callback URL with a forward slash eg /callback.cfm. It will only except callback.cfm. So when it comes back, it goes tohttps://dev.colossus.systemscallback.cfmand…
Rob
  • 53
  • 1
  • 2
  • 9
0
votes
1 answer

Is there a better way to trap Xero API errors?

I am writing some code in vb.net 2013 Express to access Xero accounting via a private application, and it's working fairly well. However I have come across a problem when trying to write some code to upload multiple contacts from a single XML file.…
droopsnoot
  • 931
  • 1
  • 7
  • 11
0
votes
1 answer

Zapier - Xero: Custom Integration

Has anyone managed to create a custom integration between Zapier and Xero by using the 'Webhooks by Zapier' option and a private connection on the Xero side? At the moment Xero uses Oauth-1a to create sessions and I can't figure out how to even…
DBa
  • 261
  • 1
  • 3
  • 11
0
votes
1 answer

Failed to update XERO certificate

The public key certificate for our XERO App has expired. We've generated a new public key but when we tried to upload the cert file or paste the cert key we always get a "Failed to update key" message. Has anyone encountered this? Any suggestions?
0
votes
1 answer

Can I get the invoice URL using XeroCoreApi in C#

Can I get the invoice URL using XeroCoreApi in C#? I have the following code that mark an invoice as paid after the payment is processed by the payment gateway. I want to redirect the user to the invoice. Payment payment = new Payment(); Invoice…
Hatem Husam
  • 177
  • 1
  • 3
  • 14
0
votes
0 answers

Can I connect to a private app using XeroCoreApi without a pfx file?

I've inherited a system which I'm rewriting in .Net Core. The current system uses xero-node to make requests to Xero. Xero-node makes use of the .pem file for authentication. I'm using Xero-NetStandard but this requires a pfx. I have a pfx but…
WooHoo
  • 1,912
  • 17
  • 22
0
votes
1 answer

Path to config.json in Xero configuration

I have one application in java and I use the XERO invoicing gateway (https://xero.com), in the next version: com.github.xeroapi xero-java
roliveira
  • 87
  • 1
  • 12
0
votes
1 answer

Xero failed to validate signature using omniauth-xero and xeroixer

I'm working on a rails application that is integrating with Xero. I'm using omniauth-xero gem to authenticate my users, and the xeroizer gem to interact with Xero's API. I am storing the token, secret token on a model associated with the user. I'm…
0
votes
0 answers

Xero - Inclusive Tax Breakdown for invoice shows miscalculation

I'm testing out the Xero sales tax functionality and have run into an interesting issue with how inclusive taxes are being calculated. I built out a tax rate comprised of 3 tax components. One of these tax components is flagged as compound Rate AAA…