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

92 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. Add total discount on invoice

    My client need to add total discount on entire invoice rather than giving discount on each item.
    This would be great if we have such option.
    Thanks
    Sanjay

    12 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. 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.

    10 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)
  6. 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)
  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. 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. 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)
  10. 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)
  11. 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

    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)
  12. 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)
  13. 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)
  14. 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)
  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. 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)
  17. 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)
  18. Add ability to delete Attachments

    Using an A/R Invoice as an example, at the moment you can upload a new attachment, retrieve a list of attachments and download attachments. I would like to have the ability to delete an attachment - for example you might have uploaded the wrong attachment, but you need to login to the main Xero website to be able to delete the attachment.

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

Feedback and Knowledge Base