GET /admin/billing/credit-note/{number}
根据红字发票编号查询详情,含金额、原因、关联发票和状态
计费服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
number |
path |
string |
Yes |
|
|
|
红字发票编号 |
Referenced Schemas
dto.CreditNoteDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.CreditNoteResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.CreditNoteResponse
| Field | Type | Required | Example | Constraints | Description |
amount |
number |
No |
99 |
|
|
applied_at |
string |
No |
2026-04-15T12:00:00Z |
|
|
credit_note_number |
string |
No |
CN-2026-001 |
|
|
invoice_number |
string |
No |
INV-2026-001 |
|
|
issued_at |
string |
No |
2026-04-15T10:00:00Z |
|
|
reason |
string |
No |
服务取消 |
|
|
status |
string |
No |
issued |
|
|
tenant_id |
string |
No |
tnt_abc123 |
|
|