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

Tests in the repo - virtserver

I am exploring the xero java sdk on the github. I am examining the tests in the com.veersoft.api.client. Many tests have the following new ApiClient("https://virtserver.swaggerhub.com/Xero/accounting/2.0.0",null,null,null); What is that…
Rajesh
  • 91
  • 1
  • 6
0
votes
1 answer

Xero API Error "You cannot have multiple line items with the same LineItemID."

I'm experimenting with the XeroNet SDK and am getting this error: "You cannot have multiple line items with the same LineItemID." This is the code I'm using: var lineItems = new List(); var rnd = new Random(); var count = rnd.Next(1,…
jeznag
  • 4,183
  • 7
  • 35
  • 53
0
votes
1 answer

How to send Receipts to Xero using calcinai/xero-php - Laravel?

I am trying to send a receipt (bill/ expense) as a draft to the Xero, but what ever I try and do, I am getting an error. Basically, I want to upload the receipt( the invoice sent by the supplier), enter the Name of the supplier, Amount to pay,…
Kunal Parekh
  • 380
  • 6
  • 24
0
votes
1 answer

Xero API - QueryParseException No property or field 'ACCPAY' exists in type 'Invoice'

I need to show a weekly summary of bills we owe to our suppliers Below is a sample api call for a particular supplier given by the contact ID. The filters we applied include the date and the invoice type ContactIDs :…
Vinay
  • 7,442
  • 6
  • 25
  • 48
0
votes
2 answers

Get invoice data with Xero API - Private App

I am trying to build an online form that a user can enter their invoice number, the webserver will then interface with the Xero API to GET the invoice details and populate some additional fields for payment. I have already got the form logic built…
Lewis M Hackfath
  • 131
  • 5
  • 17
0
votes
1 answer

Problem with Integrating Xero API with Laravel using public App - manual action required

I am integrating the Xero api using public app with my laravel project which is a API project. I have gone through the xero documentation, and official youtube video (https://youtu.be/BzZpgSHdKfU) for xero-api integration. I am using library…
sssurii
  • 750
  • 4
  • 17
0
votes
0 answers

Hmm... we didn't recognise that application error message

I've been implementing the API sample from GitHub. In my development environment I can logon using the OAuth method, and obtain a token and perform the query request on the XERO. If I deploy, I can't get the application to work because of the…
ai dee
  • 47
  • 7
0
votes
0 answers

Xero API: How to fetch journals by defined time period

I am going to fetch our customers journals data from Xero API to our application. Now I am wondering how I can do that. Our customer is started their business at 2017-01-01, and they have more than 100 journals in one year. It means that I can't…
kiuru
  • 1
  • 1
0
votes
1 answer

Xero developer account does not show organisation

I am having problems to create an app and link to my organisation. I have been following the instructions on the documentation but for some unknown reason the organisation is lot listed. Please refer to image attached for a better explanation. I…
0
votes
2 answers

Validation of tax number through Xero API

I have been struggling for some time whether there is a way to validate if given tax number is a correct one. I have a form where customers enter their invoice data, but we create the invoice in the system when the payment arrives on our bank…
Maciej Gol
  • 15,394
  • 4
  • 33
  • 51
0
votes
1 answer

Xero API Timesheets

I am using this wrapper I can successfully add a blank timesheet for an employee, however when I try to add a timesheet line I am getting a Bad Request response. Can someone please point me in the right direction??? My PHP code is: $numberOfUnits =…
0
votes
1 answer

Firebase functions and public xero api

Has anyone successfully used firebase functions to connect to and send data to Xero API. I am trying to get my head around how to approach it. Any help would be appreciated. thanks
Paul Newns
  • 61
  • 8
0
votes
1 answer

XeroAccountingApiException: 400: Invoice not of valid status for modification

I am getting a validation error from the Xero API: Invoice not of valid status for modification The message is too generic, and we have no idea why we are getting it or how to fix it. I've tried different status values: DRAFT AUTHORISED But I…
Robs
  • 8,219
  • 6
  • 41
  • 57
0
votes
2 answers

Xero Create new Tracking Option

I can't seem to get tracking options created, the Category itself is creating fine. However firstly - I should point out I believe there is a bug in the Xero-API for PHP, when debugging adding an option according to the documentation here the PUT…
Xrender
  • 1,425
  • 4
  • 20
  • 25
0
votes
1 answer

response 405 when trying to upload timesheets to Xero using PyXero

library = pyxero 0.9.1 Hey there, I'm trying to automate the uploading of timesheets to Xero using Python but have hit a stumbling block. I have no issue retrieving information using API but when I try to POST a new timesheet I get a 405 response…
Dara O h
  • 89
  • 8