In El Salvador, we will operate both for-profit and non-profit businesses. The new regulations from the Ministry of Finance state that individuals or companies must adopt an electronic invoicing system through the Ministry’s portal. The Ministry of Finance offers two options:
Ministry Systems: Taxpayers can choose to use the free electronic billing system provided by the Ministry of Finance (the only condition is that they have around 100 bills per month).
Use of Third-Party Software: Companies can also use commercial software solutions that integrate with the Ministry’s system.
I wonder if ERPNext has the functionality to develop our own electronic billing system (we want to centralize our own) that can integrate with the Ministry of Finance’s servers (e.g., using a JSON script) so that the Ministry of Finance will just act for transaction validation. This way, we could centralize our process, saving cost, instead of paying a third-party company.
Does ERPNext include any manual about this particular case?
I look forward to hearing about your experiences with similar cases or any suggestions you might have.
We paid a developer for a custom app for another country in Central America that integrates with a third party API - to submit sales invoice json and obtain successful submission confirmation and associated tokens. The submission history and tokens etc are recorded in the Document History section of the sales invoice below - allowing for detailed traceability. We chose to use an intermediary third party provider as it was less cumbersome than integrating with the govt website / keeping up with changes made there. We are not permitted to share the code (as per our contract) - should be nominal to develop - Framework and ERPNext already has most of the capability. The app modified the sales invoice document, creates some custom fields and a manual button to upload / submit Sales Invoice to the third party API. Create Print Format so that the PDF has the appropriate tokens and QR code (if needed).
Yes, its possible. Frappe Framework have possibility to work with third party api calls using JSON outgoing. This mechanism is already been deployed by us for numerous clients in KSA.
I looked into this further - the app is no longer deployed - so do not have screenshots to share. The sales invoice document looks same as ERP - only has custom fields that store the acceptance tokens etc. A custom script that is activated when you click Submit button - and invoice does not get submitted status until there is acceptance of upload / and download govt tokens… the activity is captured in the document history below… no other change to sales invoice… Print format is then used to generate pdf with desired fields (including the hacienda acceptance token). I strongly suggest to use a developer - should not cost that much.
You can develop your own. Checkout the Zatca app for Saudi Arabia by @Support-at-ERPgulf on Github. That app is similar to your country requirements in some form.