查询电子发票
POST
/cgi-bin/card/invoice/reimburse/getinvoiceinfo
服务端API企业内部开发第三方应用开发智慧硬件开发
原文档地址:
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
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/card/invoice/reimburse/getinvoiceinfo?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"card_id":"CARDID","encrypt_code":"ENCRYPTCODE"}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"card_id": "CARDID",
"begin_time": 1469084420,
"end_time": 2100236420,
"openid": "oxfdsfsafaf",
"type": "增值税电子普通发票",
"payee": "深圳市XX有限公司",
"detail": "可在公司企业微信内报销使用",
"user_info": {
"fee": 4000,
"title": "XX有限公司",
"billing_time": 1478620800,
"billing_no": "00000001",
"billing_code": "000000000001",
"info": [
{
"name": "NAME",
"num": 10,
"unit": "吨",
"fee": 10,
"price": 4
}
],
"fee_without_tax": 2345,
"tax": 123,
"detail": "项目",
"pdf_url": "pdf_url",
"reimburse_status": "INVOICE_REIMBURSE_INIT",
"check_code": "check_code"
}
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:45