Oten Tecnologia
Oten Fiscal
Documentation
POST/nfse/interromper

Interrupt NFS-e processing

Sends a list of NFS-e documents that are not in a final status and asks the API to stop processing them.

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/interromper' \
  -H 'x-api-key: $OTEN_API_KEY' \
  -H 'Content-Type: application/json'

Responses

200OK
JSON
{
  "message": "Interrupção em processamento",
  "protocolo": "2e31e63a-006d-46d2-9a7a-216d39abae6e"
}
400Bad Request
JSON
[
  {
    "error": {
      "message": "Documento já está interrompido.",
      "data": {
        "id": "5eb6caf7cbb4e8dce016c39f"
      }
    }
  }
]
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"
  }
}
404Not Found
JSON
[
  {
    "error": {
      "message": "Não localizamos qualquer NFSe com os parâmetros informados",
      "data": {
        "id": "5eb6caf7cbb4e8dce016c39f"
      }
    }
  }
]