Offline NFC-e
List devices
Paginated list of the company devices: connection, license, certificate and offline invoices waiting for upload.
GET
/openapi/v2/empresas/{empresaId}/nfce-offline/dispositivosRequires the
token, timestamp and sign signature headers, see Authentication.Sorted by pairing time, newest first. A company that has not generated a pairing code yet returns an empty list. To follow tills without network, watch conexao = SemContato, pendentesTransmissao and pendenteMaisAntigaEm; those figures are what the device reported at its last contact.
Path parameters
empresaId* | string | Company identifier |
* Required field
Query parameters
situacao | string | Status filter |
pagina | int | Page |
tamanho | int | Items per page |
* Required field
200
Page of devices.
success | bool | Call outcome |
message | string | Result text |
| object | Result |
situacaoDevice status
| Values | Meaning |
|---|---|
| Ativo | Paired and allowed to issue |
| Desativado | Deactivated by the integrator; it never issues again. To reuse the same till, generate a new pairing code |
| Revogado | Revoked by the platform; it never issues again. Contact the platform |
conexaoConnection status
Derived from the last contact; the no-contact time limit is set by the platform.
| Values | Meaning |
|---|---|
| Online | Talked to the platform within the limit |
| SemContato | Has connected before but is past the limit without contact; it may be off the network issuing offline, or switched off |
| NuncaConectado | Paired but has not made contact since pairing |
formaIntegration form
| Values | Meaning |
|---|---|
| Assistente | Invoice Assistant: a Windows program installed on the store computer; the POS calls its local interface. See Invoice Assistant |
| Sdk | SDK embedded in the POS. See Embedded SDK |
ambienteEnvironment
| Values | Meaning |
|---|---|
| Homologacao | Testing: invoices without fiscal value, for integration tests |
| Producao | Production: invoices with fiscal value; requires a valid company A1 certificate |
| Code | HTTP | |
|---|---|---|
| 10029100 | 404 | Company does not exist or belongs to another integrator. |
| 10029001 | 200 | pagina below 1, tamanho outside 1 to 100 or situacao outside the values. |
| 10001001 | 400 | pagina or tamanho not numeric. |
