Quotes via the API
Provide an API for the recently released quotes feature in Xero (http://help.xero.com/QuotesMain)
Hey Everyone,
Happy to announce that Quotes is now completed and live!
Check out docs here:
https://developer.xero.com/documentation/api/quotes
And related blog post here:
https://devblog.xero.com/xero-quotes-is-now-available-in-the-accounting-api-how-will-you-leverage-it-4208bd70d9a3
-
August Stoyanov commented
And you have a bug.
A new quote is always created as DRAFT regardless of the status supplied during creation.
So if I want to create a quote with status SENT I need to make two API calls.
This is on top of having to provide all fields in the quote when changing status, as you are always updating the entire quote, not just the status.
This is definitely a bug as there is no such issues with Invoices API for example. -
August Stoyanov commented
Do you really need us to provide line items while updating the status of a quote?
That does not make any sense!
I want to decline a quote and I have to provide all the items again? -
Nemanja commented
@Kanchan I'm also getting the "You must supply at least one quote for creation" error when I do an HTTP PUT with
<Quote>
<Contact>
<ContactID>58697449-85ef-46ae-83fc-6a9446f037fb</ContactID>
</Contact>
<Date>2020-05-08</Date>
<LineItems>
<LineItem>
<Description>Consulting services</Description>
</LineItem>
</LineItems>
</Quote>Did you manage to figure out what was wrong with your XML payload? Like you, I used the minimal example from the API docs, but still get that same error all the time.
And not having quotes in the API Previewer doesn't help things either.
-
J Gunkler commented
Quotes works well. Now may we please have the ability to create reports based on Quotes. By customer and month, etc.
-
Haris Hukić commented
Is there a way to create/copy Invoice from Quote using Xero API, as it is possible to do the same through Xero page ?
-
Claire commented
Will this be available via Zapier anytime soon?
-
Ray commented
As per this feature request: https://community.xero.com/business/discussion/107102674
Such a simple one to many relationship by having the Job ID in the Quote Data please, ridiculous this isn't already available?
-
Chris Hackney commented
Is this going to be deployed to the .NET SDK any time soon?
-
Charles Hewitt commented
Can you put Quotes in the Previewer as well https://app.xero.com/Preview/Organisation ?
Thanks -
Kanchan commented
Hi,
I am trying to create Quote using the endpoint "PUT https://api.xero.com/api.xro/2.0/Quotes" but getting Error Number 10 with the message "<Message>You must supply at least one quote for creation</Message>"Please help on this.
My XML looks like as below:-
"<Quote><Contact> <ContactID>c01292e3-1a1a-4a70-b120-1218f8f71096</ContactID></Contact><LineItems><LineItem><Description>.</Description></LineItem></LineItems> <Date>2019-11-22</Date></Quote> -
Mirza Ceric commented
This is a great news. For us it will be usable if we can also create and update quotes.
-
Daniel Wilson commented
So your telling me there is still no way to create a quote with the API? Wasn't that the whole point of this feature?
EDIT: I have seen the comment above that feature is planned for the end of the year.
-
Joe Watts commented
How do we access the Quotes Api? nothing on your website docs??
-
Anonymous commented
Looks like they are waiting on something - Brexit perhaps - before actually getting progress on this function. Xero seem to make it a priority to make changes based on money making as opposed to getting the basics sorted for customers. They might be like Sage and be waiting for the competition to come along before reacting... didn't go so well for Sage operating like that did it!
-
Matt commented
We started working with Xero and the API - so far so good apart from the missing link of us being able to create quotes via the API.
The issue with Xero's recommendation of creating a DRAFT Invoice is if the quote is not accepted, we will have missing invoice numbers everywhere. In which case the only way for us to manage quotes correctly is through the API:
1. Create quote like we do an invoice.
2. Allowing the ability to download the quote as a pdf.
3. Once accepted to convert to an invoice
4. Being able to; list, ammend and delete the quote.This feature would be much appreciated.
-
Anonymous commented
I'm starting to think this entire thing is just elaborate performance art. Now that I figured it out, do we get the feature?
-
Daniel Jones commented
It'll be great when the API is available and when there is some sort of reporting functionality for Quotes. Do you have a timeline to when this is likely to be available?
-
Bryan Hoyt commented
It's been a month. Any news?
-
John Dickson commented
I work for a barcoding and warehouse solution provider that currently integrates with Sage 50 and Sage 200, at least 5 of our customers have been looking to make the switch to Xero but unfortunatley without API support for quotes it is a no go for them.
-
Tiffany commented
Can't wait to be able to use this, thanks for the update and looking for to the next.