Skip to content
Build vs. bridge

Build the LHDN side yourself vs. use a bridge.

If your team is evaluating whether to build the LHDN integration in-house, here is the honest checklist. We obviously have a horse in this race, but the items below are real, regardless of who you pick at the end. Use it to scope.

The honest comparison

What you're actually signing up for.

DimensionBuild in-houseMyInvois Bridge
  • Time to first submission6–12 weeks of engineering workManual entry is available now; API timing depends on your adapter. CSV import is coming soon.
  • Engineering team committed1–2 engineers, full-time, for the integration windowZero. The LHDN side is our job.
  • Document type coverageEach type (01, 02, 03, 04, 11, 12, 13, 14) is its own implementation passAll 8 types ready, including the 4 self-billed variants.
  • Spec updatesRe-engineering each time LHDN moves the specHandled in the platform. No rebuild on your side.
  • Audit trailCustom logging surface you have to design + maintainActivity and audit log is coming soon, not available today.
  • When LHDN rejects an invoiceYour engineers parse XML at 9pm to find the broken fieldStructured rejection reasons, surfaced per-invoice with the originating field.
  • OAuth2 + token cachingYou implement client_credentials, scope=InvoicingAPI, 60-minute cache, refresh logicPre-built. Tokens cached in Redis with safety margin; per-company onBehalfOf scoping enforced.
When DIY actually makes sense

Three honest cases for building.

  1. You have multiple compliance regimes to integrate (not just LHDN, e.g. Singapore PEPPOL, Indonesia Coretax) and want a single internal abstraction layer across them.
  2. Your invoice volume is high enough that the per-document cost of any middleware would exceed an in-house team's fully-loaded cost, usually millions of invoices per month.
  3. Your engineering org has spare integration capacity AND treating LHDN as a core competency aligns with your product strategy.

If none of the three apply, the math almost always points to a bridge, yours or someone else's. That's the conversation we're happy to have on a scoping call.

Last updated · July 2026

Independent reference. MyInvois is operated by LHDN. We are not affiliated with LHDN.