I suggest you ...

Notify URL When Stuff Changes in Xero - Webhooks

I'm requesting "web hooks" for the Xero API.

Here's how they work: Customer provides a URL (http://myserver.com/xero/changed) to Xero, and when something is changed, Xero notifies that URL, perhaps indicating which records have changed.

The Xero API provides methods that you can query and compare with previous results to see what has changed. However, this is not performant for large data sets, and detecting changes involves a lot of code.

The competition has it - web hooks are supported by QuickBooks. Let's get them in Xero - it's a superior product in every other way.

795 votes
Sign in
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    pdelaurentispdelaurentis shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    anonymousanonymous shared a merged idea: Push changes from Xero to other systems  ·   · 
    anonymousanonymous shared a merged idea: Be able to have a callback url when an invoice is paid  ·   · 
    planned  ·  Xero APIAdminXero API (Admin, Xero API) responded  · 

    - Update September 2016 -
    We are extremely close to finishing our migration to AWS which will clear the runway to start work on this feature.

    I can’t change the status to started yet, but hopefully we’ll have some good news to share soon.

    For now, keep your calls efficient while polling using “if-modified-since” and paging whenever possible.


    Sign in
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      • AniAni commented  ·   ·  Flag as inappropriate

        Hi there it would make so much easier if you guys can change your api so we can sync both ways from Xero to timely
        It would save time and money
        Please create this option

      • GaëlleGaëlle commented  ·   ·  Flag as inappropriate

        Hu zapier go notifications from xero changes ! That's mean a ray of hope for us ?

      • Wilson McCoubreyWilson McCoubrey commented  ·   ·  Flag as inappropriate

        I would LOVE to see webhooks implemented. For us personally, this would take a lot of pressure off the API quota and be much more efficient. All we need is a notification of when an invoice and/or its line items changes.

        Will we see this feature in 2016?

      • KenKen commented  ·   ·  Flag as inappropriate

        I'd like to second this BIG TIME. We use Slack to coordinate all kinds of things, and getting various notifications out of Xero via Webhooks would be revolutionary because we live inside Slack. This is becoming a "get with the times" requirement.

      • Eliot SlevinEliot Slevin commented  ·   ·  Flag as inappropriate

        Hey everybody,

        I work for Hoist.io, which is an integration platform to make dealing with apis much easier. With a few previous Xero employees in the team, it’s no surprise that over the last five years we’ve worked with the Xero API extensively, and we've been wanting webhooks just as much as everybody else.

        That’s why we’re excited to announce our Xero Connector. Now any developer can subscribe to events from their own Xero accounts, or their users accounts. Never poll for new or updated data again! We're currently open for early access, if you're interested we'd love to talk to you


      • Matthew SchinckelMatthew Schinckel commented  ·   ·  Flag as inappropriate

        According to the presentations from Xerocon 2014: webhooks are still not on the agenda until at least _after_ 2015.

      • azaz commented  ·   ·  Flag as inappropriate

        Out of a meeting last week and the other devs are pushing for a platform change due to API limitations, mainly lack the of webhooks in xero.

        We need near realtime and without webhooks + the API rate limit, there is no real way to achieve this right now.

        Please don't make us deal with Quickbooks.

      • mikemike commented  ·   ·  Flag as inappropriate

        Since November of last year was the last Admin comment about this, it would be nice to get another update. Any sort of ETA would be very helpful. I am currently developing an app that needs this functionality and I love everything else about Xero but this might be the deal breaker for me. If I know it is coming sometime soon I would be willing to deal with the workarounds for awhile but just need some sort of timeframe so I can make an informed decision. Thanks.

      • azaz commented  ·   ·  Flag as inappropriate

        Any ETA? This is kind of critical for proper integration especially with the API limits. Any update would really be great.

        One of the big pushes from my company to move services is lack of webhook support.


      • zootzoot commented  ·   ·  Flag as inappropriate

        Is there any update on the ETA for webhooks?

        My business is eager to migrate to Xero, but without unnecessary re-development for event notifications at a later stage.

        Our use case involves the requirement to send invoice notifications via our own mail infrastructure to improve credibility and deliverability.

      • Xero APIAdminXero API (Admin, Xero API) commented  ·   ·  Flag as inappropriate

        @Chris - why do you need to retrieve each invoice individually? You should be able to do a GET Invoices call to retrieve multiple invoices at once unless you need the line item detail. In addition, you can use the modified-since parameter to only retrieve the changes: http://developer.xero.com/documentation/getting-started/http-requests-and-responses/#title2

        All that aside, 18,000 API queries a month is still well inside the average monthly limit of 30,000 (1,000 per day).

        That does not mean we should not keep working to make the API more efficient via web hooks etc, just some pointers to keep you going for now. ^RQ

      • Chris RutherfurdChris Rutherfurd commented  ·   ·  Flag as inappropriate

        Use Case:

        We are currently in the process of building an in house customer management system to manage all of our customers business with us through a single system, to date we have been using a few dozen. We are currently implementing our link with Xero as one way for creating invoices only and then marking them as paid when the customer pays them but this means that we can not use the web invoice viewer or the invoice payment feature therein because the invoice won't show up as paid in our system unless we query it for an update. Due to the API limits which are set this would be impractical as we are forecasting that within 2 years of our system going into production in our business we would be tracking almost 500 new invoices each month, and some invoices may not be paid for 3-4 months, in addition taking into account that the updates would have to be queries daily so as to ensure our data was up to date, this would mean that conservatively we would be looking at 15'000 API queries per month for new invoices only, and an additional 3'000 queries each month against overdue invoices and invoices with longer terms. Bear in mind that the figure above of 18'000 queries a month is based only on getting payment updates on invoices and not on any other task such as creating a new invoice or marking an invoice as paid if it was paid through one of our other payment sources such as BPay, in store payment, etc.

        Web Hooks are definately the way to go, we currently have webhooks into a number of our suppliers to get real time updates when an order we place has a status update, with our freight provider for when a delivery is marked as completed, and with several of our online store systems and online auction systems for when a purchase is placed, an enquiry is made, or an auction is completed.

        We do want to use Xero and are currently using it in limited form as we find it to be the best solution for us in accounting, and a far better option than existing solutions such as QuickBooks and MYOB but without webhooks it is of strictly limited value.

      • Jack BremerJack Bremer commented  ·   ·  Flag as inappropriate

        We have a line item "pre paid hours" for clients who wish to obtain an hourly discount by paying in advance. Some require an invoice first, so we invoice them and credit their account with the hours when paid for.

        The problem is that reconciling the bank account doesn't give any indication of the contents of an invoice you're reconciling, so these payments against prepaid hours often go amiss - paid for but not credited to their block of hours in our support system.

        If we could be alerted of invoices containing that specific line item, when they are marked as paid, that would be excellent. I believe WEBHOOKS will allow this in a far easier fashion than running convoluted API calls to search for possible invoices with no money due, then requerying those to see if the specific line item exists in them, and then alerting us by email if they do, marking it as alerted so it doesn't alert us again in the future.

        It would also surely save on the Xero API server resources.

      ← Previous 1 3

      Feedback and Knowledge Base