Malaysia e-invoicing (MyInvois) / Guide
Trace a WooCommerce order through MyInvois
A completed store order is where the invoice trace starts. Keep separate evidence for the sale, the MyInvois document and what reached the buyer. This guide proposes a manual operating record; it does not settle a store's tax treatment or prove that any plugin performs these steps.
Online version: https://sidecarsoft.com/guides/woocommerce-myinvois-order-status-refunds/
1. Decide the route before submitting
Link to sectionRecord the buyer's request for an individual invoice and its date, the transaction amount, the industry or activity, any relaxation decision and the reviewer. Keep eligibility decisions separate from technical status.
The Specific Guideline v4.9 sets the consolidation deadline "within seven (7) calendar days after the month end" (section 3.6.2) and covers buyer requests within the transaction month (section 3.6.8). Table 3.6 (printed page 33), which lists activities that need an e-invoice for each transaction and may not be consolidated, has item 7 "All industries: Any single transaction with a value exceeding RM10,000", with the note that this is effective starting 1 January 2026. Section 16 can change the route: Table 16.1 sets interim relaxation periods by annual turnover or revenue. The periods for taxpayers above RM5 million ended between 31 January 2025 and 31 December 2025; for taxpayers with up to RM5 million (implementation dates 1 January 2026 and 1 July 2026) it runs until 31 December 2027. During it, section 16.2 allows a consolidated e-invoice for all transactions, including the activities in Table 3.6, and allows not issuing an individual e-invoice even when a buyer asks for one. Record the turnover band, whether the relaxation is used and who decided, before routing.
Assign each receipt one disposition: individual invoice, consolidation candidate or open review. When a buyer request moves a receipt out of the monthly pool, remove it from the pool in the same record so it is never counted twice. A candidate is not yet a submitted consolidated document.
2. Submitted is not valid
Link to sectionSubmit Documents returns HTTP 202 before validation finishes. Keep the submission UID, the accepted document identifiers and any initial rejections. The SDK FAQ separates Submitted (validation pending), Valid, Invalid and Cancelled; a document UUID alone does not prove Valid.
- 202 / Submitted: poll Get Submission with the submission UID; keep the response, environment, UID and time observed.
- Rejected or Invalid: keep the exact error, fix its cause and record the decision on the next submission with old and new references.
- Timeout or unclear transport: check saved responses and whether the request arrived before you resend; record attempt time, local invoice number and the outcome.
- Valid: record final status and validation time, with UUID and long ID, then continue to delivery.
LHDN's integration practices prescribe polling per submission and warn against resubmitting without checking results; a successful 20x response should not trigger another submission of the same payload. Respect returned rate limits.
3. Separate refunds, cancellation and adjustment notes
Link to sectionA store refund should start a reconciliation with the invoice record; it is not evidence that a MyInvois cancellation succeeded. The Cancel Document API says "Cancellation is permitted within the 72-hour window" from the time the document was marked valid, and needs the document UUID and a reason. After the window, use the appropriate credit, debit or refund note. A failed cancellation leaves an open action, not a Cancelled record.
Example: a document validated on 9 November 2026 at 10:00 MYT (+08:00) can be cancelled until 12 November at 10:00 MYT (9 November 10:00 plus 3 × 24 hours). The order creation time does not start this clock.
The General Guideline v4.8 (section 2.4.5) separates a buyer's rejection request from the supplier's cancellation; a request alone is not a cancellation. The Submit Documents definitions say a credit note reduces the original value without returning money, a debit note adds charges and a refund note confirms money paid back; Appendix 1 field 21 references the original document. For a partial return, first record whether money goes back or an unpaid amount is adjusted, let the accounting reviewer choose the note, link it to the original UUID and trace its own validation. Do not issue both a credit and a refund note for the same reduction.
4. Verify buyer delivery separately
Link to sectionSection 2.4.4 of the General Guideline says the supplier is "obliged to share the validated e-Invoice with the Buyer"; the current concession allows the validated document or a visual representation with the QR code. The SDK FAQ says API-submitted invoices cannot be printed from the Portal and gives the validation-link pattern {envbaseurl}/uuid-of-document/share/longid, which a QR code can encode. Link, QR image and printable invoice are three separate items.
- Match the invoice number and amounts on the rendered invoice to the validated record.
- Scan the actual QR code and confirm it opens the intended environment and document.
- Open the printable file as the buyer would and check it is readable.
- Record channel, time and outcome of delivery; a queued email is not proof of receipt.
- For adjustments, keep the references and delivery outcomes of both the original and the note.
For consolidated records, section 3.6.10 of the Specific Guideline has a buyer-sharing exception; the monthly document for the general public is not each buyer's individual invoice.
5. Close the reconciliation
Link to sectionKeep one row per order and linked rows for adjustments, and review unvalidated submissions, failed cancellations, open eligibility decisions, missing links and delivery failures. A dashboard label alone does not establish MyInvois status; keep the underlying response and the human routing decision.
Download reconciliation record (TSV)UTF-8 TSV for a spreadsheet: the fields listed in step 5 as columns, one blank row to copy per order or linked adjustment, then notes, sources and disclaimer. Nothing is prefilled and no deadline is calculated. Local record: keep the file in your own restricted storage. Enter order references, not buyer names, contact details or tax identification numbers, and add no credentials, certificates or full invoice payloads. It is not a MyInvois submission file.
- Order, buyer request and date, route, reason and reviewer
- Environment, local invoice number, submission UID, UUID and long ID
- Observed status and time, validation time, cancellation deadline
- Adjustment UUID and original reference
- Delivery item, channel and time; open action and owner
Sources
- LHDN: e-Invoice Specific Guideline v4.9 (published 7 September 2026; sections 3.6.2, 3.6.8, 3.6.10, Table 3.6 item 7 on p. 33, section 16 with Table 16.1)
- LHDN: e-Invoice General Guideline v4.8 (sections 2.4.4 to 2.4.5, Appendix 1, glossary)
- LHDN MyInvois SDK: Submit Documents
- LHDN MyInvois SDK: Cancel Document
- LHDN MyInvois SDK: FAQ (statuses, rate limits, printing, validation link and QR)
- LHDN MyInvois SDK: Integration practices
First read on 9 November 2026, rechecked on 12 November 2026 against the PDFs (cover dates, Table 3.6 item 7, Table 16.1). The LHDN guideline directory lists General Guideline v4.8 (30 August 2026) and Specific Guideline v4.9 (7 September 2026). Not tax advice.