An end-to-end compliance pipeline connecting ERPNext to the Dominican Republic's DGII tax authority. From a single user action to a signed, submitted, and tracked electronic invoice — across Azure Functions, Logic Apps, and the DGII's own endpoints. Covers all 10 mandated e-CF invoice types with a pre-validation layer that catches format errors before they reach DGII, protecting scarce government-issued NCF sequences.
Architecture
System flow
My role
Full design and implementation, end to end — from the ERPNext server scripts and client-side validation, through the Azure Function orchestration layer, to the Logic App workflows and final DGII submission.
What it solves
Dominican law requires every taxable transaction to be submitted to the DGII as an e-CF. Failed submissions consume government-issued NCF numbers that can't be recovered — so pre-validation and reliable delivery matter significantly. Most invoices clear DGII in under 5 seconds.
Stack
C# / Azure FunctionsAzure Logic AppsERPNextPythonXSLT / XML