Oten Tecnologia
Oten Fiscal
Documentation
GET/nfcom/consulta/periodo

List invoices by period

Returns every NFCom submitted in a period for a given CPF/CNPJ, regardless of status. Limited to 25 records per call; paginate with hashProximaPagina.

Production: https://api.otentecnologia.com.brSandbox: https://api.sandbox.otentecnologia.com.br

Parameters

cpfCnpj
query · required
CPF or CNPJ of the company you want to query.
dataInicial
query
Query start date.
dataFinal
query
Query end date.
hashProximaPagina
query
Hash of the next invoice for pagination.

Request

cURL
curl -X GET 'https://api.otentecnologia.com.br/nfcom/consulta/periodo' \
  -H 'x-api-key: $OTEN_API_KEY' \
  -H 'Content-Type: application/json'

Responses

200OK
400Bad Request
401Unauthorized
JSON
{
  "error": {
    "message": "O token informado é inválido. Para o ambiente de produção, Acesse https://www.otentecnologia.com.br/, e gere o seu TOKEN de acesso"
  }
}