diff --git a/blade-service/blade-transport/src/main/java/org/springblade/transport/support/KingdeeReceivedInvoiceSyncSupport.java b/blade-service/blade-transport/src/main/java/org/springblade/transport/support/KingdeeReceivedInvoiceSyncSupport.java index f5f43173..1b7841ad 100644 --- a/blade-service/blade-transport/src/main/java/org/springblade/transport/support/KingdeeReceivedInvoiceSyncSupport.java +++ b/blade-service/blade-transport/src/main/java/org/springblade/transport/support/KingdeeReceivedInvoiceSyncSupport.java @@ -299,9 +299,12 @@ public class KingdeeReceivedInvoiceSyncSupport { entry.setQuantity(this.mirrorQuantity(item.getNum())); // 【必填】单价:明细行单价(空按价税合计/数量反算;单据头 isincludetax=true,单价仅作参考) entry.setPrice(this.mirrorPrice(item.getUnitPrice(), priceTaxTotal, entry.getQuantity())); - // 【必填】物料编码.编码:行商品编码(金蝶档案不含末尾补零,去掉尾部 0) String goodsCode = this.stripTrailingZeros(item.getGoodsCode().trim()); - entry.setMaterialNumber(goodsCode); + // 【必填】物料编码.编码:行商品编码(金蝶档案不含末尾补零,去掉尾部 0) + // entry.setMaterialNumber(goodsCode); + // 税收分类编码.编码:数电票行商品编码即税收分类编码 + entry.setETaxclassNumber(goodsCode); + // 金额(不含税):明细金额(空不送);税收分类编码/税率表编码/税额不送,税额仅参与价税合计 if (detailAmount != null) { entry.setEAmount(kingdeeApBillSyncSupport.money(detailAmount));