diff --git a/so/src/public/nccloud/api/so/saleinvoice/operator/saveCommitAction.java b/so/src/public/nccloud/api/so/saleinvoice/operator/saveCommitAction.java index f2d65d1..b721579 100644 --- a/so/src/public/nccloud/api/so/saleinvoice/operator/saveCommitAction.java +++ b/so/src/public/nccloud/api/so/saleinvoice/operator/saveCommitAction.java @@ -138,7 +138,10 @@ public class saveCommitAction extends AbstractNCCRestResource { // 销售发票审核结束 ISaleInvoiceToTaxInvService invoiceService = NCLocator.getInstance() .lookup(ISaleInvoiceToTaxInvService.class); - invoiceService.issueTaxInvoice(saleInvoiceVO, "1"); + // 数电票(增值税专用发票)=31,数电票(普通发票)=32,数电纸质发票(机动车销售统一发票)=36,数电纸质发票(增值税专用发票)=33,数电纸质发票(普通发票)=34, + // 增值税电子普通发票=1,增值税电子专用发票=2,增值税普通发票=3,增值税专用发票=4,增值税电子普通发票(成品油)=8,成品油普通发票(卷式)=9, + // 成品油普通发票=10,成品油专用发票=11,增值税普通发票(卷式)=12,增值税专用发票(机动车)=99 + invoiceService.issueTaxInvoice(saleInvoiceVO, fplxStr); JSONObject desc = r.getDesc(); if (desc != null) { @@ -193,11 +196,11 @@ public class saveCommitAction extends AbstractNCCRestResource { // 2025-2-8付业要求修改,根据发票类型Q(自定义档案)对照发票类型 String ctrantypeidStr = "32-02";// 默认普通发票 if (fplxStr != null && fplxStr.equals("31")) { - ctrantypeidStr = "32-01"; + ctrantypeidStr = "32-01";// 数电票(增值税专用发票) } else if (fplxStr != null && fplxStr.equals("32")) { - ctrantypeidStr = "32-02"; + ctrantypeidStr = "32-02";// 数电票(普通发票) } else if (fplxStr != null && fplxStr.equals("36")) { - ctrantypeidStr = "32-Cxx-03"; + ctrantypeidStr = "32-Cxx-03";// 机动车销售发票 } billhead.put("ctrantypeid", ctrantypeidStr);// 发票类型 // billhead.put("ctrantypeid", "32-02");//发票类型