Expense ID
Hello,
Is it possible to get expense ID via API? I tried to use in request ID according this this doc: https://integrations.expensify.com/Integration-Server/doc/#object-reference
ID The ID of the expense
but response doesn't return expense ID.
I tried expense.ID, expense.id, expense.expenseID but without result.
Best Regards,
Edward
Answers
-
Solved, instead of expense.ID used expense.transactionID.
-
@Z1abl This is a good approach for some use cases but not all expense.transactionID is constantly changing if the transaction is pending, done or closed. Expense ID is the one true unique identifier for a transaction from the moment the transaction is made to it being closed. It's a shame expensify did not put in effort to bring the real expense id to the transaction.