Extending E-Invoicing Integration
The integration is designed to add new countries while preserving the independence of the core, sales, and purchases modules.
Independent gateways
Each tax integration implements its gateway behavior behind a common operating contract, isolating country differences.
- The current Egyptian and Saudi gateways are independently implemented.
Adding a new country
A new gateway code and its services can be registered with the gateway manager, with gateway-specific credentials added when needed.
- This does not require changing existing gateway behavior.
Module independence
The integration checks that e-invoicing is available before dispatching events, so it can be removed without breaking sales or purchases.
- The source document remains part of its original module.
