Expose the new Expense feature via the API
Xero previously had an Expense Claims public API available (https://api.xero.com/api.xro/2.0/ExpenseClaims)
However since 2018, a new Xero Expense product has replaced Expense Claims and any new organisation is forced on the new expense product. This new expense product currently has no available API.
This is a regression as the previous API allowed developers to build integration with the Xero's expense features, however it is now not possible anymore.
There is an existing trello card for this feature however I do not understand why it is still in the "nice to have" column although the number of votes is higher than other cards in the pipeline.
https://trello.com/c/V19a9nsJ/51-xero-expenses-api
If this feature interests you, please vote on this idea.
-
Benjamin Burrell commented
Not having proper API support for new Expenses discourages our users from utilizing Xero Expenses with our integrating product.
Two major limitations we encountered are:1. When dealing with Company Money Expenses, we do not have a way to retrieve the user details that submitted the expense.
This is because we can only use the Xero API Bank Transactions endpoints to query these expenses.2. Using the Xero API - Invoice endpoints we cannot retrieve Project/Customer that expense was assigned to.
-
Jeff Blickle commented
Posting as there still isn't a great replacement. The ACCPAY invoices do create fine, but they don't show in with the other Expense claims. If we can just mimic what the Expense Claims creation in the UI does, so that users expense claims all show in the Expense Claims area (rather than any coming from the API going directly to bills) then it would be a marked improvement.
-
Keertika Chandola commented
Hey Jon,
If you're planning on building a new expenses integration we suggest you create ACCPAY Invoices (bills) in Xero. More information here https://developer.xero.com/documentation/api/accounting/invoices
Thanks
Keertika