API接口目录

零售云业务

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

查询发票记录列表信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
invoiceRecordListReqDtoStringN
merchantCustNoStringN11会员编码
omsOrderIdStringN11oms订单号
invoiceTypeStringN1发票类型
startDateStringN1下单时间(开始)
endDateStringN11下单时间(结束)
platformCodeStringNP2平台多商城编码
cmmdtyNameStringN1商品名称
cmmdtyCodeStringN1商编
linkerMobileStringN1收货人电话
omsOrderItemIdStringN1oms单行号
creatorStringN1下单人
btcOrderIdStringN1b2c订单号
orderIdStringN1分销订单号
submitTypeInvoiceStringN1发票订单的下单类型
startCreateOrderTimeStringN1下单开始日期
endCreateOrderTimeStringN1下单结束日期
queryParamStringN
pnumberStringN1第几页,从1开始
psizeStringN1每页大小,默认是10
corderByStringN1排序方式 asc desc 加正序倒序
appIdStringYappIdappId
响应参数
名称 类型 示例值 描述
respBeanString
totalCountString1totalCount
totalPageCountString1总页数
invoiceRecordListString
bizItemNoString1业务行单号
billNumberString1发票业务单号
invoiceAmountString1开票金额
invoiceTypeString1发票类型
createTimeString1开票时间
mailStatusString1零售云发票状态1:已开票;2:开票失败;3:开票中;4:已红冲
btbOrderItemIdString1分销单行号
quantityString11数量
unitPriceString1单价
itemTotalCouponAmountString1券优惠金额,目前返利、平台券
saleOrgString1销售组织
itemTargetTypeString1目标商品类型1:商品订单行;2:延保订单行;3:运费订单行
freightString11运费
priceShowFreightFlagString1实付金额是否展示运费字段,0-不展示,1-展示
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryInvoicerecordlist>
      <appId>appId</appId>
      <invoiceRecordListReqDto>
        <btcOrderId>1</btcOrderId>
        <submitTypeInvoice>1</submitTypeInvoice>
        <creator>1</creator>
        <omsOrderItemId>1</omsOrderItemId>
        <endDate>11</endDate>
        <orderId>1</orderId>
        <cmmdtyCode>1</cmmdtyCode>
        <cmmdtyName>1</cmmdtyName>
        <endCreateOrderTime>1</endCreateOrderTime>
        <startCreateOrderTime>1</startCreateOrderTime>
        <invoiceType>1</invoiceType>
        <merchantCustNo>11</merchantCustNo>
        <omsOrderId>11</omsOrderId>
        <linkerMobile>1</linkerMobile>
        <platformCode>P2</platformCode>
        <startDate>1</startDate>
      </invoiceRecordListReqDto>
      <queryParam>
        <psize>1</psize>
        <corderBy>1</corderBy>
        <pnumber>1</pnumber>
      </queryParam>
    </queryInvoicerecordlist>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryInvoicerecordlist": {
        "appId": "appId",
        "invoiceRecordListReqDto": {
          "btcOrderId": "1",
          "submitTypeInvoice": "1",
          "creator": "1",
          "omsOrderItemId": "1",
          "endDate": "11",
          "orderId": "1",
          "cmmdtyCode": "1",
          "cmmdtyName": "1",
          "endCreateOrderTime": "1",
          "startCreateOrderTime": "1",
          "invoiceType": "1",
          "merchantCustNo": "11",
          "omsOrderId": "11",
          "linkerMobile": "1",
          "platformCode": "P2",
          "startDate": "1"
        },
        "queryParam": {
          "psize": "1",
          "corderBy": "1",
          "pnumber": "1"
        }
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryInvoicerecordlist>
      <respBean>
        <invoiceRecordList>
          <unitPrice>1</unitPrice>
          <quantity>11</quantity>
          <btbOrderItemId>1</btbOrderItemId>
          <freight>11</freight>
          <invoiceAmount>1</invoiceAmount>
          <mailStatus>1</mailStatus>
          <bizItemNo>1</bizItemNo>
          <saleOrg>1</saleOrg>
          <createTime>1</createTime>
          <itemTotalCouponAmount>1</itemTotalCouponAmount>
          <invoiceType>1</invoiceType>
          <billNumber>1</billNumber>
          <itemTargetType>1</itemTargetType>
          <priceShowFreightFlag>1</priceShowFreightFlag>
        </invoiceRecordList>
        <totalPageCount>1</totalPageCount>
        <totalCount>1</totalCount>
      </respBean>
    </queryInvoicerecordlist>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryInvoicerecordlist": {
        "respBean": {
          "invoiceRecordList": [
            {
              "unitPrice": "1",
              "quantity": "11",
              "btbOrderItemId": "1",
              "freight": "11",
              "invoiceAmount": "1",
              "mailStatus": "1",
              "bizItemNo": "1",
              "saleOrg": "1",
              "createTime": "1",
              "itemTotalCouponAmount": "1",
              "invoiceType": "1",
              "billNumber": "1",
              "itemTargetType": "1",
              "priceShowFreightFlag": "1"
            }
          ],
          "totalPageCount": "1",
          "totalCount": "1"
        }
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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