API接口目录

零售云业务

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

查询发票记录详情信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
appIdStringY111appId
omsOrderItemNoStringN1111oms订单行号
响应参数
名称 类型 示例值 描述
respBeanString
orderItemRespDTOString
orderItemIdString11订单行号
custNoString11会员编号
orderIdString11订单号
omsOrderIdString11oms订单号
omsOrderItemIdString11oms订单行号
btcOrderIdString11b2c订单号
btcOrderItemIdString11b2c订单行号
snCmmdtyCodeString111商品编码
snCmmdtyNameString11商品名称
snCmmdtyTypeString11商品类型
packageNumberString11套餐商品编码
distributorCodeString11分销商编码
supplierCodeString1111供应商编码
quantityString1111数量
unitPriceString11减去有函但是没减蓝A到商品的单价
totalPriceString11商品总价
freightString11运费
statusString1订单行状态
createTimeString1111创建时间
updateTimeString11更新时间
tradeItemIdString11tradeItemId
confirmFlagString1是否已经确认收货:0未确认,1已确认
factorySendString11111:厂送,2:苏宁配送
btcLockStatusString0平台预定订单b2c退款锁定采购单0:未锁定 1:已锁定'
itemRebateTotalCouponString1111订单行返利使用金额
blueAVoucherMoneyString11 订单行蓝A使用金额
channelCodeStringP2频道信息,综合家电 P2,万物直共 P3
voucherAmountString11到商品的有函金额
orderItemTargetTypeString1到行 目标商品类型1:商品订单行;2:延保订单行;3:运费订单行
relatedOrderItemNoString1关联订单行号
freightDiscountItemString1到行的运费优惠
tradeIdString11tradeId
voucherNoString11订单行优惠券编号
invoiceOpenStatusString1 开票状态
confirmBunchFlagString1串码录入标识
prototypeFlagString1样机表示
soaNoString1样机号
prototypeDiscountRateString1样机折扣率
soaApplyNoString1样机申请号
itemTotalCouponAmountString1行表的:平台券+返利
snCustNumString1商品编码
payStatusString1支付状态
payTimeString1支付时间
itemTotalPriceString1行总金额 单价*数量-优惠+运费
cmmdtyChannelString1商品来源渠道
priceShowFreightFlagString1发票实付金额是否展示运费字段,0-不展示,1-展示
invoiceMailDtosString
billNumberString1发票业务单号
bizItemNoString1发票业务流水号
bizTypeString1业务类型
companyNameString1公司名称
clientCodeString1商户编码
billingTypeString1开票类型
invoiceDateString1开票日期
mailCodeString1快递公司编码
clientNameString1购方公司名称
clientTaxCodeString1购方公司税号
accepterAddressString1收票人地址
createTimeString1创建时间
invoiceIdString1发票代码
invoiceCodeString1发票号码
mailTypeString1快递公司
mailNumberString1快递单号
mailTimeString1111邮寄日期
invoiceTypeString1invoiceType
accepterNameString1收票人姓名
accepterPhoneString1111收票人电话
invoiceAmountString1开票金额
saleOrgString1销售组织
mailStatusString1发票状态
invoiceUrlString1发票链接
invoiceImageUrlString1发票图片链接
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryInvoicerecorddetail>
      <appId>111</appId>
      <omsOrderItemNo>1111</omsOrderItemNo>
    </queryInvoicerecorddetail>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryInvoicerecorddetail": {
        "appId": "111",
        "omsOrderItemNo": "1111"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryInvoicerecorddetail>
      <respBean>
        <invoiceMailDtos>
          <bizType>1</bizType>
          <clientName>1</clientName>
          <companyName>1</companyName>
          <mailTime>1111</mailTime>
          <invoiceAmount>1</invoiceAmount>
          <accepterPhone>1111</accepterPhone>
          <bizItemNo>1</bizItemNo>
          <clientTaxCode>1</clientTaxCode>
          <mailNumber>1</mailNumber>
          <saleOrg>1</saleOrg>
          <billingType>1</billingType>
          <invoiceType>1</invoiceType>
          <mailCode>1</mailCode>
          <accepterName>1</accepterName>
          <invoiceImageUrl>1</invoiceImageUrl>
          <accepterAddress>1</accepterAddress>
          <mailStatus>1</mailStatus>
          <invoiceDate>1</invoiceDate>
          <invoiceCode>1</invoiceCode>
          <mailType>1</mailType>
          <createTime>1</createTime>
          <clientCode>1</clientCode>
          <invoiceUrl>1</invoiceUrl>
          <invoiceId>1</invoiceId>
          <billNumber>1</billNumber>
        </invoiceMailDtos>
        <orderItemRespDTO>
          <btcOrderId>11</btcOrderId>
          <confirmBunchFlag>1</confirmBunchFlag>
          <orderId>11</orderId>
          <totalPrice>11</totalPrice>
          <payTime>1</payTime>
          <freight>11</freight>
          <voucherAmount>11</voucherAmount>
          <distributorCode>11</distributorCode>
          <invoiceOpenStatus>1</invoiceOpenStatus>
          <supplierCode>1111</supplierCode>
          <confirmFlag>1</confirmFlag>
          <itemRebateTotalCoupon>1111</itemRebateTotalCoupon>
          <cmmdtyChannel>1</cmmdtyChannel>
          <packageNumber>11</packageNumber>
          <snCmmdtyName>11</snCmmdtyName>
          <btcOrderItemId>11</btcOrderItemId>
          <orderItemTargetType>1</orderItemTargetType>
          <itemTotalCouponAmount>1</itemTotalCouponAmount>
          <snCmmdtyType>11</snCmmdtyType>
          <prototypeFlag>1</prototypeFlag>
          <omsOrderId>11</omsOrderId>
          <priceShowFreightFlag>1</priceShowFreightFlag>
          <channelCode>P2</channelCode>
          <unitPrice>11</unitPrice>
          <tradeItemId>11</tradeItemId>
          <custNo>11</custNo>
          <omsOrderItemId>11</omsOrderItemId>
          <quantity>1111</quantity>
          <orderItemId>11</orderItemId>
          <soaApplyNo>1</soaApplyNo>
          <itemTotalPrice>1</itemTotalPrice>
          <updateTime>11</updateTime>
          <snCustNum>1</snCustNum>
          <factorySend>1111</factorySend>
          <freightDiscountItem>1</freightDiscountItem>
          <soaNo>1</soaNo>
          <voucherNo>11</voucherNo>
          <prototypeDiscountRate>1</prototypeDiscountRate>
          <createTime>1111</createTime>
          <snCmmdtyCode>111</snCmmdtyCode>
          <relatedOrderItemNo>1</relatedOrderItemNo>
          <btcLockStatus>0</btcLockStatus>
          <blueAVoucherMoney>11</blueAVoucherMoney>
          <payStatus>1</payStatus>
          <tradeId>11</tradeId>
          <status>1</status>
        </orderItemRespDTO>
      </respBean>
    </queryInvoicerecorddetail>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryInvoicerecorddetail": {
        "respBean": {
          "invoiceMailDtos": [
            {
              "bizType": "1",
              "clientName": "1",
              "companyName": "1",
              "mailTime": "1111",
              "invoiceAmount": "1",
              "accepterPhone": "1111",
              "bizItemNo": "1",
              "clientTaxCode": "1",
              "mailNumber": "1",
              "saleOrg": "1",
              "billingType": "1",
              "invoiceType": "1",
              "mailCode": "1",
              "accepterName": "1",
              "invoiceImageUrl": "1",
              "accepterAddress": "1",
              "mailStatus": "1",
              "invoiceDate": "1",
              "invoiceCode": "1",
              "mailType": "1",
              "createTime": "1",
              "clientCode": "1",
              "invoiceUrl": "1",
              "invoiceId": "1",
              "billNumber": "1"
            }
          ],
          "orderItemRespDTO": {
            "btcOrderId": "11",
            "confirmBunchFlag": "1",
            "orderId": "11",
            "totalPrice": "11",
            "payTime": "1",
            "freight": "11",
            "voucherAmount": "11",
            "distributorCode": "11",
            "invoiceOpenStatus": "1",
            "supplierCode": "1111",
            "confirmFlag": "1",
            "itemRebateTotalCoupon": "1111",
            "cmmdtyChannel": "1",
            "packageNumber": "11",
            "snCmmdtyName": "11",
            "btcOrderItemId": "11",
            "orderItemTargetType": "1",
            "itemTotalCouponAmount": "1",
            "snCmmdtyType": "11",
            "prototypeFlag": "1",
            "omsOrderId": "11",
            "priceShowFreightFlag": "1",
            "channelCode": "P2",
            "unitPrice": "11",
            "tradeItemId": "11",
            "custNo": "11",
            "omsOrderItemId": "11",
            "quantity": "1111",
            "orderItemId": "11",
            "soaApplyNo": "1",
            "itemTotalPrice": "1",
            "updateTime": "11",
            "snCustNum": "1",
            "factorySend": "1111",
            "freightDiscountItem": "1",
            "soaNo": "1",
            "voucherNo": "11",
            "prototypeDiscountRate": "1",
            "createTime": "1111",
            "snCmmdtyCode": "111",
            "relatedOrderItemNo": "1",
            "btcLockStatus": "0",
            "blueAVoucherMoney": "11",
            "payStatus": "1",
            "tradeId": "11",
            "status": "1"
          }
        }
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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