> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.erp.olist.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PDV - Cancelar Nota Fiscal

> Serviço para cancelar uma nota fiscal do PDV.

## Endpoint

```
POST https://api.tiny.com.br/api2/pdv.nota.cancelar.php
```

## Parâmetros

| Parâmetro | Tipo   | Ocorrência  | Descrição                                     |
| --------- | ------ | ----------- | --------------------------------------------- |
| token     | string | obrigatório | Chave gerada para identificar sua empresa     |
| formato   | string | obrigatório | Formato do retorno (json)                     |
| id        | int    | obrigatório | ID da nota fiscal                             |
| motivo    | string | obrigatório | Motivo do cancelamento (mínimo 15 caracteres) |

## Exemplo de chamada

```bash theme={null}
curl -X POST https://api.tiny.com.br/api2/pdv.nota.cancelar.php \
  -d "token=SEU_TOKEN&formato=json&id=654321&motivo=Cancelamento solicitado pelo cliente"
```
