• 手机算税
    个税计算器小程序二维码

    微信扫码,手机算税

首页 > 个税资讯 > 最新政策 > 正文

C#代码编程 稿酬所得个税计算器2018 方法公式

2017-10-22 来源:个税专家

阅读数: 5440

C#代码编程 稿酬所得个税计算器2018 方法公式,现在已经做成小工具,专业计算稿酬个税,支持正算反算,十分方便,下载使用联系QQ:848733865。

稿酬个税计算器

decimal? income = getDecimal(txtIncome, "稿酬所得");

//首先获取稿酬收入金额,我用了自己定义的方法getDecimal(...),实际就是从文本框中得到输入的金额,并做校验

if (income == null) return;

decimal fee = income.Value < 4000 ? 800 : income.Value * 0.2m;

//费用标准,稿酬收入小于4000元的,固定扣除费用为800元,大于等于4000元的,扣除费用为收入的20%

txtFee.Text = fee.ToString("N");

txtRate.Text = "14%";

decimal taxableIncome = income.Value - fee;

if (taxableIncome <= 0)

{

//此时意味着收入金额小于等于800元,是不需要缴税的

txtTaxableIncome.Text = "0.00";

txtTax.Text = "0.00";

txtIncomeAT.Text = income.Value.ToString("N");

}

else

{

txtTaxableIncome.Text = taxableIncome.ToString("N");

decimal tax = taxableIncome * 0.14m;

//稿酬税率为14%

txtTax.Text = tax.ToString("N");

decimal incomeAT = income.Value - tax;

txtIncomeAT.Text = incomeAT.ToString("N");

}