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

Cypress testing Xero Authentication process

I'm attempting to test the Xero Authentication process with Cypress, but I am encountering this error after I login with my correct login details. Xero Auth Error - Is there a way to fix this or is there an alternative someone can suggest? Thank…
0
votes
1 answer

Xero API Allows connection but fails to redirect back, has an uncaughtreferenceerror: fbq is not defined

Upon running the program I am redirected to sign in with xero. Once I sign in I am able to choose an organization to allow access to the app Upon clicking allow access I get redirected to the default "This site can't be reached" error page. If I…
0
votes
0 answers

Custom connection to Xero using Oracle PL/SQL

I am having a problem with Xero API when the API establishes the connection, in the first attempt to establish the connection, it returns an error of Unexpected character "<" while in the very 2nd attempt to establish a connection gets…
Ahsan Anwar
  • 39
  • 1
  • 1
  • 9
0
votes
0 answers

Make a PUT request that loops over several thousands record in a CSV file (Runner) using XML

Looking for some suggestions: I need to update several thousand records in WorkFlow Max (WFM) (a Xero company). This is no problem using the PUT request for one entry in either Postman or Power Automate, however, I'm struggling to make this happen…
0
votes
0 answers

Make payroll calendar inactive or delete it using Xero Python SDK

I am using the latest Xero Python SDK (version 1.19.0). The Payroll AU API only seems to support GET and POST for Payroll Calendars. How can I make a payroll calendar inactive (or delete it even)? Thanks, Jayaram
Bellave Jayaram
  • 366
  • 1
  • 2
  • 11
0
votes
2 answers

create Xero invoice using python request raise "No data has been processed for this endpoint. This endpoint is expecting Invoice data to be specifed"

I am trying to create an Invoice in Xero accounting using one of the Xero provided rest api, i used a Python requests library to access the certain Invoice rest api but unable to create an invoice. It raise following error {'ErrorNumber': 17,…
Md. Tanvir Raihan
  • 4,075
  • 9
  • 37
  • 70
0
votes
0 answers

Updating EmployeeNumber using the ruby sdk

We're integrating with Xero via the xero-ruby SDK and we'd ideally like to update employeeNumber. I've noticed that you can include it in the request but it doesn't update the value. Is there a reason the employeeUpdate on the UK payroll API is…
WRogers727
  • 11
  • 2
0
votes
1 answer

Encoding characters in Workflow Max job numbers

I'm working with a set of Workflox Max jobs which contain the characters . and / in their job number (also referred to as the job id in parts of the API docs. Examples of these job numbers would be: J1234.5 J1234/5 I would like to call the GET…
bn_ln
  • 1,648
  • 1
  • 6
  • 13
0
votes
0 answers

Laravel webfox/laravel-xero-oauth2 getting Class "App\Models\XeroAPI\XeroPHP\Models\Accounting\Invoice" not found

So I have installed the webfox/laravel-xero-oauth2 extension via composer and configured my xeroController and the webhook controller as defined in the docs for this (https://github.com/webfox/laravel-xero-oauth2) the connection works and I am able…
ThurstonLevi
  • 664
  • 13
  • 34
0
votes
1 answer

Formatting the query params using Axios

According to Xero API doc: Field Description Record filter You can specify an individual record by appending the value to the endpoint, i.e. GET https://.../Invoices/{identifier} InvoiceID - The Xero identifier for an Invoice e.g.…
eozzy
  • 66,048
  • 104
  • 272
  • 428
0
votes
0 answers

Getting ItemCode in invoice request using XERO API

I am targeting the https://api.xero.com/api.xro/2.0/Invoices endpoint, specifying either no invoice or a specific invoice. In both cases I am not receiving the ItemCode, DiscountRate and DiscountAmount components of the LineItems array. Is there a…
bugmagnet
  • 7,631
  • 8
  • 69
  • 131
0
votes
1 answer

Buffer to base64 format for pdf

When I run getAsPDF on the Xero side, I get a buffer output like this: I am trying to convert it to base64 format and send it as pdf, but I could not convert it to pdf format.
Furkan Gulsen
  • 1,384
  • 2
  • 12
  • 24
0
votes
1 answer

XERO API: Is there documentation that lists which tables are available to developers?

Looking for a list of tables that are accessible to developers to make sure we can accomplish what we're hoping to before going through all of the effort to get the data into Azure. Anything someone can share? Adam Xero's documentation is…
givepower
  • 1
  • 1
0
votes
1 answer

How to createContact with xero-node custom connection

Using Xero-node with a custom connection, the createContacts endpoint has been authorised for my app but any attempt to create a contact produces the same error: "ErrorNumber": 17, "Type": "NoDataProcessedException", "Message": "No data…
0
votes
0 answers

Xero API - Requesting Offline_access scope

I'm trying to create a Xero token and refresh token for offline access. The URL I am creating looks like this: Dim URL As String = "https://login.xero.com/identity/connect/authorize" URL += "?response_type=code" URL += "&client_id=" &…
LawrenceF
  • 108
  • 9