文档中心 > API类目 > 企业运营平台-集团财务

taobao.financial.anypay.queryinvoice (查询特付发票信息)

查询特付发票信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request_page_dto RequestPageDto 可选 RequestPageDto
  • data
  • StmBatchBillableInfoReqDto
  • 可选
  • StmBatchBillableInfoReqDto
  • └ biz_request_no
  • String
  • 可选
  • 123456789
  • 结算请求单号
  • └ biz_code
  • String
  • 可选
  • energy
  • 特付Code
  • └ page_length
  • Number
  • 可选
  • 100
  • 长度
  • └ page_begin
  • Number
  • 可选
  • 0
  • 起始值

响应参数

名称 类型 示例值 描述
result ResponseModel ResponseModel
  • └ error_detail_info
  • String
  • 错误信息
  • data
  • PageWrapperDto
  • PageWrapperDto
  • └ count
  • Number
  • 1
  • 数量
  • list
  • StmBatchBillableInfoDto []
  • StmBatchBillableInfoDto
  • └ biz_request_no
  • String
  • 123456789
  • 唯一业务请求单号
  • └ settlement_no
  • String
  • JS100000579400001
  • 结算单号
  • └ amount
  • String
  • 100
  • 结算金额
  • └ entry_amount
  • String
  • 0
  • 已录入金额 含未认证通过的金额
  • └ ou_code
  • String
  • A50
  • ouCode
  • └ billable_desc
  • String
  • demo
  • 开票单描述
  • └ billable_no
  • String
  • KP0000022804
  • 开票单号
  • └ ou_name
  • String
  • 阿里巴巴(中国)有限公司
  • ouName
  • └ document_no
  • String
  • JS1000005794
  • 结算批单号
  • └ tax_rate
  • String
  • 6
  • 税率
  • └ invoice_type
  • String
  • VAT
  • 发票类型
  • └ currency
  • String
  • CNY
  • 币种
  • └ expense_request_nos
  • String []
  • ["123456"]
  • 费用请求列表
  • └ success
  • Boolean
  • true
  • 请求状态
  • └ error_code
  • String
  • null
  • 错误码
  • └ error_msg
  • String
  • null
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FinancialAnypayQueryinvoiceRequest req = new FinancialAnypayQueryinvoiceRequest();
FinancialAnypayQueryinvoiceRequest.RequestPageDto obj1 = new FinancialAnypayQueryinvoiceRequest.RequestPageDto();
FinancialAnypayQueryinvoiceRequest.StmBatchBillableInfoReqDto obj2 = new FinancialAnypayQueryinvoiceRequest.StmBatchBillableInfoReqDto();
obj2.setBizRequestNo("123456789");
obj2.setBizCode("energy");
obj1.setData(obj2);
obj1.setPageLength(100L);
obj1.setPageBegin(0L);
req.setRequestPageDto(obj1);
FinancialAnypayQueryinvoiceResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<financial_anypay_queryinvoice_response>
    <result>
        <error_detail_info></error_detail_info>
        <data>
            <count>1</count>
            <list>
                <stm_batch_billable_info_dto>
                    <biz_request_no>123456789</biz_request_no>
                    <settlement_no>JS100000579400001</settlement_no>
                    <amount>100</amount>
                    <entry_amount>0</entry_amount>
                    <ou_code>A50</ou_code>
                    <billable_desc>demo</billable_desc>
                    <billable_no>KP0000022804</billable_no>
                    <ou_name>阿里巴巴(中国)有限公司</ou_name>
                    <document_no>JS1000005794</document_no>
                    <tax_rate>6</tax_rate>
                    <invoice_type>VAT</invoice_type>
                    <currency>CNY</currency>
                    <expense_request_nos>
                        <string>[&quot;123456&quot;]</string>
                    </expense_request_nos>
                </stm_batch_billable_info_dto>
            </list>
        </data>
        <success>true</success>
        <error_code>null</error_code>
        <error_msg>null</error_msg>
    </result>
</financial_anypay_queryinvoice_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

返回
顶部