コード例 #1
0
ファイル: Form1099Int.cs プロジェクト: AustinWise/TaxStuff
        public FormInstance ConvertToFormInstance(TaxYearDefinition taxYear)
        {
            var formDef      = taxYear.Forms["1099-INT"];
            var numberValues = new Dictionary <string, decimal>()
            {
                { nameof(InterestIncome), InterestIncome },
                { nameof(TaxExemptInterest), TaxExemptInterest },
            };
            var stringValues = new Dictionary <string, string>()
            {
                { nameof(PayerNameAndAddress), PayerNameAndAddress },
            };
            var formInst = new FormInstance(formDef, numberValues, stringValues);

            return(formInst);
        }
コード例 #2
0
        public FormInstance ConvertToFormInstance(TaxYearDefinition taxYear)
        {
            var formDef      = taxYear.Forms["1099-DIV"];
            var numberValues = new Dictionary <string, decimal>()
            {
                { nameof(TotalOrdinaryDividends), TotalOrdinaryDividends },
                { nameof(QualifiedDividends), QualifiedDividends },
                { nameof(NondividendDistributions), NondividendDistributions },
                { nameof(FederalIncomeTaxWithheld), FederalIncomeTaxWithheld },
                { nameof(Section199ADividends), Section199ADividends },
                { nameof(ForeignTaxPaid), ForeignTaxPaid },
                { nameof(ExemptInterestDividends), ExemptInterestDividends },
            };
            var stringValues = new Dictionary <string, string>()
            {
                { nameof(PayerNameAndAddress), PayerNameAndAddress },
            };
            var formInst = new FormInstance(formDef, numberValues, stringValues);

            return(formInst);
        }
コード例 #3
0
ファイル: Form8949.cs プロジェクト: AustinWise/TaxStuff
 public FormInstance ConvertToFormInstance(TaxYearDefinition taxYear)
 {
     return(new FormInstance(taxYear.Forms["8949"], Code, Lines));
 }