Finpass API Collection
  1. GST Analyser
  • Introduction
  • Bureau
    • Commercial Credit Report
      POST
    • Multi-Bureau Fetch
      POST
  • Bank Statement Analyser
    • Batch Upload Statements
      POST
    • Batch Result
      GET
    • Upload Statement
      POST
    • Statement Result
      GET
  • Account Aggregator
    • Initialize
      POST
    • Fetch JSON Report
      POST
    • Fetch PDF Report
      POST
    • Refresh Data
      POST
  • Corporate
    • CIN Lookup
      POST
    • LLPIN
      POST
    • PAN Lookup
      POST
    • Company Autocomplete
      POST
  • EPFO
    • Fetch EPFO Data by Mobile Number
      POST
    • EPFO-CRIF Combined Report
      POST
  • ITR Analyzer
    • Initialize
      POST
    • Status
      POST
    • ITR Analyzer — Get Full Data
      POST
    • Create ITR Login Client
      POST
    • Check Credential
      POST
    • Generate 2FA
      POST
    • Submit 2FA OTP
      POST
    • Initiate ITR Password Reset
      POST
    • Confirm Password Reset (Submit OTP)
      POST
  • AA-BSA Analyzer
    • Initialize
    • Status
    • AA BSA — Statement Result
    • AA BSA — Analysis JSON
  • GST Analyser
    • Analyze
      POST
    • Status
      POST
    • GST Data
      POST
  • Hosted Collection
    • Create ITR Collection Session
    • Create GST Collection Session
  1. GST Analyser

GST Data

POST
/api/v1/services/gst-analyzer/data

Fetch GST Analysis Data#

Endpoint Overview
POST /api/v1/services/gst-analyzer/data

Description#

The Fetch GST Analysis Data API returns the complete structured payload for a completed GST analysis job. This includes the taxpayer's profile, period-wise filing status, computed analysis summary, monthly turnover/tax breakdowns, and signed URLs to downloadable PDF and Excel reports.
This is the final step in the GST Analyzer workflow (initiate → poll status → fetch data). The endpoint should only be called once the status endpoint reports status: "completed". Billing for the analysis is triggered on the first successful data fetch.
Key Benefits
Comprehensive Output — Profile, filings, computed metrics, monthly data, and report URLs in a single response.
Downloadable Reports — Ready-to-share PDF and Excel artifacts for end-customer delivery and audit trails.
Structured for Automation — JSON payload designed for direct ingestion into underwriting, risk, and accounting systems.
Idempotent Retrieval — Re-fetchable as long as the job's data retention window allows.

Use Cases#

Lending & NBFC
Accounting & Audit
B2B Marketplaces
Feed analysis_summary and monthly_data into credit decisioning models for turnover-based underwriting.
Attach pdf_report_url to loan files as documentary evidence of GST compliance review.
Cross-reference reported GSTIN turnover with bank statement deposits for income verification.

Technical Implementation#

1
Authentication
All API requests require authentication using API key headers. Authentication follows these steps:
1.
Obtain API Credentials: Register with Finpass to receive your X-API-KEY and X-API-Secret.
2.
Include in Requests: Add both headers to every request — X-API-KEY: <your_key> and X-API-Secret: <your_secret>.
3.
Use Environment-Specific Credentials: Use separate keys for sandbox and production.
The production environment base URL is:
Production: https://api.finpass.ai
Never expose API credentials in client-side code; always proxy requests through your backend.
2
Request Parameters

Request Headers#

HeaderRequiredDescription
X-API-KEYYesYour Finpass-issued API key.
X-API-SecretYesYour Finpass-issued API secret paired with the key.
Content-TypeYesMust be set to application/json.

Request Body#

ParameterTypeRequiredDescription
doc_idstringYesThe unique job identifier returned by the /analyze endpoint. The associated job must be in completed status.

Example Request#

{
  "doc_id": "GST-xxxxxxxxxxxxxxxx"
}
3
Process Response

Response Parameters#

