TF Fiscal
Documentation

Offline NFC-e

Deactivate device

Deactivates a till for good; the offline invoices it already issued are still uploaded.

POST/openapi/v2/empresas/{empresaId}/nfce-offline/dispositivos/{dispositivoId}/desativar
Requires the token, timestamp and sign signature headers, see Authentication.

Use it when the till is replaced, stolen or retired. There is no way back: the device is refused at its next call, wipes its local license and stops using its series. Offline invoices already issued on it are still uploaded, with the usual webhooks; when done, pendentesTransmissao reaches 0. To use the same computer again, generate a new pairing code; once pendentesTransmissao reaches 0, the new code can reuse the same series through serie. The platform sends the nfce.device.deactivated webhook. Deactivating again returns the device with no error.

Path parameters

empresaId*
stringCompany identifier
dispositivoId*
stringDevice identifier

* Required field

Request body

motivo*
stringDeactivation reason

* Required field

200
Device deactivated.
success
boolCall outcome
message
stringResult text
objectDevice object