From 301b09bec98460cd46ad80cf1093515546e42b8d Mon Sep 17 00:00:00 2001 From: mzr Date: Mon, 14 Apr 2025 08:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=94=80=E5=94=AE=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E4=BF=9D=E5=AD=98=E6=8E=A5=E5=8F=A3=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=8F=91=E7=A5=A8=E7=B1=BB=E5=9E=8B=E7=9B=B8=E5=85=B3=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/so/saleinvoice/operator/saveCommitAction.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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");//发票类型