TF Fiscal
Documentation

NF-e

Register correction letter

Registers a correction letter (CC-e) on an authorized invoice; the protocol is returned synchronously.

POST/openapi/v2/empresas/{empresaId}/nf-e/{nfeId}/carta-correcao
Requires the token, timestamp and sign signature headers, see Authentication.

Registers a correction letter on an authorized invoice. The call is synchronous: HTTP 200 is returned only after SEFAZ registers the event, and the response body is the result; no callback involved. Authentication errors (10009xxx) are listed under Authentication.

Path parameters

empresaId*
stringCompany identifier
nfeId*
stringInvoice identifier

* Required field

Request body

correcao*
stringCorrection text

* Required field

200
Event registered with SEFAZ.
chaveAcesso
stringAccess key of the corrected invoice
tipo
stringEvent type
codigo
stringSEFAZ event code
sequencia
intLetter sequence
status
stringRegistration status
motivo
stringSEFAZ reply
protocolo
stringEvent protocol
data
stringRegistration time
correcao
stringCorrection text
linkXml
stringReceipt XML link
linkDacce
stringDACCE link

A correction letter only changes wording. Anything that changes a tax amount is out of scope: in those cases cancel and reissue within 24 hours, or issue a return invoice.

Can be corrected

Invoice remarks, the nature-of-operation wording and transport data: carrier, vehicle, volumes, delivery address.

json
{ "correcao": "Correcao do transportador: item (2) sem alteracao de valor" }
correcao*
stringCorrection text

* Required field

Cannot be corrected

Amounts, quantities, unit prices, tax bases and tax amounts, party documents and dates. SEFAZ refuses (10004016); use cancel plus reissue or a return invoice.