---
title: "Nfe cancel"
method: POST
path: "/api/v1/fiscal-agent/nfce/{invoice}/cancel"
tags: ["fiscal-agent"]
---

# Nfe cancel

`POST /api/v1/fiscal-agent/nfce/{invoice}/cancel`

## Request

- Base URL: `https://www.foxnfe.com.br`
- URL: `https://www.foxnfe.com.br/api/v1/fiscal-agent/nfce/{invoice}/cancel`
- Auth: HTTP bearer

## Path parameters

- `invoice` integer, required

## Request body

- PostApiV1FiscalAgentNfceInvoiceCancelRequest
  - `justificativa` string, required

## Response `202`

Resposta implementada pelo controlador.

- object
  - `invoice_id` integer
  - `message` string

---

[API](https://skmtc.dev/foxnfe/apis/fox-nf-e-api.md) · [All operations](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/revisions/8820a6e016b0?raw)
