Before you start
- Reconcile the return figures with GSTR-1 and GSTR-2B. File GSTR-1 for this period and any outstanding earlier GSTR-3B returns. If GSTR-1 is not filed for the period, GSTN returns
RT-R3BQ1004. - Create a taxpayer session. The taxpayer must enable API access in the GST Portal. Keep the session valid throughout payment and filing.
- Confirm that the taxpayer can file through EVC. Have the authorized signatory’s PAN ready and arrange for them to share the filing OTP.
authorization and your Sandbox API key in x-api-key.
Endpoint paths are relative to https://api.sandbox.co.in/gst/compliance/tax-payer. Use the same GSTIN and return period throughout. Pass {year}/{month} in the path and MMYYYY in the body’s ret_period.
Review an existing return, if needed
Review an existing return, if needed
If you are resuming work on a return, call Get GSTR-3B Details to review the figures and payment information already recorded. Check Track returns for its filing status before saving or paying again.A filed return needs no further filing action. If payment is already complete, continue with the filing steps rather than sending Offset again.
Read the existing return
File the return
Save the return figures
Send the taxpayer’s reviewed figures to Save GSTR-3B. Include
gstin, ret_period and the applicable return sections from the request schema.Save records the input tax credit, or ITC, claimed for this period. For example, a net IGST credit claim of ₹200 after reversals goes in itc_elg.itc_net.iamt. Include the supporting credit and reversal details in the return.gstr-3b.json contains your complete Save body. Save is asynchronous. Keep data.data.reference_id to check processing in the next step.Wait for Save to finish
Call GST return status with the reference returned by Save.Check that
Check Save processing
data.status_cd is "1", then read the processing status in data.data.status_cd.REC: Wait, then check the same reference again.P: GSTN has processed the return. Continue to payment review.PEorER: Readdata.data.error_report, correct the figures and save again.
Review the payment
Work out the credit and cash amounts before you pay. Use the processed return for the amount due and the ledgers for the balances available.
Read the amount payable
After Save reachesP, call Get GSTR-3B Details again. Read data.data.tx_pmt.net_tax_pay for the net amounts payable under each tax head and component.Read the processed return
Check the credit and cash balances
Call Get cash and ITC balance for the same period.Read the ledger balances
data.data.itc_bal: Review the credit balance alongside any blocked credit indata.data.itc_blck_bal.data.data.cash_bal: Check cash by tax head and component, such ascash_bal.igst.txfor IGST tax.
Compare the figures with GSTN's calculation, if needed
Compare the figures with GSTN's calculation, if needed
Use Auto-calculated liability to inspect GSTN’s figures. Call Validate with your return figures to compare them with GSTN’s calculation.Review differences before approving payment. Validate can return
Compare the return figures
data.data.isValid = "N" even when the request succeeds.Deposit any cash shortfall
Compare the planned cash payment with the cash already available under each head and component. If a balance is short, ask the taxpayer to deposit the difference through a challan on the GST Portal.For example, if IGST tax needs ₹800 in cash andcash_bal.igst.tx holds ₹300, the taxpayer deposits ₹500.After a deposit, fetch the balances again and wait for it to appear. If the existing cash balance covers the payment, continue without a deposit.Get the taxpayer’s approval for the credit and cash amounts before sending Offset.Pay the liability with Offset
Send the approved payment split to Offset liability. Build the body from the complete request schema. Use A
pditc for credit used, pdcash for cash paid and nettaxpay for the amounts payable.For the return’s first Offset, set liab_ldg_id to 0 in each pdcash and nettaxpay entry. If you send pditc, set its liab_ldg_id to 0 as well.For example, ₹1,800 ordinary IGST tax can be paid with ₹1,000 eligible IGST credit and ₹800 cash. The fields for that split are:- IGST payable: ₹1,800 in
nettaxpay[].igst.tx. - IGST paid with IGST credit: ₹1,000 in
pditc.i_pdi. - IGST paid with cash: ₹800 in
pdcash[].ipd.
trans_typ = 30002 for tax other than reverse charge and 30003 for reverse-charge tax. Put each amount in its matching category row. Credit and cash must cover the full liability exactly.Details uses net_tax_pay and tran_desc. Offset uses nettaxpay and trans_desc, so use those names in the payment request.A successful Offset locks the return figures. Send the full payment once.
Pay the approved liability
data.status_cd of "1" confirms payment. Offset returns the payment result in the response.If GSTN returns RT-3BAS1070, recheck the payable amounts and payment split. GSTN rejects partial or excess payment.Fetch the return to file
After payment, ask the taxpayer to check “Tax Liability Breakup, As Applicable” on this return’s payment page in the GST Portal. If it contains auto-populated values, they must save them before filing. The GSTR-3B filing manual shows the screen.Call Get GSTR-3B Details again after payment and any breakup update. Copy its
data.data object, including the payment information. Convert the payment descriptions to the format File expects.Select the File body
Generate the EVC OTP
Call Generate EVC OTP with
gstr=gstr-3b and the authorized signatory’s PAN. Ask the signatory for the OTP they receive. This filing OTP is separate from the OTP used to create the taxpayer session.Request the filing OTP
File with EVC
Send Check that
fileBody to File GSTR-3B. Use the same PAN as the EVC OTP request and the OTP supplied by the signatory.File with EVC
data.status_cd is "1", even when HTTP status is 200. Store data.data.ack_num, then confirm the filing with Track returns.Confirm the filing
Call Track returns with Check that
return_type=gstr-3b.Check the filing record
data.status_cd is "1". In data.data.EFiledlist, find the entry for the selected period in ret_prd and GSTR-3B return type in rtntype. The matching entry must have status = "Filed".Keep its arn separately from File’s ack_num. If the matching record is absent or File’s response is missing, check Track again. Do not repeat File while its result is unclear.