---
title: "Cancela uma nota fiscal"
method: DELETE
path: "/api/NotaFiscal"
tags: ["NotaFiscal"]
---

# Cancela uma nota fiscal

`DELETE /api/NotaFiscal`

## Request

- Base URL: `https://pagamentos.meuk8.com.br/CobrancasAPI`
- URL: `https://pagamentos.meuk8.com.br/CobrancasAPI/api/NotaFiscal`
- Auth: OAuth 2
  - Password
  - Token URL: `/CobrancasAPI/token` scopes: `BknBankCobrancasAPI`

Esta API cancela uma nota fiscal através do id da mesma.
### Requisição 
| **Campo** | **Tipo** | **Descrição** | **Obrigatório** | 
|--|--|--|--|
| nfeId | String | Identificador interno da nota fiscal | Sim |

## Query parameters

- `nfeId` string, required

## Headers

- `Aeskey` string, required

## Response `204`

Nota fiscal cancelada

- SystemVoid

## Other responses

- `400`: Id inválido da nota fiscal ou erro cancelando nota fiscal
- `401`: Não há permissão para acessar este nota fiscal
- `404`: Não existe a nota fiscal por Id
- `500`: Id inválido da nota fiscal ou erro cancelando nota fiscal

---

[API](https://skmtc.dev/meuk8/apis/k8-fintech-cobran-as.md) - [All operations](https://skmtc.dev/meuk8/apis/k8-fintech-cobran-as/llms.txt) - [OpenAPI document](https://skmtc.dev/meuk8/apis/k8-fintech-cobran-as/revisions/4b96dba8717a?raw)
