Every sale you report, invoice by invoice. GSTR-1 is the heaviest call in the cycle and the one everything downstream is built on: your buyer's GSTR-2B, and your own GSTR-3B liability.
GSTR-1 is a statement of outward supplies, filed monthly on the 11th, or quarterly under QRMP with the IFF covering the first two months. It is not a payment return — no tax is settled here. What it does is populate your buyers' GSTR-2A and GSTR-2B, and pre-fill your own GSTR-3B. A mistake here shows up in someone else's credit, which is why amendments get their own form.
Save is not file
A save returns a reference id. The portal processes it in the background, and the data is not in the return until the status reads P. Two different things, two different buttons.
Build it in sections
The payload is a set of named blocks. Save them together or a few at a time, but keep the builders separate — the error report comes back per section.
It cannot be revised
Once filed, a GSTR-1 stays filed. Corrections go through GSTR-1A for the same period, before you file GSTR-3B.
Each block of the payload has a read endpoint of the same name, so you can pull back what the portal holds for any one of them. Where a section has an amendment twin, its name ends in a.
Read any section with GET /gstr1/<section>?gstin=&retperiod= — for example /gstr1/b2b. The same paths exist under /gstr1a/ for amendments.
Beyond the per-section reads above, these are the calls that move a GSTR-1 through its life.
No return API works without a live taxpayer session. Every flow on this site starts the same way, and the session is shared across returns — authenticate once per taxpayer, not once per return.
The one that catches everyone: GET calls carry the period in the query string as retperiod, while PUT and POST carry it as a header named ret_period.
One loop — the save status — and one fork at the end between DSC and EVC.
Step 10 is a fork, not two steps: the user signs with a DSC or with an EVC OTP, never both.
A filed GSTR-1 cannot be edited. GSTR-1A corrects the same period, and it has a window: after GSTR-1 is filed and before GSTR-3B for that period. Use it rather than carrying the correction into the next month, so the liability lands where it belongs.
Note the two extra steps: GSTR-1A has proceedfile and retsubmit, which plain GSTR-1 does not. Build it as its own flow rather than reusing the GSTR-1 one.
A save never returns a result — it returns a reference id. Poll GET /gstr/retstatus?gstin=&returnperiod=&refid= with that id until the portal reports one of these, and never call a filing endpoint while the latest save is not P.
Session expired
Try one refresh. If that fails, ask for a new OTP. Never auto-retry a File call.
A File call that timed out
Do not send it again. Check return track first — if it already shows Filed, store the ARN from there.
Polling
Exponential back-off with a maximum number of attempts, in a queue job rather than the web request.
Concurrency
One txn per call, and a lock per GSTIN + period + form so two users cannot save or file at once.
Audit
Store request, response, txn, reference id and error_cd for every call. Support tickets always ask for the txn.
The ticks are yours alone — nothing is saved or sent anywhere.
Stuck on one of these calls against a sandbox GSTIN? The agent knows these flows.
Ask the GST AI Agent All return guidesWe use cookies to give you the best possible experience while you browse through our website. By pursuing the use of our website you implicitly agree to the usage of cookies on this site. Learn more