Where the tax is actually computed, offset and paid. GSTR-3B is pre-filled from your GSTR-1 and your GSTR-2B, but the final figures are yours — and once filed it cannot be revised.
GSTR-3B is a summary return, due on the 20th for monthly filers, the 22nd or 24th for quarterly ones depending on the state. Two returns feed it: GSTR-1 gives the outward liability, GSTR-2B gives the credit you may claim. Your job in between is the reconciliation, and then the settlement — applying credit and cash until the payable is zero.
Offset is a separate call
Filing a 3B is two calls, not one. retoffset applies credit and cash against the liability; only then will a filing call succeed. A UI that hides this confuses everybody.
Auto-calculated is a suggestion
The portal pre-fills from GSTR-1 and 2B, and validateautocalculatedata tells you where you differ. You are allowed to differ — but your user should know they are doing it.
No revision, ever
A filed 3B stands. Corrections are carried into a later period, which is exactly why the 2B reconciliation is worth doing properly the first time.
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.
The same save-and-poll loop as every other return, with one extra step that only 3B has: the offset.
The offset at step 9 is not optional and not part of filing — it is its own call, and the filing call fails without it.
Four sets of figures carry across periods, and getting them wrong is the most common source of a 3B that will not reconcile a year later.
System-calculated interest
Read it with syscalcintrst. If the taxpayer disputes it, cmpint asks the portal to recompute rather than letting the user simply type over it.
Past liability break-up
liabilitybreakup declares which earlier period a liability belongs to. Without it, interest is computed as though the whole amount arose now.
ITC reversal balance
openingbal and closingbal track credit reversed and later re-claimed. Store both each period — the closing of one is the opening of the next.
Reverse-charge opening balance
rcmopeningbal, rcmclosingbal and the one-time savercmopnbal. Declare it once; guard against a re-send.
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