MD5 signature: MD5(token + path + body + timestamp)
timestampstring
string
Unix timestamp in seconds (5-minute window)
Fields
Field
Type
Required
Description
chave
string
Yes
NF-e access key — 44 digits
cnpj
string
Yes
Recipient CNPJ (the one manifesting) — 14 digits, unformatted. Must be a company registered under the token
tipo_evento
int
Yes
Event code: 210200, 210210, 210220 or 210240
justificativa
string
Conditional
Required for 210220 and 210240; 15–255 characters after trimming leading and trailing spaces. Ignored for 210200 and 210210
Sequence (nSeqEvento): a recipient manifestation event can be registered only once for the same combination (cnpj + chave + tipo_evento), so the sequence is always 1. A record is saved and success: true is returned only when the tax authority returns 135 or 573 (duplicate event, treated as success); any other result returns success: false with the tax authority's reason in message. When the same combination is sent again after a successful registration, the endpoint does not send it to the tax authority; it returns success: true with the registered record (same fields as the first registration), so the request can be retried safely.
Response fields
idstring
string
Internal ObjectId of the manifestation record (used in /get_xml)
chavestring
string
Access key of the manifested NF-e
cnpjstring
string
Recipient CNPJ that manifested
tipo_eventoint
int
Event code sent (210200/210210/210220/210240)
desc_eventostring
string
Event textual description (tax authority original wording)
nProtstring
string
tax authority protocol number — event receipt
cStatint
int
tax authority status code.
135 = registered, 573 = duplicity (also accepted)
xMotivostring
string
tax authority descriptive return message
nSeqEventoint
int
Event sequence, always 1
xml_urlstring
string
Public download URL of the procEvento XML (signed and protocoled)
Common errors
Message
Cause
Digite a chave da nota de 44 dígitos / 请输入44位发票密钥
chave is missing or does not have 44 digits
Informe o cnpj / 请传入cnpj
cnpj was not sent
Informe o tipo_evento (210200, 210210, 210220 ou 210240) / ...
tipo_evento was not sent
tipo_evento inválido. Use 210200, 210210, 210220 ou 210240
tipo_evento is not one of the four values
justificativa é obrigatória para eventos 210220 e 210240
justificativa was not sent for 210220 or 210240
justificativa deve ter no mínimo 15 caracteres / no máximo 255 caracteres
The length of justificativa is not between 15 and 255
empresa com CNPJ ... não encontrada para este token
The CNPJ is not a company registered under the token
Rejection reason returned by the tax authority (for example Rejeicao: ...)
The tax authority did not register the event; see the cStat codes under "Recipient manifestation"
Examples
# sign = md5(token + path + body + timestamp)
# Template generated from the endpoint path; replace the placeholders
curl -X POST "https://api.tffiscal.com/api/invoice/manifest" \
-H "Content-Type: application/json" \
-H "token: $TOKEN" \
-H "timestamp: $TIMESTAMP" \
-H "sign: $SIGN" \
-d @body.json