ParameterTypeDescription
successbooleanIndicates whether the data fetch succeeded.
dataobjectContainer holding the full analysis payload.
data.doc_idstringThe GST analysis job identifier.
data.job_idstringUpstream job identifier (internal reference).
data.statusstringFinal job status — will be completed.
data.gstinstringGSTIN of the analyzed entity.
data.business_namestringRegistered business name of the entity.
data.profileobjectFull taxpayer profile from the GST portal (address, registration type, etc.).
data.filing_statusobjectPer-period filing status for GSTR-1, GSTR-3B, GSTR-9, etc.
data.analysis_summaryobjectComputed compliance and turnover metrics derived from filings.
data.monthly_dataarrayPeriod-wise breakdown of returns, turnover, and tax liability.
data.pdf_report_urlstringSigned URL to download the PDF analysis report.
data.excel_report_urlstringSigned URL to download the Excel analysis report.

Example Successful Response#

{
  "success": true,
  "data": {
    "doc_id": "GST-xxxxxxxxxxxxxxxx",
    "job_id": "upstream-job-id",
    "status": "completed",
    "gstin": "27AAAAA0000A1Z5",
    "business_name": "ACME Pvt Ltd",
    "profile": { },
    "filing_status": { },
    "analysis_summary": { },
    "monthly_data": [ ],
    "pdf_report_url": "https://...",
    "excel_report_url": "https://..."
  }
}

Possible Error Responses#

Job Not Completed
Document Not Found
Unauthorized
Job Failed
{
  "success": false,
  "error": {
    "code": "JOB_NOT_COMPLETED",
    "message": "Analysis is still in progress. Poll the status endpoint."
  }
}
Returned when the data endpoint is called before the underlying job reaches completed status. Continue polling the status endpoint until completion.

Integration Best Practices#

Security Recommendations
Always invoke this endpoint over HTTPS and validate TLS certificates.
Treat the returned profile, filing_status, and monthly_data as sensitive personal/business data; encrypt at rest and restrict access.
Download pdf_report_url and excel_report_url server-side and re-serve through your own access-controlled storage rather than exposing signed URLs to end users directly.
Set a clear retention policy for the response payload and downloaded reports in line with applicable data protection laws.
Use separate API credentials for sandbox and production environments.
User Experience Guidelines
Only call this endpoint after the status endpoint reports status: "completed" to avoid JOB_NOT_COMPLETED errors.
Present analysis_summary highlights (turnover, compliance score, filing punctuality) prominently before deep-diving into monthly_data.
Offer end users a one-click download of the PDF and Excel reports for offline review.
Surface a clear "re-run analysis" path if data appears stale, rather than letting users guess.
Localize timestamps and currency formatting for the end user's locale.

Code Samples#

cURL
Python
Node.js
Related APIs
Initiate GST Analysis — Starts the asynchronous job that produces the data returned by this endpoint.
GST Analyzer Status — Polled until completion before calling this endpoint; surfaces granular processing progress.
GSTIN Verification — Lightweight synchronous endpoint for validating GSTINs without invoking a full analysis.
ITR Analyzer — Companion API for fetching and analyzing Income Tax Return filings alongside GST data.
Compliance and Legal Considerations
The response payload contains sensitive taxpayer information including GSTIN, business identifiers, filing history, and tax liability data. Handling, storage, and onward sharing of this data must comply with India's Digital Personal Data Protection Act, 2023 (DPDP Act), the Information Technology Act, 2000, and any applicable sectoral regulations (e.g., RBI guidelines for regulated lenders). Define and publish a clear retention period, restrict access on a need-to-know basis, log all access for audit purposes, and provide the underlying taxpayer with a mechanism to request data deletion in accordance with their statutory rights.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.finpass.ai/api/v1/services/gst-analyzer/data' \
--header 'x-api-key;' \
--header 'x-api-secret;' \
--header 'Content-Type: application/json' \
--data '{
    "doc_id": "GST-xxxxxxxxxxxxxxxx"
}'
Response Response Example
{}
Previous
Status
Next
Create ITR Collection Session
Built with