AmpleTrails, Gurugram · since 2012 +91 93154 41053 WhatsApp info@ampletrails.com Developer guide · Guides
Products
Identity verificationBusiness verification (KYB)Bank, income & creditFace match & OCRVideo KYC, eSign & flowsCompliance & riskPayouts & messagingAll 52 APIs
Use cases
Customer onboarding (KYC)Merchant & seller onboarding (KYB)Vendor & supplier verificationEmployee background checksGig and field worker onboardingLoan underwritingPayout and refund validationDuplicate and synthetic identity detection
Industries
Fintech & Digital LendingBanks & NBFCsInsuranceBroking, Mutual Funds & WealthCrypto & VDA PlatformsReal-money GamingE-commerce & MarketplacesStaffing, Gig & HRTelecomMobility & LogisticsReal Estate & RentalsB2B & Procurement
Resources
GuidesGlossaryFAQSecurity & data
DevelopersPricingAbout
Theme
Get API keysCall +91 93154 41053

TAN Verification API

Send a 10-character TAN and, if you have it, the deductor's name. We return whether the TAN is valid, the registered deductor name and category, and a name-match score.

GST lookup 06ABCDE1234F1Z5 Active Legal nameEXAMPLE TRADERS PVT LTDTrade nameExample TradersStateHaryana (06)Registered01 Jul 2017 GSTR-3B, last 12 months Filed Filed late
Source
Income Tax Department TAN records
Turnaround
Real time, usually a few seconds
Endpoint
POST /v1/tan/verify
Who can use it
Any business with a tax-compliance purpose.

Overview

When a client deducts TDS from your invoice, the credit only reaches you if their TAN and return are right. Checking the TAN at onboarding saves a lot of chasing later, especially with new or small clients who may quote the wrong number.

Good to know

A valid TAN doesn't mean the deductor has deposited the TDS. Check Form 26AS for the actual credit.

What you get

  • Name matchMatch the TAN to the company name on the purchase order or contract.
  • Deductor categoryCompany, firm, individual or government, spelled out.
  • Format check firstWe validate the four-letter, five-digit, one-letter format before calling the source.
  • Works in bulkCheck every customer TAN in your receivables ledger before the quarter closes.

Request

POST https://api.ampletrails.com/v1/tan/verify

FieldTypeStatusDescription
id_numberstringRequired10-character TAN
namestringOptionalName to match against the TAN holder

Response

Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.

FieldMeaningExample
tan_statusTAN status: VALID or INVALIDVALID
deductor_nameRegistered name of the deductorEXAMPLE TECHNOLOGIES PRIVATE LIMITED
deductor_categoryCategory, for example Company, Firm or IndividualCompany
name_matchWhether the supplied name matchestrue
name_match_scoreName match score from 0 to 10091

Example

curl -X POST https://api.ampletrails.com/v1/tan/verify \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id_number": "DELE12345A", "name": "Example Technologies Pvt Ltd"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "tan_status": "VALID",
    "deductor_name": "EXAMPLE TECHNOLOGIES PRIVATE LIMITED",
    "deductor_category": "Company",
    "name_match": true,
    "name_match_score": 91
  }
}

Example data. The exact field list for your account comes with your sandbox documentation.

Use cases

Receivables and TDS reconciliation

Make sure TDS deducted by customers will show up against your PAN.

Payroll providers

Confirm the employer's TAN when setting up payroll for a new client.

Government contractors

Check department TANs printed on work orders.

Questions about this API

What's the TAN format?

Four letters, five digits and a letter, for example DELE12345A. The first three letters are the city or jurisdiction code.

Can one company have several TANs?

Yes. Branches and divisions often have their own. Check the TAN printed on the TDS certificate you received.

Does this show TDS deposited?

No. Use Form 26AS to see what has actually been credited to your PAN.

Is a TAN the same as a PAN?

No. PAN identifies the taxpayer; TAN identifies the deductor account used for TDS and TCS.

Try the TAN Verification API

Sandbox keys, the full field reference and a Postman collection, usually within a working day.