I suggest you ...

Apply discounts to line items

The main Xero application now allows the application of a discount on a line item. While discounts on line items can be retrieved via the API (GET) it is not possible to create a discount via the API (PUT/POST). Add your votes here if this is something you would like to see.

264 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    xeroAdminxero (Admin, Xero) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    40 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • xeroAdminxero (Admin, Xero) commented  ·   ·  Flag as inappropriate

        @Eion - thanks for the feedback. I've updated the Invoices endpoint docs to make the description of the TaxAmount and LineAmount elements clearer.

      • Eion RobbEion Robb commented  ·   ·  Flag as inappropriate

        Can you update the docs to say whether this is supported for ACCRECCREDIT's as well as update the TaxAmount and LineAmount docs for whether this is before or after the discount % is applied

      • AnonymousAnonymous commented  ·   ·  Flag as inappropriate

        You mention that this is supported on ACCREC. Is this also supported on ACCRECCREDIT ?

      • Jamie NicholsonJamie Nicholson commented  ·   ·  Flag as inappropriate

        I have a project to complete by Feb 2014 any chance on defining available soon?
        Or an indication that it won't be available by then.

        Thanks

      • MaximMaxim commented  ·   ·  Flag as inappropriate

        Yes please! Our application creates invoices and as long as it supports discounts internally, we must export this information via the API. Suggested workaround is definitely just a hack...

      • Cody CaughlanCody Caughlan commented  ·   ·  Flag as inappropriate

        Yes please! We create invoices via the API and this is a requirement. The above workaround of adding negative line amounts works but its a hack.

      • RuairiRuairi commented  ·   ·  Flag as inappropriate

        API has to reflect the application chaps, otherwise us Devs will be endlessly searching forums to find out what's supported and what isn't.

      • Anonymous commented  ·   ·  Flag as inappropriate

        Yes please. We generate invoices dynamically via the API. This would be a must have!

      • Ash GibsonAsh Gibson commented  ·   ·  Flag as inappropriate

        +1 - This is definitely a must have for me. Staff will have to work around the issue until it is implemented.

      • Kerry SainsburyKerry Sainsbury commented  ·   ·  Flag as inappropriate

        Thanks for the suggestion, but adding an additional line is confusing for customers, so we are going to have to have staff update the line discount manually until this API fix is implemented.

        The discount is itself a work-around for the inability to specify an item price with 4 decimal places, so your other option would be to fix that limitation :-)

      • Anonymous commented  ·   ·  Flag as inappropriate

        This is a must! Seems like a no-brainer to me. I understand the need to prioritise development and new features so this is my effort to bump this up the list a little.

      • hiwithekiwihiwithekiwi commented  ·   ·  Flag as inappropriate

        This is such a common requirement and standard practice it's hard to believe that this wasn't included in a much earlier release before now!

      • Chris RutherfurdChris Rutherfurd commented  ·   ·  Flag as inappropriate

        We are currently designing a point of sale system for small businesses which can be connected directly with Xero. Currently we are needing to design a work around which adjusts the unit cost when creating the line item. Ideally we would like the unit cost to remain the same and simply be able to apply a discount to the line item to represent a line item discount.

      ← Previous 1

      Feedback and Knowledge Base