Core Components:
- Odoo 18 CE (On-Premise) hosted on high-availability infrastructure (HA x2 nodes).
- Integration Layer: RESTful middleware gateway — connects Odoo to AFM, Marketplaces, Payment APIs, LHDN e-Invoice, and Logistics.
- Twingate Secure Tunnel: Manages encrypted, authenticated API communication between Odoo and AFM Fulfillment.
Data Flow Summary:
Odoo (E-Commerce + Inventory) ↔ AFM Fulfillment API ↔ Logistics Carriers
↓
Shopee / Lazada Marketplaces
↓
Malaysia Payment Gateways (Atome, SenangPay, Curlec, DuitNow)
↓
LHDN e-Invoicing
Compliance with IRBM (LHDN) e-invoicing via Peppol / MyInvois integration.
Features:
- Auto e-Invoice creation upon sales completion.
- Secure submission to LHDN API + response handling.
- UUID & validation token storage in Odoo Accounting entries.
- Scheduled task for re-try if API submission fails.
Sandbox testing before go-live.
This Odoo 18 CE + AFM integration will serve as a unified, secure, and scalable ERP ecosystem — enabling greater control across operations, compliance, and revenue channels while ensuring Malaysia tax and PDPA compliance.
The proposed timeline (~8 months) ensures structured build-out with compliance readiness and measurable ROI for digital transformation.