Getting Expense Hash either via API or Database

Version v5.10.40

Environment Docker

Issue

I want to check whether an expense exists based on the date and the amount.

Question1: can this be done via the API?

I wasnt able to apply any filters that worked so I used an SQL Query. This works fine but I the hashed ID now in order to add documents to the existing expense.

Question2: If filtering isnt working which hashing algorithm should I use in order to convert an id e.g. 12 to a hash?

Thx
Ben

Hi,

If you’d like to see additional filters added the expense API route feel free to create an issue on GitHub.

If you’d like help hashing the id I suggest creating a discussion on GitHub.

Thx… I’ll take it there.