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
0 answers

Map shopping cart line item ID with Xero invoice line item id

We have a web application that has a Shopping cart and payment processing functionality. We add items to the shopping cart and once the payment is processed successfully, we record the payment transaction in Xero. Following steps are performed to…
Mithun
  • 7,747
  • 6
  • 52
  • 68
0
votes
1 answer

How to Set Xero Authorization Header Using wp_remote_post()

I am trying to use the Xero API to send an Invoice Email on my WordPress site. But I am unsure how to set the authorization header I have attempted the following: $args = array( 'headers' => array( 'Content-Type:…
Reece
  • 2,581
  • 10
  • 42
  • 90
0
votes
1 answer

I keep getting stuck at authorize using xero-php-oauth2-app-master

Please help! I have been using the oauth2-app example code for a while and making slow and steady progress in the Demo Company. Recently, if I am logged out when I renter I do not have the option to to continue with the Demo Company (indicates…
0
votes
1 answer

XERO PHP SDK createPayment Validation Exception

Using the new SDK using this code in the sandbox: $payment = new \XeroAPI\XeroPHP\Models\Accounting\Payment([ 'code' => '001', 'invoice_number' => $inv_num, 'amount' => $amount …
0
votes
0 answers

XERO - PHP SDK - Create invoice throws server error

I am getting error while creating invoice with XERO PHP SDK. The values passed are correct. Error : [500] Server error: PUT https://api.xero.com/api.xro/2.0/Invoices?summarizeErrors=false&unitdp=4 resulted in a 500 Internal Server Error response:…
arun kumar
  • 703
  • 2
  • 13
  • 33
0
votes
0 answers

Adding contacts and contact groups xero-php-oauth2

I have recently started using your xero-php-oauth2 with the example code given, I am working through all and have had success I have posted contacts into Xero with $contact->setName($rs->bName) ->setFirstName($rs->fName) …
0
votes
1 answer

When creating a token for an offline app, what happens to the token when access is revoked for the user who created it?

I asked this in Xero's developer forums, but it looks like Xero are not supporting developers any more. Quite a few questions going unanswered. I thought this might be a better place to discuss with developers. We created an app for a client prior…
Aaryn
  • 1,601
  • 2
  • 18
  • 31
0
votes
1 answer

Xero API not working for Accounts in python

I am trying to call xero Accounts api in python but not working for some reason. It works well for the rest of APIs such as Invoices, reports, and so on, but Accounts. The following script is my python script i am using to call the api. get_url =…
user86907
  • 817
  • 9
  • 21
0
votes
1 answer

XERO API Employee Classification is missing

I am using the XERO Python Library to fetch Employee Data. I am successfully getting the basic employee data back, but anything that seems sensitive is returning None even if I can see the information in the Web UI. Specifically, I am trying to get…
0
votes
1 answer

Xero integration with web system

I am currently working with a company where all of our transactions come through our system called Etrel. We have various Api's containing all the details on these transactions that can be easily integrated with other systems such as Xero. We use…
0
votes
1 answer

Date type for Xero journal date

Below is a output of the API call for the journal endpoint in Xero developing. Xero (See the jason output) JournalNumber;JournalDate 344;/Date(1590019200000+0000)/ Does anyone know what is the format of this journal date and is there anyway I can…
suresh_chinthy
  • 377
  • 2
  • 12
0
votes
1 answer

How can i push the employee data in Australia payroll api (PayrollAUApi)? - Xero

When I try to access the PayrollAUApi, I'm getting an error. FYI please find the attachment below. string accessToken = xeroToken.AccessToken; string xeroTenantId = xeroToken.Tenants[0].TenantId.ToString(); var PayrollAUApi = new PayrollAUApi(); …
Bumblebee
  • 21
  • 5
0
votes
1 answer

Unable to get a connection with Xero SDK with C#

Summary: - Can I use XERO APIs in my Mvc Project ? I am having an issue with the XERO SDK C# ,I have a project setup in ASP. NET MVC 5 where I am adding my XeroAPI Project with in .NET CORE 2.0.It gives reference error which is valid. So I shifted…
test duck
  • 1
  • 1
0
votes
1 answer

Xero webhook issue processing queue

We are using a number of webhooks for testing purposes with the DEMO company and this means the webhook queue is full of items. Is it possible to remove all these items that i am seeing in the webhook queue as i am getting an error about too many…
djcamo
  • 297
  • 2
  • 3
  • 14
0
votes
1 answer

Automatically retrived data from Xero into Excel

I had previously managed to establish a connection to Xero's API using iOCDB manager, where I could get data into Excel from Xero. This was possible while Xero still used oAuth 1, but since this is no longer possible I am struggling with oAuth…