/admin/billing/credit-note/{number}
作废一张红字发票,使其不再生效。参考:GAAP/IFRS (Double-Entry Accounting Principles)。
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
number |
path |
string |
Yes | 红字发票编号 |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 作废成功 | object |
| 400 | 请求参数错误 | object |
| 401 | 未授权 | object |
| 403 | 无权限 | object |
| 500 | 服务器内部错误 | object |