E-Invoice (LHDN MyInvois)
Submit e-invoices to Malaysia's LHDN MyInvois system for tax compliance
E-Invoice (LHDN MyInvois)
BasedInbox supports Malaysia's mandatory e-invoicing system through direct integration with LHDN MyInvois.
What is E-Invoice?
E-invoice is Malaysia's digital invoicing system mandated by Lembaga Hasil Dalam Negeri (LHDN). Starting 2024, businesses must submit invoices electronically in a standardized format.
Key Benefits
- Tax Compliance — Meet LHDN requirements automatically
- Faster Processing — Real-time validation and submission
- Reduced Errors — Automated data validation
- Digital Records — All invoices stored securely
Requirements
Before submitting e-invoices, you need:
- Business Registration — Valid SSM registration
- Tax Identification Number (TIN) — Your company TIN
- Digital Certificate — For signing documents
- MyInvois API Access — Client ID and secret from LHDN
Setting Up E-Invoice
Step 1: Register with LHDN
- Visit the LHDN MyInvois Portal
- Register your business
- Obtain API credentials (Client ID and Secret)
Step 2: Upload Digital Certificate
- Go to Accounting > Certificates
- Click Upload Certificate
- Select your
.p12or.pfxfile - Enter the certificate password
- Verify the certificate details
Step 3: Configure Business Profile
Ensure your business profile is complete:
- Go to Settings > Business Profile
- Verify all fields:
- Legal business name
- Registration number (SSM)
- TIN number
- Complete address
- Contact details
Step 4: Test in Sandbox
Before going live:
- Go to Settings > E-Invoice
- Enable Sandbox Mode
- Submit a test invoice
- Verify it appears in LHDN sandbox
Submitting E-Invoices
From an Invoice
- Create or open an invoice
- Ensure customer TIN is valid
- Click Submit to LHDN
- Wait for validation
- View submission status
Bulk Submission
Submit multiple invoices at once:
- Go to Accounting > Invoices
- Select invoices to submit
- Click Submit Selected
- Monitor progress in Submissions
Submission Status
Track your submissions in Accounting > Submissions:
| Status | Description |
|---|---|
| Pending | Queued for submission |
| Processing | Being validated by LHDN |
| Valid | Successfully submitted |
| Invalid | Validation errors |
| Cancelled | Cancelled by user |
Viewing Details
Click any submission to see:
- Submission UUID
- LHDN response
- Validation errors (if any)
- QR code (for valid invoices)
Document Types
Invoices
Standard sales invoices submitted to LHDN.
Credit Notes
Issue credit notes for:
- Returned goods
- Price adjustments
- Billing corrections
Credit notes must reference the original invoice.
Debit Notes
Issue debit notes for:
- Additional charges
- Price increases
- Service adjustments
Validation Rules
LHDN enforces strict validation. Common requirements:
Business Details
- Valid TIN format
- Matching SSM registration
- Complete address
Customer Details
- Valid customer TIN
- Correct ID type (NRIC, Passport, BRN)
- Contact information
Invoice Details
- Valid currency code
- Correct tax calculations
- Line item totals match invoice total
Troubleshooting
"Invalid TIN"
The TIN format is incorrect or not registered:
- Verify the TIN with LHDN
- Check for typos
- Ensure it matches the registered business
"Certificate Expired"
Your digital certificate has expired:
- Obtain a new certificate from LHDN
- Upload it in Certificates
- Remove the old certificate
"Validation Failed"
Check the error details:
- Open the submission
- Review validation errors
- Fix the invoice
- Resubmit
"Connection Error"
Network or API issues:
- Check your internet connection
- Verify API credentials in Settings
- Try again in a few minutes
Exchange Rates
For foreign currency invoices:
- Exchange rates are fetched from Bank Negara Malaysia (BNM)
- Rates are cached daily
- You can manually override rates if needed
Best Practices
- Validate Before Submitting — Review all details carefully
- Keep Certificates Current — Set reminders for renewal
- Test in Sandbox First — Avoid errors in production
- Monitor Submissions — Check status regularly
- Store QR Codes — Save them for printed invoices
Compliance Timeline
| Date | Requirement |
|---|---|
| Aug 2024 | Large businesses (>RM100M revenue) |
| Jan 2025 | Medium businesses (>RM25M revenue) |
| Jul 2025 | All other businesses |
Stay compliant by setting up e-invoice before your deadline.
Support
For LHDN-specific issues:
- LHDN MyInvois Portal
- LHDN Helpline: 03-8911 1000
For BasedInbox integration issues:
- Email: [email protected]