GSTN portal does not allow direct browser-to-portal fetch due to CORS + mandatory OTP login. There are 3 practical routes:
Recommended: Manual Portal Download → Drag & Drop (fastest)
- Click "Open GSTN Portal" below.
- Login with PAN/GSTIN + OTP.
- Go to Returns Dashboard → Select Period → GSTR 2B → Download → Generate JSON.
- Repeat for each section (B2B / CDNR / ISD / IMPG) and each month you need.
- Drag-and-drop all downloaded JSON files onto the GSTR 2B Data tab — multi-file import will merge them automatically.
Advanced: Python helper script (local)
A Python script using Selenium can automate the browser. Saved at portal_fetch.py in this folder — edit credentials and run python portal_fetch.py.
GSP API (paid)
GST Suvidha Providers (Cygnet / ClearTax / Taxmann) expose authenticated APIs. Requires a signed contract and API key — contact your GSP to integrate.
Never paste your GSTN password or OTP into any web app, including this one. Downloads must be triggered from the official GSTN portal.