/billing/invoice/{invoice_number}/pdf
生成并下载指定发票的PDF文件,包含公司信息、发票号、日期、租户ID、行项目明细和金额汇总
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
invoice_number |
path |
string |
Yes | 发票编号 |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | PDF发票文件 | file |
| 400 | 请求参数错误 | object |
| 401 | 未授权 | object |
| 404 | 发票不存在 | object |
| 500 | 服务器内部错误 | object |