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); }
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); }
public FormInstance ConvertToFormInstance(TaxYearDefinition taxYear) { return(new FormInstance(taxYear.Forms["8949"], Code, Lines)); }