本文解答了关于《消费税会计分录》相关内容,同时关于1、应交消费税会计分录,2、委托加工消费税会计分录,3、代收的消费税会计分录,4、应纳消费税会计分录,5、补交消费税会计分录,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
消费税会计分录
*
* @param storeAmount 采购额
* @param taxtRate 税率
* @param period 会计期间
*/
public void taxAccountingEntry(BigDecimal storeAmount, BigDecimal taxtRate, Integer period) {
//根据采购额计算消费税
BigDecimal taxAmount = storeAmount.multiply(taxtRate);
//消费税作为贷方
AccountBalance creditAccountBalance = new AccountBalance();
creditAccountBalance.setDirection(2);
creditAccountBalance.setAmount(taxAmount);
creditAccountBalance.setPeriod(period);
creditAccountBalance.setAccountSubjectNo("2221");
//增值税科目作为借方
AccountBalance debitAccountBalance = new AccountBalance();
debitAccountBalance.setDirection(1);
debitAccountBalance.setAmount(taxAmount);
debitAccountBalance.setPeriod(period);
debitAccountBalance.setAccountSubjectNo("2212");
//5021税金科目作为借方
AccountBalance debitAccountBalance2 = new AccountBalance();
debitAccountBalance2.setDirection(1);
debitAccountBalance2.setAmount(taxAmount);
debitAccountBalance2.setPeriod(period);
debitAccountBalance2.setAccountSubjectNo("5021");
List accountBalancesList = Arrays.asList(debitAccountBalance, creditAccountBalance, debitAccountBalance2);
AccountingVoucher accountingVoucher = new AccountingVoucher();
accountingVoucher.setVoucherNo("CXSWF121705001");
accountingVoucher.setAccountBalancesList(accountBalancesList);
//新增会计分录
accountingVoucherRepository.save(accountingVoucher);
}
}
总结:以上是编辑:【小妹儿】整理及AI智能原创关于《消费税会计分录
》优质内容解答希望能帮助到您。