Automated mailing after invoice payment

Hello, I would like to change my supplier invoice payement procedure such that once the status changes from unpayed to payed an email is also automatically sent and I was wondering where I would need to add this in the code? thanks in advance

Hi @chai,

Dolibarr uses so called modules to extend its funktionality. This means the best way to do this, is to create your own module. You can use the module builder to create a base module and then add your business logic.

Additional information for module development: Module development - Dolibarr ERP CRM Wiki

For your specific requirement, the next step would be to use triggers (Triggers - Dolibarr ERP CRM Wiki). Find the right trigger for your use case and then extend it.

Regards,
Sven

thank you for your reply. Other than the wiki are there any other resources you would recommend? especially any in video format?