Search TIN
Search for a Tax Identification Number (TIN) using the MyInvois API. The company_id is automatically injected from the OAuth token.
Headers
- Type: stringFormat: uuidX
- Request - I D Optional client-generated UUID used to correlate this request with support and logs.
Body·
required
application/json
V1 search-tin request body.
- Type: stringregistration
_document _type requiredThe
registration_document_typevalue. - Type: stringregistration
_number requiredThe
registration_numbervalue. - Type: stringnullablecompany
_id The
company_idvalue. - Type: stringnullablename
The
namevalue.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/api/search-tin
curl https://ar.jomeinvoice.my/api/search-tin \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"company_id": 1,
"name": "Buyer Company",
"registration_document_type": "BRN",
"registration_number": "12345678"
}'
{
"data": [
{
"name": "Example Company Sdn Bhd",
"registration_document_type": "BRN",
"registration_number": "12345678",
"status": "active",
"tin": "1234567890",
"verified": true
}
],
"message": "TIN search is successful",
"requestId": "123e4567-e89b-12d3-a456-426614174000",
"status": "success"
}