{ "info": { "_postman_id": "db3ce163-c431-46af-89fe-0b82918d93c6", "name": "PlugStorage", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "19064653" }, "item": [ { "name": "Clientes", "item": [ { "name": "Cadastrar um cliente", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "corporate_name", "value": "Razão Social ", "type": "text" }, { "key": "name", "value": "Nome Fantasia", "type": "text" }, { "key": "cpf", "value": "", "type": "text" }, { "key": "cnpj", "value": "47130792000182", "type": "text" }, { "key": "email", "value": "teste.teste@teste.com.br", "type": "text" }, { "key": "password", "value": "SenhaForte", "type": "text" }, { "key": "phone", "value": "4466666666", "type": "text" }, { "key": "city_id", "value": "", "type": "text" }, { "key": "sendemailconfirmation", "value": "", "type": "text", "disabled": true }, { "key": "allow_terminated", "value": "Sim", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/users/?softwarehouse=token softwarehouse", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "users", "" ], "query": [ { "key": "softwarehouse", "value": "token softwarehouse" } ] } }, "response": [] }, { "name": "Reenviar e-mail", "request": { "method": "POST", "header": [], "url": { "raw": "https://app.plugstorage.com.br/api/users/resendactivation/?softwarehouse=Token de integração&cnpj=CNPJ", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "users", "resendactivation", "" ], "query": [ { "key": "softwarehouse", "value": "Token de integração" }, { "key": "cnpj", "value": "CNPJ" }, { "key": "cpf", "value": "cpf", "disabled": true } ] } }, "response": [] }, { "name": "Alterar um Cliente", "request": { "method": "PUT", "header": [ { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "corporate_name", "value": "Razão Social Alterada", "type": "text" }, { "key": "name\t", "value": "", "type": "text", "disabled": true }, { "key": "phone", "value": "", "type": "text", "disabled": true }, { "key": "city_id", "value": "", "type": "text", "disabled": true }, { "key": "trial_expiration", "value": "", "type": "text", "disabled": true }, { "key": "allow_terminated", "value": "", "type": "text", "disabled": true }, { "key": "status", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/users/?softwarehouse=Token de integração&cnpj=Cnpj", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "users", "" ], "query": [ { "key": "softwarehouse", "value": "Token de integração" }, { "key": "cnpj", "value": "Cnpj" }, { "key": "cpf", "value": "Cpf", "disabled": true } ] } }, "response": [] }, { "name": "Alterando e-mail de um cliente", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "teste.teste@teste.com.br", "type": "string" }, { "key": "password", "value": "", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "current_email", "value": "teste.teste@teste.com.br", "type": "text" }, { "key": "new_email", "value": "teste.teste@teste.com.br", "type": "text" } ] }, "url": { "raw": "http://plugstorage.local/api/clients/updateemail", "protocol": "http", "host": [ "plugstorage", "local" ], "path": [ "api", "clients", "updateemail" ] } }, "response": [] }, { "name": "Alterando a senha de um cliente", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokenSh", "type": "string" }, { "key": "password", "value": "senhaSh", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" }, { "key": "Accept", "type": "text", "value": "application/json", "disabled": true } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "cnpj_cpf", "value": "cnpj", "type": "text" }, { "key": "new_password", "value": "novaSenhaDoCliente", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/clients/updatepassword", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "clients", "updatepassword" ] } }, "response": [] }, { "name": "Lista dados do Cliente", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokenSH", "type": "string" }, { "key": "password", "value": "senhaSh", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Accept", "type": "text", "value": "application/json" } ], "url": { "raw": "https://app.plugstorage.com.br/api/clients/list?cnpj_cpf=cnpj", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "clients", "list" ], "query": [ { "key": "cnpj_cpf", "value": "cnpj" }, { "key": "user_id", "value": "", "disabled": true } ] } }, "response": [] }, { "name": "Adicionar um Contador ao Cliente", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "EmailDoCliente", "type": "string" }, { "key": "password", "value": "SenhaDoCliente", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "accountant_email", "value": "contador@hotmail.com", "type": "text" }, { "key": "accountant_day", "value": "15", "type": "text" }, { "key": "accountant_sendtype", "value": "singular", "type": "text" }, { "key": "accountant_email_copy", "value": "email.copia@gmail.com", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/users/linkaccountant?token=tokenSH", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "users", "linkaccountant" ], "query": [ { "key": "token", "value": "tokenSH" } ] } }, "response": [] }, { "name": "Consulta Contador vinculado ao cliente", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokenSH", "type": "string" }, { "key": "password", "value": "senhaSH", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Accept", "type": "text", "value": "application/json" } ], "url": { "raw": "https://app.plugstorage.com.br/api/clients/accountant?cnpj_cpf=08187168000160", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "clients", "accountant" ], "query": [ { "key": "cnpj_cpf", "value": "08187168000160" }, { "key": "email", "value": "teste@teste.com.br", "disabled": true } ] } }, "response": [] }, { "name": "Remove contador vinculado ao cliente", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokenSH", "type": "string" }, { "key": "password", "value": "senhaSh", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Accept", "type": "text", "value": "application/json" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "client_email", "value": "emaildocliente@teste.com.br", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/clients/unlinkaccountant", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "clients", "unlinkaccountant" ] } }, "response": [] } ] }, { "name": "Grupos", "item": [ { "name": "Criar um Grupo de Empresa", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"group_name\":\"Nome do Grupo\"\n}" }, "url": { "raw": "https://app.plugstorage.com.br/api/groups?softwarehouse_token=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House !" } ] }, "description": "Esta rota gria um grupo de empresa no nota segura" }, "response": [] }, { "name": "Vincula empresa ao grupo", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"user_email\":\"email.empresa@email.com\"\n}" }, "url": { "raw": "https://app.plugstorage.com.br/api/groups/vinculumgroup?softwarehouse_token=&group_id=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups", "vinculumgroup" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House !" }, { "key": "group_id", "value": "", "description": "id do Grupo" } ] }, "description": "Esta rota vincula a empresa a um determinado grupo" }, "response": [] }, { "name": "Definir empresa como concentradora", "request": { "method": "POST", "header": [], "url": { "raw": "https://app.plugstorage.com.br/api/groups/concentratingcompany?softwarehouse_token=&group_id=&concentration_companyEmail=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups", "concentratingcompany" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House !" }, { "key": "group_id", "value": "", "description": "id do Grupo" }, { "key": "concentration_companyEmail", "value": "", "description": "E-mail da empresa Concentradora" } ] } }, "response": [] }, { "name": "Remove Empresa do Grupo", "request": { "method": "POST", "header": [], "url": { "raw": "https://app.plugstorage.com.br/api/groups/removecompany?softwarehouse_token=&group_id=&company_email=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups", "removecompany" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House !" }, { "key": "group_id", "value": "", "description": "id do Grupo" }, { "key": "company_email", "value": "", "description": "E-mail da empresa que vai remover do grupo" } ] }, "description": "Esta rota remove empresa de um grupo" }, "response": [] }, { "name": "Edita Nome do Grupo", "request": { "method": "PUT", "header": [], "url": { "raw": "https://app.plugstorage.com.br/api/groups/updatenamegroup?softwarehouse_token=&group_id=&new_name_group=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups", "updatenamegroup" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House!" }, { "key": "group_id", "value": "", "description": "id do Grupo" }, { "key": "new_name_group", "value": "", "description": "Novo nome do Grupo" } ] }, "description": "Esta rota edita o nome do grupo" }, "response": [] }, { "name": "Deleta Grupo", "request": { "method": "POST", "header": [], "url": { "raw": "https://app.plugstorage.com.br/api/groups/deletgroupcompany?softwarehouse_token=&group_id=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups", "deletgroupcompany" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House !" }, { "key": "group_id", "value": "", "description": "id do Grupo" } ] }, "description": "Esta rota deleta um determinado grupo via API" }, "response": [] }, { "name": "Lista Empresa Cadastrada no Grupo", "request": { "method": "GET", "header": [], "url": { "raw": "https://app.plugstorage.com.br/api/groups/groupem?softwarehouse_token=&group_id=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups", "groupem" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House!" }, { "key": "group_id", "value": "", "description": "id do Grupo" } ] }, "description": "Esta rota lista as empresas cadastradas em um determinado grupo" }, "response": [] }, { "name": "Lista Grupos Cadastrados", "request": { "method": "GET", "header": [], "url": { "raw": "https://app.plugstorage.com.br/api/groups/listgroup?softwarehouse_token=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "groups", "listgroup" ], "query": [ { "key": "softwarehouse_token", "value": "", "description": "Token da Software House !" } ] }, "description": "Esta rota lista todos os grupos criados pela software house " }, "response": [] } ] }, { "name": "Manifestos", "item": [ { "name": "Manifestou ou Descarodo", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "lucas.santos@tecnospeed.com.br", "type": "string" }, { "key": "password", "value": "n$260318", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\r\n \"invoice_mod\": \"NFE\",\r\n \"type\": \"NAO_REALIZADA\",\r\n \"environment\": 1,\r\n \"datetime\": \"2019-03-01 12:30:00\",\r\n \"cnpj_cpf\":\"08187168000160\",\r\n \"justify\":\"teste\",\r\n \"invoices\": [\r\n \"53221133564543000190550010000146371922729922\",\r\n \"35221103654119000419550040001637551160647807\"\r\n ]\r\n \r\n}" }, "url": { "raw": "https://app.plugstorage.com.br/api/manifests?token=informe seu token", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "manifests" ], "query": [ { "key": "token", "value": "informe seu token" } ] } }, "response": [] }, { "name": "Manifestou ou Descarodo V2", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokenSh", "type": "string" }, { "key": "password", "value": "senhaSh", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded", "disabled": true }, { "key": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"invoice_mod\": \"NFE\",\n \"type\": \"DESCONHECIMENTO\",\n \"environment\": 1,\n \"datetime\": \"2020-09-30 13:30:00\",\n \"cnpj_cpf\": \"03157178000150\",\n \"invoices\": [\n \"chaveDaNota\"\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://app.plugstorage.com.br/api/v2/manifests", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "v2", "manifests" ] } }, "response": [] }, { "name": "Consulta de manifesto", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "email.cliente@teste.com.br", "type": "string" }, { "key": "password", "value": "SenhaForte", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" } ], "url": { "raw": "https://app.plugstorage.com.br/api/manifests?token=Token de integração&invoice_key=Chave da nota", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "manifests" ], "query": [ { "key": "token", "value": "Token de integração" }, { "key": "invoice_key", "value": "Chave da nota" } ] } }, "response": [] }, { "name": "Consulta de manifesto V2", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokenSh", "type": "string" }, { "key": "password", "value": "senhaSh", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" } ], "url": { "raw": "https://app.plugstorage.com.br/api/v2/manifests/index?invoice_key=chaveDaNota&cnpj_cpf=informe cnpj", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "v2", "manifests", "index" ], "query": [ { "key": "invoice_key", "value": "chaveDaNota" }, { "key": "cnpj_cpf", "value": "informe cnpj" } ] } }, "response": [] } ] }, { "name": "Destinadas", "item": [ { "name": "Configura Busca de Destinadas", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "", "type": "string" }, { "key": "password", "value": "", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "authorization", "type": "text", "value": "", "warning": "This is a duplicate header and will be overridden by the authorization header generated by Postman.", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "cert_pfx", "type": "file", "src": [] }, { "key": "cert_password", "value": "", "type": "text" }, { "key": "dfe_cert_concentrating", "value": "0", "type": "text" }, { "key": "uf", "value": "PR", "type": "text" }, { "key": "dfe_period", "value": "1", "type": "text" }, { "key": "dfe_tipo", "value": "AMBOS", "type": "text" }, { "key": "dfe_notifica", "value": "1", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/destinadas/configdestined?token=token de Integração", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "destinadas", "configdestined" ], "query": [ { "key": "token", "value": "token de Integração" } ] } }, "response": [] }, { "name": "Configura Busca de Destinadas V2", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokenSH", "type": "string" }, { "key": "password", "value": "senhaSH", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "cert_pfx", "type": "file", "src": [] }, { "key": "cert_password", "value": "", "type": "text" }, { "key": "dfe_cert_concentrating", "value": "0", "type": "text" }, { "key": "uf", "value": "PR", "type": "text" }, { "key": "dfe_period", "value": "1", "type": "text" }, { "key": "dfe_tipo", "value": "AMBOS", "type": "text" }, { "key": "dfe_notifica", "value": "1", "type": "text" }, { "key": "cnpj_cpf", "value": "0325546910", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/v2/destinadas/configdestined", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "v2", "destinadas", "configdestined" ] } }, "response": [] }, { "name": "Consulta Certificado cadastrado", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "tokensoftwarehouse", "type": "string" }, { "key": "password", "value": "senhasoftwarehouse", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Accept", "type": "text", "value": "application/json" } ], "url": { "raw": "https://app.plugstorage.com.br/api/clients/certificate?cnpj_cpf=cnpj_ou_cpf_do_cliente", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "clients", "certificate" ], "query": [ { "key": "cnpj_cpf", "value": "cnpj_ou_cpf_do_cliente" }, { "key": "user_id", "value": "id_do_cliente", "disabled": true } ] } }, "response": [] } ] }, { "name": "Exportação", "item": [ { "name": "Solicita Exportação", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "testeapi", "type": "string" }, { "key": "username", "value": "manifesto_api5@cucafresca.com", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded", "disabled": true } ], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "https://app.plugstorage.com.br/api/invoices/keys?token=2426c2020bba73334f6f43eed67587a90e89ea28&date_ini=2022-04-04&date_end=2022-05-02&mod=NFE&transaction=RECEIVED&limit=30&last_id=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "invoices", "keys" ], "query": [ { "key": "token", "value": "2426c2020bba73334f6f43eed67587a90e89ea28" }, { "key": "date_ini", "value": "2022-04-04" }, { "key": "date_end", "value": "2022-05-02" }, { "key": "mod", "value": "NFE" }, { "key": "transaction", "value": "RECEIVED" }, { "key": "limit", "value": "30" }, { "key": "last_id", "value": "" } ] } }, "response": [] }, { "name": "Buscar Exportaçoes", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "", "type": "string" }, { "key": "password", "value": "", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" }, { "key": "token", "type": "text", "value": "e1260095f9df4c7c748d59d43b0658b9351d1c11", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "protocolo", "value": "8308202003315273018", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/accountant/exports?token=token", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "accountant", "exports" ], "query": [ { "key": "token", "value": "token" } ] } }, "response": [] }, { "name": "Solicita Exportação V2", "protocolProfileBehavior": { "disabledSystemHeaders": { "content-type": true } }, "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "e1260095f9df4c7c748d59d43b0658b9351d1c11", "type": "string" }, { "key": "password", "value": "n$260318", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" }, { "key": "Accept", "type": "text", "value": "application/json" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "initial_period", "value": "01-12-2020", "type": "text" }, { "key": "final_period", "value": "31-12-2020", "type": "text" }, { "key": "cnpj_cpf", "value": "08187168000160", "type": "text" }, { "key": "document_model", "value": "55", "type": "text" }, { "key": "environment", "value": "1", "type": "text" }, { "key": "transaction", "value": "", "type": "text" }, { "key": "accountant_email", "value": "informe o email", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/v2/accountant/processexport", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "v2", "accountant", "processexport" ] } }, "response": [] }, { "name": "Buscar Exportaçoes V2", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "e1260095f9df4c7c748d59d43b0658b9351d1c11", "type": "string" }, { "key": "password", "value": "n$260318", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" }, { "key": "Accept", "type": "text", "value": "application/json" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "cnpj_cpf", "value": "08187168000160", "type": "text" }, { "key": "protocolo", "value": "8308202012034041220", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/v2/accountant/exports", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "v2", "accountant", "exports" ] } }, "response": [] } ] }, { "name": "Furos", "item": [ { "name": "Solicita processamento dos Furos de numeração", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "emaildocliente@teste.com.br", "type": "string" }, { "key": "password", "value": "", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" }, { "key": "token", "value": "e1260095f9df4c7c748d59d43b0658b9351d1c11", "type": "text", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "periodo_inicial", "value": "01-11-2019", "type": "text" }, { "key": "periodo_final", "value": "30-11-2019", "type": "text" }, { "key": "emails", "value": "teste@teste.com.br;teste@teste.com.br", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/accountant/processgaps?token=TokenDeIntegração", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "accountant", "processgaps" ], "query": [ { "key": "token", "value": "TokenDeIntegração" } ] } }, "response": [] }, { "name": "Obter furos Processados", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "emaildocliente@teste.com.br", "type": "string" }, { "key": "password", "value": "n$260318", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" }, { "key": "token", "type": "text", "value": "e1260095f9df4c7c748d59d43b0658b9351d1c11", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "protocolo", "value": "protocolo que é retornado pela rota de processamento", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/accountant/getgaps?token=TokenDeIntegração", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "accountant", "getgaps" ], "query": [ { "key": "token", "value": "TokenDeIntegração" } ] } }, "response": [] } ] }, { "name": "Sped", "item": [ { "name": "Enviar Arquivo Sped", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "email@email.com.br", "type": "string" }, { "key": "password", "value": "", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", "key": "Authorization", "name": "Content-Type", "type": "text", "value": "Basic dml0b3IuYmVhbEB0ZWNub3NwZWVkLmNvbS5icjoxMjNtdWRhcg==", "disabled": true }, { "key": "Accept", "value": "application/json", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "sped", "type": "file", "src": [] }, { "key": "type", "value": "1", "type": "text" }, { "key": "ano_mes", "value": "2019-11", "type": "text" }, { "key": "arquivo_substituto", "value": "1", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/sped?token=token de Integração", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "sped" ], "query": [ { "key": "token", "value": "token de Integração" } ] } }, "response": [] } ] }, { "name": "Notas", "item": [ { "name": "Enviando uma Nota", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "email.cliente@teste.com.br", "type": "string" }, { "key": "password", "value": "SenhaForte", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", "key": "Authorization", "name": "Content-Type", "value": "Basic dml0b3IuYmVhbEB0ZWNub3NwZWVkLmNvbS5icjoxMjNtdWRhcg==", "type": "text" }, { "key": "Accept", "value": "application/json", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "xml", "value": "3521074700REM.MEC.FORA ESTAB.55160742019-03-21T00:00:00-03:002019-03-21T00:00:00-03:0011350950211611030ACBrNFe08934899000121LOPES & BLACK BETTONI LTDA - MERUA RUA ROBERTO CANTUSIO,073PARQUE INDUSTRIAL3509502CAMPINASSP130317251058BRASIL1932723170244739519115108934899000121LOPES & BLACK BETTONI LTDA - MERUA ROBERTO CANTUSIO,073PARQUE INDUSTRIAL3509502CAMPINASSP130317251058BRASIL19327231701244739519115892SEM GTINTANGAS DIVERSAS 92% ALG. 8% ELASTANO (LUMES)6108220028038005904UN40.00004.4000000000176.00SEM GTINUN40.00004.4000000000101010.00000.00010.000.00000.00010.000.00000.003851SEM GTINTANGAO SANDUICHE6108210028038005904PC40.00006.9400000000277.60SEM GTINPC40.00006.9400000000101010.00000.00010.000.00000.00010.000.00000.004156SEM GTINTANGA COM RENDA NA CINTURA6108210028038005904PC23.00007.4400000000171.12SEM GTINPC23.00007.4400000000101010.00000.00010.000.00000.00010.000.00000.003853SEM GTINTANGAO COM RENDA NA CINTURA6108210028038005904PC10.00008.740000000087.40SEM GTINPC10.00008.740000000010102010.000.00000.00010.000.00000.004291SEM GTINMEIA INFANTIL MENINOS6115950028038005904PA20.00006.0000000000120.00SEM GTINPA20.00006.0000000000101010.00000.00010.000.00000.00010.000.00000.004171SEM GTINMEIA ESPORTIVA SAPATILHA6115950028038005904UN20.00006.6400000000132.80SEM GTINUN20.00006.6400000000101010.00000.00010.000.00000.00010.000.00000.004292SEM GTINMEIA INFANTIL MENINAS6115950028038005904PA6.00006.000000000036.00SEM GTINPA6.00006.0000000000101010.00000.00010.000.00000.00010.000.00000.003980SEM GTINCUECA EUREKA AM BOXER6107110028038005904UN15.000025.2000000000378.00SEM GTINUN15.000025.2000000000101010.00000.00010.000.00000.00010.000.00000.005454SEM GTINM-31B- BOXER ADULTO MICOFIBRA RISA DE GIZ 90%PO E10%EL6107190028059005904UN2.00008.000000000016.00SEM GTINUN2.00008.0000000000101010.00000.00010.000.00000.00010.000.00000.005526SEM GTINCALCINHA MICRO6108220028059005904PC42.00002.4000000000100.80SEM GTINPC42.00002.4000000000101010.00000.00010.000.00000.00010.000.00000.004963SEM GTINCALCINHA INF ESTAMPADA PRINCESAS P/M/G/GG6108210028038005904UN40.00007.2000000000288.00SEM GTINUN40.00007.2000000000101010.00000.00010.000.00000.00010.000.00000.004962SEM GTINCALCINHA INF ESTAMPA BICHOS P/M/G/GG6108210028038005904UN37.00007.2000000000266.40SEM GTINUN37.00007.2000000000101010.00000.00010.000.00000.00010.000.00000.004961SEM GTINCALCINHA INF ESTAMPADA BAILARINAS P/M/G/GG6108210028038005904UN20.00007.2000000000144.00SEM GTINUN20.00007.2000000000101010.00000.00010.000.00000.00010.000.00000.004825SEM GTINCUECA BX PA P/M/G/GG6107120028038005904UN1.000022.000000000022.00SEM GTINUN1.000022.0000000000101010.00000.00010.000.00000.00010.000.00000.0036997898920485228FIOS NATUR B. CR. MANDIOCA 500 G3305900020020005904UN20.00005.5200000000110.407898920485228UN20.00005.5200000000101010.00000.00010.000.00000.00010.000.00000.004489SEM GTINFIO DENTAL ELASTICO RENDA6107120028038005904PC20.00009.0000000000180.00SEM GTINPC20.00009.0000000000101010.00000.00010.000.00000.00010.000.00000.0036967898920485198FIOS NATURS SH. MANDIOCA 500 ML3305900020020005904UN19.00005.5200000000104.887898920485198UN19.00005.5200000000101010.00000.00010.000.00000.00010.000.00000.0042427898920485006FIOS NATURS FINAL BABOSA 140G3305900020021005904UN1.00004.48000000004.487898920485006UN1.00004.4800000000101010.00000.00010.000.00000.00010.000.00000.003860SEM GTIN731P TANGA SANDUICHE SUBLIMADA6108220028038005904PC22.00006.7000000000147.40SEM GTINPC22.00006.7000000000101010.00000.00010.000.00000.00010.000.00000.003861SEM GTIN735P TANGA SUBLIMADA COM RENDA NA CINTURA6108220028038005904PC20.00007.7800000000155.60SEM GTINPC20.00007.7800000000101010.00000.00010.000.00000.00010.000.00000.004169SEM GTINMEIA FEMININA SAPATILHA SUPER INVISIVEL6115950028038005904UN20.00009.9600000000199.20SEM GTINUN20.00009.9600000000101010.00000.00010.000.00000.00010.000.00000.004843SEM GTINSUTIA REFORCADO COM BOJOG/GG/XG SIDERAL/ALVORADA/TANDY/ANGEL6108290028038005904PC16.000018.4000000000294.40SEM GTINPC16.000018.4000000000101010.00000.00010.000.00000.00010.000.00000.00332578989204859215503 TOP SALON QUERATINA LIQ 120 ML3305900020020005904UN23.00004.8500000000111.557898920485921UN23.00004.8500000000101010.00000.00010.000.00000.00010.000.00000.004945SEM GTINTOP C/BJO REM S/COSTURA PA P/M/G/GG6212100028038005904UN9.000031.9500000000287.55SEM GTINUN9.000031.9500000000101010.00000.00010.000.00000.00010.000.00000.004405SEM GTINSUTIA REFORCADO COM BOJO GG CHOCOLATE6108290028038005904PC6.000018.4000000000110.40SEM GTINPC6.000018.400000000010102010.000.00000.00010.000.00000.004967SEM GTINSALDO DE LEGGING AD6104620028038005904PC6.000019.8000000000118.80SEM GTINPC6.000019.800000000010102010.000.00000.00010.000.00000.0041797898920485143PO COMPACTO MEDIO ESCURO3304910020013005904UN6.00007.940000000047.647898920485143UN6.00007.940000000010500010.000.00000.00010.000.00000.005524SEM GTINMOCHILA MASCOULINA COM FECHAMENTO4202920028043005904UN6.000027.2000000000163.20SEM GTINUN6.000027.200000000010102010.000.00000.00010.000.00000.001278SEM GTINMEIA INFANTIL MENINOS-SELENE6115950028038005904PR10.00006.900000000069.00SEM GTINPR10.00006.900000000010102010.000.00000.00010.000.00000.004170SEM GTINMEIA ESPORTIVA SAPATILHA KIT 3 PARES6115950028038005904UN14.000019.9600000000279.44SEM GTINUN14.000019.960000000010102010.000.00000.00010.000.00000.004044SEM GTINKIT QUIABO SHA, COND, B. CRE, FIN3305900020020005904UN6.000010.800000000064.80SEM GTINUN6.000010.800000000010500010.000.00000.00010.000.00000.004424SEM GTINKIT GORD RA 2 PROD SHAMP+COND3305900020020005904UN6.000013.120000000078.72SEM GTINUN6.000013.120000000010500010.000.00000.00010.000.00000.005070SEM GTINKIT 853 - SAP.ESP.MASC.BCO/MSC/PTO/MSJ6115950028038005904CJ10.000016.7600000000167.60SEM GTINCJ10.000016.7600000000101010.00000.00010.000.00000.00010.000.00000.000.000.000.000.000.000.000.000.004911.180.000.000.000.000.000.000.000.000.004911.18210747255652DAVI ALVES MADEIR", "type": "text" } ] }, "url": { "raw": "https://app.plugstorage.com.br/api/invoices?token=Token de integração", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "invoices" ], "query": [ { "key": "token", "value": "Token de integração" } ] } }, "response": [] }, { "name": "Obter XML, JSON ou PDF de uma nota", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "email", "type": "string" }, { "key": "password", "value": "senha", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "value": "application/x-www-form-urlencoded ", "type": "text" } ], "url": { "raw": "https://app.plugstorage.com.br/api/invoices/export?token=token&invoice_key=chave nota&mode=xml", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "invoices", "export" ], "query": [ { "key": "token", "value": "token" }, { "key": "invoice_key", "value": "chave nota" }, { "key": "mode", "value": "xml" } ] } }, "response": [ { "name": "Obter XML, JSON ou PDF de uma nota", "originalRequest": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/x-www-form-urlencoded ", "type": "text" } ], "url": { "raw": "https://app.plugstorage.com.br/api/invoices/export?token=3823ffe1eaf0d70abe2dbe3e8410d0543ab113e9&invoice_key=35211001565698000155550010000106971000125513&mode=pdf", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "invoices", "export" ], "query": [ { "key": "token", "value": "3823ffe1eaf0d70abe2dbe3e8410d0543ab113e9" }, { "key": "invoice_key", "value": "35211001565698000155550010000106971000125513" }, { "key": "mode", "value": "pdf" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "html", "header": [ { "key": "Content-Type", "value": "text/html; charset=UTF-8" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Server", "value": "nginx" }, { "key": "Date", "value": "Tue, 09 Nov 2021 21:04:50 GMT" }, { "key": "Content-Encoding", "value": "gzip" }, { "key": "Vary", "value": "Accept-Encoding" }, { "key": "X-Cache", "value": "Error from cloudfront" }, { "key": "Via", "value": "1.1 fc03a15a62061123da274ee471bf04b6.cloudfront.net (CloudFront)" }, { "key": "X-Amz-Cf-Pop", "value": "GRU1-C2" }, { "key": "X-Amz-Cf-Id", "value": "6hz0nQSQQCMbEAr4fEVl7K12JoH1o-oaiGS1WulAbQDIf6QYBb0mgg==" } ], "cookie": [], "body": "" } ] }, { "name": "Obter XML, JSON ou PDF de uma nota v2", "request": { "method": "GET", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded ", "disabled": true }, { "key": "Authorization", "type": "text", "value": "basic bm90YXNlZ3VyYUB0aGVvcy5jb20uYnI6c3lzQDM2OTEx", "disabled": true } ], "url": { "raw": "https://app.plugstorage.com.br/api/v2/invoices/export?softwarehouse_token=tokenSh&invoice_key=chaveDaNota&mode=xml&cpf_cnpj=03157178000150&return_type=encode&downloaded", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "v2", "invoices", "export" ], "query": [ { "key": "softwarehouse_token", "value": "tokenSh" }, { "key": "invoice_key", "value": "chaveDaNota" }, { "key": "mode", "value": "xml" }, { "key": "cpf_cnpj", "value": "03157178000150" }, { "key": "return_type", "value": "encode", "description": "encode ou xml" }, { "key": "downloaded", "value": null } ] } }, "response": [] }, { "name": "Consultar chave das notas", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "@tecnospeed.com.br", "type": "string" }, { "key": "password", "value": "n$260318", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" } ], "url": { "raw": "https://app.plugstorage.com.br/api/invoices/keys?token=e1260095f9df4c7c748d59d43b0658b9351d1c11&date_ini=2019-12-01&date_end=2019-12-31&mod=NFE&transaction=received&limit=30&last_id=", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "invoices", "keys" ], "query": [ { "key": "token", "value": "e1260095f9df4c7c748d59d43b0658b9351d1c11" }, { "key": "date_ini", "value": "2019-12-01" }, { "key": "date_end", "value": "2019-12-31" }, { "key": "mod", "value": "NFE" }, { "key": "transaction", "value": "received" }, { "key": "limit", "value": "30" }, { "key": "last_id", "value": "" } ] } }, "response": [] }, { "name": "Consultar chave das notas v2", "request": { "method": "GET", "header": [ { "key": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" }, { "key": "Authorization", "type": "text", "value": "Basic bm90YXNlZ3VyYUB0aGVvcy5jb20uYnI6c3lzQDM2OTEx", "disabled": true } ], "url": { "raw": "https://app.plugstorage.com.br/api/v2/invoices/keys?softwarehouse_token=tokenSh&cpf_cnpj=03157178000150&date_ini=2021-01-01&date_end=2021-01-18&mod=NFE&transaction=all&serie=001", "protocol": "https", "host": [ "app", "plugstorage", "com", "br" ], "path": [ "api", "v2", "invoices", "keys" ], "query": [ { "key": "softwarehouse_token", "value": "tokenSh" }, { "key": "cpf_cnpj", "value": "03157178000150" }, { "key": "date_ini", "value": "2021-01-01" }, { "key": "date_end", "value": "2021-01-18" }, { "key": "mod", "value": "NFE" }, { "key": "transaction", "value": "all" }, { "key": "serie", "value": "001" }, { "key": "environment", "value": "", "disabled": true }, { "key": "number", "value": "84873", "disabled": true }, { "key": "situation", "value": "DENEGADA", "disabled": true }, { "key": "cnpj_cpf_emitter", "value": null, "disabled": true }, { "key": "cnpj_cpf_recipient", "value": null, "disabled": true }, { "key": "limit", "value": "20", "disabled": true }, { "key": "manifests", "value": "1", "disabled": true }, { "key": "filter", "value": "all", "disabled": true }, { "key": "last_id", "value": "", "disabled": true } ] } }, "response": [] } ] } ] }