# Number and freeze an invoice

`POST /invoices/{id}/finalise` · Rivier · shop

Number and freeze an invoice. A numbered invoice can only be corrected by a credit note.

- Scope: shop:write
- Mcp: rivier_invoices_finalise
- Graphql: Mutation.finaliseInvoice
- Sdk: shop.invoice.finalise
- Cli: shop invoice finalise

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/invoices/{id}/finalise' \
  -H 'Authorization: Bearer $KEY'
```
