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

InvalidOperationException: Error Being displayed due to incorrect List form being submitted

I've been learning how to use the Xero API with my ASP Core MVC Project. I have made a model for the Contact.cs which is declared as so: public class Contact { public string ContactID { get; set; } public string ContactStatus {…
zadders
  • 428
  • 1
  • 8
  • 30
0
votes
1 answer

Xero API - How do I retrieve individual contact with ContactID?

I can retrieve all contact list but how can i retrieve single contact list by contact ID? I'm using c# code. Please see my below code. I'm trying below way but its not working. I need to send request like this url. GET…
Letoncse
  • 702
  • 4
  • 15
  • 36
0
votes
1 answer

Xero API Access request Auth 2.0 doesn't work

I'm trying to use AUth 2.0 but the following request doesn't work. I'm following the instructions from here https://developer.xero.com/documentation/oauth2/sign-in The request throws 500 error no error details. Can someone spot any issues with this…
chamara
  • 12,649
  • 32
  • 134
  • 210
0
votes
1 answer

Getting Xero .Net Core OAuth2 sample to work

Good day Experts, We have a need to build an integration with the XERO Api via their newest OAuth2 standards with (above mentioned) latest .NET CORE 3.1 in VS. I've poured over the existing sample base in GitHub for the last 2 days without even…
Medismal
  • 421
  • 3
  • 18
0
votes
1 answer

Can Xero contacts be filtered (by name) case insensitive?

Using the Where filter with Contacts, is it possible to make the term Name.Contains("Peter") not case sensitive?
exception
  • 569
  • 7
  • 20
0
votes
1 answer

Xero Invoice - API Character limit in Apex Salesforce

I'm new to salesforce and i'm trying to Integrate Xero Invoice. While calling the API GET https://api.xero.com/api.xro/2.0/Invoices/ i've got one question in my mind that what will be the character limit of URL/API for making the HTTP request? for…
Vatsal Shukla
  • 1,274
  • 12
  • 25
0
votes
1 answer

how to create new contacts using xero api?

how to create new contacts in Xero using API? i have tried this API - https://api.xero.com/api.xro/2.0/Contacts but i always get this error : "oauth_problem=consumer_key_unknown&oauth_problem_advice=Consumer key was not recognised." I don't know…
Andrew
  • 35
  • 1
  • 1
  • 5
0
votes
2 answers

Is there a way to add an attachment to a payment for an invoice on xero?

On the Xero UI, there is a way to go to the Payments made for an invoice, and add an attachment. How to do this through an API? If I try to add an attachment to the payment using the Attachments API…
user3911483
  • 108
  • 10
0
votes
2 answers

Xero Oauth2 Node Examples

I am doing some expermenting with the xero API, however i cant seem to get past the Connect to Xero returning an error "Sorry, something went wrong Go back and try again. If the issue continues, check out our Status Page." I have setup my App in the…
Paladin
  • 3
  • 2
0
votes
1 answer

integrating Xero with bank API

How do I integrate Xero with bank API? I have standard chartered bank API that I will like to integrate with Xero. I want to know if this is possible and also to know to implement this.
0
votes
0 answers

Xero App using OAuth 1.0a with rejected token

Using private application I have regenerated the private and public keys, uploaded the X509 certificate to the app and regenerated the secret and consumer keys to store back in our application. The authorization has still failed and I'm unsure about…
Les
  • 3
  • 1
0
votes
1 answer

Migration Xero oauth 1.0a to 2.0 (JAVA)

I have an integration with Xero oauth 1.0a (backend side in JAVA), where use the sdk to created contacts, invoices, credit notes. I need migrate Xero to oauth 2.0, because is current version was depreacted. Now, I use the dependencies: …
roliveira
  • 87
  • 1
  • 12
0
votes
1 answer

Cannot read property 'authorizationUrl' of undefined

Im trying to get consentUrl but getting "Cannot read property 'authorizationUrl' of undefined". Im using "xero-node": "^4.1.2" const xero = new xero_node.XeroClient({ clientId: "clientId", clientSecret: "clientSecret", redirectUris:…
user606669
  • 1,674
  • 7
  • 27
  • 39
0
votes
1 answer

How can resolve this issue file_get_contents(): Filename cannot be empty?

I am using XERO API to integrate with my project, while authentication i am using consumer_key, consumer_secret, rsa_private_key, rsa_public_key to authenticate with xero account, i was generate rsa_private_key and rsa_public_key and placed in…
Saad Masood
  • 312
  • 1
  • 2
  • 16
0
votes
1 answer

Creating a new invoice

I can see list of all invoices for organisations using the Xero OAuth 2 sample from Xero-NetStandard. I want to create a new invoice for a particular tenant/organisation, how do I create an invoice object and what should the POST Method look like?…