Greetings from WP ERP support, hope you are doing great.
As per our support policy, we provide support for our default functionality, customized configuration and installation.
But, I can assist you with the file name and exact file location.
Path: erp > modules > accounting > includes > functions
File name: invoices.php