# 发票详情
# 接口说明
查询发票详情,包含关联的订单信息。
# 接口地址
- 测试环境:
http://apitest.dudubashi.com/api/charter/partner_invoice_detail - 生产环境:
http://wx.dudubashi.com/api/charter/partner_invoice_detail
# 请求方法
POST
# 请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| id | integer | 是 | 发票ID(兼容 invoice_id) | 1001 |
# 响应示例
{
"result": "0000",
"info": "成功",
"data": {
"id": 1001,
"invoice_title": "深圳市测试科技有限公司",
"total_amount": 500,
"status": 3,
"status_text": "已开票",
"invoice_pdf": "https://oss.dudubashi.com/invoice/xxx.pdf",
"invoice_no": "044002100211",
"email": "finance@example.com",
"order_nums": ["BC202605200001"],
"orders": [
{
"order_num": "BC202605200001",
"from_place": "深圳北站",
"to_place": "深圳宝安国际机场",
"start_time": "2026-05-20 09:00:00",
"price": 500
}
]
}
}