Skip to content

FousMyTax

Check your MyTax PCB uploads from your own code

Read the results of your e-Data PCB uploads and your e-Filing acknowledgement receipts from MyTax with one API call each. A workflow checks every employer's PCB file before the 15th of each month and emails you the ones marked Gagal.

Works with your own MyTax account. Fous is an independent product.

What you can build on MyTax

  • List uploaded e-Data PCB files

    Build this

    Reads Senarai Fail Dimuat Naik (list of uploaded files) in e-Data PCB for the employer chosen in Pilihan Peranan, with each file's Keputusan (result).

    Takes
    Employer, month (optional)
    Returns
    File name, file type, uploaded date, result, errors for a failed file
  • Get e-Filing acknowledgement receipts

    Build this

    Reads the returns submitted through e-Filing for one employer or company, such as Form E or Form C, with the acknowledgement receipt of each.

    Takes
    Employer or company, form (optional), year of assessment (optional)
    Returns
    Form, year of assessment, submitted date, acknowledgement receipt
  • Upload an e-Data PCB file and read its test

    Build this

    Uploads a payroll .txt or .zip file in e-Data PCB, refreshes until Keputusan is shown and reads Laporan Ujian Data. It stops before Pengesahan and Bayaran.

    Takes
    Employer, PCB data file (.txt or .zip)
    Returns
    File name, result, errors from Laporan Ujian Data

Automate MyTax with a workflow

A workflow runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

  • Catch PCB files marked Gagal before the 15th

    Build this
    Starts
    Every month on the 10th at 9:00, Malaysia time
    Step 1
    For each employer you name, list the uploaded e-Data PCB files for last month.
    Step 2
    Keep the employers whose file is marked Gagal, or who have no file for that month.
    Step 3
    Email you the list with each employer, file name and the errors from Laporan Ujian Data.
  • Send new e-Filing acknowledgement receipts to your records

    Build this
    Starts
    Every Monday at 8:00, Malaysia time
    Step 1
    For each employer or company, get the e-Filing acknowledgement receipts for the current year of assessment.
    Step 2
    Keep the receipts that were not there on the last run.
    Step 3
    Post employer, form, year of assessment and submitted date to your webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

Once built, one call from your code

Once you have built a method, it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “List uploaded e-Data PCB files” would look like.

Example request
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "mytax.hasil.gov.my/list_e_data_pcb_files",
    "input": {
      "employer": "Acme Sdn Bhd",
      "month": "2026-10"
    }
  }'
Example response
{
  "status": "completed",
  "data": {
    "employer": "Acme Sdn Bhd",
    "month": "2026-10",
    "files": [
      {
        "file_name": "PCB_102026_ACME.txt",
        "file_type": "txt",
        "uploaded_at": "2026-11-07",
        "result": "Gagal",
        "errors": [
          {
            "row": 14,
            "field": "Income tax number",
            "message": "Invalid format"
          }
        ]
      }
    ],
    "count": 1
  }
}

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

MyTax’s own options

HASiL offers no API for monthly tax deductions or return forms. Employers submit MTD (PCB) only through e-PCB, e-Data PCB or e-CP39 on MyTax, free of charge, and e-Data PCB takes the payroll data as a .txt or .zip file. HASiL's MyInvois API covers e-invoices only.

OptionWhat it coversWhat it takes
e-Data PCB file uploadMonthly MTD data for all employees from a computerized payroll system, then payment by FPX or a bank slip.A .txt file from your payroll system, or a .zip for data of 2 MB and above. Free on MyTax.
Internet bankingEmployees' PCB data filled in and paid through a bank's internet banking.Internet banking with a bank that offers it. IBG payments use the PCB/CP39 account number.
MyInvois APIe-Invoice documents and platform functions for a taxpayer's or intermediary's ERP system. Not PCB or return forms.An ERP system that authenticates as the taxpayer or as an intermediary.
MyTax by hande-PCB Plus, e-Filing, e-CP22, e-SPC and the rest of ezHasil Services, one role at a time.A MyTax login, with the employer or company chosen in Pilihan Peranan.

Read on November 12, 2026: HASiL: MTD payment, HASiL: Employer's responsibility, MyInvois API.

Signing in to MyTax

MyTax asks you to pick a Jenis Pengenalan (MyKad/MyPR/MyKAS, or passport or other document), enter the number, then your Kata Laluan (password). After signing in you choose a role in Pilihan Peranan, such as Majikan (employer). With Fous you sign in once through MyTax's own sign-in with your own account: the login is sealed with AES-256, and an expired session is signed back in.

Worth knowing

PCB is due by the 15th
MTD must reach HASiL on or before the 15th day of the following month. Employers may use only e-PCB, e-Data PCB or e-CP39 on MyTax to submit the MTD statement or data.
Over 2 MB, upload a .zip
e-Data PCB takes a textfile format (.txt) or a zip file (.zip). Data of 2 MB and above must be converted from .txt to .zip before you upload it.
A failed file is deleted and uploaded again
A file whose Keputusan is Gagal shows its errors in Laporan Ujian Data. You delete it, correct the data and upload again before Pengesahan and Bayaran.
Form E needs C.P.8D by 31 March
Employers file Form E through e-Filing on or before 31 March of the following year, and it counts as complete only with C.P.8D, unless the data went in through e-Data Praisi.

More in Government: East and South-East Asia, Oceania

Other industries: FBR IRIS, My ARC, Aportes en Línea, CIPC eServices, SGK İşveren Sistemi, net-entreprises.fr.

Frequently asked questions

No, not for PCB or return forms. HASiL lets employers submit MTD only through e-PCB, e-Data PCB or e-CP39 on MyTax, and e-Data PCB takes a .txt or .zip file you upload. HASiL's MyInvois API is for e-invoices.

On or before the 15th day of the following month. The MTD for October salaries, for example, must reach HASiL by 15 November, through e-PCB, e-Data PCB or e-CP39.

The file did not pass HASiL's data test. Open Laporan Ujian Data and click Gagal to see each error, correct your payroll data, delete the failed file and upload it again. Files of 2 MB and above go in as .zip.

Yes. You can submit through e-PCB or e-CP39 instead, both free on MyTax, then pay by FPX, or by IBG at a bank counter or in internet banking with the PCB/CP39 account number. Internet banking can also take employees' PCB data and the payment at the bank.

No. Fous is an independent product. You use it with your own MyTax account, and a method reads and does only what that account can.

Put MyTax behind an API call

Describe one job in Studio and see the method it builds, with 100 credits a month and no credit card, or book a demo and bring the sites your team signs in to.

Read next登記情報提供サービスCổng thông tin hóa đơn điện tửSIPP OnlineFBR IRISHow methods workHow workflows run

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of MyTax (Lembaga Hasil Dalam Negeri Malaysia (Inland Revenue Board of Malaysia, HASiL)). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.