GET
/nfse/upload/{protocolo}Download the upload file
Unlike most municipalities, which receive invoices through a webservice, some cities use an UPLOAD method: a file formatted to City Hall rules is uploaded on the city portal.
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 GET 'https://api.otentecnologia.com.br/nfse/upload/{protocolo}' \
-H 'x-api-key: $OTEN_API_KEY' \
-H 'Content-Type: application/json'Responses
200OK
202Accepted
JSON
{
"message": "Documento em processamento, aguarde alguns minutos e tente novamente."
}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"
}
}