进项税抵扣 当发票卫 103增值税电子专用发票 107电子发票(增值税专用发票) 时 选中

This commit is contained in:
刘鹏 2024-10-18 15:54:28 +08:00
parent 359a860e79
commit 43afeb2e94
1 changed files with 5 additions and 2 deletions

View File

@ -277,7 +277,11 @@ public class UploadAttachmentsFormPlugin extends AbstractFormPlugin {
if(null!=hanshuijia&&BigDecimal.ZERO.compareTo(hanshuijia)!=0){
compliancecollectBody.put("TotalAmount", hanshuijia);
}
} Date invoiceDate = response.getInvoiceDate();
}
if("103".equals(invoiceType)||"107".equals(invoiceType)){
ap_finapbill.set("istaxdeduction", true);//进项税抵扣 当发票卫 103增值税电子专用发票 107电子发票增值税专用发票 选中
}
Date invoiceDate = response.getInvoiceDate();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
String format = simpleDateFormat.format(invoiceDate);
compliancecollectBody.put("BillingDate", format);//invoiceDate
@ -390,7 +394,6 @@ public class UploadAttachmentsFormPlugin extends AbstractFormPlugin {
//回写发票信息到财务应付单发票明细
if (!returnDataList.isEmpty()) {
ap_finapbill.set("istaxdeduction", false);//进项税抵扣
DynamicObjectCollection inventry = ap_finapbill.getDynamicObjectCollection("shkd_inventry");
// inventry.clear();