Supplier orders expenses

Hello everyone,
We import products from our suppliers and some costs occur during these import stages.
e.g. customs expenses, freight, domestic and international transportation, etc. services. Some of these are paid in cash, and some are paid by invoice using different payment methods (check, bank transfer, credit profit, etc.).

My question is: Do you have a suggestion for a module or method where I can control expenses in sales and purchase transactions? (cost center)
thanks

there is the expense report system that can be attached to a project, but that is probably more for one off purchases

I think there is no purchasable module option. This situation is a big deficiency for dolibarr.

I suggest you contact a company that support Dolibarr and ask them to help you. The operating cost of Dolibarr is very low. Aldo using some money on customization is to be expected when using any ERP.

Of course I know that, thank you However, there is no module to meet this need in other external supports.

Hi, I thought about this a bit.
If you make an extrafield with a unique ID for a specific suppier order (or link to it) you can manually link all the expense invoices to that one.

If you do that you can then sort based on that link in the list of supplier invoices.
If you want you can make a small script that gets all the invoices with this link/ID and total the costs for you.

If you want it in the browser, you could make a small Flask app that lets you type in the ID and gets all the corresponding invoices and totals them and give an overview.
This app could be easily linked from the supplier order in question using a user script.

If you want I can help you get this done, feel free to contact me.