API接口目录

零售云业务

采购API
订单API
库存API
价格API
商品API
报表API
消息服务API
基础数据API
物流API
零售商认证API
发票API
快修回收API
云仓API
异常码自查工具
suning.retailer.invoicedetailitemlist.query 商城待开票详细列表的查询
¥免费

商城待开票详细列表的查询

公共参数
请求参数
名称 类型 是否必须 示例值 描述
omsOrderNosStringN
omsOrderNoStringNomsOrderNooms单行号
appIdStringY111111调用方唯一编码
snCustNumStringNsnCustNum会员编码
invoiceTypeStringNinvoiceType发票类型空值-全部类型;1-已还款;2-未还款;3-已逾期
响应参数
名称 类型 示例值 描述
respListString
orderItemIdStringorderItemId订单行号
snCustNumStringsnCustNum会员编号
omsOrderItemIdStringomsOrderItemIdOMS订单行号
cmmdtyCodeStringcmmdtyCode商品编码
cmmdtyNameStringcmmdtyName商品名称
distributorCodeStringdistributorCode批发商编码
supplierCodeStringsupplierCode供应商编码(查询商品规格时使用)
quantityStringquantity数量
unitPriceStringunitPrice单价
totalPriceStringtotalPrice商品总价
freightStringfreight运费
createTimeStringcreateTime创建时间
itemTotalCouponAmountStringitemTotalCouponAmount券优惠金额,目前返利、平台券
blueAVoucherMoneyStringblueAVoucherMoney蓝a金额
voucherAmountStringvoucherAmount有函金额
discountStringdiscount总优惠金额,蓝a、有函、返利、平台券目前
cmmdtyPriceStringcmmdtyPrice商品金额
channelCodeStringchannelCode频道信息,综合家电 P2,万物直共 P3
orderItemTargetTypeStringorderItemTargetType目标商品类型1:商品订单行;2:延保订单行;3:运费订单行
relatedOrderItemNoStringrelatedOrderItemNo关联订单行号
priceShowFreightFlagStringpriceShowFreightFlag实付金额是否展示运费字段,0-不展示,1-展示
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryInvoicedetailitemlist>
      <omsOrderNos>
        <omsOrderNo>omsOrderNo</omsOrderNo>
      </omsOrderNos>
      <appId>111111</appId>
      <invoiceType>invoiceType</invoiceType>
      <snCustNum>snCustNum</snCustNum>
    </queryInvoicedetailitemlist>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryInvoicedetailitemlist": {
        "omsOrderNos": [
          {
            "omsOrderNo": "omsOrderNo"
          }
        ],
        "appId": "111111",
        "invoiceType": "invoiceType",
        "snCustNum": "snCustNum"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryInvoicedetailitemlist>
      <respList>
        <unitPrice>unitPrice</unitPrice>
        <omsOrderItemId>omsOrderItemId</omsOrderItemId>
        <quantity>quantity</quantity>
        <totalPrice>totalPrice</totalPrice>
        <orderItemId>orderItemId</orderItemId>
        <cmmdtyCode>cmmdtyCode</cmmdtyCode>
        <freight>freight</freight>
        <voucherAmount>voucherAmount</voucherAmount>
        <cmmdtyName>cmmdtyName</cmmdtyName>
        <discount>discount</discount>
        <distributorCode>distributorCode</distributorCode>
        <snCustNum>snCustNum</snCustNum>
        <supplierCode>supplierCode</supplierCode>
        <createTime>createTime</createTime>
        <orderItemTargetType>orderItemTargetType</orderItemTargetType>
        <relatedOrderItemNo>relatedOrderItemNo</relatedOrderItemNo>
        <itemTotalCouponAmount>itemTotalCouponAmount</itemTotalCouponAmount>
        <cmmdtyPrice>cmmdtyPrice</cmmdtyPrice>
        <blueAVoucherMoney>blueAVoucherMoney</blueAVoucherMoney>
        <priceShowFreightFlag>priceShowFreightFlag</priceShowFreightFlag>
        <channelCode>channelCode</channelCode>
      </respList>
    </queryInvoicedetailitemlist>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryInvoicedetailitemlist": {
        "respList": [
          {
            "unitPrice": "unitPrice",
            "omsOrderItemId": "omsOrderItemId",
            "quantity": "quantity",
            "totalPrice": "totalPrice",
            "orderItemId": "orderItemId",
            "cmmdtyCode": "cmmdtyCode",
            "freight": "freight",
            "voucherAmount": "voucherAmount",
            "cmmdtyName": "cmmdtyName",
            "discount": "discount",
            "distributorCode": "distributorCode",
            "snCustNum": "snCustNum",
            "supplierCode": "supplierCode",
            "createTime": "createTime",
            "orderItemTargetType": "orderItemTargetType",
            "relatedOrderItemNo": "relatedOrderItemNo",
            "itemTotalCouponAmount": "itemTotalCouponAmount",
            "cmmdtyPrice": "cmmdtyPrice",
            "blueAVoucherMoney": "blueAVoucherMoney",
            "priceShowFreightFlag": "priceShowFreightFlag",
            "channelCode": "channelCode"
          }
        ]
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.retailer.queryinvoicedetailitemlist.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.srcdss 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