文档中心 > API类目 > 飞猪商家平台

alitrip.merchant.galaxy.derby.member.voucher.receipt.details.auto (v5.0付费会员卡开票抬头自匹配)

v5.0付费会员卡开票抬头自匹配

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tenant_key String 必须 831232110 tenant_key
keyword String 必须 某某公司 关键词

响应参数

名称 类型 示例值 描述
result Response 抬头自匹配接口返回结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • String
  • 500
  • 错误码
  • └ error_msg
  • String
  • paramNull
  • 错误信息
  • content
  • DerbyVoucherReceiptAutoVO []
  • 返回类型
  • └ name
  • String
  • 某某公司
  • 发票抬头
  • └ tax_i_d
  • String
  • 3125786312678312578
  • 税号

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripMerchantGalaxyDerbyMemberVoucherReceiptDetailsAutoRequest req = new AlitripMerchantGalaxyDerbyMemberVoucherReceiptDetailsAutoRequest();
req.setTenantKey("831232110");
req.setKeyword("某某公司");
AlitripMerchantGalaxyDerbyMemberVoucherReceiptDetailsAutoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_merchant_galaxy_derby_member_voucher_receipt_details_auto_response>
    <result>
        <success>true</success>
        <error_code>500</error_code>
        <error_msg>paramNull</error_msg>
        <content>
            <derby_voucher_receipt_auto_v_o>
                <name>某某公司</name>
                <tax_i_d>3125786312678312578</tax_i_d>
            </derby_voucher_receipt_auto_v_o>
        </content>
    </result>
</alitrip_merchant_galaxy_derby_member_voucher_receipt_details_auto_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

返回
顶部