{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"3d8d7c98-3475-4fb9-b647-3db2029e797d","name":"Documentação da API","description":"# 📄 Visão Geral\n\nEsta API fornece serviços para interação com um sistema de emissão de notas fiscais de serviço eletrônicas (NFSe).\n\nO Web Service e todos os seus serviços, seguem o modelo nacional de NFS-e, versão 1.00, definido pela Associação Brasileira de Secretários e Dirigentes das Finanças dos Municípios das Capitais (ABRASF) e pela Receita Federal do Brasil (RFB). A descrição completa dos métodos deverá ser obtida diretamente do Manual de Integração, disponível no próprio site da ABRASF ou no seguinte endereço: Arquivo Principal: [https://abrasf.org.br/biblioteca/arquivos-publicos/nfse-manualdeintegracao-2008dez29/viewdocument/29](https://abrasf.org.br/biblioteca/arquivos-publicos/nfse-manualdeintegracao-2008dez29/viewdocument/29)\n\n# 🚀 Acesso ao ambiente de Produção\n\nPara iniciar o processo de integração, é necessário que o prestador acesse o sistema de NFS-e do seu município, faça o login utilizando a url disponibilizada pela prefeitura, por exemplo `http://nfepirapora.contassconsultoria.com.br/auth/login` e acesse o menu RPS->Requisicão.\n\n- Tipo de Documento: RPS\n    \n- Quantidade: Informe a quantidade necessária.\n    \n\nAguarde para que o fiscal da prefeitura faça a analise (deferimento/indeferimento) da solicitação. Você pode acompanhar o status da solicitação neste mesmo menu.\n\nOs serviços disponíveis são os seguintes:\n\n1. **RecepcionarLoteRps**: Permite enviar um lote de RPS (Recibos Provisórios de Serviço) para processamento e emissão de NFSe.\n    \n2. **ConsultarSituacaoLoteRps**: Permite consultar a situação de processamento de um lote de RPS previamente enviado.\n    \n3. **ConsultarNfsePorRps**: Permite consultar uma NFSe específica a partir do número do RPS associado.\n    \n4. **CancelarNfse**: Permite cancelar uma NFSe emitida.\n    \n\n# 🚧 Acesso ao ambiente de Homologacao\n\nObserve que há modelos de XML distintos para prefeituras que permitem **mais de 1 item de serviço** para a mesma nota fiscal. Se este for o seu caso, use o ambiente [http://nfse-homologacao2.contassconsultoria.com.br/auth/login](http://nfse-homologacao2.contassconsultoria.com.br/auth/login) para realizar os seus testes. **Entre em contato diretamente com a prefeitura para saber qual versao utilizar.**\n\nPara solicitar o acesso ao ambiente de homologação para realização de testes envie um email para [<b>suportetributario@contassconsultoria.com.br</b>](https://mailto:suportetributario@contassconsultoria.com.br) com o assunto \"Homologação Integração NFS-e\", informando no corpo do e-mail o **CNPJ** do contribuinte e o **CNPJ** da prefeitura.\n\nURLs disponíveis para teste:\n\n[<code>http://nfse-homologacao.contassconsultoria.com.br/auth/login</code>](http://nfse-homologacao.contassconsultoria.com.br/auth/login)\n\n_\\*Permite importação_ _**apenas**_ _1 item de serviço para a mesma nota_\n\n[<code>http://nfse-homologacao2.contassconsultoria.com.br/auth/login</code>](http://nfse-homologacao2.contassconsultoria.com.br/auth/login)\n\n_\\*Permite importação de_ _**mais**_ _de 1 item de serviço para a mesma nota_\n\n# 🛟 Dúvidas e Suporte\n\nPara dúvidas ou suporte entre em contato através do e-mail [<b>suportetributario@contassconsultoria.com.br</b>](https://mailto:suportetributario@contassconsultoria.com.br).","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"4035825","team":4354136,"collectionId":"3d8d7c98-3475-4fb9-b647-3db2029e797d","publishedId":"2sA35D43Ai","public":true,"publicUrl":"https://documenter-api.postman.tech/view/4035825/2sA35D43Ai","privateUrl":"https://go.postman.co/documentation/4035825-3d8d7c98-3475-4fb9-b647-3db2029e797d","customColor":{"top-bar":"DDDDDD","right-sidebar":"303030","highlight":"76885B"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"API, Contass, NFSe, webservices, nfe, contas"},{"name":"title","value":"Documentação API NFS-e Contass"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/16937a3b-48c3-46a4-9039-bfa4745948bb/Y29udGFzcy5wbmcucG5n","colors":{"top-bar":"092635","right-sidebar":"303030","highlight":"9EC8B9"}},{"name":"light","logo":"https://content.pstmn.io/16937a3b-48c3-46a4-9039-bfa4745948bb/Y29udGFzcy5wbmcucG5n","colors":{"top-bar":"DDDDDD","right-sidebar":"303030","highlight":"76885B"}}]}},"version":"8.10.1","publishDate":"2024-04-01T10:39:59.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Documentação API NFS-e Contass","description":"API, Contass, NFSe, webservices, nfe, contas"},"logos":{"logoLight":"https://content.pstmn.io/16937a3b-48c3-46a4-9039-bfa4745948bb/Y29udGFzcy5wbmcucG5n","logoDark":"https://content.pstmn.io/16937a3b-48c3-46a4-9039-bfa4745948bb/Y29udGFzcy5wbmcucG5n"}},"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/d4441b201294acda0de69127a6fb5a491e2d06b61ae61cefa0b333ea077423dc","favicon":""},"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://documenter.gw.postman.com/view/metadata/2sA35D43Ai"}