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. Enable the total number of units across all line items on an invoice to be automatically calculated.

    Enable the total number of units across all line items on an invoice to be automatically calculated.

    13 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 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. Invoice/Webhook - When posting Invoices, be able to set a flag to stop the Webhook from sending the same data back

    With Webhooks enabled, it is pointless to have the webhook send the same data back to us when we are posting the data to Xero.

    13 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)
  3. Add User element to Invoices API to allow Suppliers to approve system generated invoices

    Added to wrong section, moving here to Invoices.

    I'd like to generate draft Bills for my subcontractors via xero api, and let them review and submit the invoice. If the User element is exposed like it is in expense claims, then the invoices will be available to the users that it is attached to, and have the draft invoice role.

    12 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)
  4. Allow support for html content in the line items description via API.

    When invoices are sent to XERO from ProWorkflow, the html characters are showing on the invoices as tags rather than getting rendered properly. Some of our customers who use ProWorkflow and XERO heavily also use the html content in their line item descriptions which obviously causes issues for them as the invoice doesn?t look the same anymore.

    I was wondering whether you guys had any thoughts or plans on how we can send html content in the line items over to XERO without stripping all the html characters and get them displayed properly in XERO?

    11 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. use Contacts' tax details on invoices

    This almost seems to be a bug, since the Xero web interface works differently than the API.

    In the "Tax" section for a Contact, the help message states: "Each account you code an invoice to will have a default rate as specified in the Chart of Accounts but if you have specified a rate for the Contact here, this rate will override the default rate from the Chart of Accounts."

    This works when adding an invoice using the web interface, but adding an invoice using the API results in the wrong tax type and wrong calculated total.

    9 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. 9 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)
  7. Pass the PDF attachments when sending an invoice through the Xero to Xero network

    Currently when you send an invoice via the Xero to Xero network it does not pass a PDF copy of the invoice as an attachment.
    You have to download and re upload the PDF which takes away from teh benefits of sending through the Xero to Xero network

    9 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)
  8. 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.

    9 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)
  9. Insert invoice lines via the API

    Currently you can do this only by resupplying ALL current invoice lines along with the new line. There is a concurrency issue here between when the invoice was read via the API and resupplied to the API for the update. Can you make it so we only have to supply the new invoice line to the API and it be added to the invoice?

    8 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)
  10. Include ContactNumber in the response for GET CreditNotes

    GET CreditNotes has the InvoiceNumber field but not the ContactNumber field. It would be quite nice to have both.

    7 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)
  11. Identify which Bills are associated which which task

    When you associate a line item with a task, it is then an expense on that task. It would be useful to be able to query the task to retrieve information about the expenses.
    You will then be able to get an end to end of bill coming in to invoice going out charging for that bill.

    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)
  12. Reconciling an existing payment with an allocated invoice

    So, I have an invoice with its payment but it's set as unreconciled I'd like to update that payment and set it to reconciled but i get the error: "Message": "Payments against invoices or credit notes cannot be updated."
    Is there anyway i can reconcile this invoice and payment via API?

    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)
  13. Add Progress Percent Completed in Invoice

    Add "PercentCompleted", "TotalEstimate" and "InvoicedPreviously" in Fields you can insert into a custom template so that invoices generated from Projects so the customer can see how far they are along the job and each task is toward completion.

    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)
  14. Allow an objectId as the pagination start point.

    GET https://.../Invoices?order=UpdatedDateUTC%20DESC&page=2

    OR

    GET https://.../Invoices?order=UpdatedDateUTC%20DESC&id=12345

    Either way both return 100 results either starting at page 2 or at object with id 12345

    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)
  15. Online Invoice URL - Allow fetching with invoice or in bulk

    Currently we can only grab the Online Invoice URL Field via a standalone API callout to the Invoice endpoint which includes the invoice number in the callout.

    This proves to be a big issue with applications that grab and store historic data in the application.

    For example:

    We connect our application with Xero and there are 20,000 historic invoices in Xero.

    We store the invoice data in our application for these 20,000 invoices, but we want to get the Online Invoice URL so the customer can add it to custom templates.

    Because we can only callout to 1 invoice at…

    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)
  16. Update Prepayments and Overpayments via API

    We can currently create Prepayment Invoices using the Bank Transaction endpoint (all of this also post applies to Overpayment Invoices too). This returns a list of information about the created bank transactions including Prepayment (or Overpayment) IDs.

    The Invoice Number is autogenerated by Xero, and we're only able to change it using the UI.

    There are are Prepayment and Overpayment endpoints in the API, but these only allow us to GET one (or multiple) invoices, and PUT allocations for an invoice.

    It would be great to see either:

    1. A POST method on the Prepayment and Overpayment endpoints (this would allow…
    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)
  17. Search Feature

    When searching sales or purchase invoices would it be possible to have a drop down box to select if All, Awaiting Payment, Paid etc instead of being in the tab first before selecting search.

    I dont know how many times I have entered the search item only to find I am in the wrong tab and have to reenter details in the correct tab very frustrating ... but still forget next time I search

    Would be much easier to select this option after search detail is made

    5 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)
  18. 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…

    5 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)
  19. Validate only option for POST and PUT

    Currently when you POST or PUT, Xero will either accept or reject each of the entries. Provide an option to POST or PUT data (Invoices) and have the results returned WITHOUT actually updating any data. That would allow an All or Nothing approach to batch data submission.

    5 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. Add SagePay to invoice payment gateway, they are one of the most popular in the UK.

    Sagepay is one of the most popular payment gateways used in the UK, it would be a huge benefit to add sagepay as an invoice payment method option in xero.

    4 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)
  • Don't see your idea?

Feedback and Knowledge Base