应纳税所得额计算 - 详细指南及代码示例
应纳税所得额计算 - 详细指南及代码示例
本文将详细介绍如何计算应纳税所得额,并提供完整的代码示例,涵盖了多种计算方法和参数设置。
1. 查询参数
以下列出了用于计算应纳税所得额的查询参数,并附带了相应的代码示例。
// 查询参数
form: {
// 准予扣除的捐赠额
deductionAllowedDonate: 0,
// 一次性补偿收入
disposableCompensationIncome: 0,
// 年均减除费用
averageAnnualDeductionCost: 0,
// 分均年度数
shareYearDegree: null,
// 减除费用
deductCost: null,
companyId: null,
personId: null,
reportingPeriodDate: null,
other: null,
taxExemptIncome: 0,
// 备注
remark: null,
// 小计
subtotal: 0,
// 减免税额
reductionTaxAmount: null,
// companyId: null,
// incomeReportingCode: null,
// 所得期间起
incomePeriodDateStart: null,
// 所得期间至
incomePeriodDateEnd: null,
// 应纳税额
acTaxPiPersonVo: {
// 人员id
personId: null,
// 姓名
name: '',
// 证件号码
identificationNum: '',
// 证件类型
identificationType: '',
// 工号
employeeId: '',
// 其他
},
acTaxPiPersonCalculationSchedule: {
// 应纳税额
acTaxableAmount: 0,
// 减免税额
acTaxSavings: 0,
// 应纳税所得额
acTaxableIncome: 0,
// 已预缴税额
prepaidTaxAmount: 0,
// 税率/预扣率
taxRate: 0,
// 速算扣除数
quickCalculationDeduction: 0,
// 应补(退)税额
payableTaxAmount: 0,
// 累计应扣缴税额
acDeductiblePaymentAmount: 0,
// 年均应纳税所得额(提前退休一次性补贴表)
annualTaxableIncome: 0,
},
},
2. 计算方法
2.1 应纳税所得额计算
// 应纳税所得额计算
acTaxableincome() {
const { disposableCompensationIncome, taxExemptIncome, subtotal, deductionAllowedDonate } = this.form;
const taxableAmount = disposableCompensationIncome - taxExemptIncome - subtotal - deductionAllowedDonate;
this.form.acTaxPiPersonCalculationSchedule.acTaxableIncome = taxableAmount >= 0 ? taxableAmount : 0.0; // 赋值给表单项属性
return this.form.acTaxPiPersonCalculationSchedule.acTaxableIncome;
},
2.2 年均应纳税所得额计算
// 年均应纳税所得额计算
acAnnualTaxableIncome() {
const acTaxableIncome = this.acTaxableincome;
const shareYearDegree = this.form.shareYearDegree;
const AnnualTaxableIncome = acTaxableIncome / shareYearDegree;
return AnnualTaxableIncome >= 0 ? AnnualTaxableIncome : 0.0;
},
3. 代码示例
以下展示了如何使用上述参数和计算方法进行应纳税所得额计算的代码示例。
<el-form-item
label='准予扣除的捐赠额:'
clearable=""
prop='deductionAllowedDonate'
style='margin-left: -5px; white-space: nowrap'
>
<el-input
v-model='tempdeductionAllowedDonate'
placeholder='请输入准予扣除的捐赠额'
style='width: 170px'
/>
</el-form-item>
<el-form-item label='减免税额:' prop='reductionTaxAmount'>
<el-input
clearable=""
v-model='tempReductionTaxAmount'
placeholder='请输入减免税额'
style='width: 170px'
/>
</el-form-item>
</el-row>
<el-row>
<el-form-item label='备注:' prop='remark' style='width: 860px'>
<el-input
v-model='form.remark'
clearable=""
placeholder='请输入备注'
/>
</el-form-item>
</el-row>
<div class='title'>
<div class='line'></div>
<div class='fonts'>税款计算</div>
</div>
<el-row style='display: flex'>
<el-form-item
label='应纳税所得额:'
prop='acTaxPiPersonCalculationSchedule.acTaxableIncome'
style='width: 290px'
>
{{ acTaxableincome }}
</el-form-item>
</el-row>
4. 总结
本文详细介绍了如何计算应纳税所得额,并提供了完整的代码示例,涵盖了多种计算方法和参数设置。希望本文能够帮助您更好地理解应纳税所得额的计算过程,并将其应用于实际项目中。
原文地址: https://www.cveoy.top/t/topic/o98J 著作权归作者所有。请勿转载和采集!