GSTR-9 API
GSTR-9 is the GST annual return filed once per financial year for each GSTIN. It reports consolidated purchases, sales, input tax credit (ITC), and tax paid. Use these APIs to fetch GSTN-prepared summaries, review Section 8A ITC, save a draft, proceed to filing, generate an EVC OTP, submit the return, and track status on the GST portal.Key capabilities
Auto-calculated annual totals
Section 8A ITC review
Draft save and proceed workflow
EVC OTP filing and status tracking
How it works
Initiate taxpayer session
Fetch current GSTR-9 draft
Fetch auto-calculated annual totals
Fetch Section 8A details
Prepare HSN mapping (if needed)
Save draft
Proceed to filing
Generate EVC OTP, file, and track status
Recipes and guides
File GSTR-9
Error handling guide
Track GST return status
API categories
Draft and summaries
ITC and Section 8A
Filing actions
Status and utilities
API reference
Draft and summary endpoints
| API | Purpose |
|---|---|
| Get GSTR-9 details | Fetch the current GSTR-9 draft for a financial year |
| Get auto-calculated details | Retrieve GSTN auto-calculated annual totals for reconciliation |
| Get Section 8A details | Fetch portal-populated ITC figures under Section 8A |
Filing action endpoints
| API | Purpose |
|---|---|
| Save GSTR-9 | Save prepared values as a draft on the GST portal |
| Proceed GSTR-9 | Trigger GSTN validations and proceed to filing |
| Generate EVC OTP | Request EVC OTP for electronic verification |
| File GSTR-9 | Submit the GSTR-9 annual return to GSTN |
Status and utility endpoints
| API | Purpose |
|---|---|
| Get GST return status | Poll return status until filing confirmation |
| Get HSN | Look up HSN codes for building HSN-level summaries |
Common use cases
Use the GSTR-9 API when you need to:- Consolidate FY sales and purchases in your ERP, then draft and file GSTR-9 for each GSTIN.
- File GSTR-9 in bulk for many GSTINs with a consistent draft-save-proceed-file flow and audit logs.
- Compare auto-calculated values and Section 8A ITC against internal books to spot variances before filing.
- Build a filing timeline UI that polls return status and alerts users when GSTR-9 is filed or needs action.
- Validate HSN codes and build HSN-level summaries using HSN utilities to reduce classification errors.
FAQs
What is GSTR-9 and who needs to file it?
What is GSTR-9 and who needs to file it?
How does the GSTR-9 API filing flow work end-to-end?
How does the GSTR-9 API filing flow work end-to-end?
What are auto-calculated details and how should I use them?
What are auto-calculated details and how should I use them?
What is Section 8A and why does it matter for ITC in GSTR-9?
What is Section 8A and why does it matter for ITC in GSTR-9?
What do I do if filing is submitted but not showing as filed?
What do I do if filing is submitted but not showing as filed?
How does EVC OTP filing work for GSTR-9?
How does EVC OTP filing work for GSTR-9?
What validations should I run before saving or proceeding?
What validations should I run before saving or proceeding?
How should I handle GSTN errors and retries?
How should I handle GSTN errors and retries?