Skip to main content

GSTR-1 API

GSTR-1 is a monthly or quarterly return for reporting outward supplies (sales). Use these APIs to save invoice data, retrieve summaries, and file returns directly to the GST portal. This API enables automated GSTR-1 compliance covering all invoice types, amendments, credit/debit notes, exports, and HSN summaries.

All GSTR-1 tables

Save and retrieve B2B, B2C, exports, credit/debit notes, and nil supplies across all GSTR-1 tables.

Full filing workflow

From saving invoices to generating EVC OTP and filing—handle the entire compliance workflow via API.

How it works

1

Authenticate taxpayer

Generate OTP and verify to start a taxpayer session valid for 6 hours.
2

Save invoices

Upload invoice data (B2B, B2C, exports, CDN, etc.) to the GST portal.
3

Check return status

Verify saved data and check for errors or warnings.
4

Proceed to file

Generate the summary and mark the return ready for filing.
5

Get summary

Retrieve table-wise summary of GSTR-1 data for review.
6

Generate EVC OTP

Request OTP for Electronic Verification Code to authorize filing.
7

File return

Submit the GSTR-1 return to the GST portal.
8

Verify filing status

Confirm successful filing and retrieve acknowledgment.

Recipes

Step-by-step guides for common GSTR-1 workflows:

API categories

Document APIs

Retrieve invoice and supply data for each GSTR-1 table:
APIGSTR-1 TableDescription
GSTR-1 AT11AAdvances received (tax payable, invoice not issued)
GSTR-1 ATA11A (Amendments)Amendment of advances reported earlier
GSTR-1 B2B4A, 4B, 6B, 6CB2B invoices (incl. SEZ supplies & Deemed exports)
GSTR-1 B2BA9AAmendment of B2B invoices
GSTR-1 B2CL5A, 5BB2C Large invoices (inter-state above threshold)
GSTR-1 B2CLA9AAmendment of B2C Large invoices
GSTR-1 B2CS7B2C Small (rate-wise consolidated)
GSTR-1 B2CSA10Amendment of B2C Small (Table 7)
GSTR-1 CDNR9BCredit/Debit Notes to registered persons
GSTR-1 CDNRA9CAmendment of CDNR (registered)
GSTR-1 CDNUR9BCredit/Debit Notes to unregistered persons
GSTR-1 CDNURA9CAmendment of CDNUR (unregistered)
GSTR-1 Document Issued13Documents issued (invoice series, DN/CN series)
GSTR-1 EXP6AExport invoices
GSTR-1 EXPA9A (Exports)Amendment of export invoices
GSTR-1 NIL Supplies8A–8DNil rated / exempt / non-GST outward supplies
GSTR-1 HSN Summary12HSN-wise summary of outward supplies
GSTR-1 TXP11BAdvance tax adjusted against invoices
GSTR-1 TXPA11B (Amendments)Amendments to advance adjustments
GSTR-1 ECOM14Supplies made through e-commerce operators
GSTR-1 ECOMA14AAmendments to Table 14
GSTR-1 SUPECO15Supplies u/s 9(5) where ECO is liable to pay tax
GSTR-1 SUPECOA15AAmendments to Table 15

Filing APIs

Save invoice data and complete the filing workflow:
APIPurpose
Save GSTR-1Upload invoice JSON to GST portal
Reset GSTR-1Reset saved return data
Proceed to FileGenerate summary and mark return ready for filing
File GSTR-1Submit the return to GST portal

Common APIs

Shared endpoints used across GSTR-1 workflow:
APIPurpose
Generate OTPStart taxpayer authentication
Verify OTPComplete authentication (6-hour session)
Generate EVC OTPRequest OTP for filing authorization
Return StatusCheck status after saving return
Refresh SessionExtend taxpayer session
LogoutEnd taxpayer session

Common use cases

Use GSTR-1 APIs when you need to:
  • Automate monthly or quarterly GSTR-1 filing
  • Bulk upload B2B and B2C invoices from your ERP or accounting system
  • Amend previously filed invoice data
  • File credit/debit notes for registered and unregistered recipients
  • Generate HSN-wise summaries for compliance
  • Build GST compliance into your SaaS platform

Frequently Asked Questions

GSTR-1 is a monthly or quarterly return that registered taxpayers file to report details of outward supplies (sales). It includes B2B invoices, B2C sales, exports, credit/debit notes, and amendments.
  1. Authenticate using OTP to start a 6-hour session
  2. Save invoice data using the Save GSTR-1 API
  3. Check return status for errors
  4. Call Proceed to File to generate summary
  5. Generate EVC OTP for authorization
  6. File the return using File GSTR-1 API
  7. Verify filing status
B2B: Invoices to registered recipients (any value)
B2CL (B2C Large): Inter-state invoices to unregistered recipients exceeding ₹2.5 lakhs
Electronic Verification Code OTP is required to authorize filing. After calling Proceed to File, generate EVC OTP and include it in the File GSTR-1 request.
The session started after OTP verification is valid for 6 hours. Use the Refresh Session API to extend if needed.
Yes, use the Reset GSTR-1 API to clear saved data before filing. This is useful if you need to re-upload corrected invoice data.