e
eBil
← Back to app
Bahasa Melayu
Help Guide

Connect eBil to LHDN MyInvois

Time needed: a few minutes One-time setup

Your first 30 e-invoices are free.

This guide walks you through getting your Client ID and Client Secret from MyInvois Portal and connecting them to eBil. Once connected, you can submit e-invoices directly to LHDN from inside eBil — no separate tools needed.

Before you start, make sure:
  • You can log in to myinvois.hasil.gov.my
  • Your TIN is in eBil's Business Profile. Sole proprietors and individuals use their own TIN, starting with IG.

Why do I need this?

LHDN's MyInvois system requires a unique Client ID and Client Secret to verify that submissions are really from you. Think of it like an API password for your business. eBil uses these credentials to send your invoices to LHDN on your behalf, in your name.

Your credentials stay private — they're encrypted in eBil and never shared with anyone else.

Step 1: Log in to MyInvois

Open myinvois.hasil.gov.my and log in.

Step 2: Open Your Taxpayer Profile

Tap the round icon at the top right, then View Taxpayer Profile.

MyInvois' profile menu, with View Taxpayer Profile marked

Step 3: Register eBil as Your ERP

Scroll down to Representatives, open the ERP tab and tap Register ERP.

The taxpayer profile's Representatives, with the ERP tab and Register ERP marked

Name it eBil, change Client Secret expiration to 3 years, tick Primary ERP System, and tap Register.

The Add ERP System form: ERP Name eBil, Client Secret expiration 3 Year, Primary ERP System ticked

Step 4: Copy Your Credentials ⚠️

Copy the Client ID and Client Secret 1 before you close the page: MyInvois shows the secret only once.

Step 5: Connect in eBil

In eBil, open Settings › LHDN Connection, paste the Client ID and Client Secret 1, and tap Save & Connect.

Common issues

I can't find my business in MyInvois

Sole proprietors: first get the Business Owner role in MyTax (mytax.hasil.gov.my), then switch to your business in MyInvois.

Not Connected

LHDN didn't accept the Client ID and Client Secret. Check them for a typo. If the secret has expired: in MyInvois, open eBil's ERP, tap Regenerate Secrets, and paste the Client ID and the new Client Secret into eBil.

TIN Doesn't Match

These LHDN details belong to a different TIN from the one in your Business Profile. Sole proprietors and individuals use their own TIN, starting with IG. Fix it in Business Profile, then tap Save & Connect again.

Business Profile Doesn't Match

LHDN says your Business Profile doesn't match your LHDN connection. Check your TIN and your ID: if you registered eBil in MyInvois as yourself, choose Individual and use your MyKad number; if as your business, choose Company and your SSM number.

LHDN couldn't be reached

LHDN's API has occasional outages. Wait 5 minutes and try again. If persistent, check myinvois.hasil.gov.my directly to see if it's accessible.

"My ERP name is already taken"

Each ERP name has to be unique within your account. Try eBil-1 or eBil-Invoicing.

I lost my Client Secret

MyInvois shows it only once. In MyInvois, open eBil's ERP, tap Regenerate Secrets, and paste the Client ID and the new Client Secret into eBil.

My credentials expired

A Client Secret expires on the date chosen when eBil was registered. In MyInvois, open eBil's ERP and tap Regenerate Secrets. In New Secrets Expiration, change 1 year to 3 years. Then paste the Client ID and the new Client Secret into eBil.

Is this safe?

Yes. Your Client ID and Secret are encrypted at rest in eBil's database using application-layer encryption. They're never logged, never shared, and used only to submit invoices on your behalf.

To disconnect, tap Disconnect on eBil's LHDN Connection screen. eBil deletes your Client ID and Client Secret.

To cut eBil off in MyInvois too, open eBil's ERP, tap Regenerate Secrets, choose the shortest Current Secrets Expiration, and keep the new secrets to yourself. The ones eBil holds stop working when that time is up.

Still stuck?

Tap Help on eBil's LHDN Connection screen and we'll call or WhatsApp you, or email us at hello@ebil.my with the step you're stuck on. We usually respond within a day.