{
	"info": {
		"_postman_id": "765d52fe-39f4-4ebc-9d3d-2685ddb26341",
		"name": "PlugStorage",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
		"_exporter_id": "39543418"
	},
	"item": [
		{
			"name": "Clientes",
			"item": [
				{
					"name": "Cadastrar um cliente",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "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",
								"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": {
								"username": "teste.teste@teste.com.br",
								"password": "",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "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": "http://plugstorage.local/api/clients/updateemail"
					},
					"response": []
				},
				{
					"name": "Alterando a senha de um cliente",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "tokenSh",
								"password": "senhaSh",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text",
								"disabled": true
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "cnpj_cpf",
									"value": "cnpj",
									"type": "text"
								},
								{
									"key": "new_password",
									"value": "novaSenhaDoCliente",
									"type": "text"
								}
							]
						},
						"url": "https://app.plugstorage.com.br/api/clients/updatepassword"
					},
					"response": []
				},
				{
					"name": "Lista dados do Cliente",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "tokenSH",
								"password": "senhaSh",
								"showPassword": false
							}
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"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": {
								"username": "EmailDoCliente",
								"password": "SenhaDoCliente",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "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": {
								"username": "tokenSH",
								"password": "senhaSH",
								"showPassword": false
							}
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"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": {
								"username": "tokenSH",
								"password": "senhaSh",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "client_email",
									"value": "emaildocliente@teste.com.br",
									"type": "text"
								}
							]
						},
						"url": "https://app.plugstorage.com.br/api/clients/unlinkaccountant"
					},
					"response": []
				}
			]
		},
		{
			"name": "Grupos",
			"item": [
				{
					"name": "Criar um Grupo de Empresa",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "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",
								"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": {
								"username": "lucas.santos@tecnospeed.com.br",
								"password": "n$260318",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "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": {
								"username": "tokenSh",
								"password": "senhaSh",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text",
								"disabled": true
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"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": "https://app.plugstorage.com.br/api/v2/manifests"
					},
					"response": []
				},
				{
					"name": "Consulta de manifesto",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "email.cliente@teste.com.br",
								"password": "SenhaForte",
								"showPassword": false
							}
						},
						"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": {
								"username": "tokenSh",
								"password": "senhaSh",
								"showPassword": false
							}
						},
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							}
						],
						"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": {
								"username": "",
								"password": "",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "authorization",
								"value": "",
								"type": "text",
								"disabled": true
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "cert_pfx",
									"type": "file",
									"src": []
								},
								{
									"key": "cert_password",
									"value": "",
									"type": "text"
								},
								{
									"key": "dfe_cert_concentrating",
									"value": "",
									"type": "text"
								},
								{
									"key": "uf",
									"value": "",
									"type": "text"
								},
								{
									"key": "dfe_period",
									"value": "",
									"type": "text"
								},
								{
									"key": "dfe_tipo",
									"value": "",
									"type": "text"
								},
								{
									"key": "dfe_notifica",
									"value": "",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "https://app.plugstorage.com.br/api/destinadas/configdestined?token=",
							"protocol": "https",
							"host": [
								"app",
								"plugstorage",
								"com",
								"br"
							],
							"path": [
								"api",
								"destinadas",
								"configdestined"
							],
							"query": [
								{
									"key": "token",
									"value": ""
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Configura Busca de Destinadas V2",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "tokenSH",
								"password": "senhaSH",
								"showPassword": false
							}
						},
						"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": "https://app.plugstorage.com.br/api/v2/destinadas/configdestined"
					},
					"response": []
				},
				{
					"name": "Consulta Certificado cadastrado",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "tokensoftwarehouse",
								"password": "senhasoftwarehouse",
								"showPassword": false
							}
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"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": "sincroniza destinadas",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"password": "mo1234",
								"username": "0e08f0aede57d74f19e09b004a1d1be8fd5f29b4",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "cpf_cnpj",
									"value": "07254294000127",
									"type": "text"
								},
								{
									"key": "key",
									"value": "35250310983441000295550010000000621714728602",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "https://app.plugstorage.com.br/api/v2/destinadas/synchronize",
							"protocol": "https",
							"host": [
								"app",
								"plugstorage",
								"com",
								"br"
							],
							"path": [
								"api",
								"v2",
								"destinadas",
								"synchronize"
							],
							"query": [
								{
									"key": "cpf_cnpj",
									"value": "07254294000127",
									"disabled": true
								},
								{
									"key": "key",
									"value": "35250310983441000295550010000000621714728602",
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Exportação",
			"item": [
				{
					"name": "Solicita Exportação",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"password": "testeapi",
								"username": "manifesto_api5@cucafresca.com",
								"showPassword": false
							}
						},
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text",
								"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": {
								"username": "",
								"password": "",
								"showPassword": false
							}
						},
						"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": "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": {
								"username": "",
								"password": "n$260318",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"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": "https://app.plugstorage.com.br/api/v2/accountant/processexport"
					},
					"response": []
				},
				{
					"name": "Buscar Exportaçoes V2",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "",
								"password": "n$260318",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "cnpj_cpf",
									"value": "08187168000160",
									"type": "text"
								},
								{
									"key": "protocolo",
									"value": "",
									"type": "text"
								}
							]
						},
						"url": "https://app.plugstorage.com.br/api/v2/accountant/exports"
					},
					"response": []
				}
			]
		},
		{
			"name": "Furos",
			"item": [
				{
					"name": "Solicita processamento dos Furos de numeração",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "emaildocliente@teste.com.br",
								"password": "",
								"showPassword": false
							}
						},
						"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": {
								"username": "emaildocliente@teste.com.br",
								"password": "n$260318",
								"showPassword": false
							}
						},
						"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": "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": "Notas",
			"item": [
				{
					"name": "Enviando uma Nota",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"password": "",
								"username": "",
								"showPassword": false
							}
						},
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Basic dml0b3IuYmVhbEB0ZWNub3NwZWVkLmNvbS5icjoxMjNtdWRhcg==",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"disabled": true
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "xml",
									"value": "<ns3:CompNfse xmlns:ns3=\"http://www.ginfes.com.br/servico_consultar_lote_rps_resposta_v03.xsd\"><ns4:Nfse xmlns:ns4=\"http://www.ginfes.com.br/tipos_v03.xsd\"><ns4:InfNfse><ns4:Numero>41084</ns4:Numero><ns4:CodigoVerificacao>B9RXTGOZZ</ns4:CodigoVerificacao><ns4:DataEmissao>2025-03-25T16:34:41</ns4:DataEmissao><ns4:IdentificacaoRps><ns4:Numero>14547</ns4:Numero><ns4:Serie>41084</ns4:Serie><ns4:Tipo>1</ns4:Tipo></ns4:IdentificacaoRps><ns4:DataEmissaoRps>2025-03-25</ns4:DataEmissaoRps><ns4:NaturezaOperacao>1</ns4:NaturezaOperacao><ns4:RegimeEspecialTributacao>0</ns4:RegimeEspecialTributacao><ns4:OptanteSimplesNacional>2</ns4:OptanteSimplesNacional><ns4:IncentivadorCultural>2</ns4:IncentivadorCultural><ns4:Competencia>2025-03-25</ns4:Competencia><ns4:Servico><ns4:Valores><ns4:ValorServicos>4254.64</ns4:ValorServicos><ns4:ValorDeducoes>0</ns4:ValorDeducoes><ns4:ValorPis>27.64</ns4:ValorPis><ns4:ValorCofins>127.64</ns4:ValorCofins><ns4:ValorIr>63.82</ns4:ValorIr><ns4:ValorCsll>42.56</ns4:ValorCsll><ns4:IssRetido>2</ns4:IssRetido><ns4:ValorIss>212.73</ns4:ValorIss><ns4:BaseCalculo>4254.64</ns4:BaseCalculo><ns4:Aliquota>5</ns4:Aliquota><ns4:ValorLiquidoNfse>3992.98</ns4:ValorLiquidoNfse></ns4:Valores><ns4:ItemListaServico>1708</ns4:ItemListaServico><ns4:CodigoTributacaoMunicipio>712010002</ns4:CodigoTributacaoMunicipio><ns4:Discriminacao>ENSAIOS EM COLCHOES E ESPUMAS PARA IFQB CONFORME ORCAMENTOS N 5560125 5570125 REFERENTE AOS RELATORIOS N 16130325 A 16190325\n\n1 PARCELA: 41084/4/4 - VALOR: R$ 1.014,20 - VENCIMENTO: 29/04/2025\n RETENCAO BC 1063,66 - - DESCONTO DE PIS/CSLL/COFINS NO VALOR R$ 49,46\n\n2 PARCELA: 41084/3/4 - VALOR: R$ 1.014,20 - VENCIMENTO: 15/04/2025\n RETENCAO BC 1063,66 - - DESCONTO DE PIS/CSLL/COFINS NO VALOR R$ 49,46\n\n3 PARCELA: 41084/1/4 - VALOR: R$ 950,38 - VENCIMENTO: 01/04/2025\n RETENCAO BC 1063,66 - DESCONTO DO IRRF NO VALOR R$ 63,82 - DESCONTO DE PIS/CSLL/COFINS NO VALOR R$ 49,46\n\n4 PARCELA: 41084/2/4 - VALOR: R$ 1.014,20 - VENCIMENTO: 08/04/2025\n RETENCAO BC 1063,66 - - DESCONTO DE PIS/CSLL/COFINS NO VALOR R$ 49,46\n\nVALOR APROXIMADO DOS TRIBUTOS: R$ 747,11 (ALIQ 17,56 ), CHAVE 9OI3AC, VERSAO 15.1.B - FONTE IBPT</ns4:Discriminacao><ns4:CodigoMunicipio>3518800</ns4:CodigoMunicipio></ns4:Servico><ns4:ValorCredito>0</ns4:ValorCredito><ns4:PrestadorServico><ns4:IdentificacaoPrestador><ns4:Cnpj>04921401000135</ns4:Cnpj><ns4:InscricaoMunicipal>119781</ns4:InscricaoMunicipal></ns4:IdentificacaoPrestador><ns4:RazaoSocial>INSTITUTO LAB SYSTEM DE PESQUISAS E ENSAIOS LTDA</ns4:RazaoSocial><ns4:Endereco><ns4:Endereco>AVENIDA GUINLE</ns4:Endereco><ns4:Numero>52</ns4:Numero><ns4:Bairro>CIDADE INDUSTRIAL SATÉLITE DE SÃO PAULO</ns4:Bairro><ns4:CodigoMunicipio>3518800</ns4:CodigoMunicipio><ns4:Uf>SP</ns4:Uf><ns4:Cep>7221070</ns4:Cep></ns4:Endereco><ns4:Contato><ns4:Telefone>1124460041</ns4:Telefone><ns4:Email>LABSYSTEM@LABYSYSTEM.COM.BR</ns4:Email></ns4:Contato></ns4:PrestadorServico><ns4:TomadorServico><ns4:IdentificacaoTomador><ns4:CpfCnpj><ns4:Cnpj>09487195000110</ns4:Cnpj></ns4:CpfCnpj></ns4:IdentificacaoTomador><ns4:RazaoSocial>Aga Moveis Industria E Comercio De Moveis Ltda</ns4:RazaoSocial><ns4:Endereco><ns4:Endereco>Avenida Do Turismo</ns4:Endereco><ns4:Numero>SN</ns4:Numero><ns4:Bairro>Taruma</ns4:Bairro><ns4:CodigoMunicipio>1302603</ns4:CodigoMunicipio><ns4:Uf>AM</ns4:Uf><ns4:Cep>69041010</ns4:Cep></ns4:Endereco><ns4:Contato><ns4:Email>diretoria@agamoveis.com.br</ns4:Email></ns4:Contato></ns4:TomadorServico><ns4:OrgaoGerador><ns4:CodigoMunicipio>3518800</ns4:CodigoMunicipio><ns4:Uf>SP</ns4:Uf></ns4:OrgaoGerador></ns4:InfNfse></ns4:Nfse></ns3:CompNfse>\n",
									"type": "text"
								},
								{
									"key": "mod",
									"value": "99",
									"type": "text"
								},
								{
									"key": "ambiente",
									"value": "1",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "https://app.plugstorage.com.br/api/invoices?token=",
							"protocol": "https",
							"host": [
								"app",
								"plugstorage",
								"com",
								"br"
							],
							"path": [
								"api",
								"invoices"
							],
							"query": [
								{
									"key": "token",
									"value": ""
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Obter XML, JSON ou PDF de uma nota",
					"request": {
						"auth": {
							"type": "basic",
							"basic": {
								"username": "email",
								"password": "senha",
								"showPassword": false
							}
						},
						"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",
								"value": "application/x-www-form-urlencoded ",
								"type": "text",
								"disabled": true
							},
							{
								"key": "Authorization",
								"value": "basic bm90YXNlZ3VyYUB0aGVvcy5jb20uYnI6c3lzQDM2OTEx",
								"type": "text",
								"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": {
								"username": "@tecnospeed.com.br",
								"password": "n$260318",
								"showPassword": false
							}
						},
						"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=&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": ""
								},
								{
									"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",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "Basic bm90YXNlZ3VyYUB0aGVvcy5jb20uYnI6c3lzQDM2OTEx",
								"type": "text",
								"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": []
				}
			]
		}
	]
}