POST v1/Nota/Cancelar

Request Information

URI Parameters

None.

Body Parameters

NotaEventoDto
NameDescriptionTypeAdditional information
nota_evento_id

integer

None.

chave_nfe

string

Required

tp_amb

integer

Required

dh_evento

date

Required

n_prot_nfe

string

None.

x_just

string

String length: inclusive between 15 and 255

n_seq_evento

integer

None.

x_correcao

string

String length: inclusive between 15 and 255

ret_status

integer

None.

ret_motivo

string

None.

ret_cstat

integer

None.

ret_dh_reg_evento

date

None.

ret_n_prot_evento

string

None.

nota_id

integer

Required

tp_evento

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "nota_evento_id": 1,
  "chave_nfe": "sample string 2",
  "tp_amb": 1,
  "dh_evento": "2025-12-12T08:49:44.1954806-03:00",
  "n_prot_nfe": "sample string 3",
  "x_just": "sample string 4",
  "n_seq_evento": 1,
  "x_correcao": "sample string 5",
  "ret_status": 1,
  "ret_motivo": "sample string 6",
  "ret_cstat": 1,
  "ret_dh_reg_evento": "2025-12-12T08:49:44.1954806-03:00",
  "ret_n_prot_evento": "sample string 7",
  "nota_id": 8,
  "tp_evento": 9
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.