How to extract data from Wave Apps since their export functions really suck.
- Go to Settings -> Data Export -> Export all receipts as a ZIP file
- Download and extract the zip sent by email
- Remove the receipts from other years
- Run
for file in *.png; do convert ${file} ${file%.*}.pdf; done
to convert allpng
topdf
- Run
rm *.png
to delete allpng
- Open the network tab
- Go to Accounting -> Transactions
- Add the filters for the year and categories
- Get the Graphql Query and variables sent to the backend
- Go in Postman and paste it in the GraphQL editor
- Change the variable
"first": 100
to something larger - Set the
Authorization
header to the Bearer token sent with the network tab request - Send and save the data to JSON
- Run the python script attached to produce a CSV
- Paths will need to be adjusted
- Sale taxes will need to be changed (unless you happen to live where I live)
NOTE: Their graphql API doesn't actually whitelist queries, but since it is not documented I prefer to use the persisted one (I imagine they use APQ) so I don't have to write it myself.