How to import more data for expenses?

Hi, looking at the data - I should be able to insert things like sales tax, images etc against expenses as I can do it manually and I can pull that back out via the API.
I’d like to change the csv import code to allow this (at least the sales tax)… but I’m struggling to find actually where the interface is created…

Alternatively, is there a way of getting the expense ID back from an expense post action and the connecting a document to it?
Thanks
Bret

Here’s the relevant code:

https://github.com/invoiceninja/invoiceninja/blob/master/app/Models/Expense.php#L59

https://github.com/invoiceninja/invoiceninja/blob/master/app/Ninja/Import/CSV/ExpenseTransformer.php#L19

If you create an expense using the API the response should include the id?

Hi baradhili, Hillel

Did you get this working?

Could you share the code modifications please?

I’m also looking to import taxes for expenses.

Thanks,
Christiaan