taobao.xhotel.order.invoice.appointment.search (提前开发票信息展示)

提前开发票信息查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tid Number 可选 123123 订单号

响应参数

名称 类型 示例值 描述
result OrderInvoiceAppointmentResult result
  • └ gmt_modified
  • Date
  • 2017-04-12
  • gmtModified
  • └ hid
  • Number
  • 123123
  • hid
  • └ ver
  • Number
  • 1
  • ver
  • └ invoice_title
  • String
  • 阿里巴巴
  • 发票抬头
  • receive_info
  • ReceiveInfo
  • receiveInfo
  • └ receive_type
  • Number
  • 1
  • receiveType
  • └ receive_time
  • Date
  • 2017-04-12
  • receiveTime
  • └ tid
  • Number
  • 11231231
  • tid
  • └ credit_loan_order_d_os
  • String []
  • creditLoanOrderDOs
  • └ gmt_create
  • Date
  • 2017-04-12
  • gmtCreate
  • └ status
  • Number
  • 1
  • status
  • └ detail_msg_info
  • String
  • msg
  • detailMsgInfo
  • value_added_info
  • ValueAddedInfo
  • valueAddedInfo
  • └ opening_bank
  • String
  • openingBank
  • openingBank
  • └ tax_no
  • String
  • taxNo
  • taxNo
  • └ tel
  • String
  • tel
  • tel
  • └ account_no
  • String
  • accountNo
  • accountNo
  • └ register_addr
  • String
  • registerAddr
  • registerAddr
  • └ value_added
  • Boolean
  • true
  • valueAdded
  • └ seller_id
  • Number
  • 123123
  • sellerId
  • └ tax_no
  • String
  • 1212121
  • taxNo

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
XhotelOrderInvoiceAppointmentSearchRequest req = new XhotelOrderInvoiceAppointmentSearchRequest();
req.setTid(123123L);
XhotelOrderInvoiceAppointmentSearchResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<xhotel_order_invoice_appointment_search_response>
    <result>
        <gmt_modified>2017-04-12</gmt_modified>
        <hid>123123</hid>
        <ver>1</ver>
        <invoice_title>阿里巴巴</invoice_title>
        <receive_info>
            <receive_type>1</receive_type>
            <receive_time>2017-04-12</receive_time>
        </receive_info>
        <tid>11231231</tid>
        <credit_loan_order_d_os>
            <string></string>
        </credit_loan_order_d_os>
        <gmt_create>2017-04-12</gmt_create>
        <status>1</status>
        <detail_msg_info>msg</detail_msg_info>
        <value_added_info>
            <opening_bank>openingBank</opening_bank>
            <tax_no>taxNo</tax_no>
            <tel>tel</tel>
            <account_no>accountNo</account_no>
            <register_addr>registerAddr</register_addr>
        </value_added_info>
        <value_added>true</value_added>
        <seller_id>123123</seller_id>
        <tax_no>1212121</tax_no>
    </result>
</xhotel_order_invoice_appointment_search_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部