# Delete invoice

`DELETE /v1/invoice/@id` · scope `billing:write`

Delete invoice `@id`.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/invoice/@id` |
| Method | `DELETE` |
| Scope | `billing:write` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Invoice ID |

## Example request

```bash
curl -X DELETE "https://api.tino.vn/v1/invoice/300001" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `billing:write`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.billing.delete_invoice(id)`, Node.js `await client.billing.deleteInvoice(id);`, PHP `$client->billing->deleteInvoice($id);`.

## Example response

```json
{
 "success": true,
 "info": [
  "invs_deleted"
 ]
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
