Submit e-invoices to Malaysia MyInvois for Phase 4 taxpayers

domain: sdk.myinvois.hasil.gov.my · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Confirm Phase 4 applicability: taxpayers with annual turnover between RM 1 million and RM 5 million are in Phase 4, which became live on 1 January 2026 with full enforcement from 1 January 2027; businesses below RM 1 million are permanently exempt following the December 2025 Cabinet decision that cancelled Phase 5.
  2. Register on the MyInvois portal with your company TIN and BRN, then apply for API access to receive a client ID and client secret from LHDN.
  3. Authenticate via OAuth 2.0 client credentials flow against the MyInvois token endpoint to obtain an access token; tokens are short-lived and must be refreshed for long-running batch jobs.
  4. Build each invoice as a JSON or XML document conforming to the MyInvois schema (55 mandatory fields including TIN, BRN, item-level tax amounts, and QR code data) and POST to the document submission endpoint at sdk.myinvois.hasil.gov.my.
  5. Poll the document status endpoint with the returned submission UID until the status is Valid; a Valid response includes the LHDN-stamped document with a QR code that must be included on the invoice shared with the buyer.
  6. Implement cancellation and rejection flows: a supplier may cancel within 72 hours of submission; a buyer may reject within 72 hours of receipt — both actions use dedicated API endpoints.

Known gotchas

Related routes

Submit e-invoices to Malaysia MyInvois for taxpayers in the mandatory threshold phases
sdk.myinvois.hasil.gov.my · 5 steps · unrated
Issue a self-billed e-invoice in Malaysia's MyInvois system for a transaction requiring buyer-side documentation
myinvois.hasil.gov.my · 5 steps · unrated
Submit invoice data to Hungary's NAV Online Invoice (Online Számla) system via the M2M interface API
government-tax · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans