ClearTax BLACK API integration (ITR & OpenFinance)

Protocol analysis and production-ready connectors for ITR filing data, AIS / Form 26AS, and direct mutual fund portfolios across India and NRI segments.

From $300 · Pay-per-call available
OpenData · OpenFinance · Protocol analysis · ITR & SIP

Connect ClearTax BLACK ITR filings and direct mutual fund portfolios to your stack — under user consent

ClearTax BLACK (package in.cleartax.consumer2) carries some of the most regulator-relevant data in Indian fintech: filed ITR forms, parsed Form 16 fields, AIS / 26AS line items, capital-gains imports and direct mutual fund holdings. We deliver the connectors, parsers and hosted endpoints that let your underwriting, accounting, wealth or compliance product treat that information as a structured feed instead of PDFs and screenshots.

ITR filing data export — pull filed ITR-1 to ITR-4 acknowledgements, computation summaries, deductions and refund status as JSON; reconcile against the official income-tax e-filing portal.
Form 16 / multi-Form 16 parsing — when a salaried user has switched jobs, BLACK accepts multiple Form 16s; we expose a single normalized payload of employer, gross salary, 80C, TDS and net taxable income.
AIS & Form 26AS retrieval — wrap the AIS download (Excel, JSON, PDF) into a single statement endpoint that returns TDS, dividend, interest, securities and SFT transactions.
Direct mutual fund & ELSS sync — folio, NAV, units, lock-in status, SIP schedule, and capital-gains data from BLACK's investment screen, ready for portfolio dashboards or §80C proof generation.

What we deliver

Deliverables checklist

  • OpenAPI / Swagger spec for ITR, Form 16, AIS, MF and SIP endpoints
  • Protocol & auth flow report (PAN-OTP login, token refresh, consent receipt)
  • Runnable Python and Node.js sources, Docker compose, sample .env
  • Postman collection plus pytest / Jest test suites with fixtures
  • Compliance pack: data-minimization notes, retention defaults, consent UX text aligned with the Digital Personal Data Protection Act, 2023

Engagement options

Two delivery models, both designed around BLACK's PAN-driven flows:

  • Source code from $300 — runnable connector, parsers and docs handed to your team; you self-host, pay only after acceptance.
  • Pay-per-call hosted API — call our endpoints, get normalized ITR / AIS / portfolio JSON, billed per request with no upfront cost. Useful when filing volume is seasonal (June–September peak) and a hosted SLA is preferable.

Data available for integration

BLACK is one of the few apps in India that simultaneously holds tax-filing artefacts and direct mutual fund portfolio data. Below is the practical data inventory we expose during a typical engagement.

Data typeSource (screen / feature)GranularityTypical use
Filed ITR (1 / 2 / 3 / 4)"My Returns" / acknowledgement screenPer assessment year, line-itemLoan underwriting, NRI compliance, partner KYC
Form 16 (single & multi-employer)"Upload Form 16" flowPer employer, per AYSalary verification, payroll reconciliation
AIS & Form 26AS feede-filing portal proxyPer transaction (TDS, SFT, dividend, interest)360° income view, fraud / source-of-funds checks
Capital gains transactions"Import capital gains" (broker CSV)Per trade, per ISINSTCG/LTCG reporting, tax-loss harvesting tools
Direct mutual fund holdings"Portfolio" / folio summaryPer scheme, NAV-dayWealth dashboards, advisor reports, robo rebalance
SIP schedules & ELSS lock-in"Investments" tabPer mandate, instalment-level§80C proof generation, retirement modelling
Refund / pending dues statusFiling dashboardPer AY status codeCash-flow forecasting, treasury workflows

Typical integration scenarios

1. Salary-loan underwriting

A digital lender requests, with consent, the borrower's last two filed ITRs and the corresponding AIS section. We return a normalized object containing gross income, total deductions, computed tax and TDS reconciliation. Maps to OpenFinance "income view" use cases more reliably than scraping bank statements alone.

2. Wealth-manager portfolio aggregation

A wealth advisor needs to consolidate a client's BLACK-held direct mutual funds with externally held regular plans. The connector pulls folio number, scheme code, NAV, units, SIP mandates and ELSS lock-in dates, then merges with CAMS / KFintech data so dashboards show one ledger.

3. Pre-fill ITR for partner platforms

A neobank or HR portal wants to offer ITR filing inside its app. We mirror BLACK's PAN-based prefill: validate PAN, fetch the e-filing prefill JSON, parse multiple Form 16 PDFs and populate the partner's ITR draft. The user finishes inside the partner UI; we handle the BLACK-style auto regime selection.

4. Compliance & audit trail for CAs

For chartered accountants servicing 100s of clients, we provide a webhook stream: every time a return is filed, refund status changes, or AIS adds a new line item, the firm's practice-management software receives a JSON event with the AY, PAN hash and event type — no daily polling.

5. ELSS §80C investment proof bot

HR departments demand investment proof every January. We expose a single endpoint that returns a verified, time-stamped PDF of the user's ELSS folio and a JSON statement listing 80C-eligible amounts. Saves HR teams the document-collection sprint.

Technical implementation

Auth: PAN + OTP token exchange

POST /api/v1/black/auth
Content-Type: application/json

{
  "pan": "ABCDE1234F",
  "otp": "182936",
  "device_id": "of-lab-7e21",
  "consent_ref": "DPDP-2026-0001"
}

200 OK
{
  "access_token": "<jwt>",
  "refresh_token": "<rt>",
  "expires_in": 1800,
  "scope": "itr:read aif:read mf:read"
}

ITR + AIS unified statement

POST /api/v1/black/statement
Authorization: Bearer <ACCESS_TOKEN>

{
  "pan": "ABCDE1234F",
  "assessment_year": "2025-26",
  "include": ["itr", "form16", "ais", "26as", "capital_gains"]
}

200 OK
{
  "itr": { "form": "ITR-2", "ack_no": "...", "refund": 18420 },
  "form16": [{ "employer_tan": "...", "gross": 1845000 }],
  "ais": { "tds": 142850, "dividend": 6210, "interest": 9380 },
  "capital_gains": { "stcg": 12200, "ltcg": 84700 }
}

Mutual fund webhook (SIP & ELSS)

// Webhook payload — registered URL receives events
POST https://your-app.example/webhooks/black-mf
X-OFLab-Signature: sha256=...

{
  "event": "sip.installment.success",
  "folio": "91234567/00",
  "scheme_code": "INF200K01UM9",
  "scheme_name": "SBI ELSS Tax Saver Direct",
  "amount": 5000,
  "nav": 465.892,
  "units": 10.732,
  "lock_in_until": "2029-04-15",
  "occurred_at": "2026-04-15T08:32:11+05:30"
}

Errors follow RFC 9457 problem-details. Common codes: 401 invalid_consent, 403 scope_missing, 409 ay_not_filed, 429 throttled (peak filing season July–September). All bodies are signed with HMAC-SHA256 and rotated every 14 days.

Compliance & privacy

Regulatory anchors

Connectors are built around four anchors. First, the Income Tax Department's ERI API specifications, which define the prefill, register-client and submit flows for filing. Second, the AMFI distribution framework (BLACK distributes under ARN registration, and we honour AMFI disclosures). Third, the SEBI (Mutual Funds) Regulations, 2026 approved on 17 December 2025, which simplify cost disclosures we mirror in API responses. Fourth, the Digital Personal Data Protection Act, 2023 for consent receipts.

Operational controls

  • Consent reference (consent_ref) required on every call; expires automatically.
  • PAN hashed at rest (SHA-256 with per-tenant pepper) — raw PAN never lands in logs.
  • Field-level redaction toggles (e.g. drop bank account numbers when only income view is needed).
  • Region-locked storage in ap-south-1 by default; export controls for NRI flows.
  • Data retention default 90 days, configurable to "no persistence" (live pass-through).

Data flow / architecture

A typical pipeline runs as: Client app → Consent gateway → BLACK protocol adapter → Normalization & enrichment → Encrypted store + outbound API / webhook → Client backend. The adapter speaks the app's PAN-OTP authentication and prefill protocol; normalization maps Form 16, ITR computation and AIS sections into a single canonical schema; outbound layers serve REST, webhook, or batch CSV depending on the customer.

For high-volume CA / lender deployments we add a stream tap (Kafka / Kinesis) so downstream analytics (refund forecasting, spend categorization, capital-gains classification) run without re-pulling data.

Recent changes & market positioning

Recent app updates (last 24 months)

In 2024–2025 BLACK shipped one-click PAN-based prefill from the government e-filing portal, multi-Form 16 ingestion for job switchers, and bulk import of capital-gains transactions from broker CSVs. Recent ELSS catalogues now reflect SEBI's 2026 cost-disclosure simplifications, which our API surfaces as explicit tex_expense_ratio_v2 fields.

User profile & reach

BLACK is positioned as India's leading consumer ITR e-filing and direct mutual fund app. Primary users are salaried professionals and freelancers across metros and tier-2 cities; growing NRI segment uses it for India-side filings. Available on Android and iOS; an English-first UI with PAN-driven onboarding makes it a fit for B2B partners targeting Indian payroll, lending and wealth segments.

Screenshots

Tap any thumbnail to enlarge. Helpful for mapping API fields back to specific BLACK screens.

BLACK app screenshot 1 BLACK app screenshot 2 BLACK app screenshot 3 BLACK app screenshot 4 BLACK app screenshot 5 BLACK app screenshot 6 BLACK app screenshot 7

Similar apps & integration landscape

Teams building tax or wealth flows in India usually need to plug into more than one source. The apps below sit in adjacent slots; we list them as ecosystem context, not as a comparison.

TaxBuddy

Expert-assisted ITR filing with post-filing notice resolution. A unified income-data feed across BLACK and TaxBuddy is useful when CAs run hybrid practices.

myITreturn

Authorised e-Return Intermediary covering ITR-1 to ITR-4. Holds parsed Form 16 and acknowledgement data that can be normalized alongside BLACK exports.

Tax2Win

One-click Form 16 upload and CA-assisted plans. Customers often want a consistent Form 16 schema across Tax2Win and BLACK uploads.

IndiaFilings

Supports ITR-1 to ITR-7 plus GST, ROC and trademark workflows. Useful for SME portfolios where personal ITR sits next to company filings.

Quicko

Imports trade P&L from brokers and recommends a tax regime. Pairs naturally with BLACK's capital-gains import for derivatives traders.

All India ITR

Mobile-first ITR app with expense categorization and live chat. Shares the same PAN-OTP-and-Form-16 mental model BLACK exposes.

AIS for Taxpayer (Income Tax Dept.)

Official mobile app for the Annual Information Statement. Acts as the upstream source many BLACK exports cross-check against.

Zerodha Coin

Direct mutual fund platform. Investors holding ELSS in both Coin and BLACK need a unified portfolio view for §80C reporting.

Groww

Mass-market investment app covering MFs, stocks and US equities. Capital-gains exports here often need to merge with BLACK's tax computations.

Kuvera

Direct MF and goal-based investing. Common in advisor stacks; combining Kuvera holdings with BLACK ITR data closes the wealth-plus-tax loop.

Paytm Money

Stocks, MFs and NPS in one app. Customers regularly want capital-gains and dividend data flowing into BLACK-style tax computation engines.

About OpenFinance Lab

We are an independent studio focused on fintech protocol analysis, OpenData connectors, and authorised API integration. The team has shipped ITR, AIS, payments and wealth integrations for Indian banks, NBFCs, neobanks and global wealth platforms.

  • Tax, payroll, lending, wealth and cross-border clearing experience
  • Custom Python / Node.js / Go SDKs and Postman test harnesses
  • End-to-end pipeline: protocol analysis → build → validation → compliance
  • Source code delivery from $300; pay only after acceptance
  • Pay-per-call hosted API for seasonal ITR-filing volumes

Contact

Send us your target app and the exact data fields you need. We respond with scope, timeline and pricing within one business day.

Contact page

Engagement workflow

  1. Scope confirmation: which BLACK objects you need (ITR / Form 16 / AIS / MF / SIP).
  2. Protocol analysis & consent design (2–5 business days).
  3. Build, parser tuning & internal validation (3–8 business days).
  4. Documentation, Postman collection, sample test cases (1–2 business days).
  5. Typical first delivery 5–15 business days; AIS-grade pipelines may take 2–3 weeks.

FAQ

What ClearTax BLACK data can be exported through API integration?

Filed ITR returns and acknowledgements, parsed Form 16 fields, AIS / Form 26AS line items, capital-gains transactions imported during filing, mutual fund holdings (folio, NAV, units, scheme), SIP schedules and ELSS lock-in status, plus user KYC status flags.

How long does a first ClearTax BLACK integration take?

Typically 5–12 business days for a first drop covering authentication, ITR/Form 16 retrieval and an Excel/JSON export. AIS-grade pipelines or scheduled SIP webhooks may take 2–3 weeks depending on consent and ERI scope.

Is this approach compliant with Indian tax and SEBI rules?

We rely on user consent, documented public flows, the Income Tax Department's ERI specifications, AMFI-registered distribution data, and SEBI (Mutual Funds) Regulations 2026 disclosures. No credentials are persisted beyond the consent window; full audit logs are produced.

Can the same connector also reach AIS / Form 26AS?

Yes. The Annual Information Statement and Form 26AS expose Excel, JSON and PDF downloads from the e-filing portal. We wrap them as a single normalized statement endpoint that returns AIS sections such as TDS, dividend, interest and securities transactions.
📱 Original app overview (appendix)

Income Tax Filing, ITR - Black (package in.cleartax.consumer2) — also marketed as the BLACK App by ClearTax — positions itself as India's #1 ITR e-filing platform and direct mutual fund investment app. The core promise is finishing income-tax e-filing in roughly three minutes through three steps, with PAN-based prefill, multi-Form 16 ingestion and bulk capital-gains import from broker CSVs.

The filing flow exposes two entry paths. Option 1 uses pre-filled data from the government-authorised e-filing portal: pick the prefill option, sign in with PAN as username, review or edit, then submit. Option 2 accepts a Form 16 (or several, when the user has switched jobs within a financial year); BLACK reads each Form 16, reconciles deductions and computes the return. Both paths feature auto regime selection and auto ITR-form detection.

On the investment side, BLACK offers direct mutual fund plans across large-cap, small-cap, ELSS, liquid, debt, balanced and high-performance categories. Users can curate a fund pack themselves, choose lump-sum or SIP, complete KYC online, link a bank account and invest commission-free. ELSS support specifically targets the §80C tax-saving cap of Rs 46,800. The app surfaces folio numbers, performance and SIP / ELSS status, and is accompanied by tools such as the ELSS calculator on the ClearTax web property.

Important disclaimer reproduced from the app's own listing: BLACK is independent and privately owned, sourcing certain information from incometaxindia.gov.in, and is not affiliated with the Income Tax Department of the Government of India. Likewise, OpenFinance Lab is not affiliated with ClearTax / Defmacro Software Private Limited; this page describes integration positioning only.

Last updated: 2026-05-03