예제 #1
0
        private static void TestGSTR3(string gstin, string fp)
        {
            GSTNAuthClient client = GetAuth(gstin);

            GSTR3.GSTR3Total model   = new GSTR3.GSTR3Total();
            GSTR3ApiClient   client2 = new GSTR3ApiClient(client, gstin, fp);
            var info = client2.Generate(fp).Data;

            model = client2.GetDetails(fp).Data;
        }
예제 #2
0
파일: Program.cs 프로젝트: Risersoft/GST
        private static void TestGSTR3(string gstin, string gsp, string userid, string fp)
        {
            IGSTNAuthProvider client = GetAuth(gstin, gsp, userid);

            GSTR3.GSTR3Total model   = new GSTR3.GSTR3Total();
            GSTR3ApiClient   client2 = new GSTR3ApiClient(client, gstin, userid, fp);
            var info = client2.Generate(fp).Data;

            model = client2.GetDetails(fp).Data;
        }
예제 #3
0
        private static void TestGSTR3(string gstin, string fp)
        {
            GSTNAuthClient client = GetAuth(gstin);

            GSTR3.GSTR3Total model   = new GSTR3.GSTR3Total();
            GSTR3ApiClient   client2 = new GSTR3ApiClient(client, gstin, fp);
            var info = client2.Generate(fp).Data;

            model = client2.GetDetails(fp).Data;
            GSTR3.GSTR3SaveModel model2 = new GSTR3.GSTR3SaveModel();
            model2.rf_clm = model.rf_clm;
            var result3 = client2.Save(model2);
        }