{
  "info": {
    "_postman_id": "22cdab96-512b-48c5-9496-cbf33705535d",
    "name": "Sped- PlugStorage",
    "description": "StartFragment\n\nEsta documentação tem o objetivo de apresentar o **passo a passo para gerar uma apuração do SPED** com base nos arquivos XML armazenados na plataforma PlugStorage.\n\nO fluxograma a seguir representa a **ordem das chamadas necessárias** para a preparação e geração dos dados.\n\n<img src=\"https://atendimento.tecnospeed.com.br/hc/article_attachments/40337098250775\">\n\n### 1\\. Armazenamento das Notas\n\n- Certifique-se de que todas as **notas fiscais emitidas e recebidas** estejam armazenadas corretamente no PlugStorage.\n    \n\n---\n\n### 2\\. Habilitar o SPED\n\n- [Ativar pela interface do PlugStorage.](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29073175185303-Configura%C3%A7%C3%B5es-iniciais-para-a-gera%C3%A7%C3%A3o-do-SPED)\n    \n- [Ativar via rota.](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/33320150606359-Rota-Ativar-Cliente-SPED)\n    \n- Inserir os [<b>dados obrigatórios do responsável e do contador</b>](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/31105933216023-Rota-para-Inserir-Contador) para vinculação com a competência.\n    \n\n---\n\n### 3. [Iniciar Apuração](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29303151037847-Rota-para-iniciar-apura%C3%A7%C3%A3o)\n\n- Inicie o processo de apuração para abrir a competência desejada.\n    \n- O sistema realiza automaticamente o **processamento inicial do SPED**.\n    \n\n---\n\n### 4. [Consultar Apuração](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29303283147031-Rota-para-consultar-status-da-apura%C3%A7%C3%A3o)\n\n- Utilize a rota para verificar o **status da solicitação** de abertura da apuração.\n    \n- Confira se existem **pendências**.\n    \n\n---\n\n### 5. [Consultar Notas Recebidas](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/30990857060247-Rota-Consulta-Notas-Recebidas-SPED)\n\n- Consulte as notas recebidas no período informado.\n    \n\n---\n\n### 6. [Escriturar Notas Recebidas](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29303641094295-Rota-Escriturar-Notas-Recebidas)\n\n- Inclua as informações:\n    \n    - Chave da nota fiscal\n        \n    - Data de entrada\n        \n    - Destinação da nota\n        \n    - Vínculo do produto (opcional)\n        \n- ✔ Certifique-se de que todas as notas estejam **devidamente escrituradas**.\n    \n\n---\n\n### 7. [Consulta de Pendências](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29303394097815-Rota-para-consultar-pend%C3%AAncias-da-apura%C3%A7%C3%A3o)\n\nTipos de pendências e ações:\n\n- **Notas sem destinação** → realizar escrituração da nota.\n    \n- **Notas sem regras DePara cadastradas** → inserir Regra DePara.\n    \n\n---\n\n### 8. [Regra DePara](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/31315222001047-Rota-para-Inserir-Regra-dePara)\n\n- Inserir regras para os impostos:\n    \n    - ICMS\n        \n    - PIS/COFINS\n        \n    - IPI\n        \n- Após inserir ou alterar uma Regra DePara, o processo de apuração deve ser [<b>reprocessado</b>](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/33970563240471-Rota-para-reprocessar-SPED).\n    \n\n---\n\n### 9. [Gerar Relatório de Impostos](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29303479468951-Rota-para-consultar-relat%C3%B3rio-da-apura%C3%A7%C3%A3o)\n\nGere relatórios para conferência:\n\n- **SPED Fiscal** → inclui ICMS e IPI.\n    \n- **SPED Contribuições** → inclui PIS e COFINS.\n    \n- **Resumo por CFOP** → apresenta totalizadores por CFOP.\n    \n\n---\n\n### 10. [Realizar Ajustes Complementares](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/33408099836823-Fluxo-de-dados-complementares)\n\n- Inserir saldos.\n    \n- Realizar ajustes.\n    \n- Enviar Bloco K (dados de estoque).\n    \n- Enviar bloco H (dados do inventário)\n    \n\n---\n\n### 11. [Gerar SPED](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29303894757527-Rota-para-gerar-SPED)\n\n- Feche o SPED da competência:\n    \n    - SPED Fiscal\n        \n    - SPED Contribuições\n        \n\n---\n\n### 12. [Consultar SPED](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29783261418903-Rota-consulta-Sped)\n\n- Após a geração, consulte o arquivo SPED para verificar a **conformidade**.\n    \n- Em caso de pendências:\n    \n- Ajuste as inconsistências.\n    \n    - Reabra o SPED.\n        \n    - Realize as alterações necessárias.\n        \n\n---\n\n### 13. [Configurar webhook do SPED](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/38026938129559-Rota-Configurar-Cliente-SPED)\n\n- Caso deseje receber automaticamente o arquivo SPED após a geração, configure o webhook por empresa através da rota de configurações do cliente SPED.\n    \n- Com o webhook configurado, não será necessário realizar consultas periódicas para verificar a disponibilidade do arquivo.\n    \n\n---\n\n### 14. [Reabrir o SPED](https://atendimento.tecnospeed.com.br/hc/pt-br/articles/29303779250327-Rota-para-reabrir-apura%C3%A7%C3%A3o)\n\nSe houver necessidade de novos ajustes após o fechamento:\n\n1. Reabra a competência.\n    \n2. Envie as alterações.\n    \n3. Gere novamente o SPED atualizado.\n    \n\n📌 **Dica**: disponibilizamos também uma **collection do Postman** com todas as rotas de integração para facilitar a execução desse fluxo.\n\nEndFragment",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "26548034"
  },
  "item": [
    {
      "name": "Apuração",
      "item": [
        {
          "name": "Nota Manual",
          "item": [
            {
              "name": "Participante",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "authorization",
                    "value": "",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/participante/:id?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "participante",
                    ":id"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "",
                      "value": "",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Nota Manual",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "authorization",
                    "value": "",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/notamanual/67d99fd2fb4e3ec43180834e?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "notamanual",
                    "67d99fd2fb4e3ec43180834e"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "",
                      "value": "",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Nota Manual",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "authorization",
                    "value": "",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"serie\": \"01\",\n  \"modelo\": \"1\",\n  \"emissao\": \"2024-11-10\",\n  \"entradaData\": \"2024-11-12\",\n  \"numero\": \"5\",\n  \"freteModalidade\": \"0\",\n  \"formaPagamento\": \"0\",\n  \"participanteCpfCnpj\": \"08187168000160\",\n  \"itens\": [\n    {\n      \"codigo\": \"1\",\n      \"descricao\": \"Item 01\",\n      \"ncm\": \"12345678\",\n      \"cest\": \"123\",\n      \"cfop\": \"1234\",\n      \"unidade\": \"UN\",\n      \"qtde\": \"1\",\n      \"valorUnitario\": \"1.10\",\n      \"valorProduto\": \"1.10\",\n      \"destinacao\": \"A\",\n      \"tributos\": {\n        \"icms\": {\n          \"orig\": \"1\",\n          \"cst\": \"00\",\n          \"baseCalculo\": \"1.10\",\n          \"aliquota\": \"0\",\n          \"valor\": \"0.10\",\n          \"baseCalculoST\": \"0\",\n          \"aliquotaST\": \"0\",\n          \"valorST\": \"0\"\n        }\n      }\n    },\n    {\n      \"codigo\": \"2\",\n      \"descricao\": \"Item 02\",\n      \"ncm\": \"12345678\",\n      \"cest\": \"123\",\n      \"cfop\": \"1234\",\n      \"unidade\": \"UN\",\n      \"qtde\": \"1\",\n      \"valorUnitario\": \"1.10\",\n      \"valorProduto\": \"1.10\",\n      \"destinacao\": \"A\",\n      \"tributos\": {\n        \"icms\": {\n          \"orig\": \"1\",\n          \"cst\": \"00\",\n          \"baseCalculo\": \"1.10\",\n          \"aliquota\": \"0\",\n          \"valor\": \"0.10\",\n          \"baseCalculoST\": \"0\",\n          \"aliquotaST\": \"0\",\n          \"valorST\": \"0\"\n        }\n      }\n    },\n    {\n      \"codigo\": \"3\",\n      \"descricao\": \"Item 03\",\n      \"ncm\": \"12345678\",\n      \"cest\": \"123\",\n      \"cfop\": \"1234\",\n      \"unidade\": \"UN\",\n      \"qtde\": \"1\",\n      \"valorUnitario\": \"1.10\",\n      \"valorProduto\": \"1.10\",\n      \"destinacao\": \"A\",\n      \"tributos\": {\n        \"icms\": {\n          \"orig\": \"1\",\n          \"cst\": \"00\",\n          \"baseCalculo\": \"1.10\",\n          \"aliquota\": \"0\",\n          \"valor\": \"0.10\",\n          \"baseCalculoST\": \"0\",\n          \"aliquotaST\": \"0\",\n          \"valorST\": \"0\"\n        }\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/notamanual/?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "notamanual",
                    ""
                  ],
                  "query": [
                    {
                      "key": "",
                      "value": "",
                      "disabled": true
                    },
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Participante",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "authorization",
                    "value": "",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"cpfCnpj\": \"37579004000186\",\n  \"inscricaoEstadual\": \"904401668\",\n  \"razaoSocial\": \"Tecnospeed S/A\",\n  \"tipo\": \"cliente\",\n  \"endereco\": {\n    \"bairro\": \"Zona Armazem\",\n    \"cep\": \"87014010\",\n    \"codigoCidade\": \"4115200\",\n    \"estado\": \"pr\",\n    \"logradouro\": \"Avenida Carneiro Leao\",\n    \"numero\": \"294\",\n    \"codigoPais\": \"57\",\n    \"descricaoCidade\": \"MARINGÁ\",\n    \"descricaoPais\": \"BRASIL\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/participante/?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "participante",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "",
                      "value": "",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Escrituração",
          "item": [
            {
              "name": "Consultar chave das notas - PlugStorage",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "https://app.plugstorage.com.br/api/invoices/keys?token=&date_ini=2025-02-01&date_end=2025-02-20&mod=NFE&transaction=RECEIVED",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "invoices",
                    "keys"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "date_ini",
                      "value": "2025-02-01"
                    },
                    {
                      "key": "date_end",
                      "value": "2025-02-20"
                    },
                    {
                      "key": "mod",
                      "value": "NFE"
                    },
                    {
                      "key": "transaction",
                      "value": "RECEIVED"
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true
                    },
                    {
                      "key": "last_id",
                      "value": "",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Escriturar notas recebidas",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "authorization",
                    "value": "Basic =="
                  },
                  {
                    "key": "content-type",
                    "value": "application/json",
                    "disabled": true
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "[\r\n{\r\n\"chave\":\"35250259599555000144550010001009321129208095\",\r\n\"entradaData\":\"2025-02-20\",\r\n\"destinacao\":\"I\"\r\n},\r\n{\r\n\"chave\":\"35241007175867000208550000000771991685135844\",\r\n\"itens\":[\r\n{\r\n\"nItem\":\"1\",\r\n\"vinculoProduto\":\"ASDFG2\",\r\n\"destinacao\":\"A\"\r\n}\r\n]\r\n}\r\n]",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/notasrecebidas/escriturar/?token=&",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "notasrecebidas",
                    "escriturar",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "",
                      "value": null
                    }
                  ]
                },
                "description": "Generated from cURL: curl --request GET \\\r\n  --url 'http://localhost:3000/api/relatorio/federal/6769b2e8b2bdf956c60d4318?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n  --header 'authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n  --header 'content-type: application/json'"
              },
              "response": []
            },
            {
              "name": "Notas Recebidas",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/notasrecebidas?token=&dataInicio=2025-04-01&dataFim=2025-04-30&limite=20&pagina=2",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "notasrecebidas"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "dataInicio",
                      "value": "2025-04-01"
                    },
                    {
                      "key": "dataFim",
                      "value": "2025-04-30"
                    },
                    {
                      "key": "limite",
                      "value": "20"
                    },
                    {
                      "key": "pagina",
                      "value": "2"
                    },
                    {
                      "key": "chave",
                      "value": "",
                      "disabled": true
                    },
                    {
                      "key": "destinacao",
                      "value": "I",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Abrir apuracao",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json",
                "disabled": true
              },
              {
                "key": "Authorization",
                "value": "",
                "description": "Basic encode64(email:senha)==",
                "disabled": true
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"ano\": \"2025\",\r\n    \"mes\": \"03\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/apuracao?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "apuracao"
              ],
              "query": [
                {
                  "key": "token",
                  "value": "",
                  "description": "Insira o token da SH"
                }
              ]
            },
            "description": "Generated from cURL: curl --location 'http://localhost:3000/api/sped/apuracao?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n--data '{\r\n    \"cnpj\": \"08187168000160\",\r\n    \"ano\": \"2024\",\r\n    \"mes\": \"12\"\r\n}'"
          },
          "response": []
        },
        {
          "name": "Consultar status da apuração",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "",
                "description": "Basic encode64(email:senha)==",
                "disabled": true
              },
              {
                "key": "apuracaoid",
                "value": "",
                "type": "text",
                "disabled": true
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/apuracao/:id/?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "apuracao",
                ":id",
                ""
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Generated from cURL: curl --location 'http://localhost:3000/api/sped/apuracao?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n--data '{\r\n    \"cnpj\": \"08187168000160\",\r\n    \"ano\": \"2024\",\r\n    \"mes\": \"12\"\r\n}'"
          },
          "response": []
        },
        {
          "name": "Consultar pendências",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "",
                "description": "Basic encode64(email:senha)=="
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/apuracao/:id/pendencias?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "apuracao",
                ":id",
                "pendencias"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                },
                {
                  "key": "apuracaoId",
                  "value": "",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Generated from cURL: curl --location 'http://localhost:3000/api/sped/apuracao?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n--data '{\r\n    \"cnpj\": \"08187168000160\",\r\n    \"ano\": \"2024\",\r\n    \"mes\": \"12\"\r\n}'"
          },
          "response": []
        },
        {
          "name": "Consulta Relatorios",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "authorization",
                "value": "Basic =="
              },
              {
                "key": "content-type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/apuracao/:id/relatorio?token=&tipoRelatorio=cfop",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "apuracao",
                ":id",
                "relatorio"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                },
                {
                  "key": "tipoRelatorio",
                  "value": "fiscal",
                  "description": "\tfiscal || contribuicoes || cfop",
                  "disabled": true
                },
                {
                  "key": "tipoRelatorio",
                  "value": "cfop"
                },
                {
                  "key": "tipoRelatorio",
                  "value": "contribuicoes",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Generated from cURL: curl --request GET \\\r\n  --url 'http://localhost:3000/api/relatorio/federal/6769b2e8b2bdf956c60d4318?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n  --header 'authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n  --header 'content-type: application/json'"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Sped",
      "item": [
        {
          "name": "Gerar Sped",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "authorization",
                "value": "Basic =="
              },
              {
                "key": "content-type",
                "value": "application/json",
                "disabled": true
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"ano\": \"2024\",\r\n  \"mes\": \"10\",\r\n  \"tipo\": \"fiscal\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                ""
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            },
            "description": "Generated from cURL: curl --request POST \\\r\n  --url 'http://localhost:3000/api/sped/gerar?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n  --header 'authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n  --header 'content-type: application/json' \\\r\n  --data '{\r\n  \"data_competencia\": \"2024\",\r\n  \"tipo\": \"EFD ICMS IPI\",\r\n  \"lista_cnpjs\": [\"11238858000105\",\"11238858000105\"]\r\n}'"
          },
          "response": []
        },
        {
          "name": "Reabrir Apuracao",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "authorization",
                "value": "",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"ano\": \"2025\",\r\n    \"mes\": \"01\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/apuracao/reabrir?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "apuracao",
                "reabrir"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Consulta Sped",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "",
                "description": "Basic encode64(email:senha)==",
                "type": "text"
              },
              {
                "key": "content-type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/67d9d7a510b2ad2b74eb6617/?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "67d9d7a510b2ad2b74eb6617",
                ""
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Complemento",
      "item": [
        {
          "name": "Saldos",
          "item": [
            {
              "name": "Saldo Fiscal",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ano\": \"2025\",\n  \"mes\": \"05\",\n  \"tipo\": \"ICMS\",\n  \"valor\": \"100.00\" \n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/saldos/fiscal?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "saldos",
                    "fiscal"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Saldo Contribuicoes",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ano\": \"2025\",\n  \"mes\": \"05\",\n  \"tipo\": \"PIS\",\n    \"credito\": {\n    \"ano\": \"2025\",\n    \"mes\": \"05\",\n    \"origem\": \"01\",\n    \"codigo\": \"01\",\n    \"valor\": \"100.00\",\n    \"valorDesconto\": \"25.00\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/saldos/contribuicoes?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "saldos",
                    "contribuicoes"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Consulta Saldos",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "",
                    "description": "Basic encode64(email:senha)==",
                    "type": "text"
                  },
                  {
                    "key": "content-type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/saldos/?token=&ano=2025&mes=03&tipo=fiscal",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "saldos",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "ano",
                      "value": "2025"
                    },
                    {
                      "key": "mes",
                      "value": "03"
                    },
                    {
                      "key": "tipo",
                      "value": "fiscal",
                      "description": "fiscal,contribuicoes"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Delete saldo fiscal",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "",
                    "description": "Basic encode64(email:senha)==",
                    "type": "text"
                  },
                  {
                    "key": "content-type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/saldos/fiscal/IDsaldoFiscal/?token=&ano=2025&mes=04",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "saldos",
                    "fiscal",
                    "IDsaldoFiscal",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "ano",
                      "value": "2025"
                    },
                    {
                      "key": "mes",
                      "value": "04"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Delete saldo contribuicao",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "",
                    "description": "Basic encode64(email:senha)==",
                    "type": "text"
                  },
                  {
                    "key": "content-type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/saldos/contribuicoes/IDSaldoContribuicoes/?token=&ano=2025&mes=04",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "saldos",
                    "contribuicoes",
                    "IDSaldoContribuicoes",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "ano",
                      "value": "2025"
                    },
                    {
                      "key": "mes",
                      "value": "04"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Ajustes",
          "item": [
            {
              "name": "Ajuste fiscal",
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "disabled": true
                  },
                  {
                    "key": "Authorization",
                    "value": "",
                    "description": "Basic encode64(email:senha)==",
                    "disabled": true
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"ano\": \"2025\",\r\n  \"mes\": \"04\",\r\n  \"ajustes\": [\r\n    {\r\n      \"registro\": \"E530\",\r\n      \"valor\": \"1.00\",\r\n      \"codigo\": \"001\",\r\n      \"descricao\": \"ajuste de teste\",\r\n      \"indicadorTipo\": \"crédito\",\r\n      \"indicadorOrigem\": \"1\",\r\n      \"numeroDocumento\": \"1\"\r\n    }\r\n  ]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/ajuste/fiscal?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "ajuste",
                    "fiscal"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": "",
                      "description": "Insira o token da SH"
                    }
                  ]
                },
                "description": "Generated from cURL: curl --location 'http://localhost:3000/api/sped/apuracao?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n--data '{\r\n    \"cnpj\": \"08187168000160\",\r\n    \"ano\": \"2024\",\r\n    \"mes\": \"12\"\r\n}'"
              },
              "response": []
            },
            {
              "name": "Ajuste Contribuiçõe",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "disabled": true
                  },
                  {
                    "key": "Authorization",
                    "value": "",
                    "description": "Basic encode64(email:senha)==",
                    "disabled": true
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"ano\": \"2025\",\r\n  \"mes\": \"04\",\r\n  \"ajustes\": [\r\n    {\r\n      \"registro\": \"E530\",\r\n      \"valor\": \"1.00\",\r\n      \"codigo\": \"001\",\r\n      \"descricao\": \"ajuste de teste\",\r\n      \"indicadorTipo\": \"crédito\",\r\n      \"indicadorOrigem\": \"1\",\r\n      \"numeroDocumento\": \"1\"\r\n    }\r\n  ]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/ajuste/contribuicoes?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "ajuste",
                    "contribuicoes"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": "",
                      "description": "Insira o token da SH"
                    }
                  ]
                },
                "description": "Generated from cURL: curl --location 'http://localhost:3000/api/sped/apuracao?token=e1260095f9df4c7c748d59d43b0658b9351d1c11' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Basic bHVjYXMuc2FudG9zQHRlY25vc3BlZWQuY29tLmJyOm4kMjYwMzE4VA==' \\\r\n--data '{\r\n    \"cnpj\": \"08187168000160\",\r\n    \"ano\": \"2024\",\r\n    \"mes\": \"12\"\r\n}'"
              },
              "response": []
            },
            {
              "name": "Consulta ajustes",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/ajuste/?token=&ano&mes&tipo&registro",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "ajuste",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "ano",
                      "value": null
                    },
                    {
                      "key": "mes",
                      "value": null
                    },
                    {
                      "key": "tipo",
                      "value": null
                    },
                    {
                      "key": "registro",
                      "value": null
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Delete Ajustes",
              "request": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/ajuste/:ajusteId?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "ajuste",
                    ":ajusteId"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ],
                  "variable": [
                    {
                      "key": "ajusteId",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Complemento",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Basic "
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"k200\": [\n        {\n            \"codigoItem\": \"AI 0007\",\n            \"dataEstoque\": \"2025-04-22\",\n            \"quantidade\": 1,\n            \"indicadorEstoque\": \"1\"\n        },\n          {\n            \"codigoItem\": \"AI 0008\",\n            \"dataEstoque\": \"2025-04-22\",\n            \"quantidade\": 1,\n            \"indicadorEstoque\": \"1\"\n        },\n          {\n            \"codigoItem\": \"AI 0008\",\n            \"dataEstoque\": \"2025-05-22\",\n            \"quantidade\": 1,\n            \"indicadorEstoque\": \"1\"\n        },\n          {\n            \"codigoItem\": \"AI 0009\",\n            \"dataEstoque\": \"2025-04-22\",\n            \"quantidade\": 50,\n            \"indicadorEstoque\": \"1\"\n        },\n          {\n            \"codigoItem\": \"AI 0007\",\n            \"dataEstoque\": \"2025-05-22\",\n            \"quantidade\": 60,\n            \"indicadorEstoque\": \"1\"\n        }\n    ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/complemento?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "complemento"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Consulta complemento",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Basic "
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/complemento?token=&status&nomeBloco&dataInicio&dataFim",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "complemento"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                },
                {
                  "key": "protoloLote",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": null,
                  "description": "ERRO, SUCESSO"
                },
                {
                  "key": "codigoItem",
                  "value": null,
                  "disabled": true
                },
                {
                  "key": "nomeBloco",
                  "value": null
                },
                {
                  "key": "dataInicio",
                  "value": null
                },
                {
                  "key": "dataFim",
                  "value": null
                },
                {
                  "key": "hashProximaPagina",
                  "value": null,
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete complemento",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "",
                "description": "Basic encode64(email:senha)==",
                "type": "text"
              },
              {
                "key": "content-type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/complemento?token&codigoItem&nomeBloco&dataInicio&dataFim",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "complemento"
              ],
              "query": [
                {
                  "key": "token",
                  "value": null
                },
                {
                  "key": "codigoItem",
                  "value": null
                },
                {
                  "key": "nomeBloco",
                  "value": null
                },
                {
                  "key": "dataInicio",
                  "value": null
                },
                {
                  "key": "dataFim",
                  "value": null
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Cadastros",
      "item": [
        {
          "name": "Produtos",
          "item": [
            {
              "name": "Produto",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "[\n    {\n        \"codigo\": \"2580\",\n        \"ean\": \"1106209715406\",\n        \"descricao\": \"produto  01\",\n        \"ncm\": \"12345678\",\n        \"unidadeComercial\": \"UN\",\n        \"unidadeEstoque\": \"UN\",\n        \"apelido\": \"teste\"\n    },\n      {\n        \"codigo\": \"8741\",\n        \"ean\": \"1106209715406\",\n        \"descricao\": \"produto  02\",\n        \"ncm\": \"12345678\",\n        \"unidadeComercial\": \"UN\",\n        \"unidadeEstoque\": \"UN\"\n        \n           }\n]",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/produto?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "produto"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Produto",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "    {\n        \"codigo\": \"asdf147852\"\n    }",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/produto/{id_produto}?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "produto",
                    "{id_produto}"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Produto Filtros",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/produto?token=&codigo=Teste1",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "produto"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "protocoloLote",
                      "value": "81899100-ef8f-4b58-bab3-dd377d33ad95",
                      "disabled": true
                    },
                    {
                      "key": "codigo",
                      "value": "Teste1"
                    },
                    {
                      "key": "ncm",
                      "value": "1106209715406",
                      "disabled": true
                    },
                    {
                      "key": "hashProximaPagina",
                      "value": "680b95f30f5f21f40cb61ccd",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Produto ID",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/produto/68399d08c88fd4416b1a69a4?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "produto",
                    "68399d08c88fd4416b1a69a4"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "DePara",
          "item": [
            {
              "name": "cadastrar regrasDePara",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"icms\": [\r\n  {\r\n    \"cfopDe\": \"5102\",\r\n    \"cfopPara\": \"6102\",\r\n    \"cstDe\": \"00\",\r\n    \"cstPara\": \"20\",\r\n    \"destinacao\": \"A\",\r\n    \"creditoIcms\": \"1\",\r\n    \"creditoIcmsSt\": \"0\",\r\n    \"st\": \"1\",\r\n    \"difal\": \"0\"\r\n  }\r\n  ],\r\n  \"pisCofins\": [\r\n  {\r\n    \"cfop\": \"5102\",\r\n    \"destinacao\": \"B\",\r\n    \"cstDe\": \"01\",\r\n    \"cstPara\": \"99\",\r\n    \"pisAliquota\": \"1.65\",\r\n    \"cofinsAliquota\": \"7.6\"\r\n  }\r\n  ],\r\n  \"ipi\": [\r\n  {\r\n    \"destinacao\": \"C\",\r\n    \"cstDe\": \"50\",\r\n    \"cstPara\": \"99\"\r\n  }\r\n  ]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/regrasDePara/?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "regrasDePara",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Depara",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"tipo\": \"IPI\",\n    \"destinacao\": \"A\",\n    \"cstDe\": \"11\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/regrasDePara/{idRegraDePara}?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "regrasDePara",
                    "{idRegraDePara}"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Depara Consultar por ID",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/regrasdepara/{IdRegraDePara}?token=",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "regrasdepara",
                    "{IdRegraDePara}"
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Depara Consultar Grupo",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/regrasdepara/?token=&limite=20&pagina=1&tipo=IPI",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "regrasdepara",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "limite",
                      "value": "20"
                    },
                    {
                      "key": "pagina",
                      "value": "1"
                    },
                    {
                      "key": "tipo",
                      "value": "IPI"
                    },
                    {
                      "key": "destinacao",
                      "value": "B",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Depara global",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Basic "
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://sped.plugstorage.com.br/api/v2/sped/regrasdepara/global/?token=&tipo=IPI",
                  "protocol": "https",
                  "host": [
                    "sped",
                    "plugstorage",
                    "com",
                    "br"
                  ],
                  "path": [
                    "api",
                    "v2",
                    "sped",
                    "regrasdepara",
                    "global",
                    ""
                  ],
                  "query": [
                    {
                      "key": "token",
                      "value": ""
                    },
                    {
                      "key": "tipo",
                      "value": "IPI"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Configurações",
      "item": [
        {
          "name": "Cadastrar contador",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"codigoMunicipal\": \"1234567\",\r\n  \"cpf\": \"99999999999\",\r\n  \"crc\": \"CeErreCe\",\r\n  \"email\": \"email@teste.com\",\r\n  \"endereco\": \"Rua testes, 1234, Jardim testes\"\r\n  \"nome\": \"Teste validação\",\r\n  \"telefone\": \"(44) 32465-4654\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/contador?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "contador"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "ConfiguraçaoCliente  webhook",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"codigoMunicipal\": \"1234567\",\r\n  \"cpf\": \"99999999999\",\r\n  \"crc\": \"CeErreCe\",\r\n  \"email\": \"email@teste.com\",\r\n  \"endereco\": \"Rua testes, 1234, Jardim testes\"\r\n  \"nome\": \"Teste validação\",\r\n  \"telefone\": \"(44) 32465-4654\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/cliente/configuracoes?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "cliente",
                "configuracoes"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Consulta contador",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/contador/6824c6d2b20ad9d9ab4f1d2a?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "contador",
                "6824c6d2b20ad9d9ab4f1d2a"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                },
                {
                  "key": "id",
                  "value": "6824c6d2b20ad9d9ab4f1d2a",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Editar contador",
          "request": {
            "method": "PATCH",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"codigoMunicipal\": \"1234567\",\r\n  \"cpf\": \"99999999958\",\r\n  \"crc\": \"12345\",\r\n  \"email\": \"email@teste.com\",\r\n  \"nome\": \"Teste validação\",\r\n  \"telefone\": \"(44) 32465-4654\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/contador/:id?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "contador",
                ":id"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Ativar clientes",
      "item": [
        {
          "name": "Ativar cliente",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Basic =="
              },
              {
                "key": "Cookie",
                "value": "AWSALB=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S; AWSALBCORS=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "[\n    {\n        \"cnpj\": \"*********\",\n        \"inscricaoEstadual\": \"**********\",\n        \"tipoSped\": [\n            \"fiscal\", \"contribuicoes\"\n        ],\n        \"regimeTributario\": \"lucro presumido\",\n        \"tipoEmpresa\": \"industria\"\n    }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/cliente/ativar?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "cliente",
                "ativar"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Desativar",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Basic =="
              },
              {
                "key": "Cookie",
                "value": "AWSALB=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S; AWSALBCORS=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cnpj\": [\"*****\"]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/cliente/desativar?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "cliente",
                "desativar"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Consulta cliente",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Basic =="
              },
              {
                "key": "Cookie",
                "value": "AWSALB=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S; AWSALBCORS=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S"
              }
            ],
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/cliente/?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "cliente",
                ""
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Consulta por CNPJ",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Basic =="
              },
              {
                "key": "Cookie",
                "value": "AWSALB=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S; AWSALBCORS=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S"
              }
            ],
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/cliente/{CNPJ_cliente}?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "cliente",
                "{CNPJ_cliente}"
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Alterar cliente",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Basic =="
              },
              {
                "key": "Cookie",
                "value": "AWSALB=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S; AWSALBCORS=738XZ55XJAJGM1geaeS7nzsQgQ+5gGOZup2qgDAPuC1iU4hbUI4o60vxfePUd1TXljxAP8OK/xpXRF8f8WryamKfu6uU52tMGF07BaxI2TdCI4zOa4RlGJo6Ud8S"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "    {\n        \"cnpj\": \"**********\",\n        \"inscricaoEstadual\": \"**********\",\n        \"tipoSped\": [\n            \"fiscal\", \"contribuicoes\"\n        ],\n        \"regimeTributario\": \"simples\",\n        \"tipoEmpresa\": \"atacado\"\n    }",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://sped.plugstorage.com.br/api/v2/sped/cliente/?token=",
              "protocol": "https",
              "host": [
                "sped",
                "plugstorage",
                "com",
                "br"
              ],
              "path": [
                "api",
                "v2",
                "sped",
                "cliente",
                ""
              ],
              "query": [
                {
                  "key": "token",
                  "value": ""
                }
              ]
            }
          },
          "response": []
        }
      ]
    }
  ]
}