LHDN Compliant · MyInvois API · iOS App Suite

Malaysia's
Smartest Tax
Companion

Two purpose-built apps for the Malaysian tax ecosystem — one for businesses managing e-invoices, one for employees filing their EA forms. Built by EGK. Built for Malaysia.

📊 EGK MyTax AI — Business & e-Invoice 📋 EGK Borang EA — Employee Tax
Scroll
EGK Mushi AI Mascot
Meet Mushi · EGK IP Mascot

Tax Made
Intelligent

Mushi is EGK's AI companion embedded across our apps — helping Malaysian SMEs and employees navigate the complex LHDN ecosystem with confidence. From scanning receipts to submitting e-invoices and filling Borang EA, Mushi has you covered.

Explore Apps →
🏛️ Aligned with LHDN MyInvois SDK
EGK Tax Suite

Two Apps.
One Mission.

Whether you're running a business or filing your annual income tax — EGK has a dedicated, offline-capable app for you.

For Businesses & SMEs
MyTax AI

EGK MyTax AI

e-Invoice · SST · Business Tax

A complete business tax management suite with LHDN MyInvois API integration, receipt scanning (camera + QR), SST tracking, and AI-powered tax forecasting — built for Malaysian SMEs.

  • MyInvois e-Invoice — Submit, validate & cancel documents directly via LHDN API
  • Receipt Scanner — Vision OCR + QR code detection for LHDN e-invoice receipts
  • SST Tracking — Auto-calculate SST payable, collected vs. paid
  • P&L Dashboard — Monthly income vs. expense breakdown with CP204 calculator
  • AI Tax Forecast (Pro) — Estimated tax payable & instalment planner
  • Export CSV / JSON — For your accountant or audit trail
Get MyTax AI →
For Employers
Borang EA

EGK Borang EA

Employee Annual Tax Form

A dedicated Borang EA (CP8A) form manager for Malaysian employees — fill in all sections (A through E), track PCB deductions, EPF & SOCSO contributions, and generate ready-to-file summaries.

  • Full Borang EA / CP8A — All Sections A–E: employee details, income, pension, deductions, EPF
  • Multi-Year Records — Store EA forms across multiple years in one place
  • Benefits-in-Kind — Accommodation, ESOS, gratuity, arrears tracking
  • PCB & CP38 Tracking — Scheduled tax deductions + zakat, approved donations
  • EPF, SOCSO, EIS — Section E employee & employer contributions
  • Tax-Exempt Allowances — Section F allowances auto-calculated
Get Borang EA →
Side by Side

Which App Is For You?

EGK MyTax AI and EGK Borang EA are companion apps — both LHDN-aligned, both offline-capable, and designed together for the complete Malaysian tax journey.

Feature
EGK MyTax AI
For Businesses
EGK Borang EA
For Employers
Target User
SME Owners, Sole Traders
Salaried Employees
HR / Payroll Officers
LHDN Compliance
MyInvois e-Invoice Submission
TIN Validation (API)
Borang EA / CP8A Form
PCB / CP38 Deduction Tracking
SST Collection & Payment Tracking
Features
Receipt Scanning (Camera + QR)
Multi-Year Tax Records
Offline-First (No Internet Needed)
EPF / SOCSO Tracking
CSV / JSON Export
AI Tax Forecast (Pro)
For Business Owners

Getting Started with
the MyInvois API

LHDN's MyInvois API is provided free of charge by the Malaysian government. EGK MyTax AI handles all the API complexity — here's how to get your credentials.

01

Register on MyInvois Portal

Visit myinvois.hasil.gov.my and register your company using your SSM registration number and TIN. The portal is managed by LHDN (Hasil).

02

Create Taxpayer API Client

In the MyInvois portal, navigate to Settings → API Clients and create a new client. You will receive a Client ID and Client Secret. Keep these secure.

03

Test on Preprod (Sandbox)

LHDN provides a free sandbox at preprod-api.myinvois.hasil.gov.my. EGK MyTax AI defaults to sandbox mode so you can test safely before going live.

04

Enter Credentials in EGK App

Open EGK MyTax AI → More → Company Profile → MyInvois Settings. Enter your Client ID and Secret. The app authenticates automatically using OAuth 2.0 client credentials.

05

Validate Your TIN

Use the built-in TIN validator to confirm your customer's Tax Identification Number before submitting any e-invoice. This prevents rejections from LHDN.

06

Go Live

Switch from sandbox to production in Company Profile. All subsequent invoice submissions go to the live LHDN system. Validated invoices receive a UUID and QR code from LHDN.

MyInvois API — OAuth Token Request (handled automatically by EGK MyTax AI)
// Step 1: Authenticate — POST /connect/token
// Base URL: https://api.myinvois.hasil.gov.my  (production)
//           https://preprod-api.myinvois.hasil.gov.my  (sandbox — free testing)

let tokenURL = "https://preprod-api.myinvois.hasil.gov.my/connect/token"

let body = "client_id=YOUR_CLIENT_ID"
         + "&client_secret=YOUR_CLIENT_SECRET"
         + "&grant_type=client_credentials"
         + "&scope=InvoicingAPI"

// Response: { "access_token": "...", "expires_in": 3600 }

// Step 2: Submit e-Invoice — POST /api/v1.0/documents/submit
// EGK MyTax AI builds the full UBL 2.1 JSON document for you

let submitURL = "https://preprod-api.myinvois.hasil.gov.my/api/v1.0/documents/submit"
// Headers: Content-Type: application/json
//          Authorization: Bearer {access_token}

// Step 3: Check Status — GET /api/v1.0/documents/{uuid}/details
// Status: valid | invalid | cancelled | submitted | pending

// Step 4: Validate Customer TIN — GET /api/v1.0/taxpayer/validate/{tin}
// ?idType=BRN&idValue=202301234567
// HTTP 200 = valid | HTTP 400/404 = invalid TIN

// ✅ All of the above is automated inside EGK MyTax AI.
//    Just enter your Client ID + Secret in Company Profile.
//    SDK Docs: https://sdk.myinvois.hasil.gov.my
Pricing

Simple, Transparent Plans

Both apps are free to download. Pro unlocks AI-powered features and unlimited records.

EGK MyTax AI

For Malaysian Businesses

Free to download
Pro from RM 79/mo · RM 758/yr
  • 50 receipts/month (Free) · Unlimited (Pro)
  • MyInvois e-Invoice submission — FREE (LHDN API)
  • QR & camera receipt scanning
  • SST tracking & auto-categorisation
  • Basic P&L reports, CSV/JSON export
  • Pro: AI Tax Forecast, CP204 Calculator, Ask AI Accountant, Bank Reconciliation
🍎 Download on App Store
EGK Borang EA

For Malaysian Employees

RM89.90 to download
All features included — no subscription needed
  • Full Borang EA / CP8A Form (Sections A–F)
  • Multi-year EA form storage
  • PCB, CP38, Zakat, approved donation tracking
  • EPF, SOCSO, EIS contributions (Section E)
  • Benefits-in-kind, gratuity, ESOS, arrears
  • Summary dashboard — total income, PCB, KWSP
🍎 Download on App Store
EGK Sulit Kerajaan - Secure & Official
Privacy & Security · EGK Sulit Kerajaan

Your Tax Data
Stays Yours

EGK apps are built offline-first. Your financial data is stored locally on your iPhone using encrypted UserDefaults — never uploaded to our servers without your explicit action.

Receipt scanning uses Apple's on-device Vision framework and Foundation Models (Apple Intelligence) where available — your receipt text never leaves your device. MyInvois submissions go directly from your phone to LHDN's servers, not through EGK.