TaxPro GST Lib
User guide (Under Construction)
 
×
Menu
Index

GSTR1 API

Sr.No.
Description
API Method
Method Parameter (M-Mandatory, O-Optional)
Remark / Parameter Description
1
Upload JSON File to GSTN .
GSTR1API.SaveGstr1Async
  • GSTSession ApiSession - M
  • string returnPeriod - M
  • string jsonPayload - M
  • bool LogJsonFile - O
 
 
ApiSession - Session for Connectivity with API
returnPeriod - Period for which Data Uploaded
jGSTR1 - Object of GSTR1 Data
2
Upload JSON File to GSTN .
GSTR1API.SaveGstr1Async
  • GSTSession ApiSession - M
  • string returnPeriod - M
  • Gstr1Json jGSTR1 - M
  • bool LogJsonFile - O
3
Download Data from GSTN
GSTR1API.GetGstr1DataScheduleAsync
APISession ApiSession, string APIAction,string APITitle, string Gstin, string Period, string Action_Req, string CGstin, string statecode,bool LogResponseJson=false,string SubSection=""
ApiSession">Session for Connectivity with API
APIAction">GSTN API Action like 'B2B','B2CL'
APITitle">GSTN API Title like 'Get B2B Invoices'
Gstin">GSTIN of TaxPayer
Period">For which Period GSTR1 Data Download
Action_Req">Action Required 'Yes/No'
CGstin">CounterParty GSTIN
statecode">Statecode of TaxPayer
LogResponseJson">True ->file save in program Folder,False-Not Save
SubSection">Optional for Get ECOM Or Get SUPECO Details.
 
GSTR1 Proceed to File
SharedAPI.ProceedToFileGSTRAsync
APISession ApiSession, string FormNo, string returnPeriod, T jGSTR, bool LogJsonFile = false
FormNo - "GSTR1"
SubmitGSTR jGSTR
ApiSesssion">Session for Connectivity with API
ReturnPeriod">For which period,Submit GSTR1A
4
Download Summary from GSTN, Respone wil be JSON Type
GSTR1API.GetGstr1SummaryAsync
  • GSTSession ApiSession - M
  • string Gstin - M
  • string Period - M
  • bool LogResponseJson - O
  • string SummaryType = "S" - M
Period - Period for which Summary Download
Gstin - GSTIN of TaxPayer
LogResponseJson - True -> File save in program Folder,False -> File Not Save
SummaryType - IT May e short or long
4
Download Summary from GSTN , Respone wil be in Payload.
GSTR1API.GetGstr1SummaryPayloadAsync
  • GSTSession ApiSession - M
  • string Gstin - M
  • string Period - M
  • bool LogResponseJson - O
  • string SummaryType - O
5
File Return with Payload Using DSC.
GSTR1API.FileGstr1WithPayloadAsync
  • GSTSession ApiSession - M
  • string RetPeriod - M
  • string gstr1SummaryPayload - M
  • string SignType - M      
  • string SignID - M
  • bool LogJsonFile - O
  • string EvcOTP - O
 
RetPeriod - For which Period GSTR1 Return File
gstr1SummaryPayload - Payload of GSTR1 Data
SignType - DSC for Filing GSTR1
SignID - PAN /Aadhar for Filing GSTR1LogJsonFile - True -> File save in program Folder,False -> File Not Save
 
API Flow
 
Upload - GSTR1API.SaveGstr1Async (You can upload Schedule wise data ex. 'B2B', 'B2BA', etc.)
 
Download - GSTR1API.GetGstr1DataScheduleAsync (You can upload Schedule wise data ex. 'B2B', 'B2BA', etc.)
 
Proceed to file - SharedAPI.ProceedToFileGSTRAsync
 
Download Summary - GSTR1API.GetGstr1SummaryAsync
 
Download Summary - GSTR1API.GetGstr1SummaryPayloadAsync
 
File Return - GSTR1API.FileGstr1WithPayloadAsync