How to do LHDN e-invoice for Shopify (Malaysia)
Updated 18 October 2026
Short answer
Shopify does not submit e-invoices to LHDN MyInvois on its own. The practical way is to connect an app that files each Shopify order to MyInvois automatically, validates it, and handles consolidated B2C sales, so you keep Shopify and never touch the LHDN portal by hand.
Does Shopify support MyInvois natively?
No. Shopify is a global platform and does not connect to Malaysia's MyInvois system out of the box. Your orders are not sent to LHDN, and Shopify's built-in "invoice" is a receipt, not a validated LHDN e-invoice. To comply, you need something that bridges Shopify to MyInvois.
Your options
- Manual portal: re-key every order into the MyInvois portal yourself. Free, but slow and error-prone at any real volume.
- A connector app: an app that reads each Shopify order and submits it to LHDN automatically. This is how most merchants do it.
How automatic filing works
- Install the envoice app from the Shopify App Store and connect your store.
- Enter your LHDN MyInvois credentials (or start in sandbox to test with no LHDN account).
- A customer places an order. envoice receives it, builds a compliant e-invoice, and submits it to LHDN.
- LHDN validates and returns a QR code. A buyer-ready PDF is generated automatically.
- You choose how orders without a buyer TIN are handled: file each paid order as its own e-invoice, or record them for one consolidated e-invoice at month end. Orders above RM10,000 and orders with a buyer TIN always file individually.
Buyers who need an e-invoice in their own name
A company buying supplies, or a buyer claiming the purchase as a business expense, can request their own e-invoice through envoice's request portal. The envoice block on Shopify's thank-you page shows the e-invoice status and a Request it link with the order number filled in, and you can print the portal QR on POS receipts. The buyer enters their TIN and company details, so you do not collect them yourself. See how buyers request an e-invoice.
Do I have to replace Shopify?
No. The connector runs alongside Shopify. Your storefront, checkout, and workflow stay exactly the same; the only change is that compliant e-invoices now reach LHDN in the background.
Frequently asked questions
Does Shopify submit e-invoices to LHDN MyInvois automatically?
No. Shopify has no native MyInvois integration. You need a connector app that reads each order and submits it to LHDN, or you must key each sale into the MyInvois portal manually.
How are B2C Shopify orders handled for e-invoicing?
You choose. Either each paid order is filed as its own e-invoice, or retail orders without a buyer TIN are recorded and submitted as one consolidated e-invoice for the month. Orders above RM10,000 and orders with a buyer TIN are always filed individually.
Do I need to replace Shopify to comply with e-invoicing?
No. A MyInvois connector works alongside Shopify. Your store and checkout are unchanged; e-invoices are filed to LHDN in the background.
Can I test before going live with real LHDN submissions?
Yes. You can run in sandbox mode to test the full flow against a mock before connecting your real LHDN production credentials.