GET /billing/invoice/{invoice_number}/export
导出指定发票的详细信息,支持 JSON/CSV 两种格式
计费服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
invoice_number |
path |
string |
Yes |
|
|
|
发票编号 |
format |
query |
string |
No |
json |
|
|
导出格式 (json/csv) |
Referenced Schemas
dto.InvoiceDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.InvoiceResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.InvoiceLineItemResponse
| Field | Type | Required | Example | Constraints | Description |
amount |
number |
No |
99 |
|
|
description |
string |
No |
专业版月度订阅 |
|
|
quantity |
integer |
No |
1 |
|
|
resource_type |
string |
No |
subscription |
|
|
tax_amount |
number |
No |
5.94 |
|
|
tax_rate |
number |
No |
0.06 |
|
|
unit_price |
number |
No |
99 |
|
|
dto.InvoiceResponse
| Field | Type | Required | Example | Constraints | Description |
amount |
number |
No |
104.94 |
|
|
app_id |
string |
No |
app_001 |
|
|
currency |
string |
No |
CNY |
|
|
due_date |
string |
No |
2026-04-15T00:00:00Z |
|
|
invoice_number |
string |
No |
INV-2026-001 |
|
|
issued_at |
string |
No |
2026-04-01T00:00:00Z |
|
|
line_items |
array of
See dto.InvoiceLineItemResponse |
No |
|
|
|
paid_at |
string |
No |
2026-04-10T15:00:00Z |
|
|
status |
string |
No |
issued |
|
|
tenant_id |
string |
No |
tnt_xyz789 |
|
|