Skip to content

Accounting API

Welcome to our official feedback forum for the Xero Developer API.

The Xero Community site is the best place to submit feedback for improving Xero Business

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

88 results found

  1. Trigger e-Invoice via API

    We create invoices in Xero using Custom Connector for a number of customers, depending on customer requirements after creating the invoice we either trigger the email of the invoice (as per https://developer.xero.com/documentation/api/accounting/invoices/#emailing-an-invoice) or bring a copy of the invoice PDF back to the customers other system for sending from there.

    Now that e-Invoicing has been introduced in NZ our customers want to start sending invoices as eInvoices but this can't be achieved via the API currently.

    4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. include cost of sales on invoices

    A customer of ours need to pull Invoices via the Xero API and are particularly interested in the COGS value of sales in order to calculate a Gross Profit value.

    Unfortunately, that value does not appear in the Invoices endpoint.

    I ran some tests where i posted a sale, then posted a purchase with items with a higher purchase price, then edit the sale and increase the quantity.

    I then checked journals and i could see a reversal jounral for the COGS that used the old COGS value, and a reposting using the new COGS value.

    This implies the data…

    2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. Enhance endpoints such as Invoices to allow filtering on LineItems sub fields

    For performance purposes and to keep the amount of data in transit down, it would be good to enhance the Invoices and other endpoints to allowing filtering on LineItems.

    For instanced, AccountCode, ItemCode or TrackingCategories.

    This will allow devs to query a smaller subset rather than pull all invoices.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. Have addresses from the Fishbowl API be sent to the individual invoice rather than overriding the address in the contact screen

    Allow Xero to receive billing and shipping addresses directly as the billing and delivery address for an individual invoice rather then it being sent to the overall contact screen. This would allow for invoices to have different addresses on them for the same client depending on the order. If this worked correctly, we could then have that address tied to and saved to an individual invoice. Currently, we have to manually change the address on every single invoice as our clients have orders shipped all across the country and the world.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. if-modified-since and pagination for Repeating Invoice api

    When will if-modified-since and pagination will be available for repeating invoice endpoint

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Update Repeating invoices via the API

    It's great that we can create and delete repeating invoices via the API, but we also need the ability to update them, especially options such as ApprovedForSending, Next Invoice Date, and Due Date.

    6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Ability to configure the email (to, subject & message) when creating repeating invoices via the API

    It's great to see that creating and deleting repeating invoices is now available in the API. However, there was one crucial thing that was missed: There is no ability to create/define the EMAIL MESSAGE that gets sent with the repeating invoice.

    The documentation mentions “You can use the API to trigger the email of an approved repeating sales invoice out of Xero by setting the ApprovedForSending to true and the status to AUTHORISED.”

    The API has the fields SendCopy, MarkAsSent and IncludePDF, but there is no ability to define the actual content of the email.

    This has somehow been missed.

    6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. Customisation of packing slip

    There needs to be a simple way of customising the inbuilt packing slip (and accessing it) rather than having to go in and change the view.

    Or can you please amend it to at least include a signatory section for the recipient to sign as Proof of Collection and change the name to Delivery Note.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. deferred

    Our business uses deferred income, and my accounts person makes an excel sheet everything month to calculate it (I only discovered this the other day)

    Having revied the invoice API, it would be awesome if

    1) A field called diferredincome to the invoice item, so that we can flag an invoice on creation as diferred, and export that information via the api. The field value would be number of months. E.g. a difered invoice over a year would have the value of 12.

    2) Create a diferred income report using this data.

    3) Create the journal entried for the diferred…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. automatically insert a Pay Now button when an invoice is emailed to a customer via the API POST function

    Currently the Xero API allows us to trigger the emailing of a Xero invoice to the customer via a POST command.

    If a Payment Service is already set up in Xero, the emailed invoice should automatically include the Pay Now button.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. Invoices API: Enable/disable reminder when creating an Invoice

    It would be very useful to be able to programatically enable or disable invoice reminders for a given invoice when an Invoice is created using the Invoices API.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. Make the API invoice email the standard html email not plain text

    Currently when sending the invoice email from the API it sends as plain text. Update it to send the standard html email with the green 'Pay Now' button.

    2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. Allow html formatting in Invoice Emails

    Allow the ability to include html in the Invoice email template so text can be made bold, italics, different sizes etc.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. Attach pdf invoice when emailing invoice via API

    There is currently no way to attach the invoice PDF to emails when emailing from the API. We've had to resort to sending the link in the template used to email our customers. However, our customers prefer having an attachment instead of going to a link to download it.

    44 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    12 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. Invoice Webhook - Send payload for custom connections

    When the new authentication system goes live - the invoice webhook should send the invoice payload. This makes sense as the authentication system is 1:1, and it will reduce the amount of API calls.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. Send pdf invoice when invoice send is triggered by the API

    We have been trying this endpoint
    POST https://api.xero.com/api.xro/2.0/Invoices/aa682059-c8ec-44b9-bc7f-344c94e1ffae/Email

    It sends an email to the customer with a link to the invoice.

    Currently it is not possible to configure this so that it includes the pdf attachment. There is a check box option for this functionality if using the UI.

    I am just thinking of all those people that want their pdf invoices sent directly to their ReceiptBank accounts etc.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Update the UpdatedDateUtc value on an invoice when an invoice is sent or unsent via the Xero web interface

    Sadly this is a bug not a feature request ...

    We have found and verified that invoices that are sent via the Xero web UI do not update the UpdatedDateUtc value. In the case of synchronising to an external system this makes it difficult to keep the invoice status in sync (so we can avoid expensive API calls).

    Typical use case is:

    1. A lot of invoices are created - these sync to our local system.
    2. We track the latest modified date and store for future syncs.
    3. Invoices are sent from Xero - webhooks trigger for these.
    4. We then check with…
    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. Ordering of line items should also be possible from create or update of invoice

    Ordering of line items should also be possible from create or update of invoice .Some field in LineItems in Invoice i.e sort order where can mention from 1 to 999 .... 2 lineitems with same sort order will be arranged alphabatically using their item code.
    It is an important to have feature as it effect invoice look

    4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. Auto invoice number and references

    If you leave the reference field blank on an ACCPAY invoice then the invoice number is automatically generated using the defaults INV-00381 etc. But if you give a reference 'August 2020 travel charges' and leave the invoice number blank then the API copies the reference and makes the invoice number 'August 2020 travel charges'. I want auto-generated invoice numbers but to be able to give an independent reference.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Link Projects to Invoice Line Items

    Currently its impossible to link invoice items (revenue) to projects using the Accounting API. Furthermore, its impossible to modify invoices that have line items that have been linked to projects using the web UI.

    This is a show stopper for us who have automated billing solutions and want to track the profitability of those projects within Xero. It's heartbreaking to have to do this outside of Xero.

    Please make it possible for us to link invoice line items to Projects in order to use Xero as our Billing engine for invoices and invoice items that are generated outside of Xero…

    54 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    8 comments  ·  Invoices  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
← Previous 1 3 4 5
  • Don't see your idea?

Feedback and Knowledge Base