Expensify.org is accepting proposals for new campaigns. Submit yours here by April 30th to receive up to $100,000 in funding for campaigns dismantling injustice related to: Climate, Homes, Hunger, Reentry, or Youth.
Adding mileage via API
I would like to create mileage expenses which include the nice Google maps receipt, as one might do through the web site, but I could see no clear way of doing that through the integrations api. I looked into how the web site is doing it, and I notice two things right off the bat:
1. The web site does not use the documented integrations api. It's using an api at expensify.com/api, which does not seem to work the same as the "public" one.
2. Maybe I'm wrong (I hope I am), but it seems like it's the web site generating the maps from google maps, essentially printing it to pdf in the browser, and then uploading that as a receipt. In order to get the same effect, I'd have to rebuild that functionality.
So I guess my questions are:
1. Is there another API I should be using? Or is the one documented at the below link the one we are supposed to be using?
2. Is there a way to send an API request to expensify, have it calculate the distance and reimbursement based on the currently configured rate, and generate a map receipt? Or are those separate bits logic I'd have to reimplement? The latter sounds really painful.