API接口目录

平台业务

商品API
价格API
库存API
销售准备API
交易API
退货退款API(新)
财务API
店铺API
物流API
促销API
分销API
发票API
招商API
换货API
互动营销API
退货退款API
客服API
平台营销API
风控API
会员通API
账房API
财务记账API
异常码自查工具
suning.custom.oneappliedticket.query 单个查询已申请发票详情
¥免费

单个查询已申请发票详情

公共参数
请求参数
名称 类型 是否必须 示例值 描述
supplierCodeStringY70056434商家编码
businessNumStringY700564341765423申请编码
serviceTypeStringY02业务类型编码
响应参数
名称 类型 示例值 描述
applyStateInfoString
applyStateString1申请状态
applyStateDescString已关闭申请状态:已关闭;已提交; 开票中; 已开票; 已签收; 已邮寄
addresseeString张三收件人姓名
billWayCodeString1开票方式
contactTelString13523456789联系电话
applyDateString2017-08-27 17:38:23提交发票申请时间
provinceTypeString10010省份编码
provinceNameString江苏省省份名称
sendDateString2017-08-27 17:38:23提交发票申请时间
cityTypeString1城市编码
invoiceReturnDateString2017-08-27 17:38:25发票已开具时间
cityNameString南京市城市名称
signDateString2017-08-27 17:38:26发票已签收时间
districtTypeString1地区编码
expressComString物流公司物流公司
mailNumStringX123456778运单号
mailInfoString
addresseeString张三收件人姓名
contactTelString18553627654联系电话
provinceTypeString1省份编码
provinceNameString江苏省省份名称
cityTypeString1城市编码
cityNameString南京市城市名称
districtTypeString1地区编码
districtNameString玄武区地区名称
recipientAddressString南京市南京市玄武区安将军巷4号详细地址
postCodeString10010邮编
mailModeString10010邮寄编码
mailModeDescString01邮寄方式
billInfoString
invoiceHeadString发票抬头发票抬头
invoiceTypeString增值税普通发票发票类型:增值税普通发票 增值税专用发票
taxRegistrationNumString5332000050917113税务登记号
openingBankString中国银行开户银行
bankAccountString509258192584开户银行账号
businessAddressString南京市南京市玄武区安将军巷4号616室地址
businessPhoneString025-02345678电话
invoiceListString
serviceTypeString02业务类型编码
serviceNameString平台佣金业务类型名称
invoiceCodeString032001900211发票代码
invoiceNumString41221654发票号码
invoiceAmountString3213.00发票金额
pictureUrlStringURL电子发票图片URL
monthListString
serviceTypeString02业务类型编码
serviceNameString平台佣金业务类型名称
chargeMonthString2018年6月月份
accountNumberString20206154216101结算单号
chargeAmountString700.00当月发票金额
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <queryOneappliedticket>
      <serviceType>02</serviceType>
      <businessNum>700564341765423</businessNum>
      <supplierCode>70056434</supplierCode>
    </queryOneappliedticket>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "queryOneappliedticket": {
        "serviceType": "02",
        "businessNum": "700564341765423",
        "supplierCode": "70056434"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <queryOneappliedticket>
      <invoiceList>
        <serviceType>02</serviceType>
        <pictureUrl>URL</pictureUrl>
        <invoiceAmount>3213.00</invoiceAmount>
        <serviceName>平台佣金</serviceName>
        <invoiceCode>032001900211</invoiceCode>
        <invoiceNum>41221654</invoiceNum>
      </invoiceList>
      <billInfo>
        <bankAccount>509258192584</bankAccount>
        <taxRegistrationNum>5332000050917113</taxRegistrationNum>
        <invoiceHead>发票抬头</invoiceHead>
        <invoiceType>增值税普通发票</invoiceType>
        <businessPhone>025-02345678</businessPhone>
        <businessAddress>南京市南京市玄武区安将军巷4号616室</businessAddress>
        <openingBank>中国银行</openingBank>
      </billInfo>
      <mailInfo>
        <cityType>1</cityType>
        <mailModeDesc>01</mailModeDesc>
        <addressee>张三</addressee>
        <cityName>南京市</cityName>
        <districtName>玄武区</districtName>
        <mailMode>10010</mailMode>
        <districtType>1</districtType>
        <provinceType>1</provinceType>
        <postCode>10010</postCode>
        <provinceName>江苏省</provinceName>
        <recipientAddress>南京市南京市玄武区安将军巷4号</recipientAddress>
        <contactTel>18553627654</contactTel>
      </mailInfo>
      <monthList>
        <serviceType>02</serviceType>
        <chargeAmount>700.00</chargeAmount>
        <chargeMonth>2018年6月</chargeMonth>
        <accountNumber>20206154216101</accountNumber>
        <serviceName>平台佣金</serviceName>
      </monthList>
      <applyStateInfo>
        <cityType>1</cityType>
        <billWayCode>1</billWayCode>
        <sendDate>2017-08-27  17:38:23</sendDate>
        <applyState>1</applyState>
        <districtType>1</districtType>
        <mailNum>X123456778</mailNum>
        <applyStateDesc>已关闭</applyStateDesc>
        <provinceType>10010</provinceType>
        <expressCom>物流公司</expressCom>
        <signDate>2017-08-27  17:38:26</signDate>
        <contactTel>13523456789</contactTel>
        <addressee>张三</addressee>
        <cityName>南京市</cityName>
        <invoiceReturnDate>2017-08-27  17:38:25</invoiceReturnDate>
        <provinceName>江苏省</provinceName>
        <applyDate>2017-08-27  17:38:23</applyDate>
      </applyStateInfo>
    </queryOneappliedticket>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "queryOneappliedticket": {
        "invoiceList": [
          {
            "serviceType": "02",
            "pictureUrl": "URL",
            "invoiceAmount": "3213.00",
            "serviceName": "平台佣金",
            "invoiceCode": "032001900211",
            "invoiceNum": "41221654"
          }
        ],
        "billInfo": [
          {
            "bankAccount": "509258192584",
            "taxRegistrationNum": "5332000050917113",
            "invoiceHead": "发票抬头",
            "invoiceType": "增值税普通发票",
            "businessPhone": "025-02345678",
            "businessAddress": "南京市南京市玄武区安将军巷4号616室",
            "openingBank": "中国银行"
          }
        ],
        "mailInfo": [
          {
            "cityType": "1",
            "mailModeDesc": "01",
            "addressee": "张三",
            "cityName": "南京市",
            "districtName": "玄武区",
            "mailMode": "10010",
            "districtType": "1",
            "provinceType": "1",
            "postCode": "10010",
            "provinceName": "江苏省",
            "recipientAddress": "南京市南京市玄武区安将军巷4号",
            "contactTel": "18553627654"
          }
        ],
        "monthList": [
          {
            "serviceType": "02",
            "chargeAmount": "700.00",
            "chargeMonth": "2018年6月",
            "accountNumber": "20206154216101",
            "serviceName": "平台佣金"
          }
        ],
        "applyStateInfo": [
          {
            "cityType": "1",
            "billWayCode": "1",
            "sendDate": "2017-08-27  17:38:23",
            "applyState": "1",
            "districtType": "1",
            "mailNum": "X123456778",
            "applyStateDesc": "已关闭",
            "provinceType": "10010",
            "expressCom": "物流公司",
            "signDate": "2017-08-27  17:38:26",
            "contactTel": "13523456789",
            "addressee": "张三",
            "cityName": "南京市",
            "invoiceReturnDate": "2017-08-27  17:38:25",
            "provinceName": "江苏省",
            "applyDate": "2017-08-27  17:38:23"
          }
        ]
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.custom.queryoneappliedticket.format-error:* 参数格式错误 请检查此参数的值,*号表示参数字段名
biz.custom.queryoneappliedticket.length-overlong:* 参数的值超过规定长度 请检查此参数的值,*号表示参数字段名
biz.custom.queryoneappliedticket.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.mbc 服务不可用 请联系苏宁技术人员
biz.custom.queryoneappliedticket.invalid-biz:100 商家编码不存在或无效 请检商家编码
公共异常码
API工具
FAQ