Atendimento

Inutilizar numeração de NF-e

POST
/api/v1/nfe/inutilizacao

Autorização

jwt
headerAutorizaçãoBearer <token>

Access token (ES256) do realm do Keycloak do ambiente, pedido por client_credentials com o client do integrador.

Headers

X-Emitente-Id*string

Emitente (CNPJ/CPF cadastrado na conta) dono do documento.

Formatouuid

Corpo da requisição

application/json
  1. body
serie*string
Tamanho1 <= length
numeroInicial*integer
Formatoint64
Faixa0 <= value
numeroFinal*integer
Formatoint64
Faixa0 <= value
justificativa*string
Tamanho1 <= length

Corpo da resposta

OK

*/*
  1. response
id?string
Formatouuid
emitenteId?string
Formatouuid
ambiente?string
Valor em"PRODUCAO""HOMOLOGACAO"
serie?string
numeroInicial?integer
Formatoint64
numeroFinal?integer
Formatoint64
justificativa?string
homologada?boolean
protocolo?string
dataHoraRegistro?string
Formatodate-time
erros?array<>
criadoEm?string
Formatodate-time
modelo?string
Valor em"NFE""NFCE"
curl -X POST 'https://api.u2dnotafiscal.com.br/api/v1/nfe/inutilizacao' \  -H 'X-Emitente-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{  "serie": "string",  "numeroInicial": 0,  "numeroFinal": 0,  "justificativa": "string"}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "emitenteId": "a71110f7-4f62-4a88-9c3e-55ca33b5e6e3",  "ambiente": "PRODUCAO",  "serie": "string",  "numeroInicial": 0,  "numeroFinal": 0,  "justificativa": "string",  "homologada": true,  "protocolo": "string",  "dataHoraRegistro": "2019-08-24T14:15:22Z",  "erros": [    {      "codigo": "string",      "descricao": "string"    }  ],  "criadoEm": "2019-08-24T14:15:22Z",  "modelo": "NFE"}