Back to Templates
Malaysia's Inland Revenue (LHDN) provides an API to get the tax id number for a business entity, based on a given Business Registration number (BRN or SSM), or NRIC (MyKad).
However, the API only allows one search at a time.
This free workflow lets you do a batch search to get TIN for multiple SSM or NRIC.
This is useful if you need to prepare your internal DB for e-invoicing
Get your connection client id and client secret from myhasil.gov.my website
Prepare your Google Sheet containing a list of SSM and NRIC you want to get the TIN
Create N8N credential to connect to your google sheet above
Questions? Ask alex at halfborg dot com. I will try to help if I can