{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"b8f03fc7-b2a1-41c9-8082-b32d2525555d","name":"API REST nsdocs v3","description":"A API v3 do nsdocs proporciona uma visão abrangente da infraestrutura do serviço, oferecendo uma interface programática padronizada. Com ela, você pode realizar algumas operações disponíveis no painel, tudo isso na sua linguagem de programação favorita. Baseada em solicitações HTTP e respostas JSON, a API do nsdocs é uma solução RESTful que simplifica a interação com o serviço.\n\nPrincipais operações:\n\n- Verificar as informações de plano e saldo da empresa;\n    \n- Realizar pesquisas de NF-e através da chave de acesso;\n    \n- Realizar buscas de informações de empresas através de CNPJ;\n    \n- Obter XML e PDF dos documentos fiscais;\n    \n- Registrar documentos via XML;\n    \n- Listar os documentos já importados;\n    \n- Manipular o campo de 'Utilização' dos documentos.\n    \n\n# Tratamento de Erros\n\n| Código HTTP | Descrição |\n| --- | --- |\n| 200 | A solicitação foi concluída com sucesso. |\n| 201 | Consulta de Documento Fiscal solicitada com sucesso. |\n| 400 | A solicitação não pode ser executada. Geralmente devido a parâmetros malformados ou parâmetros ausentes. |\n| 401 | Falha na autenticação. |\n| 404 | A URL que você enviou está errado. É possível que o recurso que você solicitou tenha sido movido para outro URL. |\n| 406 | O valor informado no parâmetro é inválido. |\n| 500 | O servidor encontrou um erro que impede o cumprimento da solicitação. |\n\nO corpo das mensagens de erro são retornadas no formato JSON na seguinte estrutura:\n\n```\n{\n   'status': '401',\n   'message': 'Unauthorized'\n}\n\n ```\n\n# Suporte\n\n- Caso existam dúvidas no fluxo ou dificuldades na geração de requisições, é possível nos contatar através do Help Desk para receber instruções:\n    \n    - [Help Desk](https://servidorseguro.mysuite.com.br/empresas/bso/centralseguro.php?h=65934d5e1ce1244ac6a323d40ff4907f)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"29718732","team":5560088,"collectionId":"b8f03fc7-b2a1-41c9-8082-b32d2525555d","publishedId":"2sB3HtGchp","public":true,"publicUrl":"https://v3-developer.nsdocs.com.br","privateUrl":"https://go.postman.co/documentation/29718732-b8f03fc7-b2a1-41c9-8082-b32d2525555d","customColor":{"top-bar":"2E333D","right-sidebar":"C5CAD2","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"API Rest v3 nsdocs"},{"name":"title","value":"API Rest v3 nsdocs"}],"appearance":{"default":"system_default","themes":[{"name":"dark","logo":"https://content.pstmn.io/9d23c2e6-1568-4e2c-acff-daf3957912a5/TkRKbE1ESXpOVEV0TURobVl5MDBaakE0TFRrM1pXTXRNVEJqWm1JNU5ESmlZell3TG5CdVp3PT0ucG5n","colors":{"top-bar":"FF3D03","right-sidebar":"2e333d","highlight":"c5cad2"}},{"name":"light","logo":"https://content.pstmn.io/17d8fa7a-5c7f-400f-8b70-1a13bd6de9f0/Tm1WaVpHSTFOamd0TldWbE9DMDBZbUk0TFdJeE1HUXRNek5pT0RCbU1tRTNOR0UwTG5CdVp3PT0ucG5n","colors":{"top-bar":"2E333D","right-sidebar":"C5CAD2","highlight":"FF6C37"}}]}},"version":"8.11.6","publishDate":"2025-09-22T13:22:51.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"API Rest v3 nsdocs","description":"API Rest v3 nsdocs"},"logos":{"logoLight":"https://content.pstmn.io/17d8fa7a-5c7f-400f-8b70-1a13bd6de9f0/Tm1WaVpHSTFOamd0TldWbE9DMDBZbUk0TFdJeE1HUXRNek5pT0RCbU1tRTNOR0UwTG5CdVp3PT0ucG5n","logoDark":"https://content.pstmn.io/9d23c2e6-1568-4e2c-acff-daf3957912a5/TkRKbE1ESXpOVEV0TURobVl5MDBaakE0TFRrM1pXTXRNVEJqWm1JNU5ESmlZell3TG5CdVp3PT0ucG5n"}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/a27dfd15c62c58ef70176d1f006b9aa25226c14a835676102c1a164d24a68099","favicon":"https://res.cloudinary.com/postman/image/upload/v1735568042/team/d8dc8e93c160661ec75fb5cd9144b897.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://v3-developer.nsdocs.com.br/view/metadata/2sB3HtGchp"}