销售退货保存-无来源

与有来源销售退货单相比,saleReturnSourceType(退货类型)为NONE,以下字段非必填

表头:

agentTaxItem 客户销项税率ID
agentRelationId 客户交易关系id
totalMoney 总金额
totalMoneyOrigTaxfree 无税总金额
payMoneyOrigTaxfree 无税退货金额
totalOriTax 税额
totalMoneyDomestic 本币总金额
payMoneyDomestic 本币退货金额
totalMoneyDomesticTaxfree 本币无税总金额
payMoneyDomesticTaxfree 本币无税退货金额
totalNatTax 本币税额
creator 制单人

详情:

source 来源单据类型
makeRuleCode 生单类型编码
salePrice 含税单价
taxId 税目税率id
stockId 仓库ID
totalOutStockOriTaxMoney 累计出库含税金额
totalOutStockOriMoney 累计出库无税金额
totalOutStockOriTax 累计出库税额
salesOrgId 销售组织id
upcode 来源单据号
taxItems 税目
taxCode 税目税率编码

详情必须满足:oriSum含税金额=oriMoney无税金额+oriTax税额

  • 请求示例

      {
          "data": {
              "agentId": "2206290875782912",
              "resubmitCheckKey": "35345434",
              "transactionTypeId": "2157958783013130",
              "exchRate": 1,
              "saleReturnStatus": "SUBMITSALERETURN",
              "invoiceAgentId": "2206290875782912",
              "realMoney": 2000,
              "_status": "Insert",
              "vouchdate": "2020-09-03 12:24:15",
              "exchangeRateType": "wbwzmj5r",
              "taxInclusive": true,
              "natCurrency": "2157958787700224",
              "payMoney": 345,
              "settlementOrgId": "2204894649602304",
              "currency": "2157958787700224",
              "saleReturnDetails": [{
                  "iProductAuxUnitId": "2204939201550080",
                  "oriTax": 69.03,
                  "realMoney": 2000,
                  "natTax": 69.03,
                  "subQty": 1,
                  "invPriceExchRate": 1,
                  "skuId": "2374969793045760",
                  "productId": "2374969793029376",
                  "unitExchangeType": 1,
                  "oriUnitPrice": 265.485,
                  "natSum": 600,
                  "_status": "Insert",
                  "taxRate": 5,
                  "masterUnitId": "2204939024078336",
                  "priceQty": 1,
                  "qty": 1,
                  "stockOrgId": "2204894649602304",
                  "oriTaxUnitPrice": 300,
                  "oriMoney": 530.97,
                  "iProductUnitId": "2204939201550080",
                  "invExchRate": 1,
                  "natTaxUnitPrice": 300,
                  "unitExchangeTypePrice": 1,
                  "natMoney": 530.97,
                  "natUnitPrice": 265.485,
                  "oriSum": 600
              }],
              "saleReturnSourceType": "NONE",
              "salesOrgId": "2204894649602304"
          },
          "billnum": "voucher_salereturn"
      }
    
Copyright © 用友 -【生态技术部】 2021 all right reserved,powered by Gitbook修订时间: 2021-09-29 17:44:20

results matching ""

    No results matching ""