本文解答了关于《收到的租金保证金是否要开增票》相关内容,同时关于1、收到的租金保证金是否要开增票证明,2、收到的租金保证金是否要开增票呢,3、租赁保证金是否开发票,4、收到租金保证金要入收入吗,5、租赁保证金需要缴纳增值税吗,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
收到的租金保证金是否要开增票
AcctTreatEnum acctTreatEnum = AcctTreatEnum.getByCode(unpaid);
if (AcctTreatEnum.NOT_NEED_INVOICE.equals(acctTreatEnum)) {
//票据类型设置为无需开票
billType = BillTypeEnum.NO_NEED_INVOICE.getCode();
} else if (AcctTreatEnum.NEED_INVOICE.equals(acctTreatEnum)) {
//票据类型设置为增值税普通发票
billType = BillTypeEnum.GENERAL_INVOICE.getCode();
}
//根据租约编号查询报销单号
//List expenseNoList = synContractSao.queryUnpostedExpenseNO(contractNo);
SynContractSaoImpl synContractSao = new SynContractSaoImpl();
List expenseNoList = synContractSao.queryUnpostedExpenseNO(contractNo);
List refundsExpNoList = synContractSao.queryRefundsExpNo(contractNo,hotelSource);
//根据报销单号查询报销单
List expenses = null;
if (CollectionUtils.isNotEmpty(expenseNoList)) {
expenses = demoInvoiceService.queryExpenses(expenseNoList);
}
if(CollectionUtils.isNotEmpty(refundsExpNoList)){
List refundsExpenses = demoInvoiceService.queryRefundsExpenses(refundsExpNoList);
if(CollectionUtils.isNotEmpty(refundsExpenses)){
if(CollectionUtils.isNotEmpty(expenses)){
expenses.addAll(refundsExpenses);
}else{
expenses = refundsExpenses;
}
}
}
demoInvoiceService.generateInvoice(billType, acctTreatEnum, contractNo, expenses,invoiceRequstVo);
}
}
总结:以上是编辑:【木纹】整理及AI智能原创关于《收到的租金保证金是否要开增票
》优质内容解答希望能帮助到您。