Payroll software vendors or AIS employers who are using an in-house payroll system/ software can refer to the AIS file format/ specifications to ensure that their software can submit files that comply with IRAS’ requirements via API.

File format/ specifications for YA 2023 submission

Payroll software vendors or AIS employers who are using an in-house payroll system/ software can refer to the following Year of Assessment (YA) 2023 file format/ specifications.

Type of file format Description

AIS Application Programming Interface (API) Service Specifications

(changes for YA 2023 are highlighted in orange fonts)

Text File Format (.txt)

(changes for YA 2023 are highlighted in orange fonts)

Extensible Markup Language Format (.xml)

Supporting Specifications/ Important Notes

(changes for YA 2023 are highlighted in orange fonts)

For enquiries on the technical file format/ specifications, email us at [email protected].

For AIS employers who are ready to submit your employment income information directly to IRAS via API for the first time, please email us at [email protected].


Will there be changes to the technical file format when IRAS makes changes to the Form IR8A and/ or appendices?

Tax changes and new government initiatives may result in changes to the technical file format/ specifications. We will publish the changes on our website by Aug every year and inform all AIS payroll software vendors via email.

Are there any requirements for API integration?

Yes, our API endpoints have to be triggered from a Server-to-Server connection. Your server/ software/ application must be able to:

  1.  Support the following protocols: HTTP/2, TLS 1.2/1.3, and 
  2.  Trigger HTTP/GET and HTT/POST requests.

A Callback URL is also required to redirect users to the payroll software after Corppass login and consent. The Callback URL must use Fully Qualified Domain Name (FDQN), and meet all of the following requirements:

  1.  Must be able to accept parameters, 
  2.  Must not contain IP address, port number, Hash (#) or Wildcard (*) characters, and
  3.  Must not be the same URL for sandbox and production environments.

Does my payroll system have to support both the TXT and XML formats?

Your payroll system must be able to support at least one of the formats. If your payroll system supports the XML format only, you may refer to the specifications of TXT files for all forms document as a reference for the business rules that apply to the corresponding fields of the XML format.

There are differences between the hardcopy forms and the requirements stated in the file format. Which template should I follow to customise the printouts from my software?

Vendors should mimic the fields in the official copy of the income tax forms ( to customise the printouts. The payroll software should be able to capture these fields’ input based on the file format specifications, and generate the printout accordingly.

For clients who are in the Auto-Inclusion Scheme (AIS), the following statement must be displayed at the top header of the form(s):

“This statement can only be issued by an employer in the Auto-Inclusion Scheme (AIS) and is for your retention. The information in this statement will be automatically included in your income tax return, so you need not declare them in your tax form. You can check if your employer is in the AIS at IRAS website,”


Why doesn't IRAS allow "overwriting" of previous submission when submitting amendment files?

There are instances where the same company has more than one payroll system administrated by different departments or HR personnel as the nature of income is different. For such cases, the amount given in two different files should be added and not overwritten.

To avoid confusion to the filing of employment income details, changes to the amounts must be given as the difference.

Must my payroll software be developed based on IRAS file format specifications?

Employers participating in the Auto-Inclusion Scheme can submit via 2 modes:

a) e-Submission of Employment Income

b) Provident and Tax (PAT) system

IRAS’ file format specifications are for employers submitting via a). If you plan to support employers submitting via b), you must use the file specifications provided by CrimsonLogic. For enquiries pertaining to Provident and Tax system, please contact CrimsonLogic at 6887 7888 or email to [email protected].

Must the files be encrypted as a security feature?

No. IRAS’ applications use the Secure Socket Layers (SSL) technology, which is the industry standard protocol for secure, web-based communications and transactions.  SSL creates a secure communication channel between the server and the consumer’s browser. SSL provides message privacy by encrypting all information exchanged between the web server and the consumer’s browser.