- 开发指南
- 消息推送
- 通讯录管理
- 应用管理
- 素材管理
- OA数据接口
- 电子发票
- 推广二维码
- 应用授权
- 身份验证
- 设备管理
查询电子发票
POST
http://127.0.0.1/cgi-bin/card/invoice/reimburse/getinvoiceinfo
智慧硬件开发/电子发票
最后修改时间:2022-08-30 03:03:35
责任人:未设置
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90284
https://open.work.weixin.qq.com/api/doc/90001/90420
https://open.work.weixin.qq.com/api/doc/90002/90902
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
encrypt_code
string
发票id
card_id
string
加密code
示例
{
"card_id": "CARDID",
"encrypt_code": "ENCRYPTCODE"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://127.0.0.1/cgi-bin/card/invoice/reimburse/getinvoiceinfo?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"card_id": "CARDID",
"encrypt_code": "ENCRYPTCODE"
}'
返回响应
🟢200成功
application/json
Body
errcode
integer
必需
errmsg
string
必需
card_id
string
发票id
begin_time
integer
必需
end_time
integer
必需
openid
string
用户标识
type
string
必需
payee
string
发票的收款方
detail
string
发票详情
user_info
object
必需
fee
integer
必需
title
string
发票的抬头
billing_time
integer
必需
billing_no
string
发票代码
billing_code
string
发票号码
info
array [object {5}]
商品信息结构
fee_without_tax
integer
必需
tax
integer
税额,以分为单位
detail
string
必需
pdf_url
string
必需
reimburse_status
string
必需
check_code
string
校验码
trip_pdf_url
string
可选
buyer_number
string
可选
buyer_address_and_phone
string
购买方地址、电话
buyer_bank_account
string
可选
seller_number
string
可选
seller_address_and_phone
string
销售方地址、电话
seller_bank_account
string
可选
remarks
string
备注
cashier
string
可选
maker
string
可选
示例
{
"errcode": 0,
"errmsg": "string",
"card_id": "string",
"begin_time": 0,
"end_time": 0,
"openid": "string",
"type": "string",
"payee": "string",
"detail": "string",
"user_info": {
"fee": 0,
"title": "string",
"billing_time": 0,
"billing_no": "string",
"billing_code": "string",
"info": [
{
"name": "string",
"num": 0,
"unit": "string",
"fee": 0,
"price": 0
}
],
"fee_without_tax": 0,
"tax": 0,
"detail": "string",
"pdf_url": "string",
"reimburse_status": "string",
"check_code": "string",
"trip_pdf_url": "string",
"buyer_number": "string",
"buyer_address_and_phone\t": "string",
"buyer_bank_account": "string",
"seller_number": "string",
"seller_address_and_phone": "string",
"seller_bank_account": "string",
"remarks": "string",
"cashier": "string",
"maker": "string"
}
}
