Malaysia
SAP/ERP integration design for Malaysia
2026-08-28
A Malaysia connector is reliable only when every legal identity, amount, invoice type and original-document relationship has one authoritative source. RBW approaches the country integration as a controlled invoice lifecycle, not as a generic XML export.
How to use this guide
A useful project outcome is not a document that merely repeats the rule. It is a traceable decision model that connects the rule to legal entities, transaction scenarios, source data, system behaviour, operating ownership and evidence.
Define ownership across the integration boundary
A robust design assigns each fact and status to one authoritative layer. Middleware should transport and orchestrate, not invent missing business facts.
| Decision area | What must be decided | Evidence to retain |
|---|---|---|
| SAP / ERP | Own invoice identity, partner, tax, line, amount, currency and original-document relationships. | Validated source snapshot and readiness result. |
| Integration layer | Transform deterministic facts, route by approved rules, apply idempotency and preserve correlation. | Mapping version, routing decision, request and response log. |
| Provider / official channel | Perform the selected transport, signing or platform interaction without redefining source truth. | Provider reference, timestamps and unmodified responses. |
| Finance operations | Own business resolution, customer communication, reconciliation and period-end completeness. | Action log, ageing, reconciled status and approval. |
| Archive / audit | Retain source, payload, response, representation and subsequent events under one key. | Searchable evidence package with retention controls. |
Country-specific decisions
| Decision area | What must be decided |
|---|---|
| Start from authoritative SAP business facts | Determine the source for seller and buyer identities, registration and tax numbers, document type, currency, totals, tax treatment, item classifications and references. Missing mandatory facts should block readiness visibly; they should not be guessed from unrelated fields or replaced by silent defaults. |
| Separate the reusable core from Malaysia rules | The reusable layer governs document identity, source traceability, readiness, status and archive. The Malaysia layer maps those facts into the required MyInvois semantic document and platform flow. This keeps country change isolated while preserving a consistent operating model for finance and IT. |
| Close the loop after submission | Submission must return platform status and exceptions to the responsible business document. Operations need controlled retry, correction and reconciliation, while the archive retains source data, outbound payload, response and later adjustments. The capability described here is an implementation design; it is not by itself evidence that every Malaysia scenario or customer landscape is production-ready. |
Use a business state model, not an HTTP result
The integration should make the next action explicit and prevent technical success from being mistaken for legal or operational completion.
- Ready
All required business facts and scope decisions are complete. - Blocked
A deterministic readiness error prevents generation or transmission. - Queued
The document is eligible and waiting for controlled processing. - Submitted
The request has a correlation ID, but no terminal business outcome yet. - Accepted / rejected
The platform outcome is normalized without losing the original response. - Correction required
A governed follow-on process is linked to the original document. - Closed
Platform outcome, customer delivery, ERP status and reconciliation are complete.
Go-live exit criteria
- Every mapped field has one authoritative source and a blocking rule when absent.
- Routing is deterministic by entity, transaction and approved channel—not by silent fallback.
- Timeout, duplicate, rejection, correction and cancellation scenarios pass end-to-end tests.
- Finance users can resolve exceptions without reading middleware logs.
- Reconciliation proves completeness between ERP population and terminal electronic-invoice outcomes.
- The evidence package can be retrieved by business key within the agreed audit time.