注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 公益三小时公共

alibaba.csr.donate.org.invoice.undraw.list (获取机构待开票列表)

获取机构待开票列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
csr_invoice_external_org_query_dto CsrInvoiceExternalOrgQueryDTO 可选 请求参数
  • └ page_index
  • Number
  • 可选
  • 1
  • 分页页码
  • └ page_size
  • Number
  • 可选
  • 20
  • 分页大小

响应参数

名称 类型 示例值 描述
res_msg String success 响应描述信息
res_code Number 200 响应码,200成功,非200失败
res_data CsrPage 响应数据
  • └ total
  • Number
  • 2
  • 总条数
  • └ pages
  • Number
  • 1
  • 总页数
  • └ page_size
  • Number
  • 10
  • 分页大小,默认20,最大100
  • list
  • CsrInvoiceExternalOrgQueryResultDTO []
  • 分页数据
  • └ seller_nick
  • String
  • 阿里巴巴旗舰店1
  • 商家昵称
  • project_list
  • CsrInvoiceApplyProjectDTO []
  • 项目金额明细
  • └ project_amount
  • Number
  • 111111
  • 项目金额,单位分
  • └ project_name
  • String
  • 童伴妈妈11111
  • 项目名称
  • └ contact_mobile
  • String
  • 1008611
  • 商家联系人电话
  • └ unified_credit_code
  • String
  • 123123123123123
  • 统一社会信用代码
  • └ contact_name
  • String
  • 李四
  • 商家联系人
  • └ accept_operator
  • String
  • 张三
  • 受理操作人
  • bill_info
  • CsrInvoiceBillDTO
  • 账单信息
  • └ bill_file
  • String
  • https://czt-public-read.oss-cn-beijing.aliyuncs.com/202305080131037444LTEzMjMyNTc3NTc=.pdf
  • 账单明细文件地址,行数据中携带制表符
  • └ bill_cycle
  • String
  • 2023/01,2023/02,2023/04
  • 账期
  • └ bill_detail_standard_file
  • String
  • https://czt-public-read.oss-cn-beijing.aliyuncs.com/202305080131037444LTEzMjMyNTc3NTc=.pdf
  • 账单明细文件地址,行数据中不带制表符
  • └ shop_name
  • String
  • 李宁官方旗舰店
  • 店铺名称
  • └ invoice_state
  • Number
  • 1
  • 发票状态,1:已受理
  • └ invoice_amount
  • Number
  • 1221231
  • 票据金额,单位分
  • └ org_promote_id
  • String
  • 202304061090
  • 机构唯一标识
  • └ account_bank
  • String
  • 中国工商银行1
  • 开户行名称
  • └ account_no
  • String
  • 123412341234123
  • 开户行账号
  • └ invoice_type
  • String
  • paper
  • 纸质:paper/电子electronic
  • └ contact_address
  • String
  • 杭1州
  • 商家联系人地址
  • └ invoice_id
  • String
  • 202
  • 发票id
  • └ shop_id
  • Number
  • 10031231
  • 店铺id
  • └ apply_time
  • Number
  • 1684723364000
  • 申请时间-ms时间戳
  • └ invoice_title
  • String
  • 阿里巴巴旗舰店抬头1
  • 发票抬头
  • └ page_num
  • Number
  • 1
  • 当前页码
res_success Boolean true 是否成功响应
res_localized_msg String

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCsrDonateOrgInvoiceUndrawListRequest req = new AlibabaCsrDonateOrgInvoiceUndrawListRequest();
AlibabaCsrDonateOrgInvoiceUndrawListRequest.CsrInvoiceExternalOrgQueryDTO obj1 = new AlibabaCsrDonateOrgInvoiceUndrawListRequest.CsrInvoiceExternalOrgQueryDTO();
obj1.setPageIndex(1L);
obj1.setPageSize(20L);
req.setCsrInvoiceExternalOrgQueryDto(obj1);
AlibabaCsrDonateOrgInvoiceUndrawListResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_csr_donate_org_invoice_undraw_list_response>
    <res_msg>success</res_msg>
    <res_code>200</res_code>
    <res_data>
        <total>2</total>
        <pages>1</pages>
        <page_size>10</page_size>
        <list>
            <csr_invoice_external_org_query_result_d_t_o>
                <seller_nick>阿里巴巴旗舰店1</seller_nick>
                <project_list>
                    <csr_invoice_apply_project_d_t_o>
                        <project_amount>111111</project_amount>
                        <project_name>童伴妈妈11111</project_name>
                    </csr_invoice_apply_project_d_t_o>
                </project_list>
                <contact_mobile>1008611</contact_mobile>
                <unified_credit_code>123123123123123</unified_credit_code>
                <contact_name>李四</contact_name>
                <accept_operator>张三</accept_operator>
                <bill_info>
                    <bill_file>https://czt-public-read.oss-cn-beijing.aliyuncs.com/202305080131037444LTEzMjMyNTc3NTc=.pdf</bill_file>
                    <bill_cycle>2023/01,2023/02,2023/04</bill_cycle>
                    <bill_detail_standard_file>https://czt-public-read.oss-cn-beijing.aliyuncs.com/202305080131037444LTEzMjMyNTc3NTc=.pdf</bill_detail_standard_file>
                </bill_info>
                <shop_name>李宁官方旗舰店</shop_name>
                <invoice_state>1</invoice_state>
                <invoice_amount>1221231</invoice_amount>
                <org_promote_id>202304061090</org_promote_id>
                <account_bank>中国工商银行1</account_bank>
                <account_no>123412341234123</account_no>
                <invoice_type>paper</invoice_type>
                <contact_address>杭1州</contact_address>
                <invoice_id>202</invoice_id>
                <shop_id>10031231</shop_id>
                <apply_time>1684723364000</apply_time>
                <invoice_title>阿里巴巴旗舰店抬头1</invoice_title>
            </csr_invoice_external_org_query_result_d_t_o>
        </list>
        <page_num>1</page_num>
    </res_data>
    <res_success>true</res_success>
    <res_localized_msg>无</res_localized_msg>
</alibaba_csr_donate_org_invoice_undraw_list_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

返回
顶部