public interface InvoiceApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<InvoiceDetailResponse> |
getInvoiceInfo(InvoiceInfo invoiceInfo)
查询电子发票
|
io.reactivex.rxjava3.core.Single<InvoiceDetailsResponse> |
getInvoiceinfoBatch(InvoiceInfoItems invoiceInfoItems)
批量查询电子发票
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
updateInvoiceStatus(InvoiceUpdateRequest request)
更新发票状态
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
updateStatusBatch(InvoiceUpdateRequest request)
批量更新发票状态
|
@POST(value="card/invoice/reimburse/getinvoiceinfo") io.reactivex.rxjava3.core.Single<InvoiceDetailResponse> getInvoiceInfo(@Body InvoiceInfo invoiceInfo)
报销方在获得用户选择的电子发票标识参数后,可以通过该接口查询电子发票的结构化信息,并获取发票PDF文件。
invoiceInfo - the invoice info@POST(value="card/invoice/reimburse/updateinvoicestatus") io.reactivex.rxjava3.core.Single<WeComResponse> updateInvoiceStatus(@Body InvoiceUpdateRequest request)
request - the request@POST(value="card/invoice/reimburse/updatestatusbatch") io.reactivex.rxjava3.core.Single<WeComResponse> updateStatusBatch(@Body InvoiceUpdateRequest request)
request - the request@POST(value="card/invoice/reimburse/getinvoiceinfobatch") io.reactivex.rxjava3.core.Single<InvoiceDetailsResponse> getInvoiceinfoBatch(@Body InvoiceInfoItems invoiceInfoItems)
invoiceInfoItems - the invoice info itemsCopyright © 2023. All rights reserved.