private string SubmitRequest()
        {
            Console.WriteLine("\nJson To Submit GSTR1:");
            var response = GSTR1Service.Submit(MyRequest, Console.ReadLine());

            if (!response.Status)
            {
                return(response.OutcomeTransaction);
            }
            return(response.Data);
        }
        private string FileRequest()
        {
            Console.WriteLine("\nFile using DSC or EVC?(0/1)");
            if (!int.TryParse(Console.ReadLine(), out var file))
            {
                Console.WriteLine("\nInvalid input.");
            }

            Console.WriteLine("\nJson To File GSTR1:");
            var json = Console.ReadLine();

            Console.WriteLine("\nPAN Number:");
            var      pan      = Console.ReadLine();
            Response response = null;

            switch (file)
            {
            case 0:
                Console.WriteLine("\nDSC Signature:");
                var sign = Console.ReadLine();
                response = GSTR1Service.FileWithDSC(MyRequest, json, sign, pan);
                break;

            case 1:
                Console.WriteLine("\nOTP For EVC:");
                var otp = Console.ReadLine();
                response = GSTR1Service.FileWithEVC(MyRequest, json, pan, otp);
                break;
            }
            ;
            if (response == null)
            {
                return("Invalid input");
            }
            if (!response.Status)
            {
                return(response.OutcomeTransaction);
            }
            return(response.Data);
        }
        private string GetRequest()
        {
            Console.WriteLine("\nChoose Action Type:\n1. B2B\n2. B2CS\n3. B2CL\n4. CDNR\n5. CDNUR\n6. EXP\n7. TXP\n8. HSNSummary\n9. Summary");
            if (!int.TryParse(Console.ReadLine(), out var section))
            {
                return("Invalid input");
            }

            Console.WriteLine("\nFinancial Year(Blank if same):");
            var fp = Console.ReadLine();

            if (string.IsNullOrEmpty(fp))
            {
                fp = MyRequest.Header.ReturnPeriod;
            }

            Console.WriteLine("\nGSTIN(Blank if same):");
            var gstin = Console.ReadLine();

            if (string.IsNullOrEmpty(gstin))
            {
                gstin = MyRequest.Header.GSTN;
            }

            Response response = null;

            switch (section)
            {
            case 1:
                response = GSTR1Service.GetB2BInvoices(MyRequest, fp, gstin);
                break;

            case 2:
                response = GSTR1Service.GetB2CSInvoices(MyRequest, fp, gstin);
                break;

            case 3:
                Console.WriteLine("\nState Code(Blank if same):");
                var stateCode = Console.ReadLine();
                if (string.IsNullOrEmpty(stateCode))
                {
                    stateCode = MyRequest.Header.StateCode;
                }

                response = GSTR1Service.GetB2CLInvoices(MyRequest, fp, gstin, stateCode);
                break;

            case 4:
                response = GSTR1Service.GetCDNRInvoices(MyRequest, fp, gstin);
                break;

            case 5:
                response = GSTR1Service.GetCDNURInvoices(MyRequest, fp, gstin);
                break;

            case 6:
                response = GSTR1Service.GetEXP(MyRequest, fp, gstin);
                break;

            case 7:
                response = GSTR1Service.GetTXP(MyRequest, fp, gstin);
                break;

            case 8:
                response = GSTR1Service.GetHSNSummary(MyRequest, fp, gstin);
                break;

            case 9:
                response = GSTR1Service.GetSummary(MyRequest, fp, gstin);
                break;
            }
            if (response == null)
            {
                return("Invalid input.");
            }
            if (!response.Status)
            {
                return(response.OutcomeTransaction);
            }
            return(response.Data);
        }