文档中心 > API类目 > 本地生活API

taobao.servindustry.finance.insurance.invoice.insurancenos (商家查询本次开票的保险单号)

商家查询本次开票的保险单号

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
invoice_insurance_no_top_req InvoiceInsuranceNoTopReq 可选 请求原文
  • └ invoice_apply_id
  • String
  • 必须
  • 124124124
  • 口碑开票id

响应参数

名称 类型 示例值 描述
result Result 返回参数
  • └ trace_id
  • String
  • 124sdfe12412
  • 鹰眼id
  • data
  • TopInvoiceInsuranceNoDTO
  • 返回结果数据
  • └ invoice_apply_id
  • String
  • 12412421
  • 发票申请单id
  • └ insurance_type
  • String
  • ADVANCE_LOAN
  • 保险类型,医美险 MEDICAL_BEAUTY ,提前放款险 ADVANCE_LOAN
  • └ insurance_no_list
  • String []
  • 保险单号列表
  • └ unique_code
  • String
  • 23412412412
  • 统一社会信用代码
  • └ months
  • String
  • 202201,202202
  • 月份,多个月份用逗号分隔
  • └ amount
  • Number
  • 1111
  • 发票金额 单位:分
  • └ invoice_type
  • Number
  • 1
  • 0 普通 1 专票
  • └ post_type
  • String
  • paper
  • email:开电子发票 ,paper:开纸质发票
  • └ operating_license
  • String
  • 杭州口腔医院有限公司
  • 发票抬头
  • └ tax_reg_number
  • String
  • 12412421sdf
  • 纳税人识别号
  • └ invoice_address
  • String
  • 浙江省杭州市西溪路12号
  • 发票地址
  • └ invoice_phone
  • String
  • 13200001111
  • 发票电话
  • └ invoice_post_address
  • String
  • 浙江省杭州市西溪路12号
  • 收件人地址
  • └ invoice_post_phone
  • String
  • 13200001111
  • 收件人号码
  • └ bank_name
  • String
  • 工行高新支行
  • 开户行
  • └ bank_account
  • String
  • 12412421421
  • 开户行账号
  • └ email
  • String
  • asd222@163.com
  • 电子邮件
  • └ success
  • Boolean
  • true
  • 是否成功
  • error
  • TribeError
  • 错误信息
  • └ view
  • String
  • 系统错误
  • 错误原因
  • └ code
  • String
  • SYSTEM_ERROR
  • 错误码
  • └ message
  • String
  • 系统错误
  • 错误原因

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ServindustryFinanceInsuranceInvoiceInsurancenosRequest req = new ServindustryFinanceInsuranceInvoiceInsurancenosRequest();
ServindustryFinanceInsuranceInvoiceInsurancenosRequest.InvoiceInsuranceNoTopReq obj1 = new ServindustryFinanceInsuranceInvoiceInsurancenosRequest.InvoiceInsuranceNoTopReq();
obj1.setInvoiceApplyId("124124124");
req.setInvoiceInsuranceNoTopReq(obj1);
ServindustryFinanceInsuranceInvoiceInsurancenosResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<servindustry_finance_insurance_invoice_insurancenos_response>
    <result>
        <trace_id>124sdfe12412</trace_id>
        <data>
            <invoice_apply_id>12412421</invoice_apply_id>
            <insurance_type>ADVANCE_LOAN</insurance_type>
            <unique_code>23412412412</unique_code>
            <months>202201,202202</months>
            <amount>1111</amount>
            <invoice_type>1</invoice_type>
            <post_type>paper</post_type>
            <operating_license>杭州口腔医院有限公司</operating_license>
            <tax_reg_number>12412421sdf</tax_reg_number>
            <invoice_address>浙江省杭州市西溪路12号</invoice_address>
            <invoice_phone>13200001111</invoice_phone>
            <invoice_post_address>浙江省杭州市西溪路12号</invoice_post_address>
            <invoice_post_phone>13200001111</invoice_post_phone>
            <bank_name>工行高新支行</bank_name>
            <bank_account>12412421421</bank_account>
            <email>asd222@163.com</email>
        </data>
        <success>true</success>
        <error>
            <view>系统错误</view>
            <code>SYSTEM_ERROR</code>
            <message>系统错误</message>
        </error>
    </result>
</servindustry_finance_insurance_invoice_insurancenos_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

返回
顶部