Oten Tecnologia
Oten Fiscal
Documentation
POST/nfse/resolve/{idNota}

Resolve an invoice

Resolves and synchronizes an invoice by ID. Typical uses: - The API still shows PROCESSANDO or INTERROMPIDO, but City Hall already authorized the invoice. - The API shows CONCLUIDO, but City Hall already canceled the invoice. Notes: - The API may hold an invoice in an intermediate state to avoid duplicates with some cities. Use this route to sync when City Hall is already ahead.

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

Parameters

This route has no path or query parameters.

Request

cURL
curl -X POST 'https://api.otentecnologia.com.br/nfse/resolve/{idNota}' \
  -H 'x-api-key: $OTEN_API_KEY' \
  -H 'Content-Type: application/json'

Responses

200OK
JSON
{
  "message": "Solicitação de resolve recebida com sucesso. Aguarde alguns minutos e utilize a rota de consulta para obter a situação do documento."
}
400Bad Request
JSON
{
  "message": "Resolve disponível somente para documentos com situação PROCESSANDO, INTERROMPIDO ou CONCLUIDO."
}
404Not found
JSON
{
  "message": "Não localizamos qualquer NFSe com os parâmetros informados"
}