{"info":{"_postman_id":"19bb1eea-e6fb-45b7-8ba5-f700c1ec9954","name":"Taxhall - API Documentation","description":"<html><head></head><body><p><strong>Platform</strong></p>\n<p>We are the first global, fully white-label tax intelligence technology platform capable of integrating via API with any ecosystem, be it an ERP, a marketplace, an online e-commerce or an offline POS embedded in Windows, Linux and Android platforms. This is the documentation for using our APIs, developed with great care to facilitate your integration work.</p>\n<p><strong>The step-by-step guide to safe and sustainable integration:</strong></p>\n<p><strong>1.</strong> Initially, it is important to understand how the basic registration entities are hierarchically structured, necessary for the correct functioning of the services offered through the platform. The hierarchy is presented in the form of 4 main contexts:</p>\n<ul>\n<li><p><b>Entities</b></p>\n<ul>\n<li><p><strong>whitelabel</strong></p>\n</li>\n<li><p>whitelabel.<strong>accounts</strong></p>\n</li>\n<li><p>whitelabel.accounts.<strong>companies</strong></p>\n</li>\n<li><p>whitelabel.accounts.companies.<strong>subsidiaries</strong></p>\n</li>\n</ul>\n</li>\n</ul>\n<p>All other basic registrations are organized in light of these 4 main contexts.</p>\n<p><strong>2.</strong> The next step is to access the platform through your preferred domain to obtain a valid \"x-api-key\" required to make calls to our APIs. You can count on the help of your sales representative or our customer support team.</p>\n<p><strong>3.</strong> Assemble your team. We suggest that you register customizable access profiles for each group of users and invite them. This step is very important because users will be the ones who will actually use the services offered through the platform. Therefore, it is important that you understand everything that the platform offers (its resources and their respective actions), especially how they are charged and the impact of each service on your operation, and define what each member of your team can do. This way, you will be able to enjoy the benefits of the platform by assigning specific skills and responsibilities to each user.</p>\n<p><strong>4.</strong> Define which resources your team will use and set them up. For example, if you intend to manage invoices through the platform, you need to register accounts, companies, subsidiaries and tax issuance series, and if you intend to operate offline, you also need to register sales terminals.</p>\n<p><strong>5.</strong> Define which integrations will actually be necessary. For example, if you do not have many subsidiaries opened over time, you may decide to do a batch or individual registration by importing a spreadsheet or using our user application instead of doing a systemic integration.</p>\n<p><strong>6.</strong> Develop the payload of your request in Json format following the following additional guidelines:</p>\n<ul>\n<li><p>We hope to anticipate and consider all possible situations when validating your request, but to avoid unknown issues, we ask that you do not enter empty fields (e.g. empty string) or special characters (e.g. º, § £, ™,@, ª , etc) at your request under any circumstances;</p>\n</li>\n<li><p>If you want to edit a field by removing the existing content in it, inform the field followed by the literal null;</p>\n</li>\n<li><p>Do not report duplicate fields, as the treatment implemented by the API is to use the last field read in the payload;</p>\n</li>\n<li><p>Respect rate limit of up to 50 requests per minute, except in the tax calculation endpoints <em>(rules-engine/evaluate)</em> and issuing invoice events <em>(invoices/event/{tpEvento})</em>, which is unlimited;</p>\n</li>\n<li><p>Respect limit of up to 50 items per page, in the case of resource listing endpoints</p>\n</li>\n</ul>\n<p><strong>7.</strong> Finally, consider that the responses obtained in calls made to our APIs will always return an “HTTP Status Code”, and expected codes and their respective standard response model can be found in each endpoint registered in this documentation.</p>\n<p><strong>8.</strong> If you still need help, or even if you encounter strange behavior in your tests or behavior that doesn't match what's documented, don't hesitate to contact us by sending an email to your sales representative or our support team.</p>\n<p>We will be delighted to serve you.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18492219","collectionId":"19bb1eea-e6fb-45b7-8ba5-f700c1ec9954","publishedId":"2sBXiesa6o","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"000080"},"publishDate":"2026-03-18T10:24:13.000Z"},"item":[{"name":"entities","item":[{"name":"whitelabels","item":[{"name":"whitelabels (detail)","id":"465ba6e2-5454-4403-885e-c0af0acf57ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/whitelabels/{whitelabelId}","urlObject":{"protocol":"https","path":["whitelabels","{whitelabelId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"bcfd7cb4-2c34-4e34-b2d8-be9bd51188ef","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": \"\",\n        \"name\": \"\",\n        \"domain\": \"\",\n        \"slug\": \"\",\n        \"layout\": {\n            \"theme\": {\n                \"backgroundColor\": \"#19213a\",\n                \"fontColor\": \"#ffffff\"\n            },\n            \"buttons\": {\n                \"backgroundColor\": \"#19213a\",\n                \"fontColor\": \"#ffffff\"\n            }\n        },\n        \"images\": {\n            \"lightLogoUrl\": \"\",\n            \"darkLogoUrl\": \"\",\n            \"lightIconUrl\": \"\",\n            \"darkIconUrl\": \"\",\n            \"backgroundUrl\": \"\"\n        },\n        \"apiKeys\": [\n            {\n                \"key\": \"\",\n                \"name\": \"\",\n                \"description\": \"\",\n                \"authorizationHeaderEnabled\": false,\n                \"enabled\": true,\n                \"createdAt\": {\n                    \"epoch\": 1742483973,\n                    \"formatted\": \"20/03/2025 - 12:19:33\"\n                },\n                \"updatedAt\": null\n            }\n        ],\n        \"linkTitle\": \"\",\n        \"linkUrl\": \"\",\n        \"accountsTotal\": 1,\n        \"usersTotal\": 0,\n        \"token\": \"\",\n        \"createdAt\": {\n            \"epoch\": 1659471846,\n            \"formatted\": \"02/08/2022 - 17:24:06\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1719584903,\n            \"formatted\": \"28/06/2024 - 11:28:23\"\n        },\n        \"transactions\": [\n            \"\"\n        ],\n        \"enabled\": true\n    }\n}"},{"id":"3df00289-da62-496c-9266-d47b3d4487c9","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"4d0e1c4a-7fa9-475b-936f-fdcf0ff7a4b5","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"c37ca7a6-774f-4dc1-875d-2ad9bea0c2c1","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"465ba6e2-5454-4403-885e-c0af0acf57ad"},{"name":"whitelabels","id":"b598d841-fc7a-453b-a94a-0883ff51140d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/whitelabels/{whitelabelId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>This is the name by which your business is recognized on the internet. It is optional in edition, must be a string, must be a unique name, and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>slug</td>\n<td>This is the path address of the whitelabel through which users will access the platform from the address <code>https://app-homologation.platform.com/{slug}</code>. It is optional, must be a string, must be a unique and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>domain</td>\n<td>This is the address of the internet domain through which users will access the platform. It is optional in edition, must be a string, must be a unique address and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>layout.theme.<strong>backgroundColor</strong></td>\n<td>This is the color of your whitelabel's main palette. It is optional, it must be a string and the content must be a hexadecimal color eg. <code>#000000</code> (black), <code>#ffffff</code> (white). If this field is not informed, the default value used will be <code>#19213a</code> (standard background).</td>\n</tr>\n<tr>\n<td>layout.theme.<strong>fontColor</strong></td>\n<td>This is the font color of your whitelabel's. It is optional, it must be a string and the content must be a hexadecimal color eg. <code>#000000</code> (black), <code>#ffffff</code> (white). If this field is not informed, the default value used will be <code>#ffffff</code> (White to contrast whit standard background).</td>\n</tr>\n<tr>\n<td>layout.buttons.<strong>backgroundColor</strong></td>\n<td>This is the background color of buttons in your whitelabel. It is optional, it must be a string and the content must be a hexadecimal color eg. <code>#000000</code> (black), <code>#ffffff</code> (white). If this field is not informed, the default value used will be <code>#19213a</code> (standard background).</td>\n</tr>\n<tr>\n<td>layout.theme.<strong>fontColor</strong></td>\n<td>This is the font color of buttons in your whitelabel. It is optional, it must be a string and the content must be a hexadecimal color eg. <code>#000000</code> (black), <code>#ffffff</code> (white). If this field is not informed, the default value used will be <code>#ffffff</code> (White to contrast whit standard background).</td>\n</tr>\n<tr>\n<td>images.<strong>lightLogoBase64</strong></td>\n<td>This is your domain logo on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>darkLogoBase64</strong></td>\n<td>This is your domain logo on a dark background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>lightIconBase64</strong></td>\n<td>This is your domain icon on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>darkIconBase64</strong></td>\n<td>This is your domain icon on a dark background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>backgroundBase64</strong></td>\n<td>This is the background image that will be used on your domain's login screen. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether your whitelabel is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n<tr>\n<td>linkTitle</td>\n<td>This is the name by which your business is recognized on the internet. It is optional, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>linkUrl</td>\n<td>This is the website by which your business is recognized on the internet. It is optional, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>key</strong></td>\n<td>This is the API authentication token automatically generated by the Omnitax platform. It can't be edited.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>name</strong></td>\n<td>It is the name to identify the key used as a token in API authentication. It is optional, must be a string and its maximum size is 60 characters.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>description</strong></td>\n<td>The description for a key used as a token in API authentication. It is optional, must be a string, and its maximum length is 256 characters.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>authorizationHeaderEnabled</strong></td>\n<td>It is used to define whether the Authorization header can be used together with the ApiKey key in API authentication. It is required, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>enabled</strong></td>\n<td>It is used to defines whether your ApiKey is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["whitelabels","{whitelabelId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"61e32488-e709-4670-bd11-bce22b9b397f","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"slug\": \"optional, string\",\n    \"domain\": \"optional, string\",\n    \"layout\": {\n        \"theme\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        },\n        \"buttons\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        }\n    },\n    \"images\": {\n        \"backgroundBase64\": \"optional, string(base64)\",\n        \"darkIconBase64\": \"optional, string(base64)\",\n        \"darkLogoBase64\": \"optional, string(base64)\",\n        \"lightIconBase64\": \"optional, string(base64)\",\n        \"lightLogoBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ],\n    \"linkTitle\": \"optional, string\",\n    \"linkUrl\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Whitelabel updated successfully\"\n}"},{"id":"85427c36-9099-45f2-8b4f-46c96b089bbe","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"slug\": \"optional, string\",\n    \"domain\": \"optional, string\",\n    \"layout\": {\n        \"theme\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        },\n        \"buttons\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        }\n    },\n    \"images\": {\n        \"backgroundBase64\": \"optional, string(base64)\",\n        \"darkIconBase64\": \"optional, string(base64)\",\n        \"darkLogoBase64\": \"optional, string(base64)\",\n        \"lightIconBase64\": \"optional, string(base64)\",\n        \"lightLogoBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ],\n    \"linkTitle\": \"optional, string\",\n    \"linkUrl\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"76170fcc-1bed-4b2d-93e0-e98a453eab29","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"slug\": \"optional, string\",\n    \"domain\": \"optional, string\",\n    \"layout\": {\n        \"theme\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        },\n        \"buttons\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        }\n    },\n    \"images\": {\n        \"backgroundBase64\": \"optional, string(base64)\",\n        \"darkIconBase64\": \"optional, string(base64)\",\n        \"darkLogoBase64\": \"optional, string(base64)\",\n        \"lightIconBase64\": \"optional, string(base64)\",\n        \"lightLogoBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ],\n    \"linkTitle\": \"optional, string\",\n    \"linkUrl\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"6aecd79a-29bf-4485-ae1a-9fca1b70270c","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"slug\": \"optional, string\",\n    \"domain\": \"optional, string\",\n    \"layout\": {\n        \"theme\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        },\n        \"buttons\": {\n            \"backgroundColor\": \"optional, string\",\n            \"fontColor\": \"optional, string\"\n        }\n    },\n    \"images\": {\n        \"backgroundBase64\": \"optional, string(base64)\",\n        \"darkIconBase64\": \"optional, string(base64)\",\n        \"darkLogoBase64\": \"optional, string(base64)\",\n        \"lightIconBase64\": \"optional, string(base64)\",\n        \"lightLogoBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ],\n    \"linkTitle\": \"optional, string\",\n    \"linkUrl\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/whitelabels/{whitelabelId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"b598d841-fc7a-453b-a94a-0883ff51140d"}],"id":"8d4036ac-e85d-47d2-b085-103a8e1fe7f5","description":"<p><strong>Endpoints for managing custom domains</strong></p>\n<p>Users can customize the platform with their own branding to give the impression that it was created by them. This feature is called whitelabel. The name derives from the image of a package that can be filled with the commercial image of whoever actually represents the offer to the end consumer. This commercial image begins with the use of a custom internet domain. The domain is the main entity within the platform. It is below a domain that customer accounts are managed.</p>\n<p>You can customize the platform to use your own domain or you can choose to manage your business accounts for different customers on an existing domain.</p>\n<p>Domain registration and deletion via API is not supported. If this is your wish, you must contact the platform provider.</p>\n","_postman_id":"8d4036ac-e85d-47d2-b085-103a8e1fe7f5"},{"name":"accounts","item":[{"name":"accounts","id":"0e24ad68-7e21-4a38-b5c4-931a42e6776d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>whitelabelId</td>\n<td>This is the whitelabelId where your account will be registered. It is required, must be a string and the entered content must be a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>This is the name by which your account will be recognized on the platform. It is required, must be a string, must be a unique name, and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>images.<strong>logoBase64</strong></td>\n<td>This is your account logo on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>iconBase64</strong></td>\n<td>This is your account icon on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"19be92e5-bab4-4639-b7bc-48c683652b52","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"whitelabelId\": \"required, string\",\n    \"name\": \"required, string\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account registered with success\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"eca683b4-af54-4e61-99b2-8542b6029ae7","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"whitelabelId\": \"required, string\",\n    \"name\": \"required, string\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"name\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"768762ab-fac8-4a24-a0d3-8f4f3cc77a90","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"whitelabelId\": \"required, string\",\n    \"name\": \"required, string\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"b6eae76e-dbee-476f-952b-85bb67074602","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"whitelabelId\": \"required, string\",\n    \"name\": \"required, string\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"bd32b300-971b-47ca-9026-864fe523ed31","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"whitelabelId\": \"required, string\",\n    \"name\": \"required, string\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"whitelabelId\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"},{"id":"0b0862c3-1d7f-43aa-ba26-fe0c65ff2cee","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"whitelabelId\": \"required, string\",\n    \"name\": \"required, string\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"name\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"0e24ad68-7e21-4a38-b5c4-931a42e6776d"},{"name":"accounts (list)","id":"f966473f-dd2c-4220-9a76-e9278ca7eade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts?page=1&limit=50&sort=asc&orderBy=id&q=","urlObject":{"protocol":"https","path":["accounts"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of item per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: id, name, createdAt, updatedAt, enabled, companiesTotal or usersTotal</p>\n","type":"text/plain"},"key":"orderBy","value":"id"},{"description":{"content":"<p>Search by: id, remoteId, name, companyId, federalDocument</p>\n","type":"text/plain"},"key":"q","value":""}],"variable":[]}},"response":[{"id":"6c08574e-63fd-4826-80d3-2e69e7aa7d9c","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/accounts?page=1&limit=50&sort=asc&orderBy=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["accounts"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of item per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"id","description":"Order by: id, name, createdAt, updatedAt, enabled, companiesTotal or usersTotal"},{"key":"q","value":"","description":"Search by: id, remoteId, name, companyId, federalDocument"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": \"\",\n            \"enabled\": true,\n            \"transactions\": [\n                \"\"\n            ],\n            \"createdAt\": {\n                \"epoch\": 1743540466,\n                \"formatted\": \"01/04/2025 - 17:47:46\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1743856933,\n                \"formatted\": \"05/04/2025 - 09:42:13\"\n            },\n            \"name\": \"\",\n            \"companiesTotal\": 0,\n            \"usersTotal\": 0,\n            \"images\": {\n                \"logoUrl\": \"\",\n                \"iconUrl\": \"\"\n            },\n            \"whitelabel\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"enabled\": true,\n                \"transactions\": [\n                    \"\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1743528734,\n                    \"formatted\": \"01/04/2025 - 14:32:14\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1743619784,\n                    \"formatted\": \"02/04/2025 - 15:49:44\"\n                },\n                \"name\": \"\",\n                \"domain\": \"\",\n                \"accountsTotal\": 0,\n                \"usersTotal\": 0\n            },\n            \"apiKeys\": [\n                {\n                    \"key\": \"\",\n                    \"name\": \"\",\n                    \"description\": \"\",\n                    \"authorizationHeaderEnabled\": false,\n                    \"enabled\": true,\n                    \"creatorEmail\": null,\n                    \"createdAt\": {\n                        \"epoch\": 1743540466,\n                        \"formatted\": \"01/04/2025 - 17:47:46\"\n                    },\n                    \"updatedAt\": null\n                }\n            ]\n        }\n    ]\n}"},{"id":"88d3d79c-be0c-4267-8a5f-ddc792e411ef","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"logoBase64\": \"string\",\n    \"iconBase64\": \"string\",\n    \"headquarterAccountId\": \"string\",\n    \"enabled\": \"boolean\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/accounts?page=1&limit=50&sort=asc&orderBy=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["accounts"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of item per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"id","description":"Order by: id, name, createdAt, updatedAt, enabled, companiesTotal or usersTotal"},{"key":"q","value":"","description":"Search by: id, remoteId, name, companyId, federalDocument"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"8d9086be-125d-4c5c-ad90-0275e7735d4a","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"logoBase64\": \"string\",\n    \"iconBase64\": \"string\",\n    \"headquarterAccountId\": \"string\",\n    \"enabled\": \"boolean\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/accounts?page=1&limit=50&sort=asc&orderBy=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["accounts"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of item per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"id","description":"Order by: id, name, createdAt, updatedAt, enabled, companiesTotal or usersTotal"},{"key":"q","value":"","description":"Search by: id, remoteId, name, companyId, federalDocument"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"f966473f-dd2c-4220-9a76-e9278ca7eade"},{"name":"accounts (detail)","id":"17e595db-7517-4055-a20c-90d8c3c07a2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}","urlObject":{"protocol":"https","path":["accounts","{accountId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"f1c16ede-b798-4a01-b463-73f883f6e2aa","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": \"\",\n        \"enabled\": true,\n        \"transactions\": [\n            \"\"\n        ],\n        \"createdAt\": {\n            \"epoch\": 1743540466,\n            \"formatted\": \"01/04/2025 - 17:47:46\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1743856933,\n            \"formatted\": \"05/04/2025 - 09:42:13\"\n        },\n        \"name\": \"\",\n        \"companiesTotal\": 0,\n        \"usersTotal\": 0,\n        \"images\": {\n            \"logoUrl\": \"\",\n            \"iconUrl\": \"\"\n        },\n        \"whitelabel\": {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"enabled\": true,\n            \"transactions\": [\n                \"\"\n            ],\n            \"createdAt\": {\n                \"epoch\": 1743528734,\n                \"formatted\": \"01/04/2025 - 14:32:14\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1743619784,\n                \"formatted\": \"02/04/2025 - 15:49:44\"\n            },\n            \"name\": \"\",\n            \"domain\": \"\",\n            \"accountsTotal\": 0,\n            \"usersTotal\": 0\n        },\n        \"apiKeys\": [\n            {\n                \"key\": \"\",\n                \"name\": \"\",\n                \"description\": \"\",\n                \"authorizationHeaderEnabled\": false,\n                \"enabled\": true,\n                \"creatorEmail\": null,\n                \"createdAt\": {\n                    \"epoch\": 1743540466,\n                    \"formatted\": \"01/04/2025 - 17:47:46\"\n                },\n                \"updatedAt\": null\n            }\n        ]\n    }\n}"},{"id":"68a066fc-a7bd-462a-9f95-db282461382f","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"e182528b-ac0e-41e4-bce3-b70f64b33f7f","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"4ce81d3c-aba1-4a18-87fe-f24e015a8474","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"17e595db-7517-4055-a20c-90d8c3c07a2f"},{"name":"accounts","id":"3af04727-7b79-424f-a9ee-132f6e8ab738","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>This is the name by which your account will be recognized on the platform. It is required, must be a string, must be a unique name, and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether your account is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n<tr>\n<td>images.<strong>logoBase64</strong></td>\n<td>This is your account logo on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>iconBase64</strong></td>\n<td>This is your account icon on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>key</strong></td>\n<td>This is the API authentication token automatically generated by the Omnitax platform. It can't be edited.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>name</strong></td>\n<td>It is the name to identify the key used as a token in API authentication. It is optional, must be a string and its maximum size is 60 characters.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>description</strong></td>\n<td>The description for a key used as a token in API authentication. It is optional, must be a string, and its maximum length is 256 characters.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>authorizationHeaderEnabled</strong></td>\n<td>It is used to define whether the Authorization header can be used together with the ApiKey key in API authentication. It is required, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n<tr>\n<td>apiKeys.<strong>enabled</strong></td>\n<td>It is used to defines whether your ApiKey is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["accounts","{accountId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"e5ed48d9-89a1-43bf-857e-8aa0d69bbeb7","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account updated successfully\"\n}"},{"id":"294604d4-4ecd-405f-b53e-338a954bedf5","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"1e80fc37-6943-435b-93a4-73265adb7897","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"b3cd5689-4720-4d10-ad3b-9151b17c7730","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    },\n    \"apiKeys\": [\n        {\n            \"key\": \"optional, string\",\n            \"name\": \"optional, string\",\n            \"description\": \"optional, string\",\n            \"authorizationHeaderEnabled\": \"optional, boolean\",\n            \"enabled\": \"optional, boolean\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"3af04727-7b79-424f-a9ee-132f6e8ab738"},{"name":"accounts","id":"888ffd55-b815-4e2a-8f02-519cc6676f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}","urlObject":{"protocol":"https","path":["accounts","{accountId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"2e242e9d-f6b9-4759-976e-7ec1cd81261a","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account removed successfully\"\n}"},{"id":"1f68ad57-7b65-4191-9666-8f80096df432","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"f4596fbe-81c6-4f1b-9ba4-a0ace3abcdcd","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"78d60273-d54d-43c5-a2da-739f1897ee47","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/accounts/{accountId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"888ffd55-b815-4e2a-8f02-519cc6676f35"}],"id":"2cccbc3c-a989-4d63-bff2-61df7cef0c24","description":"<p>Users are allowed to register business accounts under some previously selected whitelabel. The account is the ultimate entity within a whitelabel. It is under it that you will be able to simultaneously register and manage several companies of the same customers. The unit of an account within a whitelabel will be given by its name.</p>\n","_postman_id":"2cccbc3c-a989-4d63-bff2-61df7cef0c24"},{"name":"companies","item":[{"name":"companies","id":"0d756609-4840-4507-b812-007fe7bc7986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://{{api-domain}}/companies","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountId</td>\n<td>This is the accountId where your company will be registered. It is required, must be a string and the entered content must be a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>federalDocument</td>\n<td>This is the unique federal identification number for companies or individuals in Brazil. If it is a CNPJ, enter only the first 8 digits. If it is a CPF, enter the 9 digits. It is mandatory and must be a string.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>This is the name by which your company will be recognized on the platform. It is required, must be a string, must be a unique name, and can't exceed 128 characters.</td>\n</tr>\n<tr>\n<td>countryIsoAlphaThree</td>\n<td>This is the country of origin of your company in ISO 3166-1 alpha-3 format (eg \"BRA\"). It is required and must be a string.</td>\n</tr>\n<tr>\n<td>certificate.<strong>fileBase64</strong></td>\n<td>This is your company's digital certificate, optional for company registration, but mandatory to use some services on the platform, such as issuing invoices. It must be a string and the content entered must be in base64.</td>\n</tr>\n<tr>\n<td>certificate.<strong>password</strong></td>\n<td>This is the access password for the digital certificate, mandatory if \"certificateBase64\" is informed. It must be a string.</td>\n</tr>\n<tr>\n<td>certificate.<strong>filename</strong></td>\n<td>This is the name of the digital certificate file, required if \"certificateBase64\" is entered. It must be a string.</td>\n</tr>\n<tr>\n<td>images.<strong>logoBase64</strong></td>\n<td>This is your company logo on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>iconBase64</strong></td>\n<td>This is your company icon on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["companies"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"d752e5b8-fbf3-465d-a7e6-a638fcf4cfbb","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"federalDocument\": \"required, string\",\n    \"name\": \"required, string\",\n    \"countryIsoAlphaThree\": \"required, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, string(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Company registered with success.\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"3e6b0e71-bc5d-4883-a63f-d7720991526a","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"federalDocument\": \"required, string\",\n    \"name\": \"required, string\",\n    \"countryIsoAlphaThree\": \"required, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, string(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"name\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"8013e1c8-9a5a-4efe-8cfb-efd26082cfef","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"federalDocument\": \"required, string\",\n    \"name\": \"required, string\",\n    \"countryIsoAlphaThree\": \"required, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, string(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"1b1f79e9-96e3-4fc6-8290-2c162cda1d8c","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"federalDocument\": \"required, string\",\n    \"name\": \"required, string\",\n    \"countryIsoAlphaThree\": \"required, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, string(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"65531fb0-622f-4d61-bfdc-4de1e493748b","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"federalDocument\": \"required, string\",\n    \"name\": \"required, string\",\n    \"countryIsoAlphaThree\": \"required, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, string(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"accountId\",\n            \"messages\": [\n                \"Not Found\"\n            ]\n        }\n    ]\n}"},{"id":"bae33ff0-2926-4c7b-907f-f0b2c0be9d6e","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"federalDocument\": \"required, string\",\n    \"name\": \"required, string\",\n    \"countryIsoAlphaThree\": \"required, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, string(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"name\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"0d756609-4840-4507-b812-007fe7bc7986"},{"name":"companies (list)","id":"b2b2fdcb-d2f9-4a80-a812-3421d8d30dbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{api-domain}}/companies?page=1&limit=50&accountId=id&sort=asc&orderBy=id&q=","urlObject":{"protocol":"https","path":["companies"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of item per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Filter by all companies from account</p>\n","type":"text/plain"},"key":"accountId","value":"id"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: id, name, createdAt, updatedAt, federalDocument, enabled, subsidiariesTotal or usersTotal</p>\n","type":"text/plain"},"key":"orderBy","value":"id"},{"description":{"content":"<p>Search by: id, remoteId, accountId, name or federalDocument</p>\n","type":"text/plain"},"key":"q","value":""}],"variable":[]}},"response":[{"id":"f8a503df-5101-4e45-a0bc-fa349d79e72c","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/companies?page=1&limit=50&accountId=id&sort=asc&orderBy=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["companies"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of item per page"},{"key":"accountId","value":"id","description":"Filter by all companies from account"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"id","description":"Order by: id, name, createdAt, updatedAt, federalDocument, enabled, subsidiariesTotal or usersTotal"},{"key":"q","value":"","description":"Search by: id, remoteId, accountId, name or federalDocument"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"message\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": \"\",\n                \"enabled\": true,\n                \"transactions\": [\n                    \"\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1743547419,\n                    \"formatted\": \"01/04/2025 - 19:43:39\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1743549239,\n                    \"formatted\": \"01/04/2025 - 20:13:59\"\n                },\n                \"name\": \"\",\n                \"federalDocument\": \"\",\n                \"certificate\": {\n                    \"filename\": \"\",\n                    \"expirationAt\": \"\",\n                    \"downloadLink\": \"\"\n                },\n                \"subsidiariesTotal\": 1,\n                \"usersTotal\": 0,\n                \"images\": {\n                    \"logoUrl\": \"\",\n                    \"iconUrl\": \"\"\n                },\n                \"account\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": \"\",\n                    \"enabled\": true,\n                    \"transactions\": [\n                        \"\"\n                    ],\n                    \"createdAt\": {\n                        \"epoch\": 1743540466,\n                        \"formatted\": \"01/04/2025 - 17:47:46\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1743547419,\n                        \"formatted\": \"01/04/2025 - 19:43:39\"\n                    },\n                    \"name\": \"\",\n                    \"companiesTotal\": 1,\n                    \"usersTotal\": 0,\n                    \"whitelabel\": {\n                        \"id\": \"\",\n                        \"requestId\": \"\",\n                        \"remoteId\": null,\n                        \"enabled\": true,\n                        \"transactions\": [\n                            \"\"\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1743528734,\n                            \"formatted\": \"01/04/2025 - 14:32:14\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1743540517,\n                            \"formatted\": \"01/04/2025 - 17:48:37\"\n                        },\n                        \"name\": \"\",\n                        \"domain\": \"\",\n                        \"accountsTotal\": 2,\n                        \"usersTotal\": 0\n                    }\n                },\n                \"country\": {\n                    \"xPais\": \"\",\n                    \"cPaisIbge\": \"\",\n                    \"cPaisSiscomex\": \"\",\n                    \"isoAlphaThree\": \"\"\n                },\n                \"headSubsidiary\": {\n                    \"id\": \"\",\n                    \"enabled\": true,\n                    \"codQualif\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"sitEspecial\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"specialSituationDate\": null,\n                    \"legalNatures\": [\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\",\n                            \"startDate\": {\n                                \"epoch\": 1743547800,\n                                \"formatted\": \"01/04/2025 - 19:50:00\"\n                            },\n                            \"endDate\": null\n                        }\n                    ],\n                    \"countryTaxes\": [\n                        {\n                            \"crt\": {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            \"crtEspecial\": [\n                                {\n                                    \"code\": \"\",\n                                    \"description\": \"\"\n                                }\n                            ],\n                            \"startDate\": {\n                                \"epoch\": 1743547829,\n                                \"formatted\": \"01/04/2025 - 19:50:29\"\n                            },\n                            \"endDate\": null\n                        }\n                    ],\n                    \"createdAt\": {\n                        \"epoch\": 1743549239,\n                        \"formatted\": \"01/04/2025 - 20:13:59\"\n                    },\n                    \"updatedAt\": null\n                },\n                \"period\": {\n                    \"year\": 2025,\n                    \"months\": {\n                        \"january\": \"\",\n                        \"february\": \"\",\n                        \"march\": \"\",\n                        \"april\": \"\",\n                        \"may\": \"\",\n                        \"june\": \"\",\n                        \"july\": \"\",\n                        \"august\": \"\",\n                        \"september\": \"\",\n                        \"october\": \"\",\n                        \"november\": \"\",\n                        \"december\": \"\"\n                    },\n                    \"transactions\": [],\n                    \"company\": {\n                        \"id\": \"\",\n                        \"name\": \"\"\n                    }\n                }\n            }\n        }\n    ]\n}"},{"id":"04db467a-699c-429e-971d-d72127bc7aa0","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/companies?page=1&limit=50&accountId=id&sort=asc&orderBy=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["companies"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of item per page"},{"key":"accountId","value":"id","description":"Filter by all companies from account"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"id","description":"Order by: id, name, createdAt, updatedAt, federalDocument, enabled, subsidiariesTotal or usersTotal"},{"key":"q","value":"","description":"Search by: id, remoteId, accountId, name or federalDocument"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"d9b614bb-ec78-4657-993b-ae00d18c3e7a","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/companies?page=1&limit=50&accountId=id&sort=asc&orderBy=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["companies"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of item per page"},{"key":"accountId","value":"id","description":"Filter by all companies from account"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"id","description":"Order by: id, name, createdAt, updatedAt, federalDocument, enabled, subsidiariesTotal or usersTotal"},{"key":"q","value":"","description":"id, remoteId, accountId, name or federalDocument"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"b2b2fdcb-d2f9-4a80-a812-3421d8d30dbf"},{"name":"companies (detail)","id":"e81aeafd-00ab-40f1-ac78-a0e34ae800a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{api-domain}}/companies/{companyId}","urlObject":{"protocol":"https","path":["companies","{companyId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"82f4f59c-d1ac-463e-99c4-7d583b093d65","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": \"\",\n        \"enabled\": true,\n        \"transactions\": [\n            \"\"\n        ],\n        \"createdAt\": {\n            \"epoch\": 1743547419,\n            \"formatted\": \"01/04/2025 - 19:43:39\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1743549239,\n            \"formatted\": \"01/04/2025 - 20:13:59\"\n        },\n        \"name\": \"\",\n        \"federalDocument\": \"\",\n        \"certificate\": {\n            \"filename\": \"\",\n            \"expirationAt\": \"\",\n            \"downloadLink\": \"\"\n        },\n        \"subsidiariesTotal\": 1,\n        \"usersTotal\": 0,\n        \"images\": {\n            \"logoUrl\": \"\",\n            \"iconUrl\": \"\"\n        },\n        \"account\": {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": \"\",\n            \"enabled\": true,\n            \"transactions\": [\n                \"\"\n            ],\n            \"createdAt\": {\n                \"epoch\": 1743540466,\n                \"formatted\": \"01/04/2025 - 17:47:46\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1743547419,\n                \"formatted\": \"01/04/2025 - 19:43:39\"\n            },\n            \"name\": \"\",\n            \"companiesTotal\": 1,\n            \"usersTotal\": 0,\n            \"whitelabel\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"enabled\": true,\n                \"transactions\": [\n                    \"\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1743528734,\n                    \"formatted\": \"01/04/2025 - 14:32:14\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1743540517,\n                    \"formatted\": \"01/04/2025 - 17:48:37\"\n                },\n                \"name\": \"\",\n                \"domain\": \"\",\n                \"accountsTotal\": 2,\n                \"usersTotal\": 0\n            }\n        },\n        \"country\": {\n            \"xPais\": \"\",\n            \"cPaisIbge\": \"\",\n            \"cPaisSiscomex\": \"\",\n            \"isoAlphaThree\": \"\"\n        },\n        \"headSubsidiary\": {\n            \"id\": \"\",\n            \"enabled\": true,\n            \"codQualif\": {\n                \"code\": \"\",\n                \"description\": \"\"\n            },\n            \"sitEspecial\": {\n                \"code\": \"\",\n                \"description\": \"\"\n            },\n            \"specialSituationDate\": null,\n            \"legalNatures\": [\n                {\n                    \"code\": \"\",\n                    \"description\": \"\",\n                    \"startDate\": {\n                        \"epoch\": 1743547800,\n                        \"formatted\": \"01/04/2025 - 19:50:00\"\n                    },\n                    \"endDate\": null\n                }\n            ],\n            \"countryTaxes\": [\n                {\n                    \"crt\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"crtEspecial\": [\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\"\n                        }\n                    ],\n                    \"startDate\": {\n                        \"epoch\": 1743547829,\n                        \"formatted\": \"01/04/2025 - 19:50:29\"\n                    },\n                    \"endDate\": null\n                }\n            ],\n            \"createdAt\": {\n                \"epoch\": 1743549239,\n                \"formatted\": \"01/04/2025 - 20:13:59\"\n            },\n            \"updatedAt\": null\n        },\n        \"period\": {\n            \"year\": 2025,\n            \"months\": {\n                \"january\": \"\",\n                \"february\": \"\",\n                \"march\": \"\",\n                \"april\": \"\",\n                \"may\": \"\",\n                \"june\": \"\",\n                \"july\": \"\",\n                \"august\": \"\",\n                \"september\": \"\",\n                \"october\": \"\",\n                \"november\": \"\",\n                \"december\": \"\"\n            },\n            \"transactions\": [],\n            \"company\": {\n                \"id\": \"\",\n                \"name\": \"\"\n            }\n        }\n    }\n}"},{"id":"b5116d23-87d7-47fe-a4a1-e9634953fe14","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"7c6bb575-5c92-4d0d-875e-2b321fbce020","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"c92d9ff5-5ed7-4e12-8f34-7e8083ecc312","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"e81aeafd-00ab-40f1-ac78-a0e34ae800a5"},{"name":"companies (certificate)","id":"a88bc934-258a-4d51-ba50-ea482ee3024b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/certificate/{companyId}/download","description":"<p>Download the company's digital certificate file.</p>\n<p>To use this API endpoint, you must use the same authentication headers as the other endpoints. Thus maintaining the security and integrity of sensitive data.</p>\n","urlObject":{"protocol":"https","path":["companies","certificate","{companyId}","download"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"1a5044e8-5e38-49bd-92f2-563fb7fad036","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/certificate/{companyId}/download"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"FILE CONTENT"},{"id":"63bb4375-4b19-4cc9-bbc7-705db5a969c7","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/certificate/{companyId}/download"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5f1ba7e6-0207-4ef7-ae1a-02c8fe127536","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/certificate/{companyId}/download"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"6efe62f7-8d3b-42be-a2c7-743f20f12d81","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/certificate/{companyId}/download"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"a88bc934-258a-4d51-ba50-ea482ee3024b"},{"name":"companies","id":"9c0b8e43-79ee-4334-ac35-b514de857497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies/{companyId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>federalDocument</td>\n<td>This is the unique federal identification number for companies or individuals in Brazil. If it is a CNPJ, enter only the first 8 digits. If it is a CPF, enter the 9 digits. It is mandatory and must be a string.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>This is the name by which your company will be recognized on the platform. It is required, must be a string, must be a unique name, and can't exceed 128 characters.</td>\n</tr>\n<tr>\n<td>countryIsoAlphaThree</td>\n<td>This is the country of origin of your company in ISO 3166-1 alpha-3 format (eg \"BRA\"). It is required and must be a string.</td>\n</tr>\n<tr>\n<td>certificate.<strong>fileBase64</strong></td>\n<td>This is your company's digital certificate, optional for company registration, but mandatory to use some services on the platform, such as issuing invoices. It must be a string and the content entered must be in base64.</td>\n</tr>\n<tr>\n<td>certificate.<strong>password</strong></td>\n<td>This is the access password for the digital certificate, mandatory if \"certificateBase64\" is informed. It must be a string.</td>\n</tr>\n<tr>\n<td>certificate.<strong>filename</strong></td>\n<td>This is the name of the digital certificate file, required if \"certificateBase64\" is entered. It must be a string.</td>\n</tr>\n<tr>\n<td>images.<strong>logoBase64</strong></td>\n<td>This is your company logo on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>images.<strong>iconBase64</strong></td>\n<td>This is your company icon on a white background. It is optional, it must be a string and the informed content must be in base64.</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether your company is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["companies","{companyId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"3f7d51d1-c24d-4973-8a14-626771c67a62","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enabled\": \"optional, boolean\",\n    \"federalDocument\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"countryIsoAlphaThree\": \"optional, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, strin(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies/{companyId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Company updated successfully\"\n}"},{"id":"838db636-1698-4e4d-a849-58ca3d3c472a","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enabled\": \"optional, boolean\",\n    \"federalDocument\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"countryIsoAlphaThree\": \"optional, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, strin(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"b74e7040-f165-47b1-ba29-44b692c85dab","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enabled\": \"optional, boolean\",\n    \"federalDocument\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"countryIsoAlphaThree\": \"optional, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, strin(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"57da9130-e025-4350-8588-68aba75b8c66","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enabled\": \"optional, boolean\",\n    \"federalDocument\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"countryIsoAlphaThree\": \"optional, string\",\n    \"certificate\": {\n        \"fileBase64\": \"optional, strin(base64)\",\n        \"filename\": \"optional, string\",\n        \"password\": \"optional, string\"\n    },\n    \"images\": {\n        \"logoBase64\": \"optional, string(base64)\",\n        \"iconBase64\": \"optional, string(base64)\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"9c0b8e43-79ee-4334-ac35-b514de857497"},{"name":"companies","id":"4ea9c4b3-3029-4311-827b-ce504c3632c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://{{api-domain}}/companies/{companyId}","urlObject":{"protocol":"https","path":["companies","{companyId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"adc8139a-3b19-415f-bf70-3420de69147e","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Company removed successfully\"\n}"},{"id":"5dc8f22a-9676-4878-ad22-f1550bc5ddee","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"73d8f467-b200-433e-b183-d45631ad95b0","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"63ce0e9d-168f-4142-95b9-c2dbe1e8a5b9","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/companies/{companyId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"4ea9c4b3-3029-4311-827b-ce504c3632c3"}],"id":"e596cc03-046b-4a5b-97ac-1816bb2c4cf6","description":"<p>Users can register companies under a previously selected account. The company is the final entity within an account. It is here that you can simultaneously register and manage several subsidiaries of the same company. A company unit within an account will be given by its root federalDocument. In Brazil, for example, the federalDocument of a company (legal entity) is the root of the CNPJ (CNPJ: 00.000.000) consisting of 8 digits and the federalDocument of a person (natural person) is the root of their CPF (CPF: 000.000.000) complete with 9 digits.</p>\n","_postman_id":"e596cc03-046b-4a5b-97ac-1816bb2c4cf6"},{"name":"subsidiaries","item":[{"name":"subsidiaries","id":"989aacfa-6a80-460d-b9b5-f9cd22df8659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://{{api-domain}}/subsidiaries","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>companyId</td>\n<td>This is the companyId where your subsidiary will be registered. It is required, must be a string and the entered content must be a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>headquarters</strong></td>\n<td>This attribute is used to indicate whether the subsidiary is a headquarter or not. It does not need to be informed in the registration because the first registered subsidiary must be the headquarter. It can only be informed in the update of a subsidiary that was not a headquarter and became one. It is optional and must be a boolean.</td>\n</tr>\n<tr>\n<td>identification.<strong>federalDocument</strong></td>\n<td>This is the unique federal identification number for companies or individuals in Brazil. If it is a CNPJ, enter the 14 digits that have the same first 8 digits registered with the company. If it is a CPF, enter the 11 digits exactly as registered with the company. It is required and must be a string.</td>\n</tr>\n<tr>\n<td>identification.<strong>xNome</strong></td>\n<td>This is the legal name by which your subsidiary is recognized. It is required, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>xFant</strong></td>\n<td>This is the personal name by which your subsidiary is recognized. It is required, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>nire</strong></td>\n<td>This is your state subsidiary's business registration identification number. It is optional, must be a string and can't exceed 11 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>codQualif</strong></td>\n<td>This is the headquarters subsidiary qualification code. It is required for the headquarters and must not be informed for other subsidiaries, because they will automatically inherit the qualification code entered for the headquarter. It must be a string and the content informed must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>codQualif\"</strong></td>\n</tr>\n<tr>\n<td>identification.<strong>openingDate</strong></td>\n<td>This is the start date of the subsidiary's activities. It is optional, must be a string, must be in UTC format, and must be less than the end date of subsidiary activities.</td>\n</tr>\n<tr>\n<td>identification.<strong>closingDate</strong></td>\n<td>This is the closing date of the subsidiary's activities. It is optional, it must be a string, it must be in UTC format and it must be greater than the start date of the subsidiary activities.</td>\n</tr>\n<tr>\n<td>identification.<strong>sitEspecial</strong></td>\n<td>This is the special status code for the headquarters subsidiary. It is required for the headquarter and should not be informed for the other subsidiaries, as they will automatically inherit the code entered for the headquarter. It must be a string and the content informed must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>sitEspecial\"</strong></td>\n</tr>\n<tr>\n<td>identification.<strong>specialSituationDate</strong></td>\n<td>This is the date of the special situation registered in the parent subsidiary. It is only required for the parent subsidiary that has “sitSpecial” other than “0”. It should not be entered in any other situation. It must be a string and the content must be in UTC format.</td>\n</tr>\n<tr>\n<td>identification.<strong>email</strong></td>\n<td>This is the subsidiary's contact email address. It is optional, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>fone</strong></td>\n<td>This is the subsidiary's contact phone. It is optional, must be a string and can't exceed 30 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>website</strong></td>\n<td>This is the website address of the subsidiary. It is optional, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>cep</strong></td>\n<td>This is the postal address code (CEP) of the subsidiary established in Brazil. It is required, must be a string and must be of length 8.</td>\n</tr>\n<tr>\n<td>address.<strong>xLgr</strong></td>\n<td>This is the subsidiary's address. It is required, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>nro</strong></td>\n<td>This is the subsidiary address number. It is mandatory, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>xCpl</strong></td>\n<td>This is the subsidiary address complement. It is optional, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>xBairro</strong></td>\n<td>This is the neighborhood of the subsidiary's address. It is required, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>cMun</strong></td>\n<td>This is the municipality code of the subsidiary in Brazil. It is required, it must be a string, it must have a length of 7 and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>CITIES</strong>&amp;sortKey=<strong>BRA</strong> or <strong>state abbreviation\"</strong></td>\n</tr>\n<tr>\n<td>address.<strong>UF</strong></td>\n<td>This is the abbreviation of the state of the subsidiary in Brazil. It is required, it must be a string, it must have length 2 and the content entered must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>STATES</strong>&amp;sortKey=<strong>BRA\"</strong></td>\n</tr>\n<tr>\n<td>address.<strong>cPais</strong></td>\n<td>This is the acronym of the country of the subsidiary. It is required, it must be a string, it must be in ISO 3166-1 alpha-2 format (ex Brasil: \"1058\") and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>GLOBAL</strong>&amp;sortKey=<strong>COUNTRIES\"</strong></td>\n</tr>\n<tr>\n<td>legalNatures[].<strong>natJur</strong></td>\n<td>This is the legal nature code of the headquarters subsidiary. It is required for the headquarters and should not be informed for the other subsidiaries, as they will automatically inherit the qualification code entered for the headquarters. It must be a string and the specified content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>natJur\"</strong></td>\n</tr>\n<tr>\n<td>legalNatures[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the legal nature record of the parent subsidiary which is also inherited by all other subsidiaries. It is required, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>legalNatures[].<strong>endDate</strong></td>\n<td>This is the final effective date of the legal nature record of the parent subsidiary which is also inherited by all other subsidiaries. It is optional, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>cnaes[].<strong>main</strong></td>\n<td>This is the indication that the declared economic activity is the main one. It is required and must be a boolean.</td>\n</tr>\n<tr>\n<td>cnaes[].<strong>cnae</strong></td>\n<td>This is one of the subsidiary's economic activity codes within a list of codes it has (we suggest informing all). It is required, it must be a string and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>CNAE\"</strong></td>\n</tr>\n<tr>\n<td>cnaes[].<strong>indAtiv</strong></td>\n<td>This is the subsidiary activity indicator related to the national economic activity code declared in \"cnae.cnaesList.cnae\". It is required, it must be a string and the content entered must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>indAtiv\"</strong></td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>crt</strong></td>\n<td>This is the federal tax regime for the headquarter subsidiary. It is required for the head office subsidiary and should not be informed for the other subsidiaries, as they will automatically inherit the federal tax regime informed for the head office subsidiary. It must be a string and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>CRT\"</strong></td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>crtEspecial</strong></td>\n<td>This is the special federal tax regime for the headquarters subsidiary. It is optional for the head office subsidiary and should not be informed for the other subsidiaries, as they will automatically inherit the special federal tax regime informed for the head office subsidiary. It must be a string array and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>crtEspecial\"</strong></td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the federal tax regime registration of the parent subsidiary which is also inherited by all other subsidiaries. It is required, must be a string and the inserted content must be in UTC format.</td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>endDate</strong></td>\n<td>This is the final effective date of the federal tax regime registration of the parent subsidiary which is also inherited by all other subsidiaries. It is optional, must be a string and the inserted content must be in UTC format.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>taxPayer</strong></td>\n<td>This is the code that identifies the subsidiary's state taxpayer type. It is required, it must be a string and the informed content must be \"1\" (taxpayer with state registration), \"2\" (taxpayer without state registration) or \"9\" (non-taxpayer).</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>typeTaxPayer</strong></td>\n<td>This is the code that identifies the subsidiary as a \"Normal\" or \"Substitute\" taxpayer in the state. It is required, it must be a string and the entered content must be \"0\" (Normal) whenever the value entered in \"stateTaxes.UF\" and \"address.UF\" are the same and \"1\" (Substitute) whenever the value entered in \"stateTaxes.UF\" and \"address.UF \" are different.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>stateDocument</strong></td>\n<td>This is the subsidiary's state taxpayer registration code. It is required to inform the registration code whenever the subsidiary has registration (\"stateTaxes.taxPayer\"= 1) and the literal \"ISENTO\" whenever the subsidiary was exempt from registration (\"stateTaxes.taxPayer\"= 2) and must be a string .</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>UF</strong></td>\n<td>This is the abbreviation of the state where the Brazilian subsidiary has state registration. It is required, it must be a string, it must be 2 in length, and the typed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>STATES</strong>&amp;sortKey=<strong>BRA\"</strong></td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>suframa</strong></td>\n<td>This is the SUFRAMA code for the Brazilian subsidiary. It is optional, must be a string, must be up to 9 in length and can only be declared for subsidiaries located in the states of AM, AC, RO, RR and PA.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>crtEspecial</strong></td>\n<td>This is the subsidiary's special state taxation regime. It is optional, it must be a string array and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>crtEspecial\"</strong></td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>cscId</strong></td>\n<td>This is the taxpayer security code ID. It is optional in the registration of the subsidiary, but mandatory for issuing electronic invoices to the final consumer (NFC-e, model 65). It must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>cscToken</strong></td>\n<td>This is the taxpayer security code token. It is optional in the registration of the subsidiary, but mandatory for issuing electronic invoices to the final consumer (NFC-e, model 65). It must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the state tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is required, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>endDate</strong></td>\n<td>This is the final effective date of the state tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is optional, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>taxPayer</strong></td>\n<td>This is the code that identifies the subsidiary's municipal taxpayer type. It is mandatory, it must be a string and the informed content must be \"1\" (taxpayer with municipal registration), \"2\" (taxpayer without municipal registration) or \"9\" (non-taxpayer).</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>typeTaxPayer</strong></td>\n<td>This is the code that identifies the subsidiary as a \"Normal\" or \"Substitute\" taxpayer in the municipal. It is required, it must be a string and the entered content must be \"0\" (Normal) whenever the value entered in \"cityTaxes.cMun\" and \"address.cMun\" are the same and \"1\" (Substitute) whenever the value entered in \"cityTaxes.cMun\" and \"address.cMun\" are different.</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>cityDocument</strong></td>\n<td>This is the subsidiary's municipal taxpayer registration code. It is required to inform the registration code whenever the subsidiary has registration (\"cityTaxes.taxPayer\"= 1) and the literal \"ISENTO\" whenever the subsidiary was exempt from registration (\"cityTaxes.taxPayer\"= 2) and must be a string .</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>crtEspecial</strong></td>\n<td>This is the special municipal tax regime of the subsidiary. It is optional, must be an array of strings and the content provided must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>crtEspecial\"</strong></td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>UF</strong></td>\n<td>This is the abbreviation of the state where the Brazilian subsidiary has municipal registration. It is required, it must be a string, it must be 2 in length, and the typed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>STATES</strong>&amp;sortKey=<strong>BRA\"</strong></td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>cMun</strong></td>\n<td>This is the code of the municipality where the Brazilian subsidiary has municipal registration. Is required, must be a string, must be 7 long, and the content entered must be taken from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>CITIES</strong>&amp;sortKey=<strong>BRA</strong> or <strong>state abbreviation\"</strong></td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the municipal tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is required, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>endDate</strong></td>\n<td>This is the final effective date of the municipal tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is optional, must be a string and the content entered must be in UTC format.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["subsidiaries"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"5feeab2d-8ce5-49ed-ba8a-41f48daa547d","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"required, string\",\n        \"xNome\": \"required, string\",\n        \"xFant\": \"required, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"required, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"required, string\",\n        \"xLgr\": \"required, string\",\n        \"nro\": \"required, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"required, string\",\n        \"cMun\": \"required, string\",\n        \"UF\": \"required, string\",\n        \"cPais\": \"required, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"required, boolean\",\n            \"indAtiv\": \"required, string\",\n            \"cnae\": \"required, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"cMun\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Subsidiary registered with success\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"f4d9c1ba-ff47-41fc-812d-4dbce8d887e5","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"required, string\",\n        \"xNome\": \"required, string\",\n        \"xFant\": \"required, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"required, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"required, string\",\n        \"xLgr\": \"required, string\",\n        \"nro\": \"required, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"required, string\",\n        \"cMun\": \"required, string\",\n        \"UF\": \"required, string\",\n        \"cPais\": \"required, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"required, boolean\",\n            \"indAtiv\": \"required, string\",\n            \"cnae\": \"required, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"cMun\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"federalDocument\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"b87e0b20-8967-4d9e-8bac-83aa09375c14","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"required, string\",\n        \"xNome\": \"required, string\",\n        \"xFant\": \"required, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"required, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"required, string\",\n        \"xLgr\": \"required, string\",\n        \"nro\": \"required, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"required, string\",\n        \"cMun\": \"required, string\",\n        \"UF\": \"required, string\",\n        \"cPais\": \"required, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"required, boolean\",\n            \"indAtiv\": \"required, string\",\n            \"cnae\": \"required, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"cMun\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"4fad5871-e6c5-4f84-9672-567702d6bbe9","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"required, string\",\n        \"xNome\": \"required, string\",\n        \"xFant\": \"required, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"required, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"required, string\",\n        \"xLgr\": \"required, string\",\n        \"nro\": \"required, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"required, string\",\n        \"cMun\": \"required, string\",\n        \"UF\": \"required, string\",\n        \"cPais\": \"required, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"required, boolean\",\n            \"indAtiv\": \"required, string\",\n            \"cnae\": \"required, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"cMun\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"c2113369-2201-469d-8dfb-66b4a690c6d4","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"required, string\",\n        \"xNome\": \"required, string\",\n        \"xFant\": \"required, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"required, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"required, string\",\n        \"xLgr\": \"required, string\",\n        \"nro\": \"required, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"required, string\",\n        \"cMun\": \"required, string\",\n        \"UF\": \"required, string\",\n        \"cPais\": \"required, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"required, boolean\",\n            \"indAtiv\": \"required, string\",\n            \"cnae\": \"required, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"cMun\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"companyId\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"},{"id":"53729a07-a0ed-4378-b09f-0f8a1a51c5d2","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"remoteId\": \"optional, string\",\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"required, string\",\n        \"xNome\": \"required, string\",\n        \"xFant\": \"required, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"required, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"required, string\",\n        \"xLgr\": \"required, string\",\n        \"nro\": \"required, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"required, string\",\n        \"cMun\": \"required, string\",\n        \"UF\": \"required, string\",\n        \"cPais\": \"required, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"required, boolean\",\n            \"indAtiv\": \"required, string\",\n            \"cnae\": \"required, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"required, string\",\n            \"taxPayer\": \"required, string\",\n            \"typeTaxPayer\": \"required, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"required, string\",\n            \"cMun\": \"required, string\",\n            \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"federalDocument\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"989aacfa-6a80-460d-b9b5-f9cd22df8659"},{"name":"subsidiaries (list)","id":"e8299277-fca3-4f46-826b-e1ccb4b43ea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries?page=1&limit=50&sort=asc&orderBy=federalDocument&whitelabelId=id&accountId=id&companyId=id&q=","urlObject":{"protocol":"https","path":["subsidiaries"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: id, xNome, federalDocument, createdAt, updatedAt or enabled</p>\n","type":"text/plain"},"key":"orderBy","value":"federalDocument"},{"description":{"content":"<p>Filter by all subsidiaries from account</p>\n","type":"text/plain"},"key":"whitelabelId","value":"id"},{"description":{"content":"<p>Filter by all subsidiaries from account</p>\n","type":"text/plain"},"key":"accountId","value":"id"},{"description":{"content":"<p>Filter by all subsidiaries from company</p>\n","type":"text/plain"},"key":"companyId","value":"id"},{"description":{"content":"<p>Search by: id, remoteId, accountId, companyId, federalDocument, xNome or xFant</p>\n","type":"text/plain"},"key":"q","value":""}],"variable":[]}},"response":[{"id":"2458f186-c57d-4b7d-abab-ddc514636d77","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/subsidiaries?page=1&limit=50&sort=asc&orderBy=federalDocument&whitelabelId=id&accountId=id&companyId=id&q","protocol":"https","host":["{{api-domain}}"],"path":["subsidiaries"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"federalDocument","description":"Order by: id, xNome, federalDocument, createdAt, updatedAt or enabled"},{"key":"whitelabelId","value":"id","description":"Filter by all subsidiaries from whitelabel"},{"key":"accountId","value":"id","description":"Filter by all subsidiaries from account"},{"key":"companyId","value":"id","description":"Filter by all subsidiaries from company"},{"key":"q","value":null,"description":"Search by: id, remoteId, accountId, companyId, federalDocument, xNome or xFant"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"createdAt\": {\n                \"epoch\": 1717005038,\n                \"formatted\": \"29/05/2024 - 14:50:38\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1717006881,\n                \"formatted\": \"29/05/2024 - 15:21:21\"\n            },\n            \"identification\": {\n                \"headquarters\": \"\",\n                \"federalDocument\": \"\",\n                \"xNome\": \"\",\n                \"xFant\": \"\",\n                \"nire\": \"\",\n                \"codQualifPj\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"openingDate\": \"\",\n                \"closingDate\": \"\",\n                \"sitEspecial\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"specialSituationDate\": \"\",\n                \"email\": \"\",\n                \"fone\": \"\",\n                \"website\": \"\"\n            },\n            \"address\": {\n                \"cep\": \"\",\n                \"xLgr\": \"\",\n                \"nro\": \"\",\n                \"xCpl\": \"\",\n                \"xBairro\": \"\",\n                \"xMun\": \"\",\n                \"cMun\": \"\",\n                \"xUF\": \"\",\n                \"cUF\": \"\",\n                \"UF\": \"\",\n                \"xPais\": \"\",\n                \"cPais\": \"\",\n                \"Pais\": \"\"\n            },\n            \"legalNatures\": [\n                {\n                    \"code\": \"\",\n                    \"description\": \"\",\n                    \"startDate\": {\n                        \"epoch\": 1704078000,\n                        \"formatted\": \"01/01/2024 - 00:00:00\"\n                    },\n                    \"endDate\": {\n                        \"epoch\": 1735700399,\n                        \"formatted\": \"31/12/2024 - 23:59:59\"\n                    }\n                }\n            ],\n            \"cnaes\": [\n                {\n                    \"main\": \"\",\n                    \"indAtiv\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"cnae\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    }\n                }\n            ],\n            \"countryTaxes\": [\n                {\n                    \"crt\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"crtEspecial\": [\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\"\n                        }\n                    ],\n                    \"startDate\": {\n                        \"epoch\": 1717005038,\n                        \"formatted\": \"29/05/2024 - 14:50:38\"\n                    },\n                    \"endDate\": {\n                        \"epoch\": 1717005038,\n                        \"formatted\": \"29/05/2024 - 14:50:38\"\n                    }\n                }\n            ],\n            \"stateTaxes\": [\n                {\n                    \"stateDocument\": \"\",\n                    \"taxPayer\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"typeTaxPayer\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"crtEspecial\": [\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\"\n                        }\n                    ],\n                    \"UF\": \"\",\n                    \"suframa\": \"\",\n                    \"cscId\": \"\",\n                    \"cscToken\": \"\",\n                    \"startDate\": {\n                        \"epoch\": 1717005038,\n                        \"formatted\": \"29/05/2024 - 14:50:38\"\n                    },\n                    \"endDate\": {\n                        \"epoch\": 1717005038,\n                        \"formatted\": \"29/05/2024 - 14:50:38\"\n                    }\n                }\n            ],\n            \"cityTaxes\": [\n                {\n                    \"cityDocument\": \"\",\n                    \"taxPayer\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"typeTaxPayer\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"crtEspecial\": [\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\"\n                        }\n                    ],\n                    \"UF\": \"\",\n                    \"cMun\": \"\",\n                    \"startDate\": {\n                        \"epoch\": 1717005038,\n                        \"formatted\": \"29/05/2024 - 14:50:38\"\n                    },\n                    \"endDate\": {\n                        \"epoch\": 1717005038,\n                        \"formatted\": \"29/05/2024 - 14:50:38\"\n                    }\n                }\n            ],\n            \"enabled\": true,\n            \"transactions\": [\n                \"\"\n            ],\n            \"company\": {\n                \"subsidiariesTotal\": 0,\n                \"usersTotal\": 0,\n                \"id\": \"\",\n                \"federalDocument\": \"\",\n                \"name\": \"\",\n                \"account\": {\n                    \"companiesTotal\": 0,\n                    \"usersTotal\": 0,\n                    \"id\": \"\",\n                    \"name\": \"\",\n                    \"whitelabel\": {\n                        \"accountsTotal\": 0,\n                        \"usersTotal\": 0,\n                        \"id\": \"\",\n                        \"name\": \"\",\n                        \"domain\": \"\"\n                    }\n                },\n                \"headSubsidiary\": {\n                    \"id\": \"\",\n                    \"enabled\": true,\n                    \"codQualif\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"sitEspecial\": {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    },\n                    \"specialSituationDate\": null,\n                    \"legalNatures\": [\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\",\n                            \"startDate\": {\n                                \"epoch\": 1704088800,\n                                \"formatted\": \"01/01/2024 - 03:00:00\"\n                            },\n                            \"endDate\": {\n                                \"epoch\": 1735711199,\n                                \"formatted\": \"01/01/2025 - 02:59:59\"\n                            }\n                        },\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\",\n                            \"startDate\": {\n                                \"epoch\": 1735711200,\n                                \"formatted\": \"01/01/2025 - 03:00:00\"\n                            },\n                            \"endDate\": {\n                                \"epoch\": 1767247199,\n                                \"formatted\": \"01/01/2026 - 02:59:59\"\n                            }\n                        },\n                        {\n                            \"code\": \"\",\n                            \"description\": \"\",\n                            \"startDate\": {\n                                \"epoch\": 1767247200,\n                                \"formatted\": \"01/01/2026 - 03:00:00\"\n                            },\n                            \"endDate\": null\n                        }\n                    ],\n                    \"countryTaxes\": [\n                        {\n                            \"crt\": {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            \"crtEspecial\": [\n                                {\n                                    \"code\": \"\",\n                                    \"description\": \"\"\n                                },\n                                {\n                                    \"code\": \"\",\n                                    \"description\": \"\"\n                                },\n                                {\n                                    \"code\": \"\",\n                                    \"description\": \"\"\n                                }\n                            ],\n                            \"startDate\": {\n                                \"epoch\": 1735592400,\n                                \"formatted\": \"30/12/2024 - 18:00:00\"\n                            },\n                            \"endDate\": null\n                        }\n                    ],\n                    \"createdAt\": {\n                        \"epoch\": 1741483497,\n                        \"formatted\": \"08/03/2025 - 22:24:57\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1741801452,\n                        \"formatted\": \"12/03/2025 - 14:44:12\"\n                    }\n                }\n            }\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"33b57d80-b5ae-4289-90d6-85f56db15116","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/subsidiaries?page=1&limit=50&sort=asc&orderBy=federalDocument&whitelabelId=id&accountId=id&companyId=id&q","protocol":"https","host":["{{api-domain}}"],"path":["subsidiaries"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"federalDocument","description":"Order by: id, xNome, federalDocument, createdAt, updatedAt or enabled"},{"key":"whitelabelId","value":"id","description":"Filter by all subsidiaries from whitelabel"},{"key":"accountId","value":"id","description":"Filter by all subsidiaries from account"},{"key":"companyId","value":"id","description":"Filter by all subsidiaries from company"},{"key":"q","value":null,"description":"Search by: id, remoteId, accountId, companyId, federalDocument, xNome or xFant"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"ba953b1c-2c24-480e-a75f-da1d263f3b8f","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/subsidiaries?page=1&limit=50&sort=asc&orderBy=federalDocument&whitelabelId=id&accountId=id&companyId=id&q","protocol":"https","host":["{{api-domain}}"],"path":["subsidiaries"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"federalDocument","description":"Order by: id, xNome, federalDocument, createdAt, updatedAt or enabled"},{"key":"whitelabelId","value":"id","description":"Filter by all subsidiaries from whitelabel"},{"key":"accountId","value":"id","description":"Filter by all subsidiaries from account"},{"key":"companyId","value":"id","description":"Filter by all subsidiaries from company"},{"key":"q","value":null,"description":"Search by: id, remoteId, accountId, companyId, federalDocument, xNome or xFant"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"e8299277-fca3-4f46-826b-e1ccb4b43ea6"},{"name":"subsidiaries (detail)","id":"76d888c8-179f-4679-bafe-1d409014c901","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}","urlObject":{"protocol":"https","path":["subsidiaries","{subsidiaryId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"cc3321c5-9a23-4db3-8a33-8ceb37f4e091","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": null,\n        \"createdAt\": {\n            \"epoch\": 1717005038,\n            \"formatted\": \"29/05/2024 - 14:50:38\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1717006881,\n            \"formatted\": \"29/05/2024 - 15:21:21\"\n        },\n        \"identification\": {\n            \"headquarters\": \"\",\n            \"federalDocument\": \"\",\n            \"xNome\": \"\",\n            \"xFant\": \"\",\n            \"nire\": \"\",\n            \"codQualifPj\": {\n                \"code\": \"\",\n                \"description\": \"\"\n            },\n            \"openingDate\": \"\",\n            \"closingDate\": \"\",\n            \"sitEspecial\": {\n                \"code\": \"\",\n                \"description\": \"\"\n            },\n            \"specialSituationDate\": \"\",\n            \"email\": \"\",\n            \"fone\": \"\",\n            \"website\": \"\"\n        },\n        \"address\": {\n            \"cep\": \"\",\n            \"xLgr\": \"\",\n            \"nro\": \"\",\n            \"xCpl\": \"\",\n            \"xBairro\": \"\",\n            \"xMun\": \"\",\n            \"cMun\": \"\",\n            \"xUF\": \"\",\n            \"cUF\": \"\",\n            \"UF\": \"\",\n            \"xPais\": \"\",\n            \"cPais\": \"\",\n            \"Pais\": \"\"\n        },\n        \"legalNatures\": [\n            {\n                \"code\": \"\",\n                \"description\": \"\",\n                \"startDate\": {\n                    \"epoch\": 1704078000,\n                    \"formatted\": \"01/01/2024 - 00:00:00\"\n                },\n                \"endDate\": {\n                    \"epoch\": 1735700399,\n                    \"formatted\": \"31/12/2024 - 23:59:59\"\n                }\n            }\n        ],\n        \"cnaes\": [\n            {\n                \"main\": \"\",\n                \"indAtiv\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"cnae\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                }\n            }\n        ],\n        \"countryTaxes\": [\n            {\n                \"crt\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"crtEspecial\": [\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    }\n                ],\n                \"startDate\": {\n                    \"epoch\": 1717005038,\n                    \"formatted\": \"29/05/2024 - 14:50:38\"\n                },\n                \"endDate\": {\n                    \"epoch\": 1717005038,\n                    \"formatted\": \"29/05/2024 - 14:50:38\"\n                }\n            }\n        ],\n        \"stateTaxes\": [\n            {\n                \"stateDocument\": \"\",\n                \"taxPayer\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"typeTaxPayer\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"crtEspecial\": [\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    }\n                ],\n                \"UF\": \"\",\n                \"suframa\": \"\",\n                \"cscId\": \"\",\n                \"cscToken\": \"\",\n                \"startDate\": {\n                    \"epoch\": 1717005038,\n                    \"formatted\": \"29/05/2024 - 14:50:38\"\n                },\n                \"endDate\": {\n                    \"epoch\": 1717005038,\n                    \"formatted\": \"29/05/2024 - 14:50:38\"\n                }\n            }\n        ],\n        \"cityTaxes\": [\n            {\n                \"cityDocument\": \"\",\n                \"taxPayer\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"typeTaxPayer\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"crtEspecial\": [\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    }\n                ],\n                \"UF\": \"\",\n                \"cMun\": \"\",\n                \"startDate\": {\n                    \"epoch\": 1717005038,\n                    \"formatted\": \"29/05/2024 - 14:50:38\"\n                },\n                \"endDate\": {\n                    \"epoch\": 1717005038,\n                    \"formatted\": \"29/05/2024 - 14:50:38\"\n                }\n            }\n        ],\n        \"enabled\": true,\n        \"transactions\": [\n            \"\"\n        ],\n        \"company\": {\n            \"subsidiariesTotal\": 0,\n            \"usersTotal\": 0,\n            \"id\": \"\",\n            \"federalDocument\": \"\",\n            \"name\": \"\",\n            \"account\": {\n                \"companiesTotal\": 0,\n                \"usersTotal\": 0,\n                \"id\": \"\",\n                \"name\": \"\",\n                \"whitelabel\": {\n                    \"accountsTotal\": 0,\n                    \"usersTotal\": 0,\n                    \"id\": \"\",\n                    \"name\": \"\",\n                    \"domain\": \"\"\n                }\n            },\n            \"headSubsidiary\": {\n                \"id\": \"\",\n                \"enabled\": true,\n                \"codQualif\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"sitEspecial\": {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                },\n                \"specialSituationDate\": null,\n                \"legalNatures\": [\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\",\n                        \"startDate\": {\n                            \"epoch\": 1704088800,\n                            \"formatted\": \"01/01/2024 - 03:00:00\"\n                        },\n                        \"endDate\": {\n                            \"epoch\": 1735711199,\n                            \"formatted\": \"01/01/2025 - 02:59:59\"\n                        }\n                    },\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\",\n                        \"startDate\": {\n                            \"epoch\": 1735711200,\n                            \"formatted\": \"01/01/2025 - 03:00:00\"\n                        },\n                        \"endDate\": {\n                            \"epoch\": 1767247199,\n                            \"formatted\": \"01/01/2026 - 02:59:59\"\n                        }\n                    },\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\",\n                        \"startDate\": {\n                            \"epoch\": 1767247200,\n                            \"formatted\": \"01/01/2026 - 03:00:00\"\n                        },\n                        \"endDate\": null\n                    }\n                ],\n                \"countryTaxes\": [\n                    {\n                        \"crt\": {\n                            \"code\": \"\",\n                            \"description\": \"\"\n                        },\n                        \"crtEspecial\": [\n                            {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            }\n                        ],\n                        \"startDate\": {\n                            \"epoch\": 1735592400,\n                            \"formatted\": \"30/12/2024 - 18:00:00\"\n                        },\n                        \"endDate\": null\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1741483497,\n                    \"formatted\": \"08/03/2025 - 22:24:57\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1741801452,\n                    \"formatted\": \"12/03/2025 - 14:44:12\"\n                }\n            }\n        }\n    }\n}"},{"id":"525fd1bd-daf4-4143-a7e4-127b60efbd5b","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"62e84261-e1eb-49c8-8fe6-6617a5563b53","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"30cc01af-2866-4d07-a1c7-6987281cd51e","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"76d888c8-179f-4679-bafe-1d409014c901"},{"name":"subsidiaries","id":"caef45eb-cc06-46c4-ab97-65e1afa0e149","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identification.<strong>headquarters</strong></td>\n<td>This attribute is used to indicate whether the subsidiary is a headquarter or not. It does not need to be informed in the registration because the first registered subsidiary must be the headquarter. It can only be informed in the update of a subsidiary that was not a headquarter and became one. It is optional and must be a boolean.</td>\n</tr>\n<tr>\n<td>identification.<strong>federalDocument</strong></td>\n<td>This is the unique federal identification number for companies or individuals in Brazil. If it is a CNPJ, enter the 14 digits that have the same first 8 digits registered with the company. If it is a CPF, enter the 11 digits exactly as registered with the company. It is required and must be a string.</td>\n</tr>\n<tr>\n<td>identification.<strong>xNome</strong></td>\n<td>This is the legal name by which your subsidiary is recognized. It is required, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>xFant</strong></td>\n<td>This is the personal name by which your subsidiary is recognized. It is required, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>nire</strong></td>\n<td>This is your state subsidiary's business registration identification number. It is optional, must be a string and can't exceed 11 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>codQualif</strong></td>\n<td>This is the headquarters subsidiary qualification code. It is required for the headquarters and must not be informed for other subsidiaries, because they will automatically inherit the qualification code entered for the headquarter. It must be a string and the content informed must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>codQualif\"</strong></td>\n</tr>\n<tr>\n<td>identification.<strong>openingDate</strong></td>\n<td>This is the start date of the subsidiary's activities. It is optional, must be a string, must be in UTC format, and must be less than the end date of subsidiary activities.</td>\n</tr>\n<tr>\n<td>identification.<strong>closingDate</strong></td>\n<td>This is the closing date of the subsidiary's activities. It is optional, it must be a string, it must be in UTC format and it must be greater than the start date of the subsidiary activities.</td>\n</tr>\n<tr>\n<td>identification.<strong>sitEspecial</strong></td>\n<td>This is the special status code for the headquarters subsidiary. It is required for the headquarter and should not be informed for the other subsidiaries, as they will automatically inherit the code entered for the headquarter. It must be a string and the content informed must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>sitEspecial\"</strong></td>\n</tr>\n<tr>\n<td>identification.<strong>specialSituationDate</strong></td>\n<td>This is the date of the special situation registered in the parent subsidiary. It is only required for the parent subsidiary that has “sitSpecial” other than “0”. It should not be entered in any other situation. It must be a string and the content must be in UTC format.</td>\n</tr>\n<tr>\n<td>identification.<strong>email</strong></td>\n<td>This is the subsidiary's contact email address. It is optional, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>fone</strong></td>\n<td>This is the subsidiary's contact phone. It is optional, must be a string and can't exceed 30 characters.</td>\n</tr>\n<tr>\n<td>identification.<strong>website</strong></td>\n<td>This is the website address of the subsidiary. It is optional, must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>cep</strong></td>\n<td>This is the postal address code (CEP) of the subsidiary established in Brazil. It is required, must be a string and must be of length 8.</td>\n</tr>\n<tr>\n<td>address.<strong>xLgr</strong></td>\n<td>This is the subsidiary's address. It is required, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>nro</strong></td>\n<td>This is the subsidiary address number. It is mandatory, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>xCpl</strong></td>\n<td>This is the subsidiary address complement. It is optional, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>xBairro</strong></td>\n<td>This is the neighborhood of the subsidiary's address. It is required, it must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>address.<strong>cMun</strong></td>\n<td>This is the municipality code of the subsidiary in Brazil. It is required, it must be a string, it must have a length of 7 and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>CITIES</strong>&amp;sortKey=<strong>BRA</strong> or <strong>state abbreviation\"</strong></td>\n</tr>\n<tr>\n<td>address.<strong>UF</strong></td>\n<td>This is the abbreviation of the state of the subsidiary in Brazil. It is required, it must be a string, it must have length 2 and the content entered must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>STATES</strong>&amp;sortKey=<strong>BRA\"</strong></td>\n</tr>\n<tr>\n<td>address.<strong>cPais</strong></td>\n<td>This is the acronym of the country of the subsidiary. It is required, it must be a string, it must be in ISO 3166-1 alpha-2 format (ex Brasil: \"1058\") and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>GLOBAL</strong>&amp;sortKey=<strong>COUNTRIES\"</strong></td>\n</tr>\n<tr>\n<td>legalNatures[].<strong>natJur</strong></td>\n<td>This is the legal nature code of the headquarters subsidiary. It is required for the headquarters and should not be informed for the other subsidiaries, as they will automatically inherit the qualification code entered for the headquarters. It must be a string and the specified content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>natJur\"</strong></td>\n</tr>\n<tr>\n<td>legalNatures[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the legal nature record of the parent subsidiary which is also inherited by all other subsidiaries. It is required, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>legalNatures[].<strong>endDate</strong></td>\n<td>This is the final effective date of the legal nature record of the parent subsidiary which is also inherited by all other subsidiaries. It is optional, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>cnaes[].<strong>main</strong></td>\n<td>This is the indication that the declared economic activity is the main one. It is required and must be a boolean.</td>\n</tr>\n<tr>\n<td>cnaes[].<strong>cnae</strong></td>\n<td>This is one of the subsidiary's economic activity codes within a list of codes it has (we suggest informing all). It is required, it must be a string and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>CNAE\"</strong></td>\n</tr>\n<tr>\n<td>cnaes[].<strong>indAtiv</strong></td>\n<td>This is the subsidiary activity indicator related to the national economic activity code declared in \"cnae.cnaesList.cnae\". It is required, it must be a string and the content entered must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>indAtiv\"</strong></td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>crt</strong></td>\n<td>This is the federal tax regime for the headquarter subsidiary. It is required for the head office subsidiary and should not be informed for the other subsidiaries, as they will automatically inherit the federal tax regime informed for the head office subsidiary. It must be a string and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>CRT\"</strong></td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>crtEspecial</strong></td>\n<td>This is the special federal tax regime for the headquarters subsidiary. It is optional for the head office subsidiary and should not be informed for the other subsidiaries, as they will automatically inherit the special federal tax regime informed for the head office subsidiary. It must be a string array and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>crtEspecial\"</strong></td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the federal tax regime registration of the parent subsidiary which is also inherited by all other subsidiaries. It is required, must be a string and the inserted content must be in UTC format.</td>\n</tr>\n<tr>\n<td>countryTaxes[].<strong>endDate</strong></td>\n<td>This is the final effective date of the federal tax regime registration of the parent subsidiary which is also inherited by all other subsidiaries. It is optional, must be a string and the inserted content must be in UTC format.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>taxPayer</strong></td>\n<td>This is the code that identifies the subsidiary's state taxpayer type. It is required, it must be a string and the informed content must be \"1\" (taxpayer with state registration), \"2\" (taxpayer without state registration) or \"9\" (non-taxpayer).</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>typeTaxPayer</strong></td>\n<td>This is the code that identifies the subsidiary as a \"Normal\" or \"Substitute\" taxpayer in the state. It is required, it must be a string and the entered content must be \"0\" (Normal) whenever the value entered in \"stateTaxes.UF\" and \"address.UF\" are the same and \"1\" (Substitute) whenever the value entered in \"stateTaxes.UF\" and \"address.UF \" are different.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>stateDocument</strong></td>\n<td>This is the subsidiary's state taxpayer registration code. It is required to inform the registration code whenever the subsidiary has registration (\"stateTaxes.taxPayer\"= 1) and the literal \"ISENTO\" whenever the subsidiary was exempt from registration (\"stateTaxes.taxPayer\"= 2) and must be a string .</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>UF</strong></td>\n<td>This is the abbreviation of the state where the Brazilian subsidiary has state registration. It is required, it must be a string, it must be 2 in length, and the typed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>STATES</strong>&amp;sortKey=<strong>BRA\"</strong></td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>suframa</strong></td>\n<td>This is the SUFRAMA code for the Brazilian subsidiary. It is optional, must be a string, must be up to 9 in length and can only be declared for subsidiaries located in the states of AM, AC, RO, RR and PA.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>crtEspecial</strong></td>\n<td>This is the subsidiary's special state taxation regime. It is optional, it must be a string array and the informed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>crtEspecial\"</strong></td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>cscId</strong></td>\n<td>This is the taxpayer security code ID. It is optional in the registration of the subsidiary, but mandatory for issuing electronic invoices to the final consumer (NFC-e, model 65). It must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>cscToken</strong></td>\n<td>This is the taxpayer security code token. It is optional in the registration of the subsidiary, but mandatory for issuing electronic invoices to the final consumer (NFC-e, model 65). It must be a string and can't exceed 60 characters.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the state tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is required, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>stateTaxes[].<strong>endDate</strong></td>\n<td>This is the final effective date of the state tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is optional, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>taxPayer</strong></td>\n<td>This is the code that identifies the subsidiary's municipal taxpayer type. It is mandatory, it must be a string and the informed content must be \"1\" (taxpayer with municipal registration), \"2\" (taxpayer without municipal registration) or \"9\" (non-taxpayer).</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>typeTaxPayer</strong></td>\n<td>This is the code that identifies the subsidiary as a \"Normal\" or \"Substitute\" taxpayer in the municipal. It is required, it must be a string and the entered content must be \"0\" (Normal) whenever the value entered in \"cityTaxes.cMun\" and \"address.cMun\" are the same and \"1\" (Substitute) whenever the value entered in \"cityTaxes.cMun\" and \"address.cMun \" are different.</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>cityDocument</strong></td>\n<td>This is the subsidiary's municipal taxpayer registration code. It is required to inform the registration code whenever the subsidiary has registration (\"cityTaxes.taxPayer\"= 1) and the literal \"ISENTO\" whenever the subsidiary was exempt from registration (\"cityTaxes.taxPayer\"= 2) and must be a string .</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>crtEspecial</strong></td>\n<td>This is the special municipal tax regime of the subsidiary. It is optional, must be an array of strings and the content provided must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>BRA_TAX_INFO</strong>&amp;sortKey=<strong>crtEspecial\"</strong></td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>UF</strong></td>\n<td>This is the abbreviation of the state where the Brazilian subsidiary has municipal registration. It is required, it must be a string, it must be 2 in length, and the typed content must be obtained from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>STATES</strong>&amp;sortKey=<strong>BRA\"</strong></td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>cMun</strong></td>\n<td>This is the code of the municipality where the Brazilian subsidiary has municipal registration. Is required, must be a string, must be 7 long, and the content entered must be taken from \"GET/metadata?page=1&amp;limit=50&amp;partitionKey=<strong>CITIES</strong>&amp;sortKey=<strong>BRA</strong> or <strong>state abbreviation\"</strong></td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>startDate</strong></td>\n<td>This is the initial effective date of the municipal tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is required, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>cityTaxes[].<strong>endDate</strong></td>\n<td>This is the final effective date of the municipal tax regime registration of the subsidiary itself (whether it is a parent company or a branch). It is optional, must be a string and the content entered must be in UTC format.</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether your subsidiary is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["subsidiaries","{subsidiaryId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"77172b0b-fd91-4dab-b87a-4e5a62be87f5","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"optional, string\",\n        \"xNome\": \"optional, string\",\n        \"xFant\": \"optional, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"optional, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"optional, string\",\n        \"xLgr\": \"optional, string\",\n        \"nro\": \"optional, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"optional, string\",\n        \"cMun\": \"optional, string\",\n        \"UF\": \"optional, string\",\n        \"cPais\": \"optional, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"optional, boolean\",\n            \"indAtiv\": \"optional, string\",\n            \"cnae\": \"optional, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"cMun\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Subsidiary updated successfully\"\n}"},{"id":"467669af-4650-4d9f-8981-5fb20446df76","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"optional, string\",\n        \"xNome\": \"optional, string\",\n        \"xFant\": \"optional, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"optional, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"optional, string\",\n        \"xLgr\": \"optional, string\",\n        \"nro\": \"optional, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"optional, string\",\n        \"cMun\": \"optional, string\",\n        \"UF\": \"optional, string\",\n        \"cPais\": \"optional, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"optional, boolean\",\n            \"indAtiv\": \"optional, string\",\n            \"cnae\": \"optional, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"cMun\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"1fbc3c7f-7b4d-452d-a577-99ec263bcd3e","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"optional, string\",\n        \"xNome\": \"optional, string\",\n        \"xFant\": \"optional, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"optional, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"optional, string\",\n        \"xLgr\": \"optional, string\",\n        \"nro\": \"optional, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"optional, string\",\n        \"cMun\": \"optional, string\",\n        \"UF\": \"optional, string\",\n        \"cPais\": \"optional, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"optional, boolean\",\n            \"indAtiv\": \"optional, string\",\n            \"cnae\": \"optional, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"cMun\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"79c6d154-7471-4654-aae8-299199872346","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"identification\": {\n        \"headquarters\": \"optional, boolean\",\n        \"federalDocument\": \"optional, string\",\n        \"xNome\": \"optional, string\",\n        \"xFant\": \"optional, string\",\n        \"nire\": \"optional, string\",\n        \"codQualif\": \"optional, string\",\n        \"openingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"closingDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n        \"sitEspecial\": \"optional, string\",\n        \"specialSituationDate\": \"conditional, string and UTC format - YYYY-MM-DDThh:mm:ss.SSSZ\",\n        \"email\": \"optional, string\",\n        \"fone\": \"optional, string\",\n        \"website\": \"optional, string\"\n    },\n    \"address\": {\n        \"cep\": \"optional, string\",\n        \"xLgr\": \"optional, string\",\n        \"nro\": \"optional, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"optional, string\",\n        \"cMun\": \"optional, string\",\n        \"UF\": \"optional, string\",\n        \"cPais\": \"optional, string\"\n    },\n    \"legalNatures\": [\n        {\n            \"natJur\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cnaes\": [\n        {\n            \"main\": \"optional, boolean\",\n            \"indAtiv\": \"optional, string\",\n            \"cnae\": \"optional, string\"\n        }\n    ],\n    \"countryTaxes\": [\n        {\n            \"crt\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"stateTaxes\": [\n        {\n            \"stateDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"suframa\": \"conditional, string\",\n            \"cscId\": \"optinal, string\",\n            \"cscToken\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"cityTaxes\": [\n        {\n            \"cityDocument\": \"optional, string\",\n            \"taxPayer\": \"optional, string\",\n            \"typeTaxPayer\": \"optional, string\",\n            \"crtEspecial\": [\n                \"optional, string\"\n            ],\n            \"UF\": \"optional, string\",\n            \"cMun\": \"optional, string\",\n            \"startDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n            \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"caef45eb-cc06-46c4-ab97-65e1afa0e149"},{"name":"subsidiaries","id":"36adfe2c-6948-4a35-8b41-8b53e53e3380","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}","urlObject":{"protocol":"https","path":["subsidiaries","{subsidiaryId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"0f66bc7f-f9d6-40c5-9f7b-4e14dfbe26f7","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Subsidiary removed successfully\"\n}"},{"id":"afa8a9a5-2e8d-4e40-a4d5-dff6ebc40db0","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"9a22bb13-f729-4c33-b697-e15aea777ab0","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"671775b5-3edb-432a-bd43-e887375d9c79","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/subsidiaries/{subsidiaryId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"36adfe2c-6948-4a35-8b41-8b53e53e3380"}],"id":"61b96cd5-6beb-4085-b365-b5fae64eb36d","description":"<p>Users can register subsidiaries in a previously selected company. The subsidiary is the final entity within a company. It is in the subsidiary of a company that all commercial operations and, consequently, tax and accounting operations are effectively carried out. The registration and maintenance of the data of a subsidiary is one of the most important steps of the platform and must be carried out with great care and attention. A subsidiary unit within a company will be given by its complete federal document, which must have the same root numbers as the federalDocument registered in the company. In Brazil, for example, the federalDocument of a company (legal entity) is its complete CNPJ (CNPJ: 00.000.000/0000-00) consisting of 14 digits and the federalDocument of a person (natural person) is their complete CPF (CPF: 000.000.000-11) consisting of 11 digits.</p>\n","_postman_id":"61b96cd5-6beb-4085-b365-b5fae64eb36d"}],"id":"63014eef-a4b2-4ed2-8dd4-1b0c75cbdf4b","description":"<p>This is a set of endpoints that allow Platform users to manage basic records that are essential for consuming the services offered by the platform. The main entities are structured hierarchically as follows:</p>\n<ul>\n<li><p>whitelabel</p>\n</li>\n<li><p>whitelabel.<strong>accounts</strong></p>\n</li>\n<li><p>whitelabel.accounts.<strong>companies</strong></p>\n</li>\n<li><p>whitelabel.accounts.companies.<strong>subsidiaries</strong></p>\n</li>\n</ul>\n<p>All other basic records and services offered through the platform depend on these 4 main contexts. For example:</p>\n<ul>\n<li><p>To register an account, you need to access a previously registered domain, which may be an owner or a partner's domain.</p>\n</li>\n<li><p>To use the Rules Engine module, you need to have a registered account.</p>\n</li>\n<li><p>To use the invoice module, you need to have a company-type entity and its respective subsidiaries registered.</p>\n</li>\n</ul>\n","_postman_id":"63014eef-a4b2-4ed2-8dd4-1b0c75cbdf4b"},{"name":"teams","item":[{"name":"profiles","item":[{"name":"profiles/resources (list)","id":"8788a8a8-e825-4a91-9d3e-1f69c21f6d04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","description":"<p>The first step is to consult the list of resources that the Omnitax platform provides and their respective actions. It is based on this list of resources and their actions that you can create customized access profiles.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the name of the resource available for use in the Omnitax platform. The resource can be understood as an entity or module. Some non-exhaustive examples of resource names made available through the Omnitax platform: Whitelabel, Account, Company, Subsidiary, Invoice, Rules Engine.</td>\n</tr>\n<tr>\n<td>actions</td>\n<td>This is the name of the action allowed on the selected resource. Some non-exhaustive examples of names of actions allowed by resources:  <br />  <br /><strong>Resource</strong>: Whitelabel  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove, Generate Token, Enable Token  <br />  <br />  <br /><strong>Resource</strong>: Account  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove, Generate Token, Enable Token  <br />  <br />  <br /><strong>Resource</strong>: Company  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove  <br />  <br />  <br /><strong>Resource</strong>: Subsidiary  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove  <br />  <br />  <br /><strong>Resource</strong>: Invoice  <br /><strong>Actions</strong>: Issue, Correct, Cancel, List, Detail, Distribution, Disablement  <br />  <br />  <br /><strong>Resource</strong>: Rules Engine  <br /><strong>Actions</strong>: Register, List, Detail, Edit or Remove Rule Base; Register, List, Detail, Edit or Remove Rules from a Base; Apply Scenarios to Rules; Import and export Rule bases.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["profiles","resources"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>required, number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>required, number, limited 50 per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>optional, \"asc\" or \"desc\"</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>optional, per \"label\"</p>\n","type":"text/plain"},"key":"orderBy","value":"label"},{"description":{"content":"<p>required, per \"whitelabel\", \"account\", \"company\", \"subsidiary\"</p>\n","type":"text/plain"},"key":"entityType","value":"account"}],"variable":[]}},"response":[{"id":"433c2aa6-feac-4f88-9c70-839fe4a76f86","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/profiles/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","protocol":"https","host":["{{api-domain}}"],"path":["profiles","resources"],"query":[{"key":"page","value":"1","description":"required, number"},{"key":"limit","value":"50","description":"required, number, limited 50 per page"},{"key":"sort","value":"asc","description":"optional, \"asc\" or \"desc\""},{"key":"orderBy","value":"label","description":"optional, per \"label\""},{"key":"entityType","value":"account","description":"required, per \"whitelabel\", \"account\", \"company\", \"subsidiary\""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": [\n    {\n      \"label\": \"\",\n      \"actions\": [\n        \"\"\n      ]\n    }\n  ],\n  \"totalItems\": 1\n}"},{"id":"1bb6d01c-0187-43f8-a587-fa218d7c4705","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"federalDocument\": \"required, string\",\n    \"legalRepresentative\": \"required, boolean\",\n    \"name\": \"required, string\",\n    \"codQualif\": \"required, string\",\n    \"crc\": \"optional, string\",\n    \"numSeqCrc\": \"optional, string\",\n    \"ufCrc\": \"optional, string\",\n    \"dtCrc\": \"optional, string and UTC Format: YYYY-MM-DDThh:mm:ss.SSSZ\",\n    \"cvm\": \"optional, string\",\n    \"email\": \"optional, string\",\n    \"fone\": \"optional, string\",\n    \"address\": {\n        \"cep\": \"optional, string\",\n        \"xLgr\": \"optional, string\",\n        \"nro\": \"optional, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"optional, string\",\n        \"cMun\": \"optional, string\",\n        \"cPais\": \"optional, string\"\n    },\n    \"certificateBase64\": \"optional, string\",\n    \"certificateFilename\": \"optional, string\",\n    \"certificatePassword\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/profiles/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","protocol":"https","host":["{{api-domain}}"],"path":["profiles","resources"],"query":[{"key":"page","value":"1","description":"required, number"},{"key":"limit","value":"50","description":"required, number, limited 50 per page"},{"key":"sort","value":"asc","description":"optional, \"asc\" or \"desc\""},{"key":"orderBy","value":"label","description":"optional, per \"label\""},{"key":"entityType","value":"account","description":"required, per \"whitelabel\", \"account\", \"company\", \"subsidiary\""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"ee69e52d-4256-4b46-b814-c07ba0c198f1","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"companyId\": \"required, string\",\n    \"federalDocument\": \"required, string\",\n    \"legalRepresentative\": \"required, boolean\",\n    \"name\": \"required, string\",\n    \"codQualif\": \"required, string\",\n    \"crc\": \"optional, string\",\n    \"numSeqCrc\": \"optional, string\",\n    \"ufCrc\": \"optional, string\",\n    \"dtCrc\": \"optional, string and UTC Format: YYYY-MM-DDThh:mm:ss.SSSZ\",\n    \"cvm\": \"optional, string\",\n    \"email\": \"optional, string\",\n    \"fone\": \"optional, string\",\n    \"address\": {\n        \"cep\": \"optional, string\",\n        \"xLgr\": \"optional, string\",\n        \"nro\": \"optional, string\",\n        \"xCpl\": \"optional, string\",\n        \"xBairro\": \"optional, string\",\n        \"cMun\": \"optional, string\",\n        \"cPais\": \"optional, string\"\n    },\n    \"certificateBase64\": \"optional, string\",\n    \"certificateFilename\": \"optional, string\",\n    \"certificatePassword\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/profiles/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","protocol":"https","host":["{{api-domain}}"],"path":["profiles","resources"],"query":[{"key":"page","value":"1","description":"required, number"},{"key":"limit","value":"50","description":"required, number, limited 50 per page"},{"key":"sort","value":"asc","description":"optional, \"asc\" or \"desc\""},{"key":"orderBy","value":"label","description":"optional, per \"label\""},{"key":"entityType","value":"account","description":"required, per \"whitelabel\", \"account\", \"company\", \"subsidiary\""}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"8788a8a8-e825-4a91-9d3e-1f69c21f6d04"},{"name":"profiles","id":"f5860097-7607-465a-b549-d5e966c67188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles","description":"<p>The second step is to register a custom access profile, entering a name of your choice and defining which resources and actions within those resources your team members with this profile can perform. For example, you can create an access profile called \"operation\" and determine that members with this profile can register, list and detail companies and subsidiaries, but cannot edit or remove them. Perhaps this profile can also list and detail issued invoices, but cannot issue or cancel invoices.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the name of your preferred profile. It is required and must be a string with a maximum length of 60 characters.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>entity</td>\n<td>This is the name of the entity where your profile will have powers of action. The Omnitax platform is hierarchically organized into 4 large entities, also known as \"contexts\":  <br />  <br />1. Whitelabel  <br />2. Whitelabel.Account  <br />3. Whitelabel.Account.Company  <br />4. Whitelabel.Account.Company.Subsidiary  <br />  <br />It is mandatory, it is a string and the only valid values ​​are \"WHITELABEL\", \"ACCOUNT\", \"COMPANY\" or \"SUBSIDIARY\"</td>\n</tr>\n<tr>\n<td>entities[]</td>\n<td>These are the IDs of the entities of the type informed in the \"entity\" field. It is mandatory, it is a string array and must be a valid UUID.</td>\n</tr>\n<tr>\n<td>resources[].<strong>label</strong></td>\n<td>This is the name of the resource available for use in the Omnitax platform. The resource can be understood as an entity or module. Some non-exhaustive examples of resource names made available by the Omnitax platform: Whitelabel, Account, Company, Subsidiary, Invoice, Rules Engine. It is also possible to create a profile that has access to all resources (current and future) made available via the Omnitax Platform by simply entering \"label\": \"ALL\", \"actions\": [ \"*\" ]. In this case, the profile will have absolute powers (all resources, current and future, and their respective actions)</td>\n</tr>\n<tr>\n<td>resources[].<strong>actions</strong>[]</td>\n<td>This is the name of the action allowed on the selected resource. Some non-exhaustive examples of names of actions allowed by resources will be listed below. It is also possible to create a profile that has access to all actions (current and future) of a resource made available by the Omnitax Platform, simply by typing, for example, \"label\": \"INVOICE\", \"actions\": [ \"*\" ]. In this case, the profile will have absolute powers to execute all actions, current and future, of the invoice resource. Other examples:  <br />  <br /><strong>Resource</strong>: Whitelabel  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove, Generate Token, Enable Token  <br />  <br /><strong>Resource</strong>: Account  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove, Generate Token, Enable Token  <br />  <br /><strong>Resource</strong>: Company  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove  <br />  <br /><strong>Resource</strong>: Subsidiary  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove  <br />  <br /><strong>Resource</strong>: Invoice  <br /><strong>Actions</strong>: Issue, Correct, Cancel, List, Detail, Distribution, Disablement  <br />  <br /><strong>Resource</strong>: Rules Engine  <br /><strong>Actions</strong>: Register, List, Detail, Edit or Remove Rule Base; Register, List, Detail, Edit or Remove Rules from a Base; Apply Scenarios to Rules; Import and export Rule bases.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["profiles"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"39375845-fe33-47c9-b603-6ed32ad6518b","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"label\": \"required, string\",\n    \"entity\": \"required, string\",\n    \"entities\": [\n        \"required, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Profile registered with success\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"17cf2341-7f6c-4a85-b98e-6b26610b6300","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"label\": \"required, string\",\n    \"entity\": \"required, string\",\n    \"entities\": [\n        \"required, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"label\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"db04a73e-c124-48de-a89f-02a6538432bc","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"label\": \"required, string\",\n    \"entity\": \"required, string\",\n    \"entities\": [\n        \"required, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"1a5249e3-e35a-4419-898a-7921eed63f97","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"label\": \"required, string\",\n    \"entity\": \"required, string\",\n    \"entities\": [\n        \"required, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"5b0ce4e9-342d-4b0f-8a6b-2d5e97c8aa1f","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"label\": \"required, string\",\n    \"entity\": \"required, string\",\n    \"entities\": [\n        \"required, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"label\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"f5860097-7607-465a-b549-d5e966c67188"},{"name":"profiles (list)","id":"d685df2a-5e33-4653-9dc1-2fb3d33f62c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles?page=1&limit=50&sort=asc&orderBy=label","urlObject":{"protocol":"https","path":["profiles"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>required, number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>required, number, limited 50 per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>optional, \"asc\" or \"desc\"</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>optional, per \"id\", \"label\", \"createdAt\", \"updatedAt\"</p>\n","type":"text/plain"},"key":"orderBy","value":"label"}],"variable":[]}},"response":[{"id":"8af33ebe-1509-4f5f-bd32-fe081e72f4ba","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/profiles?page=1&limit=50&sort=asc&orderBy=label","protocol":"https","host":["{{api-domain}}"],"path":["profiles"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"label","description":"Order by: id, label, createdAt, updatedAt"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"transactions\": [],\n            \"createdAt\": {\n                \"epoch\": 1738862880,\n                \"formatted\": \"06/02/2025 - 14:28:00\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1739546072,\n                \"formatted\": \"14/02/2025 - 12:14:32\"\n            },\n            \"label\": \"\",\n            \"entity\": \"\",\n            \"entities\": [\n                {\n                    \"id\": \"\",\n                    \"name\": \"\"\n                }\n            ],\n            \"resources\": [\n                {\n                    \"label\": \"\",\n                    \"actions\": [\n                        \"\"\n                    ]\n                }\n            ]\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"405fc30c-b147-412b-ba77-9e2a7ed88f66","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/profiles?page=1&limit=50&sort=asc&orderBy=label","protocol":"https","host":["{{api-domain}}"],"path":["profiles"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"label","description":"Order by: id, label, createdAt, updatedAt"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"652755f9-de8b-4ef3-965c-d2209d7c35b0","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/profiles?page=1&limit=50&sort=asc&orderBy=label","protocol":"https","host":["{{api-domain}}"],"path":["profiles"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"label","description":"Order by: id, label, createdAt, updatedAt"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"d685df2a-5e33-4653-9dc1-2fb3d33f62c5"},{"name":"profiles (detail)","id":"213d2768-fc79-4099-9d5d-5b8f93f2011d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}","urlObject":{"protocol":"https","path":["profiles","{profileId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"444ac105-f217-49d1-8448-ddbc932c5a92","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": null,\n        \"transactions\": [],\n        \"createdAt\": {\n            \"epoch\": 1738862880,\n            \"formatted\": \"06/02/2025 - 14:28:00\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1739546072,\n            \"formatted\": \"14/02/2025 - 12:14:32\"\n        },\n        \"label\": \"\",\n        \"entity\": \"\",\n        \"entities\": [\n            {\n                \"id\": \"\",\n                \"name\": \"\"\n            }\n        ],\n        \"resources\": [\n            {\n                \"label\": \"\",\n                \"actions\": [\n                    \"\"\n                ]\n            }\n        ]\n    }\n}"},{"id":"eedc9ec7-02da-435e-9e11-eead7764584a","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"dbac0636-a914-44e2-8e77-db315133b98c","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"8021033e-7b40-48d5-bb8c-9048c58926e6","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"213d2768-fc79-4099-9d5d-5b8f93f2011d"},{"name":"profiles","id":"b02736ab-b704-47ae-ad97-c67633a43527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the name of your preferred profile. It is required and must be a string with a maximum length of 60 characters.</td>\n</tr>\n<tr>\n<td>entity</td>\n<td>This is the name of the entity where your profile will have powers of action. The Omnitax platform is hierarchically organized into 4 large entities, also known as \"contexts\":  <br />  <br />1. Whitelabel  <br />2. Whitelabel.Account  <br />3. Whitelabel.Account.Company  <br />4. Whitelabel.Account.Company.Subsidiary  <br />  <br />It is mandatory, it is a string and the only valid values ​​are \"WHITELABEL\", \"ACCOUNT\", \"COMPANY\" or \"SUBSIDIARY\"</td>\n</tr>\n<tr>\n<td>entities[]</td>\n<td>These are the IDs of the entities of the type informed in the \"entity\" field. It is mandatory, it is a string array and must be a valid UUID.</td>\n</tr>\n<tr>\n<td>resources[].<strong>label</strong></td>\n<td>This is the name of the resource available for use in the Omnitax platform. The resource can be understood as an entity or module. Some non-exhaustive examples of resource names made available by the Omnitax platform: Whitelabel, Account, Company, Subsidiary, Invoice, Rules Engine. It is also possible to create a profile that has access to all resources (current and future) made available via the Omnitax Platform by simply entering \"label\": \"ALL\", \"actions\": [ \"*\" ]. In this case, the profile will have absolute powers (all resources, current and future, and their respective actions)</td>\n</tr>\n<tr>\n<td>resources[].<strong>actions</strong>[]</td>\n<td>This is the name of the action allowed on the selected resource. Some non-exhaustive examples of names of actions allowed by resources are listed below. It is also possible to create a profile that has access to all actions (current and future) of a resource made available by the Omnitax Platform, simply by typing, for example, \"label\": \"INVOICE\", \"actions\": [ \"*\" ]. In this case, the profile will have absolute powers to execute all actions, current and future, of the invoice resource. Other examples:  <br />  <br /><strong>Resource</strong>: Whitelabel  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove, Generate Token, Enable Token  <br />  <br /><strong>Resource</strong>: Account  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove, Generate Token, Enable Token  <br />  <br /><strong>Resource</strong>: Company  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove  <br />  <br /><strong>Resource</strong>: Subsidiary  <br /><strong>Actions</strong>: Register, List, Detail, Edit, Remove  <br />  <br /><strong>Resource</strong>: Invoice  <br /><strong>Actions</strong>: Issue, Correct, Cancel, List, Detail, Distribution, Disablement  <br />  <br /><strong>Resource</strong>: Rules Engine  <br /><strong>Actions</strong>: Register, List, Detail, Edit or Remove Rule Base; Register, List, Detail, Edit or Remove Rules from a Base; Apply Scenarios to Rules; Import and export Rule bases.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["profiles","{profileId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"f02497dc-b34d-4915-84ea-0f476004e634","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"optional, string\",\n    \"entity\": \"optional, string\",\n    \"entities\": [\n        \"optional, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Profile updated successfully\"\n}"},{"id":"d64f2409-a0a1-4d92-8b19-2f50ddbf0351","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"optional, string\",\n    \"entity\": \"optional, string\",\n    \"entities\": [\n        \"optional, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"851b40b6-7832-48b2-befd-22d56cb735f3","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"optional, string\",\n    \"entity\": \"optional, string\",\n    \"entities\": [\n        \"optional, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"8fc48e20-fb8a-4f4e-8a52-cb0737fd5258","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"optional, string\",\n    \"entity\": \"optional, string\",\n    \"entities\": [\n        \"optional, string\"\n    ],\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"b02736ab-b704-47ae-ad97-c67633a43527"},{"name":"profiles","id":"d78ba798-8019-4750-bb31-154153b1df04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}","urlObject":{"protocol":"https","path":["profiles","{profileId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"10a208a3-4856-406c-a7d4-a30ff238f882","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Profile removed successfully\"\n}"},{"id":"f2d574aa-5f8a-48ad-a2c6-6557db3024a5","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"78cd53b1-b69f-4981-aa8c-323a2736c09e","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"652fc90c-f61f-429b-99be-e7a203290379","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"d78ba798-8019-4750-bb31-154153b1df04"}],"id":"14bdcd50-d19a-484f-adc8-31a74ff374de","description":"<p>The purpose of this set of endpoints is to allow the management of customizable access profiles so that team members can be invited with pre-defined access permissions.</p>\n","_postman_id":"14bdcd50-d19a-484f-adc8-31a74ff374de"},{"name":"users","item":[{"name":"users/invite","id":"9ca0ede1-7145-4a1e-b0e0-21e12bf25d4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/invite","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>invites[].emails[]</td>\n<td>These are the emails of your team members who will be invited with the access profile informed in the \"profileId\" field. It is mandatory, it is a string array and must be a valid email.</td>\n</tr>\n<tr>\n<td>invites[].profileId</td>\n<td>This is the registered profile ID that your team member user will have access to. It is required, is a string, and must be a valid UUID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["users","invite"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"ecbbd99e-926b-4fd2-a741-ede8f5cdb9cc","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invites\": [\n        {\n            \"emails\": [\n                \"required, string\"\n            ],\n            \"profileId\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"An email was sent with instructions\"\n}"},{"id":"d69afb9a-4285-4640-a237-614e61d432bc","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invites\": [\n        {\n            \"emails\": [\n                \"required, string\"\n            ],\n            \"profileId\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"profileId\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"1be68c7c-da05-4e10-b7e1-4efedc361f89","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invites\": [\n        {\n            \"emails\": [\n                \"required, string\"\n            ],\n            \"profileId\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"0c96a8dd-84ca-4724-8776-53b0a0b0c886","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invites\": [\n        {\n            \"emails\": [\n                \"required, string\"\n            ],\n            \"profileId\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"7d8a8677-7378-46a7-9739-28f64aedc279","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invites\": [\n        {\n            \"emails\": [\n                \"required, string\"\n            ],\n            \"profileId\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"profileId\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"9ca0ede1-7145-4a1e-b0e0-21e12bf25d4b"},{"name":"users/invite/confirmation","id":"c45dfad2-b72e-409b-a1f6-1be73aff7d8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/invite/confirmation","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>This is the token ID emailed to your invited team member user. It is required, is a string, and must be a valid token.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>This is the preferred password for your guest team member. It is required, is a string, and cannot exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["users","invite","confirmation"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"c423d459-69ec-4bdd-93a1-940e32d17215","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite/confirmation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invite confirmation was succeeded\"\n}"},{"id":"6deda723-fbc8-4b72-ac21-72128a0f3423","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite/confirmation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"password\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"192571b7-52ee-4d71-94c6-09a3fd4fb31f","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite/confirmation"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"b63f6714-60ba-48c1-ae35-5190c0c5d0dc","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite/confirmation"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"b53e2e7c-dcc4-46df-9d4b-06aeac87d7e5","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite/confirmation"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"token\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"},{"id":"8f3633f2-d6ef-4c9f-ae19-1235a14093ae","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/invite/confirmation"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"token\",\n            \"messages\": [\n                \"Confirmation already made\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"c45dfad2-b72e-409b-a1f6-1be73aff7d8e"},{"name":"users (list)","id":"dff8d093-7333-4c89-b07f-b5954499f836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users?page=1&limit=50&sort=asc&orderBy=email&accountId=id&companyId=id&subsidiaryId=id","urlObject":{"protocol":"https","path":["users"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: id, email, name, document, role, registerSource, createdAt, updatedAt</p>\n","type":"text/plain"},"key":"orderBy","value":"email"},{"description":{"content":"<p>Filter by all subsidiaries from account</p>\n","type":"text/plain"},"key":"accountId","value":"id"},{"description":{"content":"<p>Filter by all subsidiaries from company</p>\n","type":"text/plain"},"key":"companyId","value":"id"},{"description":{"content":"<p>Filter by all subsidiaries from subsidiary</p>\n","type":"text/plain"},"key":"subsidiaryId","value":"id"}],"variable":[]}},"response":[{"id":"12cb08bc-008c-41b4-b2bf-13a07fc95f42","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/users?page=1&limit=50&sort=asc&orderBy=email&accountId=id&companyId=id&subsidiaryId=id","protocol":"https","host":["{{api-domain}}"],"path":["users"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"email","description":"Order by: id, email, name, document, role, registerSource, createdAt, updatedAt"},{"key":"accountId","value":"id","description":"Filter by all subsidiaries from account"},{"key":"companyId","value":"id","description":"Filter by all subsidiaries from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all subsidiaries from subsidiary"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"createdAt\": {\n                \"epoch\": 1739304727,\n                \"formatted\": \"11/02/2025 - 17:12:07\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1739546072,\n                \"formatted\": \"14/02/2025 - 12:14:32\"\n            },\n            \"name\": \"\",\n            \"email\": \"\",\n            \"registerSource\": \"\",\n            \"enabled\": true,\n            \"document\": \"\",\n            \"role\": \"\",\n            \"pictureUrl\": \"\",\n            \"profiles\": [\n                {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": null,\n                    \"transactions\": [],\n                    \"createdAt\": {\n                        \"epoch\": 1738862880,\n                        \"formatted\": \"06/02/2025 - 14:28:00\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1739546072,\n                        \"formatted\": \"14/02/2025 - 12:14:32\"\n                    },\n                    \"label\": \"\",\n                    \"entity\": \"\",\n                    \"entities\": [\n                        {\n                            \"id\": \"\",\n                            \"name\": \"\"\n                        }\n                    ],\n                    \"resources\": [\n                        {\n                            \"label\": \"\",\n                            \"actions\": [\n                                \"\"\n                            ]\n                        }\n                    ],\n                    \"lastLogin\": {\n                        \"epoch\": 1739546072,\n                        \"formatted\": \"14/02/2025 - 12:14:32\"\n                    },\n                    \"lastLoginSource\": \"\"\n                }\n            ]\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"4ae62c74-9c11-4ae3-837a-160c9b84b25f","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/users?page=1&limit=50&sort=asc&orderBy=email&accountId=id&companyId=id&subsidiaryId=id","protocol":"https","host":["{{api-domain}}"],"path":["users"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"email","description":"Order by: id, email, name, document, role, registerSource, createdAt, updatedAt"},{"key":"accountId","value":"id","description":"Filter by all subsidiaries from account"},{"key":"companyId","value":"id","description":"Filter by all subsidiaries from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all subsidiaries from subsidiary"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"85caa36f-2018-46e4-bf6a-6f7fe847bdbf","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/users?page=1&limit=50&sort=asc&orderBy=email&accountId=id&companyId=id&subsidiaryId=id","protocol":"https","host":["{{api-domain}}"],"path":["users"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"email","description":"Order by: id, email, name, document, role, registerSource, createdAt, updatedAt"},{"key":"accountId","value":"id","description":"Filter by all subsidiaries from account"},{"key":"companyId","value":"id","description":"Filter by all subsidiaries from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all subsidiaries from subsidiary"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"dff8d093-7333-4c89-b07f-b5954499f836"},{"name":"users (detail)","id":"ba937ede-4eb2-48f7-a3cb-155db0a48e04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}","urlObject":{"protocol":"https","path":["users","{userId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"9ccd482f-a87a-4d79-9588-cacfbc93c22c","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": null,\n        \"createdAt\": {\n            \"epoch\": 1739304727,\n            \"formatted\": \"11/02/2025 - 17:12:07\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1739546072,\n            \"formatted\": \"14/02/2025 - 12:14:32\"\n        },\n        \"name\": \"\",\n        \"email\": \"\",\n        \"registerSource\": \"\",\n        \"enabled\": true,\n        \"document\": \"\",\n        \"role\": \"\",\n        \"pictureUrl\": \"\",\n        \"profiles\": [\n            {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"transactions\": [],\n                \"createdAt\": {\n                    \"epoch\": 1738862880,\n                    \"formatted\": \"06/02/2025 - 14:28:00\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1739546072,\n                    \"formatted\": \"14/02/2025 - 12:14:32\"\n                },\n                \"label\": \"\",\n                \"entity\": \"\",\n                \"entities\": [\n                    {\n                        \"id\": \"\",\n                        \"name\": \"\"\n                    }\n                ],\n                \"resources\": [\n                    {\n                        \"label\": \"\",\n                        \"actions\": [\n                            \"\"\n                        ]\n                    }\n                ],\n                \"lastLogin\": {\n                    \"epoch\": 1739546072,\n                    \"formatted\": \"14/02/2025 - 12:14:32\"\n                },\n                \"lastLoginSource\": \"\"\n            }\n        ]\n    }\n}"},{"id":"082457b5-23c4-4666-bdcc-dcaeda064d31","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"fa46b962-9e0a-41b2-bfd6-76407a8f9dc1","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"93b171f1-df4c-44a4-a92a-71799be48673","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/profiles/{profileId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"ba937ede-4eb2-48f7-a3cb-155db0a48e04"},{"name":"users","id":"02e3b57e-a942-4e38-84ce-885e4d2ce328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>This is the username. It is optional, is a string and cannot exceed 256 characters.</td>\n</tr>\n<tr>\n<td>document</td>\n<td>This is the user's identification document. It is optional, is a string and cannot exceed 30 characters.</td>\n</tr>\n<tr>\n<td>role</td>\n<td>This is the role or function that the user performs professionally. It is optional, is a string and cannot exceed 20 characters.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>This is the user's current preferred password. It is optional, is a string, and cannot exceed 256 characters.</td>\n</tr>\n<tr>\n<td>newPassword</td>\n<td>This is the user's new preferred password. It is optional, is a string and cannot exceed 256 characters.</td>\n</tr>\n<tr>\n<td>pictureBase64</td>\n<td>This is the user image. It is optional, it is a string with base64 content.</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether resource is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["users","{userId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"4469998d-72d9-4d88-a973-47002a8eeb8b","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"document\": \"optional, string\",\n    \"role\": \"optional, string\",\n    \"password\": \"optional, string\",\n    \"newPassword\": \"optional, string\",\n    \"pictureBase64\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/{userId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User updated successfully\"\n}"},{"id":"39296368-fd38-45fa-bfbd-31d78566c987","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"document\": \"optional, string\",\n    \"role\": \"optional, string\",\n    \"password\": \"optional, string\",\n    \"newPassword\": \"optional, string\",\n    \"pictureBase64\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/{userId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"61966daa-b455-4dd7-acc5-395806d95471","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"document\": \"optional, string\",\n    \"role\": \"optional, string\",\n    \"password\": \"optional, string\",\n    \"newPassword\": \"optional, string\",\n    \"pictureBase64\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/{userId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"c5da0f5d-0d0e-48b0-8efe-9c1b24df460d","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"optional, string\",\n    \"document\": \"optional, string\",\n    \"role\": \"optional, string\",\n    \"password\": \"optional, string\",\n    \"newPassword\": \"optional, string\",\n    \"pictureBase64\": \"optional, string\",\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/{userId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"02e3b57e-a942-4e38-84ce-885e4d2ce328"},{"name":"users","id":"c6c632e2-3e12-4f09-8b8e-8f016ce90217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}","urlObject":{"protocol":"https","path":["users","{userId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"224033f4-56cc-4a62-a2d1-b7e78bd29d3f","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/{userId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User removed successfully\"\n}"},{"id":"d6cf454f-b80e-4530-b8b7-af324f0e463b","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"08ff00fe-708b-4839-8b97-3e9597cd574f","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"6966ff79-6fe8-4a89-9e6b-5c06523914b0","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"c6c632e2-3e12-4f09-8b8e-8f016ce90217"},{"name":"users/profiles","id":"d3d234b8-33d3-4c4a-82a1-7127c6f70fac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}/profiles/{id}","urlObject":{"protocol":"https","path":["users","{userId}","profiles","{id}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"8f5ed298-5abf-4377-9794-1c30f8a4f638","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/users/{userId}/profiles/{id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User profile removed successfully\"\n}"},{"id":"95dc6d0e-e9aa-444f-a245-13b9df42878a","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}/profiles/{id}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"2574fdf6-61d9-4f8d-bfed-c57bb4fd9d71","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}/profiles/{id}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"4b0353a8-3fcd-4af7-98bc-0f9ac240c418","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/users/{userId}/profiles/{id}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"d3d234b8-33d3-4c4a-82a1-7127c6f70fac"}],"id":"0d8d26c0-f194-41ee-afd6-615da7a829d9","description":"<p>The third step is to invite users by associating them with the previously registered access profile. A user can have multiple access profiles, but can only use one at a time. This means that if the user has multiple profiles, when logging in, the platform will authenticate them with the last profile used and they can choose which profile they want to operate with from then on.</p>\n","_postman_id":"0d8d26c0-f194-41ee-afd6-615da7a829d9"},{"name":"authentication","item":[{"name":"auth/login","id":"8ea2b830-6628-4e0b-a55b-3a5c5d7a64b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/login","description":"<p>When inviting a user, you can also define that they can only use the platform if they are authenticated (oAuth), regardless of whether they use the platform via the user's application or directly via the API.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>This is the role or function that the user performs professionally. It is optional, it is a string and must be a valid email.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>This is the preferred password for your guest team member. It is required, is a string, and cannot exceed 256 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["auth","login"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"39039a43-8b95-473f-b290-7aa72f7b0a07","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"session\": {\n            \"id\": \"\",\n            \"token\": \"\",\n            \"startedAt\": {\n                \"epoch\": 1739455315,\n                \"formatted\": \"13/02/2025 - 11:01:55\"\n            },\n            \"expires\": {\n                \"epoch\": 1739541715,\n                \"formatted\": \"14/02/2025 - 11:01:55\"\n            }\n        },\n        \"user\": {\n            \"name\": \"\",\n            \"email\": \"\",\n            \"enabled\": true,\n            \"isMember\": true,\n            \"document\": \"\",\n            \"role\": null,\n            \"pictureUrl\": null,\n            \"profiles\": [\n                {\n                    \"id\": \"\",\n                    \"label\": \"\",\n                    \"entity\": \"\",\n                    \"entities\": [\n                        {\n                            \"id\": \"\",\n                            \"name\": \"\"\n                        }\n                    ],\n                    \"resources\": [\n                        {\n                            \"label\": \"\",\n                            \"actions\": [\n                                \"\"\n                            ]\n                        }\n                    ],\n                    \"whitelabel\": {\n                        \"id\": \"\",\n                        \"name\": \"\",\n                        \"domain\": \"\",\n                        \"accountsTotal\": 1,\n                        \"usersTotal\": 0\n                    },\n                    \"current\": true\n                }\n            ]\n        },\n        \"settings\": {\n            \"whitelabelId\": \"\",\n            \"slug\": \"\",\n            \"name\": \"\",\n            \"themeColor\": \"\",\n            \"lightLogoUrl\": \"\",\n            \"darkLogoUrl\": \"\",\n            \"lightIconUrl\": \"\",\n            \"darkIconUrl\": \"\",\n            \"backgroundUrl\": \"\",\n            \"linkTitle\": \"\",\n            \"linkUrl\": null\n        }\n    }\n}"},{"id":"061a367e-8716-4057-8417-18bfb78b01a9","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"password\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"9a67b56d-5019-4c2b-88da-5d9a592f6082","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"8532b756-f3ae-4a77-95a7-79438617384b","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"7a485e16-8478-44fd-9dcb-db03176097d5","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"email\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"8ea2b830-6628-4e0b-a55b-3a5c5d7a64b6"},{"name":"auth/refresh-token","id":"a86d4867-59eb-4a4f-8ed5-6e4e71282d5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"profileId\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login","description":"<p>When team member user are authenticated, they can change the current logged profile.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>profileId</td>\n<td>This is the registered profile ID that team member user have access to. It is optional, is a string, and must be a valid UUID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["auth","login"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"6a4c9e61-f64c-4d24-8b49-6452759c064e","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"profileId\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"session\": {\n            \"id\": \"\",\n            \"token\": \"\",\n            \"startedAt\": {\n                \"epoch\": 1739455315,\n                \"formatted\": \"13/02/2025 - 11:01:55\"\n            },\n            \"expires\": {\n                \"epoch\": 1739541715,\n                \"formatted\": \"14/02/2025 - 11:01:55\"\n            }\n        },\n        \"user\": {\n            \"name\": \"\",\n            \"email\": \"\",\n            \"enabled\": true,\n            \"isMember\": true,\n            \"document\": \"\",\n            \"role\": null,\n            \"pictureUrl\": null,\n            \"profiles\": [\n                {\n                    \"id\": \"\",\n                    \"label\": \"\",\n                    \"entity\": \"\",\n                    \"entities\": [\n                        {\n                            \"id\": \"\",\n                            \"name\": \"\"\n                        }\n                    ],\n                    \"resources\": [\n                        {\n                            \"label\": \"\",\n                            \"actions\": [\n                                \"\"\n                            ]\n                        }\n                    ],\n                    \"whitelabel\": {\n                        \"id\": \"\",\n                        \"name\": \"\",\n                        \"domain\": \"\",\n                        \"accountsTotal\": 1,\n                        \"usersTotal\": 0\n                    },\n                    \"current\": true\n                }\n            ]\n        },\n        \"settings\": {\n            \"whitelabelId\": \"\",\n            \"slug\": \"\",\n            \"name\": \"\",\n            \"themeColor\": \"\",\n            \"lightLogoUrl\": \"\",\n            \"darkLogoUrl\": \"\",\n            \"lightIconUrl\": \"\",\n            \"darkIconUrl\": \"\",\n            \"backgroundUrl\": \"\",\n            \"linkTitle\": \"\",\n            \"linkUrl\": null\n        }\n    }\n}"},{"id":"7fa77e3c-25fa-469f-b985-9b4febecaa84","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"password\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"bfaf3804-2146-490e-926a-39e7ecad6c01","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"57ab8825-cbe8-41d8-8aa5-3de2191cf1fc","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"0cefe157-18f8-4f08-b4bf-34154f1a09b7","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\",\n  \"password\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/login"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"email\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"a86d4867-59eb-4a4f-8ed5-6e4e71282d5d"},{"name":"auth/recover-password","id":"efd4c4b9-d926-49de-8293-a465bf2ba3fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/recover-password","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>This is the user's email address for password recovery. It is required, is a string and must be a valid email address.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["auth","recover-password"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"4dcccb28-3b4d-4bca-acbf-9a13a6aed002","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"An email was sent with instructions\"\n}"},{"id":"6f2b89f1-13ee-4870-8c51-1b1e60ac3c92","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"email\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"a8298edf-d178-4114-9731-3163c8ce6a98","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"692f862e-0e46-4389-bf38-1c5e00cfbad1","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"efd4c4b9-d926-49de-8293-a465bf2ba3fc"},{"name":"auth/recover-password/confirmation","id":"44489c19-4422-4c4e-98e8-76d0573a6d45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/recover-password/confirmation","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>This is the token ID emailed to your invited team member user. It is required, is a string, and must be a valid token.</td>\n</tr>\n<tr>\n<td>newPassword</td>\n<td>This is the preferred password for your guest team member. It is required, is a string, and cannot exceed 256 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["auth","recover-password","confirmation"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"9d9c1128-5f88-459d-9386-8137cb8a5e08","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"newPassword\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password/confirmation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"New password registered with success\"\n}"},{"id":"02b34acd-15cb-499d-b8a3-a9cc0d3018e3","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"newPassword\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password/confirmation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"newPassword\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"1591895f-e38e-40c9-8c24-a5938391911d","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"newPassword\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password/confirmation"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"12139689-2e7e-467a-ae70-6eaec7c6e4d3","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"required, string\",\n    \"newPassword\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/auth/recover-password/confirmation"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"44489c19-4422-4c4e-98e8-76d0573a6d45"},{"name":"auth/logout","id":"afd18392-2d4a-4641-9070-8309e44b44c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/logout","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>This is the email address of the user who will log out of the platform. It is mandatory, it is a string and must be a valid email address.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["auth","logout"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"4244f624-146f-456b-94e9-668eb93278d4","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Ok\"\n}"},{"id":"4f37fb4a-4741-40c0-b6dc-8d527074811c","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/logout"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5893c10e-2e2b-4730-a665-042d1cd602ab","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/logout"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"b28cc5fa-72f9-484a-a95e-b59a5abffbca","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/logout"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not found\"\n}"},{"id":"722bb2f6-4fc6-478a-8bf1-d74295066349","name":"410 Gone","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/auth/logout"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"afd18392-2d4a-4641-9070-8309e44b44c8"}],"id":"49c7e1f2-7c43-4c3e-b754-7865fc3cdb71","_postman_id":"49c7e1f2-7c43-4c3e-b754-7865fc3cdb71","description":""}],"id":"dd489828-5114-4748-81e5-ff9f3ee38d78","description":"<p>This is the set of endpoints that allows you to manage your team (users, their access profiles and their authentication process on the Omnitax platform).</p>\n","_postman_id":"dd489828-5114-4748-81e5-ff9f3ee38d78"},{"name":"invoices","item":[{"name":"series","item":[{"name":"series","id":"15bb010d-a44a-4121-bc3a-4d256a89fbf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>subsidiaryIds</td>\n<td>This is the list of subsidiaries ids that will have the series registered in exactly the same way in each of them. This is a way to batch register the same serie type in more than one subsidiary at the same time. It is mandatory. Must be an string array containing the valid UUID as a string preceded by the literal \"id\".</td>\n</tr>\n<tr>\n<td>serieNumber</td>\n<td>This is the unique invoice issuance serial number per subsidiary. It is mandatory and must be a string with values ​​in the range 000 to 889 (if the subsidiary has a CNPJ and Model 55 or 65) or 00001 to 49999 (if the subsidiary has a CNPJ and Model 99).</td>\n</tr>\n<tr>\n<td>lastUsedNumber</td>\n<td>This is the last sequential number used in the series, considering that each series can generate sequential numbers in the range from 0 to 999,999,999 (if it is model 55 or 65) and between 0 and 999,999,999,999,999 (if it is model 99). It is optional, it must be a number with a length of 1 to 9 digits (if it is model 55 or 65) and 1 to 15 digits (if it is model 99) and the content entered cannot have been unused or used in another invoice issuance. The platform will automatically generate, based on the last number entered for the respective series, a document number for each invoice issuance request. Therefore, if the series is new, enter zero as the last number used. If it is not entered, the platform will automatically assign zero.</td>\n</tr>\n<tr>\n<td>mod</td>\n<td>This is the code of the tax document model that you want to issue in this series, considering the tax document models provided on the platform. It is required, it must be an string with length 2 and the informed content must be \"55\" (NF-e), \"65\" (NFC-e) and \"99\" (NFS-e).</td>\n</tr>\n<tr>\n<td>tpEmis</td>\n<td>This is the code for the type of issuance allowed in this series, considering the types of issuance available on the platform. It is mandatory, it must be an array of strings with length 1 and the content entered must be \"1\" (normal mode - online), \"6\" or \"7\" (online contingency mode) and \"9\" (offline contingency mode). It is mandatory, it must be a string and the content (1, 6, 7 or 9) must comply with the following rules:  <br />  <br />1) It is forbidden to register \"tpEmis\" equal to 9 for \"mod\" equal to 55, as this document model does not allow this type of issuance.  <br />  <br />2) It is forbidden to register \"tpEmis\" equal to 6 or 7 for \"mod\" equal to 65, as this document model does not allow this type of issuance.  <br />  <br />3) It is forbidden to register \"tpEmis\" equal to 6 or 7 or 9 for \"mod\" equal to 99, as this document model does not allow this type of issuance.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["series"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"e103f463-0cf0-4f7a-a512-62cd68322387","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"subsidiaryIds\": [\n        \"required, string\"\n    ],\n    \"serieNumber\": \"required, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"required, string\",\n    \"tpEmis\": [\n        \"required, string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Serie registered with success\",\n    \"ids\": [\n        \"f398be01-62c1-4248-93db-7d659ab97491\"\n    ]\n}"},{"id":"5b5afeb5-c3b4-4f58-8acc-ad53d7cb0929","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"subsidiaryIds\": [\n        \"required, string\"\n    ],\n    \"serieNumber\": \"required, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"required, string\",\n    \"tpEmis\": [\n        \"required, string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"serieNumber\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"3e8c462a-e243-4470-bcb9-82f7aeefd025","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"subsidiaryIds\": [\n        \"required, string\"\n    ],\n    \"serieNumber\": \"required, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"required, string\",\n    \"tpEmis\": [\n        \"required, string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5c8703f6-9d43-4aa9-89ea-ceae8ad8404f","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"subsidiaryIds\": [\n        \"required, string\"\n    ],\n    \"serieNumber\": \"required, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"required, string\",\n    \"tpEmis\": [\n        \"required, string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"12f2da99-b5a2-4b98-9f88-1fc051d035ae","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"subsidiaryIds\": [\n        \"required, string\"\n    ],\n    \"serieNumber\": \"required, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"required, string\",\n    \"tpEmis\": [\n        \"required, string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"companyId\",\n            \"messages\": [\n                \"Not Found\"\n            ]\n        }\n    ]\n}"},{"id":"38014519-3fc7-408d-a638-1ceed8ed423e","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"subsidiaryIds\": [\n        \"required, string\"\n    ],\n    \"serieNumber\": \"required, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"required, string\",\n    \"tpEmis\": [\n        \"required, string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"serieNumber\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"15bb010d-a44a-4121-bc3a-4d256a89fbf5"},{"name":"series (list)","id":"e11a6d3a-71d2-4f51-be04-465bc92a7024","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series?page=1&limit=50&sort=asc&orderBy=createdAt&accountId=id&companyId=id&subsidiaryId=id&serieNumbers=&tpEmis=&mod=&q=","urlObject":{"protocol":"https","path":["series"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of item per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: createdAt, updatedAt or enabled</p>\n","type":"text/plain"},"key":"orderBy","value":"createdAt"},{"description":{"content":"<p>Filter by all series from account</p>\n","type":"text/plain"},"key":"accountId","value":"id"},{"description":{"content":"<p>Filter by all series from company</p>\n","type":"text/plain"},"key":"companyId","value":"id"},{"description":{"content":"<p>Filter by all series from subsidiary</p>\n","type":"text/plain"},"key":"subsidiaryId","value":"id"},{"description":{"content":"<p>Filter by all series from serieNumber list (eg. 1,2,3)</p>\n","type":"text/plain"},"key":"serieNumbers","value":""},{"description":{"content":"<p>Filter by all series from tpEmis list (eg. 1,9)</p>\n","type":"text/plain"},"key":"tpEmis","value":""},{"description":{"content":"<p>Filter by all series from tpEmis list (eg. 55,65)</p>\n","type":"text/plain"},"key":"mod","value":""},{"description":{"content":"<p>Search by: id, remoteId, federalDocument or serieNumber</p>\n","type":"text/plain"},"key":"q","value":""}],"variable":[]}},"response":[{"id":"aa9cb185-e8ce-4acc-9be4-dcadbc91659c","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/series?page=1&limit=50&sort=asc&orderBy=createdAt&accountId=id&companyId=id&subsidiaryId=id&serieNumbers=&tpEmis=&mod=&q=","protocol":"https","host":["{{api-domain}}"],"path":["series"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: createdAt, updatedAt or enabled"},{"key":"accountId","value":"id","description":"Filter by all series from account"},{"key":"companyId","value":"id","description":"Filter by all series from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all series from subsidiary"},{"key":"serieNumbers","value":"","description":"Filter by all series from serieNumber list (eg. 1,2,3)"},{"key":"tpEmis","value":"","description":"Filter by all series from tpEmis list (eg. 1,9)"},{"key":"mod","value":"","description":"Filter by all series from tpEmis list (eg. 55,65)"},{"key":"q","value":"","description":"Search by: id, remoteId, federalDocument or serieNumber"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"enabled\": true,\n            \"companyId\": \"\",\n            \"subsidiaries\": [\n                \"\"\n            ],\n            \"serieNumber\": \"\",\n            \"lastUsedNumber\": \"\",\n            \"mod\": \"\",\n            \"tpEmis\": [\n                \"\"\n            ],\n            \"transactions\": [\n                \"\"\n            ]\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"2c411fbb-6da8-4781-82d4-b3480cc888ac","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/series?page=1&limit=50&sort=asc&orderBy=createdAt&accountId=id&companyId=id&subsidiaryId=id&serieNumbers=&tpEmis=&mod=&q=","protocol":"https","host":["{{api-domain}}"],"path":["series"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: createdAt, updatedAt or enabled"},{"key":"accountId","value":"id","description":"Filter by all series from account"},{"key":"companyId","value":"id","description":"Filter by all series from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all series from subsidiary"},{"key":"serieNumbers","value":"","description":"Filter by all series from serieNumber list (eg. 1,2,3)"},{"key":"tpEmis","value":"","description":"Filter by all series from tpEmis list (eg. 1,9)"},{"key":"mod","value":"","description":"Filter by all series from tpEmis list (eg. 55,65)"},{"key":"q","value":"","description":"Search by: id, remoteId, federalDocument or serieNumber"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"9fbb3526-9831-4031-94de-8fb3a09190fe","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/series?page=1&limit=50&sort=asc&orderBy=createdAt&accountId=id&companyId=id&subsidiaryId=id&serieNumbers=&tpEmis=&mod=&q=","protocol":"https","host":["{{api-domain}}"],"path":["series"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: createdAt, updatedAt or enabled"},{"key":"accountId","value":"id","description":"Filter by all series from account"},{"key":"companyId","value":"id","description":"Filter by all series from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all series from subsidiary"},{"key":"serieNumbers","value":"","description":"Filter by all series from serieNumber list (eg. 1,2,3)"},{"key":"tpEmis","value":"","description":"Filter by all series from tpEmis list (eg. 1,9)"},{"key":"mod","value":"","description":"Filter by all series from tpEmis list (eg. 55,65)"},{"key":"q","value":"","description":"Search by: id, remoteId, federalDocument or serieNumber"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"e11a6d3a-71d2-4f51-be04-465bc92a7024"},{"name":"series (detail)","id":"68db698f-d0b9-4be1-b92c-89e8b33ddabf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}","urlObject":{"protocol":"https","path":["series","{serieId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"34cc0e19-dfad-4dc4-a446-b5bc59b50694","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": null,\n        \"enabled\": true,\n        \"companyId\": \"\",\n        \"subsidiaries\": [\n            \"\"\n        ],\n        \"serieNumber\": \"\",\n        \"lastUsedNumber\": \"\",\n        \"mod\": \"\",\n        \"tpEmis\": [\n            \"\"\n        ],\n        \"transactions\": [\n            \"\"\n        ]\n    }\n}"},{"id":"f73fe43c-32b9-41c2-b9f6-69e0c7fca932","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"fbc75d18-bba0-493e-898e-9eaebefde54c","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"004e1966-731a-4070-9a1c-673cb99d2b2f","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"68db698f-d0b9-4be1-b92c-89e8b33ddabf"},{"name":"offline contingency","id":"4252a393-bf2d-40ba-a753-67a760e20f52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/offline-contingency/{subsidiaryId}","urlObject":{"protocol":"https","path":["series","offline-contingency","{subsidiaryId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"fa4fdb4c-30c8-476f-b7dc-5e19d27ceff1","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/offline-contingency/{subsidiaryId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"enabled\": true,\n        \"companyId\": \"\",\n        \"subsidiaries\": [\n            \"\"\n        ],\n        \"serieNumber\": \"\",\n        \"lastUsedNumber\": \"\",\n        \"mod\": \"\",\n        \"tpEmis\": [\n            \"\"\n        ],\n        \"transactions\": [\n            \"\"\n        ]\n    }\n}"},{"id":"d9b19fa3-c0ab-4907-ab04-5ced10f62ae2","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/offline-contingency/{subsidiaryId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"4730e9ac-dd60-47a6-9f3a-4b6269ed382a","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/offline-contingency/{subsidiaryId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"720485fc-f116-49f0-ba77-d6b3f21471ca","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/offline-contingency/{subsidiaryId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"4252a393-bf2d-40ba-a753-67a760e20f52"},{"name":"series","id":"29b33523-63f5-4b81-8c6d-fc9e68746493","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series/{serieId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>serieNumber</td>\n<td>This is the unique invoice issuance serial number per subsidiary. It is mandatory and must be a string with values ​​in the range 000 to 889 (if the subsidiary has a CNPJ and Model 55 or 65) or 00001 to 49999 (if the subsidiary has a CNPJ and Model 99).</td>\n</tr>\n<tr>\n<td>lastUsedNumber</td>\n<td>This is the last sequential number used in the series, considering that each series can generate sequential numbers in the range from 0 to 999,999,999 (if it is model 55 or 65) and between 0 and 999,999,999,999,999 (if it is model 99). It is optional, it must be a number with a length of 1 to 9 digits (if it is model 55 or 65) and 1 to 15 digits (if it is model 99) and the content entered cannot have been unused or used in another invoice issuance. The platform will automatically generate, based on the last number entered for the respective series, a document number for each invoice issuance request. Therefore, if the series is new, enter zero as the last number used. If it is not entered, the platform will automatically assign zero.</td>\n</tr>\n<tr>\n<td>mod</td>\n<td>This is the code of the tax document model that you want to issue in this series, considering the tax document models provided on the platform. It is required, it must be an string with length 2 and the informed content must be \"55\" (NF-e), \"65\" (NFC-e) and \"99\" (NFS-e).</td>\n</tr>\n<tr>\n<td>tpEmis</td>\n<td>This is the code for the type of issuance allowed in this series, considering the types of issuance available on the platform. It is mandatory, it must be an array of strings with length 1 and the content entered must be \"1\" (normal mode - online), \"6\" or \"7\" (online contingency mode) and \"9\" (offline contingency mode). It is mandatory, it must be a string and the content (1, 6, 7 or 9) must comply with the following rules:  <br />  <br />1) It is forbidden to register \"tpEmis\" equal to 9 for \"mod\" equal to 55, as this document model does not allow this type of issuance.  <br />  <br />2) It is forbidden to register \"tpEmis\" equal to 6 or 7 for \"mod\" equal to 65, as this document model does not allow this type of issuance.  <br />  <br />3) It is forbidden to register \"tpEmis\" equal to 6 or 7 or 9 for \"mod\" equal to 99, as this document model does not allow this type of issuance.</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether your series is enabled to receive and process requests. It is optional, must be a boolean and the content provided must be true or false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["series","{serieId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"7e37a5af-8540-4ce3-bcf5-3275580d4678","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serieNumber\": \"optional, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"optional, string\",\n    \"tpEmis\": [\n        \"optional, string\"\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series/{serieId}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Serie updated successfully\"\n}"},{"id":"b5c94b5e-aed9-4c5d-919f-5d3bb27ec6c5","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serieNumber\": \"optional, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"optional, string\",\n    \"tpEmis\": [\n        \"optional, string\"\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series/{serieId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"a975e025-b7fc-48f1-90cb-3fcc21edc81c","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serieNumber\": \"optional, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"optional, string\",\n    \"tpEmis\": [\n        \"optional, string\"\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series/{serieId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"f131218a-a56c-461c-b48e-22380359ee96","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serieNumber\": \"optional, string\",\n    \"lastUsedNumber\": \"optional, number\",\n    \"mod\": \"optional, string\",\n    \"tpEmis\": [\n        \"optional, string\"\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/series/{serieId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"29b33523-63f5-4b81-8c6d-fc9e68746493"},{"name":"series","id":"3c17e6e4-0447-437a-8d86-ef1f4ed5ce97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}","urlObject":{"protocol":"https","path":["series","{serieId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"680bec25-e9f9-4949-9b5c-c86df9b63c90","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Serie removed successfully\"\n}"},{"id":"dc9ebd93-d54b-4342-a03a-314bb64451c5","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5dd3f056-328d-4f60-bece-153022ae2c0d","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"1676bcdc-a825-4696-bbff-655b0b802763","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/series/{serieId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"3c17e6e4-0447-437a-8d86-ef1f4ed5ce97"}],"id":"aca54f42-1a05-46a0-b0b9-ea1d2de608f0","description":"<p>A mandatory prerequisite for taxpayers accredited as issuers of electronic tax documents is to control such issuances by \"subsidiary\", by \"series\" and, in some cases, by \"model\" of invoice. Taxpayers who wish to issue an electronic tax document through the application developed by themselves or acquired from companies in the market must use, in each subsidiary with a CNPJ, the series range 000-889 (model 55 or 65) and 00001-49999 (model 99). Each of the series will have the potential to issue sequentially from 1 to 999.999.999 invoices (model 55 or 65) or between 0 and 999.999.999.999.999 invoices (model 99) and must be restarted when this limit is reached. Contabilone's software platform allows its clients to manage document issuance series ranges within a previously selected subsidiary.</p>\n","_postman_id":"aca54f42-1a05-46a0-b0b9-ea1d2de608f0"},{"name":"terminals","item":[{"name":"terminals","id":"29ed00f5-021d-47cf-b6ec-61cc2bcd6d31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>subsidiaryId</td>\n<td>This is the ID of the subsidiary where the terminal will be registered. It is mandatory, it must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>terminalSerialNumber</td>\n<td>This is the manufacturing serial number of the equipment used as a sales terminal. If the equipment does not have a manufacturing series, inform the internal asset control code or some other code that uniquely identifies the equipment in your company. It is mandatory, it must be a string with a length from 1 to 20 characters.</td>\n</tr>\n<tr>\n<td>cashierNumber</td>\n<td>This is the cashier number of the subsidiary where the equipment is used as a sales terminal. It is mandatory, it must be a string with length 3 and it must be unique per subsidiary.</td>\n</tr>\n<tr>\n<td>contingencySerieId</td>\n<td>This is the ID of the contingency serie to which the terminal will be linked. It must be a string containing a valid UUID. This serie is used for offline contingency issuance in case of internet connection failure. Without this information, it is not possible to issue an offline contingency. It is optional (but highly recommended) for all sales terminals where offline contingencies are allowed.</td>\n</tr>\n<tr>\n<td>ip</td>\n<td>This is the \"IP\" address of the equipment used as a sales terminal. It is optional, it must be a string and have a maximum length of 20 characters.</td>\n</tr>\n<tr>\n<td>agentPort</td>\n<td>This is the port number that the agent will use to launch on the machine it is running on. It is optional, it must be a number.</td>\n</tr>\n<tr>\n<td>cStatSwitchable</td>\n<td>This list stores the cStat codes for the Agent to do offline contingency switching. It is optional, your items ​​must be of type string.</td>\n</tr>\n<tr>\n<td>invoiceTimeoutSeconds</td>\n<td>This is the timeout setting for the invoice issuance and tax calculation library (Agent SDK) installed on the sales terminal. The configured value will determine how long the library will wait for an API response before switching to its internal offline fallback process. It is mandatory and must be a number (which will be understood as seconds of minutes) with values ​​between 25 and 60.</td>\n</tr>\n<tr>\n<td>publishers[].<strong>priority</strong></td>\n<td>This is the mechanism to prioritize the type of invoice issuer for the subsidiary's sales terminal. It is conditional and should only be informed together with the \"publishers[].type\" field. The format is numeric, respecting the order of possible publishers (1 and 2). If not informed, the default publishers defined by the platform will be: 1 - NFCE_ONLINE; 2 - NFCE_OFFLINE (only if there is a contingency series linked to the terminal).</td>\n</tr>\n<tr>\n<td>publishers[].<strong>type</strong></td>\n<td>This is the type of invoice issuer for the subsidiary's sales terminal. It is conditional and should only be informed together with the \"publishers[].priority\" field. The format is string, respecting the order of possible publishers (NFCE_ONLINE, NFCE_OFFLINE). If not informed, the default publishers defined by the platform will be: NFCE_ONLINE; NFCE_OFFLINE (only if there is a contingency series linked to the terminal).</td>\n</tr>\n<tr>\n<td>settingIgnore</td>\n<td>This mechanism allows you to determine whether or not the terminal is subject to scheduled automated updates by settings. If you select \"false\" or do not specify, it means that the terminal is subject to scheduled automated updates by settings. If you select \"true,\" it means that the terminal will not be affected by scheduled automated updates by settings. It is a boolean and optional.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["terminals"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"9471dd7a-0070-4d67-8760-1f51f9df395c","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subsidiaryId\": \"required, string\",\n    \"terminalSerialNumber\": \"required, string\",\n    \"cashierNumber\": \"required, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"ip\": \"optional, string\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"required, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api-homologation.omnitax.ai/terminals"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Terminal registered with success\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"3b4b135f-5242-4f01-b446-5ec9927648a4","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subsidiaryId\": \"required, string\",\n    \"terminalSerialNumber\": \"required, string\",\n    \"cashierNumber\": \"required, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"ip\": \"optional, string\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"required, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"cashierNumber\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"e85e646b-8f1c-40da-872a-520a2076cc9f","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subsidiaryId\": \"required, string\",\n    \"terminalSerialNumber\": \"required, string\",\n    \"cashierNumber\": \"required, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"ip\": \"optional, string\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"required, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"90422072-a09d-4849-a6d1-562bf4555894","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subsidiaryId\": \"required, string\",\n    \"terminalSerialNumber\": \"required, string\",\n    \"cashierNumber\": \"required, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"ip\": \"optional, string\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"required, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"f182f52d-7c2c-4a9a-86bf-cba48cdbea40","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subsidiaryId\": \"required, string\",\n    \"terminalSerialNumber\": \"required, string\",\n    \"cashierNumber\": \"required, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"ip\": \"optional, string\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"required, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"subsidiaryId\",\n            \"messages\": [\n                \"Not Found\"\n            ]\n        }\n    ]\n}"},{"id":"329b13c1-8fb6-435c-811c-b0ea0479e1e3","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subsidiaryId\": \"required, string\",\n    \"terminalSerialNumber\": \"required, string\",\n    \"cashierNumber\": \"required, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"ip\": \"optional, string\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"required, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"terminalSerialNumber\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"29ed00f5-021d-47cf-b6ec-61cc2bcd6d31"},{"name":"terminals (list)","id":"b5579f97-56ab-4b98-b802-0631aabc3560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals?page=1&limit=50&sort=asc&orderBy=&accountId=id&companyId=id&subsidiaryId=id&q=","urlObject":{"protocol":"https","path":["terminals"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of item per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: createdAt, updatedAt or enabled</p>\n","type":"text/plain"},"key":"orderBy","value":""},{"description":{"content":"<p>Filter by all terminals from account</p>\n","type":"text/plain"},"key":"accountId","value":"id"},{"description":{"content":"<p>Filter by all terminals from company</p>\n","type":"text/plain"},"key":"companyId","value":"id"},{"description":{"content":"<p>Filter by all terminals from subsidiary</p>\n","type":"text/plain"},"key":"subsidiaryId","value":"id"},{"description":{"content":"<p>Search by: id, remoteId, federalDocument, terminalSerialNumber or cashierNumber</p>\n","type":"text/plain"},"key":"q","value":""}],"variable":[]}},"response":[{"id":"4637a07e-821c-41d6-9972-702808be667b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/terminals?page=1&limit=50&sort=asc&orderBy=&accountId=id&companyId=id&subsidiaryId=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["terminals"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"","description":"Order by: createdAt, updatedAt or enabled"},{"key":"accountId","value":"id","description":"Filter by all terminals from account"},{"key":"companyId","value":"id","description":"Filter by all terminals from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all terminals from subsidiary"},{"key":"q","value":"","description":"Search by: id, remoteId, federalDocument, terminalSerialNumber or cashierNumber"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": \"\",\n            \"enabled\": true,\n            \"transactions\": [],\n            \"createdAt\": {\n                \"epoch\": 1,\n                \"formatted\": \"\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1,\n                \"formatted\": \"\"\n            },\n            \"contingencySerie\": {\n                \"id\": \"\",\n                \"serieNumber\": \"\",\n                \"lastUsedNumber\": 0,\n                \"mod\": [\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    }\n                ],\n                \"tpEmis\": [\n                    {\n                        \"code\": \"\",\n                        \"description\": \"\"\n                    }\n                ],\n                \"enabled\": true,\n                \"createdAt\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                }\n            },\n            \"subsidiary\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": \"\",\n                \"enabled\": true,\n                \"transactions\": [\n                    \"L\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                },\n                \"identification\": {\n                    \"federalDocument\": \"\",\n                    \"xNome\": \"\",\n                    \"xFant\": \"\",\n                    \"nire\": \"\",\n                    \"email\": \"\",\n                    \"fone\": \"\",\n                    \"website\": \"\",\n                    \"openingDate\": {\n                        \"epoch\": 1,\n                        \"formatted\": \"\"\n                    },\n                    \"closingDate\": {\n                        \"epoch\": 1,\n                        \"formatted\": \"\"\n                    },\n                    \"headquarters\": true\n                },\n                \"address\": {\n                    \"cep\": \"25685330\",\n                    \"xLgr\": \"\",\n                    \"nro\": \"\",\n                    \"xCpl\": \"\",\n                    \"xBairro\": \"\",\n                    \"cMun\": \"\",\n                    \"xMun\": \"\",\n                    \"cUF\": \"\",\n                    \"xUF\": \"\",\n                    \"UF\": \"\",\n                    \"Pais\": \"\",\n                    \"cPais\": \"\",\n                    \"xPais\": \"\"\n                },\n                \"company\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": \"\",\n                    \"enabled\": true,\n                    \"transactions\": [\n                        \"\"\n                    ],\n                    \"createdAt\": {\n                        \"epoch\": 1,\n                        \"formatted\": \"\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1,\n                        \"formatted\": \"\"\n                    },\n                    \"federalDocument\": \"\",\n                    \"name\": \"\",\n                    \"subsidiariesTotal\": 1,\n                    \"usersTotal\": 1,\n                    \"account\": {\n                        \"id\": \"\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"\",\n                        \"enabled\": true,\n                        \"transactions\": [\n                            \"\"\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1,\n                            \"formatted\": \"\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1,\n                            \"formatted\": \"\"\n                        },\n                        \"name\": \"\",\n                        \"companiesTotal\": 1,\n                        \"usersTotal\": 1,\n                        \"whitelabel\": {\n                            \"id\": \"\",\n                            \"requestId\": \"\",\n                            \"remoteId\": \"\",\n                            \"enabled\": true,\n                            \"transactions\": [\n                                \"\"\n                            ],\n                            \"createdAt\": {\n                                \"epoch\": 1,\n                                \"formatted\": \"\"\n                            },\n                            \"updatedAt\": {\n                                \"epoch\": 1,\n                                \"formatted\": \"\"\n                            },\n                            \"name\": \"\",\n                            \"domain\": \"\",\n                            \"accountsTotal\": 1,\n                            \"usersTotal\": 1\n                        }\n                    }\n                }\n            },\n            \"terminalSerialNumber\": \"\",\n            \"cashierNumber\": \"\",\n            \"ip\": \"\",\n            \"retryTaskPeriod\": 1,\n            \"invoiceTimeoutSeconds\": 1,\n            \"invoiceTimeoutMilliseconds\": 1,\n            \"agentPort\": 1,\n            \"publishers\": [\n                {\n                    \"type\": \"\",\n                    \"priority\": 1\n                }\n            ],\n            \"cStatSwitchable\": [\n                \"\"\n            ]\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"ed61d607-af39-4144-9c48-2b93fbfb53b5","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/terminals?page=1&limit=50&sort=asc&orderBy=&accountId=id&companyId=id&subsidiaryId=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["terminals"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"","description":"Order by: createdAt, updatedAt or enabled"},{"key":"accountId","value":"id","description":"Filter by all terminals from account"},{"key":"companyId","value":"id","description":"Filter by all terminals from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all terminals from subsidiary"},{"key":"q","value":"","description":"Search by: id, remoteId, federalDocument, terminalSerialNumber or cashierNumber"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5c1b4bef-f51e-40d8-b276-6b783f041f25","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/terminals?page=1&limit=50&sort=asc&orderBy=&accountId=id&companyId=id&subsidiaryId=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["terminals"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"","description":"Order by: createdAt, updatedAt or enabled"},{"key":"accountId","value":"id","description":"Filter by all terminals from account"},{"key":"companyId","value":"id","description":"Filter by all terminals from company"},{"key":"subsidiaryId","value":"id","description":"Filter by all terminals from subsidiary"},{"key":"q","value":"","description":"Search by: id, remoteId, federalDocument, terminalSerialNumber or cashierNumber"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"b5579f97-56ab-4b98-b802-0631aabc3560"},{"name":"terminals (detail)","id":"c4616e02-1ba1-4333-b322-fc49bf1226c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}","urlObject":{"protocol":"https","path":["terminals","{terminalId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"7bce66d7-6b22-468d-9b02-89a5ef852470","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": \"\",\n        \"enabled\": true,\n        \"transactions\": [],\n        \"createdAt\": {\n            \"epoch\": 1,\n            \"formatted\": \"\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1,\n            \"formatted\": \"\"\n        },\n        \"contingencySerie\": {\n            \"id\": \"\",\n            \"serieNumber\": \"\",\n            \"lastUsedNumber\": 0,\n            \"mod\": [\n                {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                }\n            ],\n            \"tpEmis\": [\n                {\n                    \"code\": \"\",\n                    \"description\": \"\"\n                }\n            ],\n            \"enabled\": true,\n            \"createdAt\": {\n                \"epoch\": 1,\n                \"formatted\": \"\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1,\n                \"formatted\": \"\"\n            }\n        },\n        \"subsidiary\": {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": \"\",\n            \"enabled\": true,\n            \"transactions\": [\n                \"L\"\n            ],\n            \"createdAt\": {\n                \"epoch\": 1,\n                \"formatted\": \"\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1,\n                \"formatted\": \"\"\n            },\n            \"identification\": {\n                \"federalDocument\": \"\",\n                \"xNome\": \"\",\n                \"xFant\": \"\",\n                \"nire\": \"\",\n                \"email\": \"\",\n                \"fone\": \"\",\n                \"website\": \"\",\n                \"openingDate\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                },\n                \"closingDate\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                },\n                \"headquarters\": true\n            },\n            \"address\": {\n                \"cep\": \"25685330\",\n                \"xLgr\": \"\",\n                \"nro\": \"\",\n                \"xCpl\": \"\",\n                \"xBairro\": \"\",\n                \"cMun\": \"\",\n                \"xMun\": \"\",\n                \"cUF\": \"\",\n                \"xUF\": \"\",\n                \"UF\": \"\",\n                \"Pais\": \"\",\n                \"cPais\": \"\",\n                \"xPais\": \"\"\n            },\n            \"company\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": \"\",\n                \"enabled\": true,\n                \"transactions\": [\n                    \"\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1,\n                    \"formatted\": \"\"\n                },\n                \"federalDocument\": \"\",\n                \"name\": \"\",\n                \"subsidiariesTotal\": 1,\n                \"usersTotal\": 1,\n                \"account\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": \"\",\n                    \"enabled\": true,\n                    \"transactions\": [\n                        \"\"\n                    ],\n                    \"createdAt\": {\n                        \"epoch\": 1,\n                        \"formatted\": \"\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1,\n                        \"formatted\": \"\"\n                    },\n                    \"name\": \"\",\n                    \"companiesTotal\": 1,\n                    \"usersTotal\": 1,\n                    \"whitelabel\": {\n                        \"id\": \"\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"\",\n                        \"enabled\": true,\n                        \"transactions\": [\n                            \"\"\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1,\n                            \"formatted\": \"\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1,\n                            \"formatted\": \"\"\n                        },\n                        \"name\": \"\",\n                        \"domain\": \"\",\n                        \"accountsTotal\": 1,\n                        \"usersTotal\": 1\n                    }\n                }\n            }\n        },\n        \"terminalSerialNumber\": \"\",\n        \"cashierNumber\": \"\",\n        \"ip\": \"\",\n        \"retryTaskPeriod\": 1,\n        \"invoiceTimeoutSeconds\": 1,\n        \"invoiceTimeoutMilliseconds\": 1,\n        \"agentPort\": 1,\n        \"publishers\": [\n            {\n                \"type\": \"\",\n                \"priority\": 1\n            }\n        ],\n        \"cStatSwitchable\": [\n            \"\"\n        ]\n    }\n}"},{"id":"d40df6cb-c496-4562-8ce8-2ccdef239eae","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"eb3b36a5-2fb1-47af-84fc-f1dc8d72ae0a","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"c8c5bc45-7e34-4e7a-8840-d00d837f42b4","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"c4616e02-1ba1-4333-b322-fc49bf1226c0"},{"name":"terminals","id":"f965671f-bf1a-4142-b142-df88be2cdc76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>terminalSerialNumber</td>\n<td>This is the manufacturing serial number of the equipment used as a sales terminal. If the equipment does not have a manufacturing series, inform the internal asset control code or some other code that uniquely identifies the equipment in your company. It is mandatory, it must be a string with a length from 1 to 20 characters.</td>\n</tr>\n<tr>\n<td>cashierNumber</td>\n<td>This is the cashier number of the subsidiary where the equipment is used as a sales terminal. It is mandatory, it must be a string with length 3 and it must be unique per subsidiary.</td>\n</tr>\n<tr>\n<td>contingencySerieId</td>\n<td>This is the ID of the contingency serie to which the terminal will be linked. It must be a string containing a valid UUID. This serie is used for offline contingency issuance in case of internet connection failure. Without this information, it is not possible to issue an offline contingency. It is optional (but highly recommended) for all sales terminals where offline contingencies are allowed.</td>\n</tr>\n<tr>\n<td>ip</td>\n<td>This is the \"IP\" address of the equipment used as a sales terminal. It is optional, it must be a string and have a maximum length of 20 characters.</td>\n</tr>\n<tr>\n<td>agentPort</td>\n<td>This is the port number that the agent will use to launch on the machine it is running on. It is optional, it must be a number.</td>\n</tr>\n<tr>\n<td>cStatSwitchable</td>\n<td>This list stores the cStat codes for the Agent to do offline contingency switching. It is optional, your items ​​must be of type string.</td>\n</tr>\n<tr>\n<td>invoiceTimeoutSeconds</td>\n<td>This is the timeout setting for the invoice issuance and tax calculation library (Agent SDK) installed on the sales terminal. The configured value will determine how long the library will wait for an API response before switching to its internal offline fallback process. It is mandatory and must be a number (which will be understood as seconds of minutes) with values ​​between 25 and 60.</td>\n</tr>\n<tr>\n<td>publishers[].<strong>priority</strong></td>\n<td>This is the mechanism to prioritize the type of invoice issuer for the subsidiary's sales terminal. It is conditional and should only be informed together with the \"publishers[].type\" field. The format is numeric, respecting the order of possible publishers (1 and 2). If not informed, the default publishers defined by the platform will be: 1 - NFCE_ONLINE; 2 - NFCE_OFFLINE (only if there is a contingency series linked to the terminal).</td>\n</tr>\n<tr>\n<td>publishers[].<strong>type</strong></td>\n<td>This is the type of invoice issuer for the subsidiary's sales terminal. It is conditional and should only be informed together with the \"publishers[].priority\" field. The format is string, respecting the order of possible publishers (NFCE_ONLINE, NFCE_OFFLINE). If not informed, the default publishers defined by the platform will be: NFCE_ONLINE; NFCE_OFFLINE (only if there is a contingency series linked to the terminal).</td>\n</tr>\n<tr>\n<td>settingIgnore</td>\n<td>This mechanism allows you to determine whether or not the terminal is subject to scheduled automated updates by settings. If you select \"false\" or do not specify, it means that the terminal is subject to scheduled automated updates by settings. If you select \"true,\" it means that the terminal will not be affected by scheduled automated updates by settings. It is a boolean and optional.</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether your terminal is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["terminals","{terminalId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"ece87205-4b30-4353-ae8b-fd04dc94a536","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"terminalSerialNumber\": \"optional, string\",\n    \"cashierNumber\": \"optional, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"ip\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"optional, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api-homologation.omnitax.ai/terminals/{terminalId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Terminal updated successfully\"\n}"},{"id":"11266a13-53aa-4520-aec5-b7bb861d9fa7","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"terminalSerialNumber\": \"optional, string\",\n    \"cashierNumber\": \"optional, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"ip\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"optional, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"7637a268-11e0-460c-9176-4abeb6636958","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"terminalSerialNumber\": \"optional, string\",\n    \"cashierNumber\": \"optional, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"ip\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"optional, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"9c82b691-e7fe-43cc-80d3-80aeec103225","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"terminalSerialNumber\": \"optional, string\",\n    \"cashierNumber\": \"optional, string\",\n    \"contingencySerieId\": \"optional, string\",\n    \"ip\": \"optional, string\",\n    \"settingIgnore\": \"boolean, optional\",\n    \"agentPort\": \"optional, string\",\n    \"cStatSwitchable\": [\n        \"optional, string\"\n    ],\n    \"invoiceTimeoutSeconds\": \"optional, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFCE_ONLINE\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFCE_OFFLINE\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"f965671f-bf1a-4142-b142-df88be2cdc76"},{"name":"terminals","id":"012f3267-6b8a-4d69-9f02-855d341a0313","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}","urlObject":{"protocol":"https","path":["terminals","{terminalId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"33066d3f-8ee6-4cf5-a5ec-b56f43cfbe9d","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Terminal removed successfully\"\n}"},{"id":"36981d0e-2d42-42a6-960a-fe88539a1294","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"c250957c-f937-4255-b741-0086333453e4","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"subsidiaryId\": \"required, string\",\n    \"terminalSerialNumber\": \"required, string\",\n    \"cashierNumber\": \"required, string\",\n    \"contingencySerieNumber\": \"optional, string\",\n    \"ip\": \"optional, string\",\n    \"updateVersion\": \"required, boolean\",\n    \"invoiceTimeoutSeconds\": \"required, number\",\n    \"publishers\": [\n        {\n            \"priority\": 1,\n            \"type\": \"NFC-e Online\"\n        },\n        {\n            \"priority\": 2,\n            \"type\": \"NFC-e Offline\"\n        },\n        {\n            \"priority\": 3,\n            \"type\": \"CF-e\"\n        }\n    ],\n    \"devices\": [\n        {\n            \"deviceSerialNumber\": \"conditional, string\",\n            \"ip\": \"optional, string\",\n            \"model\": \"conditional, string\",\n            \"activationCode\": \"conditional, string\",\n            \"cfeLayoutVersion\": \"conditional, string\",\n            \"mfeDriverInstallPath\": \"conditional, string\",\n            \"signAC\": \"conditional, string\"\n        }\n    ],\n    \"enabled\": \"optional, boolean\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"ea1fd7ac-b273-44b4-b5a8-c65a29d31d74","name":"410 Gone","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/terminals/{terminalId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"012f3267-6b8a-4d69-9f02-855d341a0313"}],"id":"76067014-b3e0-4332-95e0-5d3f3cdd9a14","description":"<p>Users will be able to register terminals and sales devices in previously selected branches and their exclusivity will be determined by “cashierNumber”. It is not mandatory to register sales terminals on the platform, but it is only possible to use fully offline tax issuance and calculation mechanisms (Agent SDK) if there are terminals registered on the platform. Although it is not mandatory by the API, all terminals registered in branches must report “contingencySerieId”. This is necessary because offline contingent issuance is allowed in all states and the contingent tax issuance series must be registered on the terminal and be unique.</p>\n","_postman_id":"76067014-b3e0-4332-95e0-5d3f3cdd9a14"},{"name":"invoice events","item":[{"name":"authorization","id":"d95f16a6-a15e-43d1-99b4-c2987546bed8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices/event/{tpEvento}","description":"<p>For \"authorization\" of an invoice you must send event code equal to \"999998\" in this endpoint. The document model must be informed in the body of the request payload.</p>\n<p>The invoice models currently supported by the platform have, in all, approximately 350 fields defined by the Brazilian public administration, many of them only necessary to detail specific operations, such as vehicles, medicines, firearms, fuels and foreign trade operations.</p>\n<p>In the table below we will only document the fields that correspond to more than 99% of the most common operations carried out by Brazilian subsidiaries, while in the requisition payload model we will present all the fields to facilitate the assembly of your requisition. Even the fields reported in the table below can be configured as a business rule to further reduce the request payload and, consequently, your integration effort.</p>\n<p>If you want to know a little more about the Brazilian invoice model, visit <a href=\"https://www.nfe.fazenda.gov.br/portal/principal.aspx\">https://www.nfe.fazenda.gov.br/portal/principal.aspx</a> and: <a href=\"https://dfe-portal.svrs.rs.gov\">https://dfe-portal.svrs.rs.gov</a>.</p>\n<p>If you still have questions about how to assemble your request payload with minimal integration effort, please contact our support team at <a href=\"https://mailto:suporte@contabilone.com\">suporte@contabilone.com</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountId</td>\n<td>This is the account where the subsidiary that will authorize the invoice is registered. It is mandatory only if you use the whitelabel token instead of the account token in the API call. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.ide.<strong>mod</strong></td>\n<td>This is the code of the tax document template you want to issue an invoice, considering the tax document templates available on the platform. It is mandatory, it must be a string with length 2 and the informed content must be \"55\" (NF-e), \"65\" (NFC-e), \"57\" (CT-e), \"67\" (CT -e OS) and \"99\" (NFS-e).</td>\n</tr>\n<tr>\n<td>NFe.infNFe.ide.<strong>serie</strong></td>\n<td>This is the invoice issue serial number. It is mandatory for the issuance of the invoice to be successful, but it is not mandatory to inform in the payload of the request. If not informed, the platform will use the first series registered in the subsidiary for the tax document model informed in the payload. If informed, the platform will use the series declared in the payload. It must be a serial number previously registered with the subsidiary and must be a string.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.ide.<strong>natOp</strong></td>\n<td>This is the nature of the invoice operation, i.e. if the invoice is documenting a sale, transfer, return, etc. operation. It is required and must be a string. If you use the rules engine to calculate taxes on your invoice, try to inform the nature of the operation in the same way you used it when registering your rules.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.ide.<strong>tpNF</strong></td>\n<td>This attribute indicates whether the invoice represents an Inbound (0 - Inbound) or outbound (1 - Outbound) operation. It is required and must be a string. If you use the rules engine to calculate taxes on your invoice, try to inform the type of operation in the same way you used it when registering your rules.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.ide.<strong>idDest</strong></td>\n<td>This attribute indicates whether the invoice represents an operation within the state of the federation (1 - Internal Operation), operation between two states of the federation (2 - Interstate Operation) or operation between countries (3 - Foreign Trade Operation). It is required and must be a string. If you use the rules engine to calculate taxes on your invoice, try to inform the destination of the operation in the same way you used it when registering your rules.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.ide.<strong>indFinal</strong></td>\n<td>This attribute indicates whether the invoice represents an operation carried out with the recipient as a final consumer (1 - Final Consumer) or not (0 - Normal Consumer). It is required and must be a string. If you use the rules engine to calculate taxes on your invoice, try to inform the type of recipient of the operation in the same way you used it when registering your rules.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.emit.<strong>CNPJ</strong></td>\n<td>This is the only federal document of the subsidiary that intends to issue the invoice. In Brazil, the sole document of a subsidiary is the CNPJ. It is mandatory, it must be from a subsidiary registered on the platform and it must be a string.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.emit.<strong>IE</strong></td>\n<td>This is the registration document as a state taxpayer of the subsidiary that intends to issue the invoice. It is mandatory, it must be from a subsidiary registered on the platform and it must be a string.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.<strong>CNPJ</strong></td>\n<td>This is the recipient's only federal document reported on the invoice, if it is a company. In Brazil, the only document of a company is the CNPJ. It is mandatory only if you are going to issue an invoice with a company as recipient and it must be a string.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.<strong>CPF</strong></td>\n<td>This is the recipient's only federal document reported on the invoice, if he is a person. In Brazil, the only document of a person is the CPF. It is mandatory only if you are going to issue a model 55 invoice with a person as recipient and it must be a string. If the model is 65, informing the obligation to inform the recipient depends on (i) the recipient's desire or (ii) the amount of the invoice, which may change in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.<strong>idEstrangeiro</strong></td>\n<td>This is the recipient's document informed on the invoice, if he is a foreign person. It is mandatory only if you are going to issue a model 55 invoice with a foreign person as recipient and it must be a string. If the model is 65, informing the obligation to inform the recipient depends on (i) the recipient's desire or (ii) the amount of the invoice, which may change in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.<strong>xNome</strong></td>\n<td>This is the recipient's name on the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a string. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's desire or (ii) the amount of the invoice, which can change in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.<strong>indIEDest</strong></td>\n<td>This is the recipient's state taxpayer indicator reported on the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a string. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's desire or (ii) the amount of the invoice, which can change in each state of the federation. Valid values are: \"1\" (recipient is state registered), \"2\" (recipient is Exempt from state registration, and \"9\" (recipient is not a state taxpayer).</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.enderDest.<strong>xLgr</strong></td>\n<td>This is the recipient address stated on the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a string with a length between 1 and 60 characters. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's will or (ii) the amount of the invoice, which may vary in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.enderDest.<strong>nro</strong></td>\n<td>This is the recipient address number given on the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a string with a length between 1 and 60 characters. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's will or (ii) the amount of the invoice, which may vary in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.enderDest.<strong>xBairro</strong></td>\n<td>This is the neighborhood of the address of the recipient informed in the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a string with a length between 2 and 60 characters. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's will or (ii) the amount of the invoice, which may vary in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.enderDest.<strong>cMun</strong></td>\n<td>This is the county code for the recipient's address entered on the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a 7-digit string. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's will or (ii) the amount of the invoice, which may vary in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.enderDest.<strong>xMun</strong></td>\n<td>This is the county name of the recipient's address given on the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a string with a length between 2 and 60 characters. Inform literal \"EXTERIOR\" if the operation is foreign trade. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's will or (ii) the amount of the invoice, which may vary in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.dest.enderDest.<strong>UF</strong></td>\n<td>This is the abbreviation of the state of the address of the recipient informed on the invoice. It is mandatory only if you are going to issue a model 55 invoice and it must be a 2-character string. Inform literal \"EX\" if the operation is foreign trade. If the model is 65, the obligation to inform the recipient depends on (i) the recipient's will or (ii) the amount of the invoice, which may vary in each state of the federation.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>finalidadeEmit</strong></td>\n<td>This is the origin code of the product declared on the invoice from the point of view of the person issuing an invoice. As an example, it serves to inform whether the declared product was manufactured by the issuer (sale) or acquired from third parties (resale). It's optional, but if declared, it must be a string. If you use the rules engine to calculate taxes on your invoice, try to enter the purpose code in the same way you used it when registering your rules. You can use your own code or use the codes predefined by Contabilone in GET/tax-infos/name?page=1&amp;limit=100&amp;name=<strong>finalidade</strong>.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>finalidadeDest</strong></td>\n<td>This is the origin code of the product declared on the invoice from the point of view of the recipient of the invoice. As an example, it serves to inform if the declared product was acquired by the recipient for resale, fixed assets, own consumption, etc. It's optional, but if declared, it must be a string. If you use the rules engine to calculate taxes on your invoice, try to enter the purpose code in the same way you used it when registering your rules. You can use your own code or use the codes predefined by Contabilone in GET/tax-infos/name?page=1&amp;limit=100&amp;name=<strong>finalidade</strong>.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>cProd</strong></td>\n<td>This is the unique identification code of the product declared on the invoice from the point of view of the person issuing the invoice. It is required and must be a string with a length between 1 and 60.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>xProd</strong></td>\n<td>This is the description that uniquely identifies the product declared on the invoice from the point of view of who is issuing the invoice. It is required and must be a string with a length between 1 and 120.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>NCM</strong></td>\n<td>This is the mercosur common nomenclature code applicable to the product declared on the invoice from the point of view of who is issuing the invoice. It is mandatory and must be a string with length of length 2 or 8.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>cEAN</strong></td>\n<td>This is the Global Trade Item Number - GTIN code (formerly EAN code or barcode) of the product declared on the invoice from the point of view of the person issuing the invoice. If there is no GTIN, inform literal “SEM GTIN”. It is mandatory and must be a string in lengths 8, 12, 13 and 14.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>uCom</strong></td>\n<td>This is the acronym of the commercial unit of the product declared in the invoice from the point of view of who is issuing an invoice. It is required and must be a string of length 1 to 6.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>qCom</strong></td>\n<td>This is the commercial quantity of the product declared on the invoice from the point of view of the person issuing the invoice. It is mandatory and must be a string of length from 1 to 11 integers with up to 4 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>vUnCom</strong></td>\n<td>This is the commercial unit value of the product declared on the invoice from the point of view of the person issuing the invoice. It is mandatory and must be a string of length from 1 to 11 integers with up to 10 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>cEANTrib</strong></td>\n<td>This is the taxable Global Trade Item Number - GTIN (formerly EAN code or barcode) code of the product declared on the invoice from the point of view of the person issuing an invoice. If there is no GTIN, inform literal “SEM GTIN”. It is mandatory and must be a string in lengths 8, 12, 13 and 14.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>uTrib</strong></td>\n<td>This is the abbreviation of the taxable unit of the product declared in the invoice from the point of view of who is issuing an invoice. It is required and must be a string of length 1 to 6.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>qTrib</strong></td>\n<td>This is the taxable amount of the product declared on the invoice from the point of view of the person issuing the invoice. It is mandatory and must be a string of length from 1 to 11 integers with up to 4 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>vUnTrib</strong></td>\n<td>This is the taxable unit value of the product declared on the invoice from the point of view of the person issuing the invoice. It is mandatory and must be a string of length from 1 to 11 integers with up to 10 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>vProd</strong></td>\n<td>It is the total commercial value of the product, resulting from the multiplication of the commercial unit value (vUnCom) by the commercial quantity (qCom). It is mandatory and must be a string of length from 1 to 13 integers with up to 2 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>vFrete</strong></td>\n<td>It is the total value of the freight applicable to the commercialization of the product. It is mandatory and must be a string of length from 1 to 13 integers with up to 2 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>vSeg</strong></td>\n<td>It is the total value of the insurance applicable to the commercialization of the product. It is mandatory and must be a string of length from 1 to 13 integers with up to 2 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>vDesc</strong></td>\n<td>It is the total value of the unconditional discount applicable to the sale of the product. It is mandatory and must be a string of length from 1 to 13 integers with up to 2 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.prod.<strong>vOutro</strong></td>\n<td>It is the total value of other expenses, whatever they may be, applicable to the marketing of the product. It is mandatory and must be a string of length from 1 to 13 integers with up to 2 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.det.imposto.ICMS.<strong>orig</strong></td>\n<td>This is the code that defines the origin of the product, whether national or imported. It is required and must be a string of length 1. Search for possible values in GET/tax-infos/name?page=1&amp;limit=100&amp;name=<strong>orig</strong></td>\n</tr>\n<tr>\n<td>NFe.infNFe.transp.<strong>modFrete</strong></td>\n<td>This is the freight mode code (CIF or FOB) applicable to the invoice as a whole. It is required and must be a string of length 1. Search for possible values in GET/tax-infos/name?page=1&amp;limit=100&amp;name=<strong>modFrete</strong></td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.<strong>tPag</strong></td>\n<td>This is the payment type code (cash, card, etc.) applicable to the invoice as a whole. It is required and must be a string of length 2. Search for possible values in GET/tax-infos/name?page=1&amp;limit=100&amp;name=<strong>tPag</strong></td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.<strong>vPag</strong></td>\n<td>This is the payment amount applicable to the invoice as a whole. It is mandatory and must be a string of length from 1 to 13 integers with up to 2 decimals.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.<strong>dPag</strong></td>\n<td>This is the effective payment date. It is optional and must be a string in the format YYYY-MM-DD.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.<strong>CNPJPag</strong></td>\n<td>This is the document of the subsidiary where the payment was made when the payment occurs in a subsidiary other than the one that issued the invoice. It is optional and must be a string of length 14.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.<strong>UFPag</strong></td>\n<td>This is the acronym of the federation unit of the subsidiary where the payment was made when the payment occurs in a subsidiary other than the one that issued the invoice. It is optional and must be a string of length 2.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.card.<strong>tpIntegra</strong></td>\n<td>This is the payment integration type code applicable to the invoice as a whole. It is mandatory when the payment type is equal to \"03\" or \"04\" (card). It must be a string and the entered value must be \"1\" (TEF) or \"2\" (POS).</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.card.<strong>CNPJ</strong></td>\n<td>This is the sole identification document (CNPJ) of the acquirer that authorized the payment via card. It is mandatory when the type of payment is the same (card). It must be a string and the entered value must be 14 digits long.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.card.<strong>tBand</strong></td>\n<td>This is the credit card brand code. It is mandatory when the type of payment is the same (card). It must be a string and the entered value must be 2 digits long. Search in GET/tax-infos/name?page=1&amp;limit=100&amp;name=<strong>tBand</strong></td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.card.<strong>cAut</strong></td>\n<td>This is the payment authorization code generated by the acquirer that authorized the payment via card. It is mandatory when the type of payment is the same (card). It must be a string and the entered value must have a length of 1 to 20 characters.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.card.<strong>CNPJReceb</strong></td>\n<td>This is a document from the subsidiary beneficiary of the payment. It is optional and must be a string of length 14.</td>\n</tr>\n<tr>\n<td>NFe.infNFe.pag.detPag.card.<strong>idTermPag</strong></td>\n<td>This is the unique identifier of the terminal where the payment was made. It is optional and must be a string of length 1-40.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["invoices","event","{tpEvento}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"771d3f0a-4702-432c-a5d1-761efdf8da32","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"NFe\": {\n        \"infNFe\": {\n            \"ide\": {\n                \"cUF\": \"optional, string\",\n                \"cNF\": \"optional, string\",\n                \"natOp\": \"optional, string\",\n                \"mod\": \"required, string\",\n                \"serie\": \"optional, string\",\n                \"nNF\": \"optional, string\",\n                \"dhEmi\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dhSaiEnt\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dPrevEntrega\": \"optional, YYYY-MM-DD\",\n                \"tpNF\": \"optional, string\",\n                \"idDest\": \"optional, string\",\n                \"cMunFG\": \"optional, string\",\n                \"cMunFGIBS\": \"optional, string\",\n                \"tpImp\": \"optional, string\",\n                \"tpEmis\": \"optional, string\",\n                \"cDV\": \"optional, string\",\n                \"tpAmb\": \"optional, string\",\n                \"finNFe\": \"optional, string\",\n                \"tpNFDebito\": \"optional, string\",\n                \"tpNFCredito\": \"optional, string\",\n                \"indFinal\": \"optional, string\",\n                \"indPres\": \"optional, string\",\n                \"indIntermed\": \"optional, string\",\n                \"procEmi\": \"optional, string\",\n                \"verProc\": \"optional, string\",\n                \"dhCont\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"xJust\": \"optional, string\",\n                \"gCompraGov\": {\n                    \"tpEnteGov\": \"optional, string\",\n                    \"pRedutor\": \"optional, string\",\n                    \"tpOperGov\": \"optional, string\"\n                },\n                \"gPagAntecipado\": [\n                    {\n                        \"refNFe\": \"optional, string\"\n                    }\n                ],\n                \"NFref\": [\n                    {\n                        \"refNFe\": \"optional, string\",\n                        \"refNFeSig\": \"optional, string\",\n                        \"refNF\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"CNPJ\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refNFP\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"IE\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refCTe\": \"optional, string\",\n                        \"refECF\": {\n                            \"mod\": \"optional, string\",\n                            \"nECF\": \"optional, string\",\n                            \"nCOO\": \"optional, string\"\n                        }\n                    }\n                ]\n            },\n            \"emit\": {\n                \"xNome\": \"optional, string\",\n                \"xFant\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IEST\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"CNAE\": \"optional, string\",\n                \"CRT\": \"optional, string\",\n                \"enderEmit\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"avulsa\": {\n                \"CNPJ\": \"optional, string\",\n                \"xOrgao\": \"optional, string\",\n                \"matr\": \"optional, string\",\n                \"xAgente\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"nDAR\": \"optional, string\",\n                \"dEmi\": \"optional, string\",\n                \"vDAR\": \"optional, string\",\n                \"repEmi\": \"optional, string\",\n                \"dPag\": \"optional, string\"\n            },\n            \"dest\": {\n                \"xNome\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"idEstrangeiro\": \"optional, string\",\n                \"indIEDest\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"ISUF\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"enderDest\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"retirada\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"entrega\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"autXML\": [\n                {\n                    \"CNPJ\": \"optional, string\"\n                },\n                {\n                    \"CPF\": \"optional, string\"\n                }\n            ],\n            \"det\": [\n                {\n                    \"vItem\": \"optional, string\",\n                    \"prod\": {\n                        \"cProd\": \"optional, string\",\n                        \"cEAN\": \"optional, string\",\n                        \"cBarra\": \"optional, string\",\n                        \"xProd\": \"optional, string\",\n                        \"NCM\": \"optional, string\",\n                        \"NVE\": [\n                            \"optional, string\"\n                        ],\n                        \"gCred\": {\n                            \"cCredPresumido\": \"optional, string\",\n                            \"pCredPresumido\": \"optional, string\",\n                            \"vCredPresumido\": \"optional, string\"\n                        },\n                        \"CEST\": \"optional, string\",\n                        \"indEscala\": \"optional, string\",\n                        \"CNPJFab\": \"optional, string\",\n                        \"cBenef\": \"optional, string\",\n                        \"EXTIPI\": \"optional, string\",\n                        \"tpCredPresIBSZFM\": \"optional, string\",\n                        \"CFOP\": \"optional, string\",\n                        \"uCom\": \"optional, string\",\n                        \"qCom\": \"optional, string\",\n                        \"vUnCom\": \"optional, string\",\n                        \"vProd\": \"optional, string\",\n                        \"cEANTrib\": \"optional, string\",\n                        \"cBarraTrib\": \"optional, string\",\n                        \"uTrib\": \"optional, string\",\n                        \"qTrib\": \"optional, string\",\n                        \"vUnTrib\": \"optional, string\",\n                        \"vFrete\": \"optional, string\",\n                        \"vSeg\": \"optional, string\",\n                        \"vDesc\": \"optional, string\",\n                        \"vOutro\": \"optional, string\",\n                        \"indTot\": \"optional, string\",\n                        \"xPed\": \"optional, string\",\n                        \"nItemPed\": \"optional, string\",\n                        \"nFCI\": \"optional, string\",\n                        \"nRECOPI\": \"optional, string\",\n                        \"indBemMovelUsado\": \"optional, string\",\n                        \"rastro\": [\n                            {\n                                \"nLote\": \"optional, string\",\n                                \"qLote\": \"optional, string\",\n                                \"dFab\": \"optional, YYYY-MM-DD\",\n                                \"dVal\": \"optional, YYYY-MM-DD\",\n                                \"cAgreg\": \"optional, string\"\n                            }\n                        ],\n                        \"infProdNFF\": {\n                            \"cProdFisco\": \"optional, string\",\n                            \"cOperNFF\": \"optional, string\"\n                        },\n                        \"infProdEmb\": {\n                            \"xEmb\": \"optional, string\",\n                            \"qVolEmb\": \"optional, string\",\n                            \"uEmb\": \"optional, string\"\n                        },\n                        \"detExport\": [\n                            {\n                                \"nDraw\": \"optional, string\",\n                                \"exportInd\": {\n                                    \"nRE\": \"optional, string\",\n                                    \"chNFe\": \"optional, string\",\n                                    \"qExport\": \"optional, string\"\n                                }\n                            }\n                        ],\n                        \"DI\": [\n                            {\n                                \"nDI\": \"optional, string\",\n                                \"dDI\": \"optional, YYYY-MM-DD\",\n                                \"xLocDesemb\": \"optional, string\",\n                                \"UFDesemb\": \"optional, string\",\n                                \"dDesemb\": \"optional, string\",\n                                \"tpViaTransp\": \"optional, string\",\n                                \"vAFRMM\": \"optional, string\",\n                                \"tpIntermedio\": \"optional, string\",\n                                \"CNPJ\": \"optional, string\",\n                                \"CPF\": \"optional, string\",\n                                \"UFTerceiro\": \"optional, string\",\n                                \"cExportador\": \"optional, string\",\n                                \"adi\": [\n                                    {\n                                        \"nAdicao\": \"optional, string\",\n                                        \"nSeqAdic\": \"optional, string\",\n                                        \"cFabricante\": \"optional, string\",\n                                        \"vDescDI\": \"optional, string\",\n                                        \"nDraw\": \"optional, string\"\n                                    }\n                                ]\n                            }\n                        ],\n                        \"med\": {\n                            \"cProdANVISA\": \"optional, string\",\n                            \"xMotivoIsencao\": \"optional, string\",\n                            \"vPMC\": \"optional, string\"\n                        },\n                        \"veicProd\": {\n                            \"tpOp\": \"optional, string\",\n                            \"chassi\": \"optional, string\",\n                            \"cCor\": \"optional, string\",\n                            \"xCor\": \"optional, string\",\n                            \"pot\": \"optional, string\",\n                            \"cilin\": \"optional, string\",\n                            \"pesoL\": \"optional, string\",\n                            \"pesoB\": \"optional, string\",\n                            \"nSerie\": \"optional, string\",\n                            \"tpComb\": \"optional, string\",\n                            \"nMotor\": \"optional, string\",\n                            \"CMT\": \"optional, string\",\n                            \"dist\": \"optional, string\",\n                            \"anoMod\": \"optional, string\",\n                            \"anoFab\": \"optional, string\",\n                            \"tpPint\": \"optional, string\",\n                            \"tpVeic\": \"optional, string\",\n                            \"espVeic\": \"optional, string\",\n                            \"VIN\": \"optional, string\",\n                            \"condVeic\": \"optional, string\",\n                            \"cMod\": \"optional, string\",\n                            \"cCorDENATRAN\": \"optional, string\",\n                            \"lota\": \"optional, string\",\n                            \"tpRest\": \"optional, string\"\n                        },\n                        \"arma\": [\n                            {\n                                \"tpArma\": \"optional, string\",\n                                \"nSerie\": \"optional, string\",\n                                \"nCano\": \"optional, string\",\n                                \"descr\": \"optional, string\"\n                            }\n                        ],\n                        \"comb\": {\n                            \"cProdANP\": \"optional, string\",\n                            \"descANP\": \"optional, string\",\n                            \"pGLP\": \"optional, string\",\n                            \"pGNn\": \"optional, string\",\n                            \"pGNi\": \"optional, string\",\n                            \"vPart\": \"optional, string\",\n                            \"CODIF\": \"optional, string\",\n                            \"qTemp\": \"optional, string\",\n                            \"UFCons\": \"optional, string\",\n                            \"pBio\": \"optional, string\",\n                            \"CIDE\": {\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCIDE\": \"optional, string\"\n                            },\n                            \"encerrante\": {\n                                \"nBico\": \"optional, string\",\n                                \"nBomba\": \"optional, string\",\n                                \"nTanque\": \"optional, string\",\n                                \"vEncIni\": \"optional, string\",\n                                \"vEncFin\": \"optional, string\"\n                            },\n                            \"origComb\": [\n                                {\n                                    \"indImport\": \"optional, string\",\n                                    \"cUFOrig\": \"optional, string\",\n                                    \"pOrig\": \"optional, string\"\n                                }\n                            ]\n                        }\n                    },\n                    \"imposto\": {\n                        \"vTotTrib\": \"optional, string\",\n                        \"ICMS\": {\n                            \"ICMS00\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\"\n                            },\n                            \"ICMS02\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\"\n                            },\n                            \"ICMS10\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS15\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"adRemICMSReten\": \"optional, string\",\n                                \"vICMSMonoReten\": \"optional, string\",\n                                \"pRedAdRem\": \"optional, string\",\n                                \"motRedAdRem\": \"optional, string\"\n                            },\n                            \"ICMS20\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\"\n                            },\n                            \"ICMS30\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS40\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS51\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"cBenefRBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMSOp\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSDif\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"pFCPDif\": \"optional, string\",\n                                \"vFCPDif\": \"optional, string\",\n                                \"vFCPEfet\": \"optional, string\"\n                            },\n                            \"ICMS53\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMonoOp\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSMonoDif\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoDif\": \"optional, string\",\n                                \"adRemICMSDif\": \"optional, string\"\n                            },\n                            \"ICMS60\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMS61\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMonoRet\": \"optional, string\",\n                                \"adRemICMSRet\": \"optional, string\",\n                                \"vICMSMonoRet\": \"optional, string\"\n                            },\n                            \"ICMS70\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS90\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMSPart\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pBCOp\": \"optional, string\",\n                                \"UFST\": \"optional, string\"\n                            },\n                            \"ICMSST\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"vBCSTDest\": \"optional, string\",\n                                \"vICMSSTDest\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN101\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN102\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\"\n                            },\n                            \"ICMSSN201\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN202\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\"\n                            },\n                            \"ICMSSN500\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN900\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            }\n                        },\n                        \"ICMSUFDest\": {\n                            \"vBCUFDest\": \"optional, string\",\n                            \"vBCFCPUFDest\": \"optional, string\",\n                            \"pFCPUFDest\": \"optional, string\",\n                            \"pICMSUFDest\": \"optional, string\",\n                            \"pICMSInter\": \"optional, string\",\n                            \"pICMSInterPart\": \"optional, string\",\n                            \"vFCPUFDest\": \"optional, string\",\n                            \"vICMSUFDest\": \"optional, string\",\n                            \"vICMSUFRemet\": \"optional, string\"\n                        },\n                        \"IPI\": {\n                            \"CNPJProd\": \"optional, string\",\n                            \"cSelo\": \"optional, string\",\n                            \"qSelo\": \"optional, string\",\n                            \"cEnq\": \"optional, string\",\n                            \"IPINT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"IPITrib\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pIPI\": \"optional, string\",\n                                \"vUnid\": \"optional, string\",\n                                \"qUnid\": \"optional, string\",\n                                \"vIPI\": \"optional, string\"\n                            }\n                        },\n                        \"II\": {\n                            \"vBC\": \"optional, string\",\n                            \"vDespAdu\": \"optional, string\",\n                            \"vII\": \"optional, string\",\n                            \"vIOF\": \"optional, string\"\n                        },\n                        \"PIS\": {\n                            \"PISAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pPIS\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISNT\": {\n                                \"CST\": \"Inserir\"\n                            },\n                            \"PISOutr\": {\n                                \"CST\": \"Inserir\",\n                                \"vBC\": \"Inserir\",\n                                \"pPIS\": \"Inserir\",\n                                \"qBCProd\": \"Inserir\",\n                                \"vAliqProd\": \"Inserir\",\n                                \"vPIS\": \"Inserir\"\n                            }\n                        },\n                        \"PISST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pPIS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vPIS\": \"optional, string\",\n                            \"indSomaPISST\": \"optional, string\"\n                        },\n                        \"COFINS\": {\n                            \"COFINSAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSNT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"COFINSOutr\": {\n                                \"CST\": \"Insoptional, stringerir\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            }\n                        },\n                        \"COFINSST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pCOFINS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vCOFINS\": \"optional, string\",\n                            \"indSomaCOFINSST\": \"Inserir\"\n                        },\n                        \"ISSQN\": {\n                            \"vBC\": \"optional, string\",\n                            \"vAliq\": \"optional, string\",\n                            \"vISSQN\": \"optional, string\",\n                            \"cMunFG\": \"optional, string\",\n                            \"cListServ\": \"optional, string\",\n                            \"vDeducao\": \"optional, string\",\n                            \"vOutro\": \"optional, string\",\n                            \"vDescIncond\": \"optional, string\",\n                            \"vDescCond\": \"optional, string\",\n                            \"vISSRet\": \"optional, string\",\n                            \"indISS\": \"optional, string\",\n                            \"cServico\": \"optional, string\",\n                            \"cMun\": \"optional, string\",\n                            \"cPais\": \"optional, string\",\n                            \"nProcesso\": \"optional, string\",\n                            \"indIncentivo\": \"optional, string\"\n                        },\n                        \"IS\": {\n                            \"CSTIS\": \"optional, string\",\n                            \"cClassTribIS\": \"optional, string\",\n                            \"vBCIS\": \"optional, string\",\n                            \"pIS\": \"optional, string\",\n                            \"pISEspec\": \"optional, string\",\n                            \"uTrib\": \"optional, string\",\n                            \"qTrib\": \"optional, string\",\n                            \"vIS\": \"optional, string\"\n                        },\n                        \"IBSCBS\": {\n                            \"CST\": \"optional, string\",\n                            \"cClassTrib\": \"optional, string\",\n                            \"indDoacao\": \"optional, string\",\n                            \"gIBSCBS\": {\n                                \"vBC\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"gIBSUF\": {\n                                    \"pIBSUF\": \"optional, string\",\n                                    \"vIBSUF\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gIBSMun\": {\n                                    \"pIBSMun\": \"optional, string\",\n                                    \"vIBSMun\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gCBS\": {\n                                    \"pCBS\": \"optional, string\",\n                                    \"vCBS\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gTribRegular\": {\n                                    \"CSTReg\": \"optional, string\",\n                                    \"cClassTribReg\": \"optional, string\",\n                                    \"pAliqEfetRegIBSUF\": \"optional, string\",\n                                    \"vTribRegIBSUF\": \"optional, string\",\n                                    \"pAliqEfetRegIBSMun\": \"optional, string\",\n                                    \"vTribRegIBSMun\": \"optional, string\",\n                                    \"pAliqEfetRegCBS\": \"optional, string\",\n                                    \"vTribRegCBS\": \"optional, string\"\n                                },\n                                \"gTribCompraGov\": {\n                                    \"pAliqIBSUF\": \"optional, string\",\n                                    \"vTribIBSUF\": \"optional, string\",\n                                    \"pAliqIBSMun\": \"optional, string\",\n                                    \"vTribIBSMun\": \"optional, string\",\n                                    \"pAliqCBS\": \"optional, string\",\n                                    \"vTribCBS\": \"optional, string\"\n                                }\n                            },\n                            \"gIBSCBSMono\": {\n                                \"gMonoPadrao\": {\n                                    \"qBCMono\": \"optional, string\",\n                                    \"adRemIBS\": \"optional, string\",\n                                    \"adRemCBS\": \"optional, string\",\n                                    \"vIBSMono\": \"optional, string\",\n                                    \"vCBSMono\": \"optional, string\"\n                                },\n                                \"gMonoReten\": {\n                                    \"qBCMonoReten\": \"optional, string\",\n                                    \"adRemIBSReten\": \"optional, string\",\n                                    \"vIBSMonoReten\": \"optional, string\",\n                                    \"adRemCBSReten\": \"optional, string\",\n                                    \"vCBSMonoReten\": \"optional, string\"\n                                },\n                                \"gMonoRet\": {\n                                    \"qBCMonoRet\": \"optional, string\",\n                                    \"adRemIBSRet\": \"optional, string\",\n                                    \"vIBSMonoRet\": \"optional, string\",\n                                    \"adRemCBSRet\": \"optional, string\",\n                                    \"vCBSMonoRet\": \"optional, string\"\n                                },\n                                \"gMonoDif\": {\n                                    \"pDifIBS\": \"optional, string\",\n                                    \"vIBSMonoDif\": \"optional, string\",\n                                    \"pDifCBS\": \"optional, string\",\n                                    \"vCBSMonoDif\": \"optional, string\"\n                                },\n                                \"vTotIBSMonoItem\": \"optional, string\",\n                                \"vTotCBSMonoItem\": \"optional, string\"\n                            },\n                            \"gTransfCred\": {\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gAjusteCompet\": {\n                                \"competApur\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gEstornoCred\": {\n                                \"vIBSEstCred\": \"optional, string\",\n                                \"vCBSEstCred\": \"optional, string\"\n                            },\n                            \"gCredPresOper\": {\n                                \"vBCCredPres\": \"optional, string\",\n                                \"cCredPres\": \"optional, string\",\n                                \"gIBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                },\n                                \"gCBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                }\n                            },\n                            \"gCredPresIBSZFM\": {\n                                \"competApur\": \"optional, string\",\n                                \"tpCredPresIBSZFM\": \"optional, string\",\n                                \"vCredPresIBSZFM\": \"optional, string\"\n                            }\n                        }\n                    },\n                    \"impostoDevol\": {\n                        \"pDevol\": \"optional, string\",\n                        \"IPI\": {\n                            \"vIPIDevol\": \"optional, string\"\n                        }\n                    },\n                    \"infAdProd\": \"optional, string\",\n                    \"obsItem\": {\n                        \"obsCont\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ],\n                        \"obsFisco\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ]\n                    },\n                    \"DFeReferenciado\": {\n                        \"chaveAcesso\": \"optional, string\",\n                        \"nItem\": \"optional, string\"\n                    }\n                }\n            ],\n            \"total\": {\n                \"ICMSTot\": {\n                    \"vBC\": \"optional, string\",\n                    \"vICMS\": \"optional, string\",\n                    \"vICMSDeson\": \"optional, string\",\n                    \"vFCPUFDest\": \"optional, string\",\n                    \"vICMSUFDest\": \"optional, string\",\n                    \"vICMSUFRemet\": \"optional, string\",\n                    \"vFCP\": \"optional, string\",\n                    \"vBCST\": \"optional, string\",\n                    \"vST\": \"optional, string\",\n                    \"vFCPST\": \"optional, string\",\n                    \"vFCPSTRet\": \"optional, string\",\n                    \"qBCMono\": \"optional, string\",\n                    \"vICMSMono\": \"optional, string\",\n                    \"qBCMonoReten\": \"optional, string\",\n                    \"vICMSMonoReten\": \"optional, string\",\n                    \"qBCMonoRet\": \"optional, string\",\n                    \"vICMSMonoRet\": \"optional, string\",\n                    \"vProd\": \"optional, string\",\n                    \"vFrete\": \"optional, string\",\n                    \"vSeg\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vII\": \"optional, string\",\n                    \"vIPI\": \"optional, string\",\n                    \"vIPIDevol\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vNF\": \"optional, string\",\n                    \"vTotTrib\": \"optional, string\"\n                },\n                \"ISSQNtot\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBC\": \"optional, string\",\n                    \"vISS\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"dCompet\": \"optional, YYYY-MM-DD\",\n                    \"vDeducao\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vDescIncond\": \"optional, string\",\n                    \"vDescCond\": \"optional, string\",\n                    \"vISSRet\": \"optional, string\",\n                    \"cRegTrib\": \"Inserir\"\n                },\n                \"retTrib\": {\n                    \"vRetPIS\": \"optional, string\",\n                    \"vRetCOFINS\": \"optional, string\",\n                    \"vRetCSLL\": \"optional, string\",\n                    \"vBCIRRF\": \"optional, string\",\n                    \"vIRRF\": \"optional, string\",\n                    \"vBCRetPrev\": \"optional, string\",\n                    \"vRetPrev\": \"optional, string\"\n                },\n                \"ISTot\": {\n                    \"vIS\": \"optional, string\"\n                },\n                \"IBSCBSTot\": {\n                    \"vBCIBSCBS\": \"optional, string\",\n                    \"gIBS\": {\n                        \"gIBSUF\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSUF\": \"optional, string\"\n                        },\n                        \"gIBSMun\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSMun\": \"optional, string\"\n                        },\n                        \"vIBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gCBS\": {\n                        \"vDif\": \"optional, string\",\n                        \"vDevTrib\": \"optional, string\",\n                        \"vCBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gMono\": {\n                        \"vIBSMono\": \"optional, string\",\n                        \"vCBSMono\": \"optional, string\",\n                        \"vIBSMonoReten\": \"optional, string\",\n                        \"vCBSMonoReten\": \"optional, string\",\n                        \"vIBSMonoRet\": \"optional, string\",\n                        \"vCBSMonoRet\": \"optional, string\"\n                    },\n                    \"gEstornoCred\": {\n                        \"vIBSEstCred\": \"optional, string\",\n                        \"vCBSEstCred\": \"optional, string\"\n                    }\n                },\n                \"vNFTot\": \"optional, string\"\n            },\n            \"transp\": {\n                \"modFrete\": \"optional, string\",\n                \"transporta\": {\n                    \"xNome\": \"optional, string\",\n                    \"IE\": \"optional, string\",\n                    \"xEnder\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\"\n                },\n                \"retTransp\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBCRet\": \"optional, string\",\n                    \"pICMSRet\": \"optional, string\",\n                    \"vICMSRet\": \"optional, string\",\n                    \"CFOP\": \"optional, string\",\n                    \"cMunFG\": \"optional, string\"\n                },\n                \"vol\": [\n                    {\n                        \"qVol\": \"optional, string\",\n                        \"esp\": \"optional, string\",\n                        \"marca\": \"optional, string\",\n                        \"nVol\": \"optional, string\",\n                        \"pesoL\": \"optional, string\",\n                        \"pesoB\": \"optional, string\",\n                        \"lacres\": [\n                            {\n                                \"nLacre\": \"optional, string\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"cobr\": {\n                \"fat\": {\n                    \"nFat\": \"optional, string\",\n                    \"vOrig\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vLiq\": \"optional, string\"\n                },\n                \"dup\": [\n                    {\n                        \"nDup\": \"optional, string\",\n                        \"dVenc\": \"optional, YYYY-MM-DD\",\n                        \"vDup\": \"optional, string\"\n                    }\n                ]\n            },\n            \"pag\": {\n                \"detPag\": [\n                    {\n                        \"indPag\": \"optional, string\",\n                        \"tPag\": \"optional, string\",\n                        \"vPag\": \"optional, string\",\n                        \"xPag\": \"optional, string\",\n                        \"dPag\": \"optional, YYYY-MM-DD\",\n                        \"CNPJPag\": \"optional, string\",\n                        \"UFPag\": \"optional, string\",\n                        \"card\": {\n                            \"tpIntegra\": \"optional, string\",\n                            \"CNPJ\": \"optional, string\",\n                            \"tBand\": \"optional, string\",\n                            \"cAut\": \"optional, string\",\n                            \"CNPJReceb\": \"optional, string\",\n                            \"idTermPag\": \"optional, string\"\n                        }\n                    }\n                ],\n                \"vTroco\": \"optional, string\"\n            },\n            \"infIntermed\": {\n                \"CNPJ\": \"optional, string\",\n                \"idCadIntTran\": \"optional, string\"\n            },\n            \"infAdic\": {\n                \"infAdFisco\": \"optional, string\",\n                \"infCpl\": \"optional, string\",\n                \"obsCont\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"obsFisco\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"procRef\": [\n                    {\n                        \"nProc\": \"optional, string\",\n                        \"indProc\": \"optional, string\",\n                        \"tpAto\": \"optional, string\"\n                    }\n                ]\n            },\n            \"exporta\": {\n                \"UFSaidaPais\": \"optional, string\",\n                \"xLocExporta\": \"optional, string\",\n                \"xLocDespacho\": \"optional, string\"\n            },\n            \"compra\": {\n                \"xNEmp\": \"optional, string\",\n                \"xPed\": \"optional, string\",\n                \"xCont\": \"optional, string\"\n            },\n            \"cana\": {\n                \"safra\": \"optional, string\",\n                \"ref\": \"optional, string\",\n                \"forDia\": [\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    },\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    }\n                ],\n                \"qTotMes\": \"optional, string\",\n                \"qTotAnt\": \"optional, string\",\n                \"qTotGer\": \"optional, string\",\n                \"deduc\": [\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    },\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    }\n                ],\n                \"vFor\": \"optional, string\",\n                \"vTotDed\": \"optional, string\",\n                \"vLiqFor\": \"optional, string\"\n            },\n            \"infRespTec\": {\n                \"CNPJ\": \"optional, string\",\n                \"xContato\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"idCSRT\": \"optional, string\",\n                \"hashCSRT\": \"optional, string\"\n            },\n            \"infSolicNFF\": {\n                \"xSolic\": \"optional, string\"\n            },\n            \"agropecuario\": {\n                \"defensivo\": [\n                    {\n                        \"nReceituario\": \"optional, string\",\n                        \"CPFRespTec\": \"optional, string\"\n                    }\n                ],\n                \"guiaTransito\": {\n                    \"tpGuia\": \"optional, string\",\n                    \"UFGuia\": \"optional, string\",\n                    \"serieGuia\": \"optional, string\",\n                    \"nGuia\": \"optional, string\"\n                }\n            }\n        },\n        \"infNFeSupl\": {\n            \"qrCode\": \"optional, string\",\n            \"urlChave\": \"optional, string\"\n        },\n        \"Signature\": \"optional, string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invoice authorization event was started\",\n    \"requestId\": \"0197c1fa-e355-73f8-bb6f-9a7841c74207\"\n}"},{"id":"0f6fd2b9-1c9c-454b-aa4f-2c3fc3e764ce","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"NFe\": {\n        \"infNFe\": {\n            \"ide\": {\n                \"cUF\": \"optional, string\",\n                \"cNF\": \"optional, string\",\n                \"natOp\": \"optional, string\",\n                \"mod\": \"required, string\",\n                \"serie\": \"optional, string\",\n                \"nNF\": \"optional, string\",\n                \"dhEmi\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dhSaiEnt\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dPrevEntrega\": \"optional, YYYY-MM-DD\",\n                \"tpNF\": \"optional, string\",\n                \"idDest\": \"optional, string\",\n                \"cMunFG\": \"optional, string\",\n                \"cMunFGIBS\": \"optional, string\",\n                \"tpImp\": \"optional, string\",\n                \"tpEmis\": \"optional, string\",\n                \"cDV\": \"optional, string\",\n                \"tpAmb\": \"optional, string\",\n                \"finNFe\": \"optional, string\",\n                \"tpNFDebito\": \"optional, string\",\n                \"tpNFCredito\": \"optional, string\",\n                \"indFinal\": \"optional, string\",\n                \"indPres\": \"optional, string\",\n                \"indIntermed\": \"optional, string\",\n                \"procEmi\": \"optional, string\",\n                \"verProc\": \"optional, string\",\n                \"dhCont\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"xJust\": \"optional, string\",\n                \"gCompraGov\": {\n                    \"tpEnteGov\": \"optional, string\",\n                    \"pRedutor\": \"optional, string\",\n                    \"tpOperGov\": \"optional, string\"\n                },\n                \"gPagAntecipado\": [\n                    {\n                        \"refNFe\": \"optional, string\"\n                    }\n                ],\n                \"NFref\": [\n                    {\n                        \"refNFe\": \"optional, string\",\n                        \"refNFeSig\": \"optional, string\",\n                        \"refNF\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"CNPJ\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refNFP\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"IE\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refCTe\": \"optional, string\",\n                        \"refECF\": {\n                            \"mod\": \"optional, string\",\n                            \"nECF\": \"optional, string\",\n                            \"nCOO\": \"optional, string\"\n                        }\n                    }\n                ]\n            },\n            \"emit\": {\n                \"xNome\": \"optional, string\",\n                \"xFant\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IEST\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"CNAE\": \"optional, string\",\n                \"CRT\": \"optional, string\",\n                \"enderEmit\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"avulsa\": {\n                \"CNPJ\": \"optional, string\",\n                \"xOrgao\": \"optional, string\",\n                \"matr\": \"optional, string\",\n                \"xAgente\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"nDAR\": \"optional, string\",\n                \"dEmi\": \"optional, string\",\n                \"vDAR\": \"optional, string\",\n                \"repEmi\": \"optional, string\",\n                \"dPag\": \"optional, string\"\n            },\n            \"dest\": {\n                \"xNome\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"idEstrangeiro\": \"optional, string\",\n                \"indIEDest\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"ISUF\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"enderDest\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"retirada\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"entrega\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"autXML\": [\n                {\n                    \"CNPJ\": \"optional, string\"\n                },\n                {\n                    \"CPF\": \"optional, string\"\n                }\n            ],\n            \"det\": [\n                {\n                    \"vItem\": \"optional, string\",\n                    \"prod\": {\n                        \"cProd\": \"optional, string\",\n                        \"cEAN\": \"optional, string\",\n                        \"cBarra\": \"optional, string\",\n                        \"xProd\": \"optional, string\",\n                        \"NCM\": \"optional, string\",\n                        \"NVE\": [\n                            \"optional, string\"\n                        ],\n                        \"gCred\": {\n                            \"cCredPresumido\": \"optional, string\",\n                            \"pCredPresumido\": \"optional, string\",\n                            \"vCredPresumido\": \"optional, string\"\n                        },\n                        \"CEST\": \"optional, string\",\n                        \"indEscala\": \"optional, string\",\n                        \"CNPJFab\": \"optional, string\",\n                        \"cBenef\": \"optional, string\",\n                        \"EXTIPI\": \"optional, string\",\n                        \"tpCredPresIBSZFM\": \"optional, string\",\n                        \"CFOP\": \"optional, string\",\n                        \"uCom\": \"optional, string\",\n                        \"qCom\": \"optional, string\",\n                        \"vUnCom\": \"optional, string\",\n                        \"vProd\": \"optional, string\",\n                        \"cEANTrib\": \"optional, string\",\n                        \"cBarraTrib\": \"optional, string\",\n                        \"uTrib\": \"optional, string\",\n                        \"qTrib\": \"optional, string\",\n                        \"vUnTrib\": \"optional, string\",\n                        \"vFrete\": \"optional, string\",\n                        \"vSeg\": \"optional, string\",\n                        \"vDesc\": \"optional, string\",\n                        \"vOutro\": \"optional, string\",\n                        \"indTot\": \"optional, string\",\n                        \"xPed\": \"optional, string\",\n                        \"nItemPed\": \"optional, string\",\n                        \"nFCI\": \"optional, string\",\n                        \"nRECOPI\": \"optional, string\",\n                        \"indBemMovelUsado\": \"optional, string\",\n                        \"rastro\": [\n                            {\n                                \"nLote\": \"optional, string\",\n                                \"qLote\": \"optional, string\",\n                                \"dFab\": \"optional, YYYY-MM-DD\",\n                                \"dVal\": \"optional, YYYY-MM-DD\",\n                                \"cAgreg\": \"optional, string\"\n                            }\n                        ],\n                        \"infProdNFF\": {\n                            \"cProdFisco\": \"optional, string\",\n                            \"cOperNFF\": \"optional, string\"\n                        },\n                        \"infProdEmb\": {\n                            \"xEmb\": \"optional, string\",\n                            \"qVolEmb\": \"optional, string\",\n                            \"uEmb\": \"optional, string\"\n                        },\n                        \"detExport\": [\n                            {\n                                \"nDraw\": \"optional, string\",\n                                \"exportInd\": {\n                                    \"nRE\": \"optional, string\",\n                                    \"chNFe\": \"optional, string\",\n                                    \"qExport\": \"optional, string\"\n                                }\n                            }\n                        ],\n                        \"DI\": [\n                            {\n                                \"nDI\": \"optional, string\",\n                                \"dDI\": \"optional, YYYY-MM-DD\",\n                                \"xLocDesemb\": \"optional, string\",\n                                \"UFDesemb\": \"optional, string\",\n                                \"dDesemb\": \"optional, string\",\n                                \"tpViaTransp\": \"optional, string\",\n                                \"vAFRMM\": \"optional, string\",\n                                \"tpIntermedio\": \"optional, string\",\n                                \"CNPJ\": \"optional, string\",\n                                \"CPF\": \"optional, string\",\n                                \"UFTerceiro\": \"optional, string\",\n                                \"cExportador\": \"optional, string\",\n                                \"adi\": [\n                                    {\n                                        \"nAdicao\": \"optional, string\",\n                                        \"nSeqAdic\": \"optional, string\",\n                                        \"cFabricante\": \"optional, string\",\n                                        \"vDescDI\": \"optional, string\",\n                                        \"nDraw\": \"optional, string\"\n                                    }\n                                ]\n                            }\n                        ],\n                        \"med\": {\n                            \"cProdANVISA\": \"optional, string\",\n                            \"xMotivoIsencao\": \"optional, string\",\n                            \"vPMC\": \"optional, string\"\n                        },\n                        \"veicProd\": {\n                            \"tpOp\": \"optional, string\",\n                            \"chassi\": \"optional, string\",\n                            \"cCor\": \"optional, string\",\n                            \"xCor\": \"optional, string\",\n                            \"pot\": \"optional, string\",\n                            \"cilin\": \"optional, string\",\n                            \"pesoL\": \"optional, string\",\n                            \"pesoB\": \"optional, string\",\n                            \"nSerie\": \"optional, string\",\n                            \"tpComb\": \"optional, string\",\n                            \"nMotor\": \"optional, string\",\n                            \"CMT\": \"optional, string\",\n                            \"dist\": \"optional, string\",\n                            \"anoMod\": \"optional, string\",\n                            \"anoFab\": \"optional, string\",\n                            \"tpPint\": \"optional, string\",\n                            \"tpVeic\": \"optional, string\",\n                            \"espVeic\": \"optional, string\",\n                            \"VIN\": \"optional, string\",\n                            \"condVeic\": \"optional, string\",\n                            \"cMod\": \"optional, string\",\n                            \"cCorDENATRAN\": \"optional, string\",\n                            \"lota\": \"optional, string\",\n                            \"tpRest\": \"optional, string\"\n                        },\n                        \"arma\": [\n                            {\n                                \"tpArma\": \"optional, string\",\n                                \"nSerie\": \"optional, string\",\n                                \"nCano\": \"optional, string\",\n                                \"descr\": \"optional, string\"\n                            }\n                        ],\n                        \"comb\": {\n                            \"cProdANP\": \"optional, string\",\n                            \"descANP\": \"optional, string\",\n                            \"pGLP\": \"optional, string\",\n                            \"pGNn\": \"optional, string\",\n                            \"pGNi\": \"optional, string\",\n                            \"vPart\": \"optional, string\",\n                            \"CODIF\": \"optional, string\",\n                            \"qTemp\": \"optional, string\",\n                            \"UFCons\": \"optional, string\",\n                            \"pBio\": \"optional, string\",\n                            \"CIDE\": {\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCIDE\": \"optional, string\"\n                            },\n                            \"encerrante\": {\n                                \"nBico\": \"optional, string\",\n                                \"nBomba\": \"optional, string\",\n                                \"nTanque\": \"optional, string\",\n                                \"vEncIni\": \"optional, string\",\n                                \"vEncFin\": \"optional, string\"\n                            },\n                            \"origComb\": [\n                                {\n                                    \"indImport\": \"optional, string\",\n                                    \"cUFOrig\": \"optional, string\",\n                                    \"pOrig\": \"optional, string\"\n                                }\n                            ]\n                        }\n                    },\n                    \"imposto\": {\n                        \"vTotTrib\": \"optional, string\",\n                        \"ICMS\": {\n                            \"ICMS00\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\"\n                            },\n                            \"ICMS02\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\"\n                            },\n                            \"ICMS10\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS15\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"adRemICMSReten\": \"optional, string\",\n                                \"vICMSMonoReten\": \"optional, string\",\n                                \"pRedAdRem\": \"optional, string\",\n                                \"motRedAdRem\": \"optional, string\"\n                            },\n                            \"ICMS20\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\"\n                            },\n                            \"ICMS30\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS40\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS51\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"cBenefRBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMSOp\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSDif\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"pFCPDif\": \"optional, string\",\n                                \"vFCPDif\": \"optional, string\",\n                                \"vFCPEfet\": \"optional, string\"\n                            },\n                            \"ICMS53\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMonoOp\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSMonoDif\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoDif\": \"optional, string\",\n                                \"adRemICMSDif\": \"optional, string\"\n                            },\n                            \"ICMS60\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMS61\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMonoRet\": \"optional, string\",\n                                \"adRemICMSRet\": \"optional, string\",\n                                \"vICMSMonoRet\": \"optional, string\"\n                            },\n                            \"ICMS70\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS90\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMSPart\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pBCOp\": \"optional, string\",\n                                \"UFST\": \"optional, string\"\n                            },\n                            \"ICMSST\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"vBCSTDest\": \"optional, string\",\n                                \"vICMSSTDest\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN101\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN102\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\"\n                            },\n                            \"ICMSSN201\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN202\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\"\n                            },\n                            \"ICMSSN500\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN900\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            }\n                        },\n                        \"ICMSUFDest\": {\n                            \"vBCUFDest\": \"optional, string\",\n                            \"vBCFCPUFDest\": \"optional, string\",\n                            \"pFCPUFDest\": \"optional, string\",\n                            \"pICMSUFDest\": \"optional, string\",\n                            \"pICMSInter\": \"optional, string\",\n                            \"pICMSInterPart\": \"optional, string\",\n                            \"vFCPUFDest\": \"optional, string\",\n                            \"vICMSUFDest\": \"optional, string\",\n                            \"vICMSUFRemet\": \"optional, string\"\n                        },\n                        \"IPI\": {\n                            \"CNPJProd\": \"optional, string\",\n                            \"cSelo\": \"optional, string\",\n                            \"qSelo\": \"optional, string\",\n                            \"cEnq\": \"optional, string\",\n                            \"IPINT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"IPITrib\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pIPI\": \"optional, string\",\n                                \"vUnid\": \"optional, string\",\n                                \"qUnid\": \"optional, string\",\n                                \"vIPI\": \"optional, string\"\n                            }\n                        },\n                        \"II\": {\n                            \"vBC\": \"optional, string\",\n                            \"vDespAdu\": \"optional, string\",\n                            \"vII\": \"optional, string\",\n                            \"vIOF\": \"optional, string\"\n                        },\n                        \"PIS\": {\n                            \"PISAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pPIS\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISNT\": {\n                                \"CST\": \"Inserir\"\n                            },\n                            \"PISOutr\": {\n                                \"CST\": \"Inserir\",\n                                \"vBC\": \"Inserir\",\n                                \"pPIS\": \"Inserir\",\n                                \"qBCProd\": \"Inserir\",\n                                \"vAliqProd\": \"Inserir\",\n                                \"vPIS\": \"Inserir\"\n                            }\n                        },\n                        \"PISST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pPIS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vPIS\": \"optional, string\",\n                            \"indSomaPISST\": \"optional, string\"\n                        },\n                        \"COFINS\": {\n                            \"COFINSAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSNT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"COFINSOutr\": {\n                                \"CST\": \"Insoptional, stringerir\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            }\n                        },\n                        \"COFINSST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pCOFINS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vCOFINS\": \"optional, string\",\n                            \"indSomaCOFINSST\": \"Inserir\"\n                        },\n                        \"ISSQN\": {\n                            \"vBC\": \"optional, string\",\n                            \"vAliq\": \"optional, string\",\n                            \"vISSQN\": \"optional, string\",\n                            \"cMunFG\": \"optional, string\",\n                            \"cListServ\": \"optional, string\",\n                            \"vDeducao\": \"optional, string\",\n                            \"vOutro\": \"optional, string\",\n                            \"vDescIncond\": \"optional, string\",\n                            \"vDescCond\": \"optional, string\",\n                            \"vISSRet\": \"optional, string\",\n                            \"indISS\": \"optional, string\",\n                            \"cServico\": \"optional, string\",\n                            \"cMun\": \"optional, string\",\n                            \"cPais\": \"optional, string\",\n                            \"nProcesso\": \"optional, string\",\n                            \"indIncentivo\": \"optional, string\"\n                        },\n                        \"IS\": {\n                            \"CSTIS\": \"optional, string\",\n                            \"cClassTribIS\": \"optional, string\",\n                            \"vBCIS\": \"optional, string\",\n                            \"pIS\": \"optional, string\",\n                            \"pISEspec\": \"optional, string\",\n                            \"uTrib\": \"optional, string\",\n                            \"qTrib\": \"optional, string\",\n                            \"vIS\": \"optional, string\"\n                        },\n                        \"IBSCBS\": {\n                            \"CST\": \"optional, string\",\n                            \"cClassTrib\": \"optional, string\",\n                            \"indDoacao\": \"optional, string\",\n                            \"gIBSCBS\": {\n                                \"vBC\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"gIBSUF\": {\n                                    \"pIBSUF\": \"optional, string\",\n                                    \"vIBSUF\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gIBSMun\": {\n                                    \"pIBSMun\": \"optional, string\",\n                                    \"vIBSMun\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gCBS\": {\n                                    \"pCBS\": \"optional, string\",\n                                    \"vCBS\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gTribRegular\": {\n                                    \"CSTReg\": \"optional, string\",\n                                    \"cClassTribReg\": \"optional, string\",\n                                    \"pAliqEfetRegIBSUF\": \"optional, string\",\n                                    \"vTribRegIBSUF\": \"optional, string\",\n                                    \"pAliqEfetRegIBSMun\": \"optional, string\",\n                                    \"vTribRegIBSMun\": \"optional, string\",\n                                    \"pAliqEfetRegCBS\": \"optional, string\",\n                                    \"vTribRegCBS\": \"optional, string\"\n                                },\n                                \"gTribCompraGov\": {\n                                    \"pAliqIBSUF\": \"optional, string\",\n                                    \"vTribIBSUF\": \"optional, string\",\n                                    \"pAliqIBSMun\": \"optional, string\",\n                                    \"vTribIBSMun\": \"optional, string\",\n                                    \"pAliqCBS\": \"optional, string\",\n                                    \"vTribCBS\": \"optional, string\"\n                                }\n                            },\n                            \"gIBSCBSMono\": {\n                                \"gMonoPadrao\": {\n                                    \"qBCMono\": \"optional, string\",\n                                    \"adRemIBS\": \"optional, string\",\n                                    \"adRemCBS\": \"optional, string\",\n                                    \"vIBSMono\": \"optional, string\",\n                                    \"vCBSMono\": \"optional, string\"\n                                },\n                                \"gMonoReten\": {\n                                    \"qBCMonoReten\": \"optional, string\",\n                                    \"adRemIBSReten\": \"optional, string\",\n                                    \"vIBSMonoReten\": \"optional, string\",\n                                    \"adRemCBSReten\": \"optional, string\",\n                                    \"vCBSMonoReten\": \"optional, string\"\n                                },\n                                \"gMonoRet\": {\n                                    \"qBCMonoRet\": \"optional, string\",\n                                    \"adRemIBSRet\": \"optional, string\",\n                                    \"vIBSMonoRet\": \"optional, string\",\n                                    \"adRemCBSRet\": \"optional, string\",\n                                    \"vCBSMonoRet\": \"optional, string\"\n                                },\n                                \"gMonoDif\": {\n                                    \"pDifIBS\": \"optional, string\",\n                                    \"vIBSMonoDif\": \"optional, string\",\n                                    \"pDifCBS\": \"optional, string\",\n                                    \"vCBSMonoDif\": \"optional, string\"\n                                },\n                                \"vTotIBSMonoItem\": \"optional, string\",\n                                \"vTotCBSMonoItem\": \"optional, string\"\n                            },\n                            \"gTransfCred\": {\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gAjusteCompet\": {\n                                \"competApur\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gEstornoCred\": {\n                                \"vIBSEstCred\": \"optional, string\",\n                                \"vCBSEstCred\": \"optional, string\"\n                            },\n                            \"gCredPresOper\": {\n                                \"vBCCredPres\": \"optional, string\",\n                                \"cCredPres\": \"optional, string\",\n                                \"gIBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                },\n                                \"gCBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                }\n                            },\n                            \"gCredPresIBSZFM\": {\n                                \"competApur\": \"optional, string\",\n                                \"tpCredPresIBSZFM\": \"optional, string\",\n                                \"vCredPresIBSZFM\": \"optional, string\"\n                            }\n                        }\n                    },\n                    \"impostoDevol\": {\n                        \"pDevol\": \"optional, string\",\n                        \"IPI\": {\n                            \"vIPIDevol\": \"optional, string\"\n                        }\n                    },\n                    \"infAdProd\": \"optional, string\",\n                    \"obsItem\": {\n                        \"obsCont\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ],\n                        \"obsFisco\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ]\n                    },\n                    \"DFeReferenciado\": {\n                        \"chaveAcesso\": \"optional, string\",\n                        \"nItem\": \"optional, string\"\n                    }\n                }\n            ],\n            \"total\": {\n                \"ICMSTot\": {\n                    \"vBC\": \"optional, string\",\n                    \"vICMS\": \"optional, string\",\n                    \"vICMSDeson\": \"optional, string\",\n                    \"vFCPUFDest\": \"optional, string\",\n                    \"vICMSUFDest\": \"optional, string\",\n                    \"vICMSUFRemet\": \"optional, string\",\n                    \"vFCP\": \"optional, string\",\n                    \"vBCST\": \"optional, string\",\n                    \"vST\": \"optional, string\",\n                    \"vFCPST\": \"optional, string\",\n                    \"vFCPSTRet\": \"optional, string\",\n                    \"qBCMono\": \"optional, string\",\n                    \"vICMSMono\": \"optional, string\",\n                    \"qBCMonoReten\": \"optional, string\",\n                    \"vICMSMonoReten\": \"optional, string\",\n                    \"qBCMonoRet\": \"optional, string\",\n                    \"vICMSMonoRet\": \"optional, string\",\n                    \"vProd\": \"optional, string\",\n                    \"vFrete\": \"optional, string\",\n                    \"vSeg\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vII\": \"optional, string\",\n                    \"vIPI\": \"optional, string\",\n                    \"vIPIDevol\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vNF\": \"optional, string\",\n                    \"vTotTrib\": \"optional, string\"\n                },\n                \"ISSQNtot\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBC\": \"optional, string\",\n                    \"vISS\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"dCompet\": \"optional, YYYY-MM-DD\",\n                    \"vDeducao\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vDescIncond\": \"optional, string\",\n                    \"vDescCond\": \"optional, string\",\n                    \"vISSRet\": \"optional, string\",\n                    \"cRegTrib\": \"Inserir\"\n                },\n                \"retTrib\": {\n                    \"vRetPIS\": \"optional, string\",\n                    \"vRetCOFINS\": \"optional, string\",\n                    \"vRetCSLL\": \"optional, string\",\n                    \"vBCIRRF\": \"optional, string\",\n                    \"vIRRF\": \"optional, string\",\n                    \"vBCRetPrev\": \"optional, string\",\n                    \"vRetPrev\": \"optional, string\"\n                },\n                \"ISTot\": {\n                    \"vIS\": \"optional, string\"\n                },\n                \"IBSCBSTot\": {\n                    \"vBCIBSCBS\": \"optional, string\",\n                    \"gIBS\": {\n                        \"gIBSUF\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSUF\": \"optional, string\"\n                        },\n                        \"gIBSMun\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSMun\": \"optional, string\"\n                        },\n                        \"vIBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gCBS\": {\n                        \"vDif\": \"optional, string\",\n                        \"vDevTrib\": \"optional, string\",\n                        \"vCBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gMono\": {\n                        \"vIBSMono\": \"optional, string\",\n                        \"vCBSMono\": \"optional, string\",\n                        \"vIBSMonoReten\": \"optional, string\",\n                        \"vCBSMonoReten\": \"optional, string\",\n                        \"vIBSMonoRet\": \"optional, string\",\n                        \"vCBSMonoRet\": \"optional, string\"\n                    },\n                    \"gEstornoCred\": {\n                        \"vIBSEstCred\": \"optional, string\",\n                        \"vCBSEstCred\": \"optional, string\"\n                    }\n                },\n                \"vNFTot\": \"optional, string\"\n            },\n            \"transp\": {\n                \"modFrete\": \"optional, string\",\n                \"transporta\": {\n                    \"xNome\": \"optional, string\",\n                    \"IE\": \"optional, string\",\n                    \"xEnder\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\"\n                },\n                \"retTransp\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBCRet\": \"optional, string\",\n                    \"pICMSRet\": \"optional, string\",\n                    \"vICMSRet\": \"optional, string\",\n                    \"CFOP\": \"optional, string\",\n                    \"cMunFG\": \"optional, string\"\n                },\n                \"vol\": [\n                    {\n                        \"qVol\": \"optional, string\",\n                        \"esp\": \"optional, string\",\n                        \"marca\": \"optional, string\",\n                        \"nVol\": \"optional, string\",\n                        \"pesoL\": \"optional, string\",\n                        \"pesoB\": \"optional, string\",\n                        \"lacres\": [\n                            {\n                                \"nLacre\": \"optional, string\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"cobr\": {\n                \"fat\": {\n                    \"nFat\": \"optional, string\",\n                    \"vOrig\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vLiq\": \"optional, string\"\n                },\n                \"dup\": [\n                    {\n                        \"nDup\": \"optional, string\",\n                        \"dVenc\": \"optional, YYYY-MM-DD\",\n                        \"vDup\": \"optional, string\"\n                    }\n                ]\n            },\n            \"pag\": {\n                \"detPag\": [\n                    {\n                        \"indPag\": \"optional, string\",\n                        \"tPag\": \"optional, string\",\n                        \"vPag\": \"optional, string\",\n                        \"xPag\": \"optional, string\",\n                        \"dPag\": \"optional, YYYY-MM-DD\",\n                        \"CNPJPag\": \"optional, string\",\n                        \"UFPag\": \"optional, string\",\n                        \"card\": {\n                            \"tpIntegra\": \"optional, string\",\n                            \"CNPJ\": \"optional, string\",\n                            \"tBand\": \"optional, string\",\n                            \"cAut\": \"optional, string\",\n                            \"CNPJReceb\": \"optional, string\",\n                            \"idTermPag\": \"optional, string\"\n                        }\n                    }\n                ],\n                \"vTroco\": \"optional, string\"\n            },\n            \"infIntermed\": {\n                \"CNPJ\": \"optional, string\",\n                \"idCadIntTran\": \"optional, string\"\n            },\n            \"infAdic\": {\n                \"infAdFisco\": \"optional, string\",\n                \"infCpl\": \"optional, string\",\n                \"obsCont\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"obsFisco\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"procRef\": [\n                    {\n                        \"nProc\": \"optional, string\",\n                        \"indProc\": \"optional, string\",\n                        \"tpAto\": \"optional, string\"\n                    }\n                ]\n            },\n            \"exporta\": {\n                \"UFSaidaPais\": \"optional, string\",\n                \"xLocExporta\": \"optional, string\",\n                \"xLocDespacho\": \"optional, string\"\n            },\n            \"compra\": {\n                \"xNEmp\": \"optional, string\",\n                \"xPed\": \"optional, string\",\n                \"xCont\": \"optional, string\"\n            },\n            \"cana\": {\n                \"safra\": \"optional, string\",\n                \"ref\": \"optional, string\",\n                \"forDia\": [\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    },\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    }\n                ],\n                \"qTotMes\": \"optional, string\",\n                \"qTotAnt\": \"optional, string\",\n                \"qTotGer\": \"optional, string\",\n                \"deduc\": [\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    },\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    }\n                ],\n                \"vFor\": \"optional, string\",\n                \"vTotDed\": \"optional, string\",\n                \"vLiqFor\": \"optional, string\"\n            },\n            \"infRespTec\": {\n                \"CNPJ\": \"optional, string\",\n                \"xContato\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"idCSRT\": \"optional, string\",\n                \"hashCSRT\": \"optional, string\"\n            },\n            \"infSolicNFF\": {\n                \"xSolic\": \"optional, string\"\n            },\n            \"agropecuario\": {\n                \"defensivo\": [\n                    {\n                        \"nReceituario\": \"optional, string\",\n                        \"CPFRespTec\": \"optional, string\"\n                    }\n                ],\n                \"guiaTransito\": {\n                    \"tpGuia\": \"optional, string\",\n                    \"UFGuia\": \"optional, string\",\n                    \"serieGuia\": \"optional, string\",\n                    \"nGuia\": \"optional, string\"\n                }\n            }\n        },\n        \"infNFeSupl\": {\n            \"qrCode\": \"optional, string\",\n            \"urlChave\": \"optional, string\"\n        },\n        \"Signature\": \"optional, string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"payload.NFe.infNFe.ide.mod\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"ebd5eb59-b89b-44a2-89b6-506d4b61bfe2","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"NFe\": {\n        \"infNFe\": {\n            \"ide\": {\n                \"cUF\": \"optional, string\",\n                \"cNF\": \"optional, string\",\n                \"natOp\": \"optional, string\",\n                \"mod\": \"required, string\",\n                \"serie\": \"optional, string\",\n                \"nNF\": \"optional, string\",\n                \"dhEmi\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dhSaiEnt\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dPrevEntrega\": \"optional, YYYY-MM-DD\",\n                \"tpNF\": \"optional, string\",\n                \"idDest\": \"optional, string\",\n                \"cMunFG\": \"optional, string\",\n                \"cMunFGIBS\": \"optional, string\",\n                \"tpImp\": \"optional, string\",\n                \"tpEmis\": \"optional, string\",\n                \"cDV\": \"optional, string\",\n                \"tpAmb\": \"optional, string\",\n                \"finNFe\": \"optional, string\",\n                \"tpNFDebito\": \"optional, string\",\n                \"tpNFCredito\": \"optional, string\",\n                \"indFinal\": \"optional, string\",\n                \"indPres\": \"optional, string\",\n                \"indIntermed\": \"optional, string\",\n                \"procEmi\": \"optional, string\",\n                \"verProc\": \"optional, string\",\n                \"dhCont\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"xJust\": \"optional, string\",\n                \"gCompraGov\": {\n                    \"tpEnteGov\": \"optional, string\",\n                    \"pRedutor\": \"optional, string\",\n                    \"tpOperGov\": \"optional, string\"\n                },\n                \"gPagAntecipado\": [\n                    {\n                        \"refNFe\": \"optional, string\"\n                    }\n                ],\n                \"NFref\": [\n                    {\n                        \"refNFe\": \"optional, string\",\n                        \"refNFeSig\": \"optional, string\",\n                        \"refNF\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"CNPJ\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refNFP\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"IE\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refCTe\": \"optional, string\",\n                        \"refECF\": {\n                            \"mod\": \"optional, string\",\n                            \"nECF\": \"optional, string\",\n                            \"nCOO\": \"optional, string\"\n                        }\n                    }\n                ]\n            },\n            \"emit\": {\n                \"xNome\": \"optional, string\",\n                \"xFant\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IEST\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"CNAE\": \"optional, string\",\n                \"CRT\": \"optional, string\",\n                \"enderEmit\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"avulsa\": {\n                \"CNPJ\": \"optional, string\",\n                \"xOrgao\": \"optional, string\",\n                \"matr\": \"optional, string\",\n                \"xAgente\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"nDAR\": \"optional, string\",\n                \"dEmi\": \"optional, string\",\n                \"vDAR\": \"optional, string\",\n                \"repEmi\": \"optional, string\",\n                \"dPag\": \"optional, string\"\n            },\n            \"dest\": {\n                \"xNome\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"idEstrangeiro\": \"optional, string\",\n                \"indIEDest\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"ISUF\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"enderDest\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"retirada\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"entrega\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"autXML\": [\n                {\n                    \"CNPJ\": \"optional, string\"\n                },\n                {\n                    \"CPF\": \"optional, string\"\n                }\n            ],\n            \"det\": [\n                {\n                    \"vItem\": \"optional, string\",\n                    \"prod\": {\n                        \"cProd\": \"optional, string\",\n                        \"cEAN\": \"optional, string\",\n                        \"cBarra\": \"optional, string\",\n                        \"xProd\": \"optional, string\",\n                        \"NCM\": \"optional, string\",\n                        \"NVE\": [\n                            \"optional, string\"\n                        ],\n                        \"gCred\": {\n                            \"cCredPresumido\": \"optional, string\",\n                            \"pCredPresumido\": \"optional, string\",\n                            \"vCredPresumido\": \"optional, string\"\n                        },\n                        \"CEST\": \"optional, string\",\n                        \"indEscala\": \"optional, string\",\n                        \"CNPJFab\": \"optional, string\",\n                        \"cBenef\": \"optional, string\",\n                        \"EXTIPI\": \"optional, string\",\n                        \"tpCredPresIBSZFM\": \"optional, string\",\n                        \"CFOP\": \"optional, string\",\n                        \"uCom\": \"optional, string\",\n                        \"qCom\": \"optional, string\",\n                        \"vUnCom\": \"optional, string\",\n                        \"vProd\": \"optional, string\",\n                        \"cEANTrib\": \"optional, string\",\n                        \"cBarraTrib\": \"optional, string\",\n                        \"uTrib\": \"optional, string\",\n                        \"qTrib\": \"optional, string\",\n                        \"vUnTrib\": \"optional, string\",\n                        \"vFrete\": \"optional, string\",\n                        \"vSeg\": \"optional, string\",\n                        \"vDesc\": \"optional, string\",\n                        \"vOutro\": \"optional, string\",\n                        \"indTot\": \"optional, string\",\n                        \"xPed\": \"optional, string\",\n                        \"nItemPed\": \"optional, string\",\n                        \"nFCI\": \"optional, string\",\n                        \"nRECOPI\": \"optional, string\",\n                        \"indBemMovelUsado\": \"optional, string\",\n                        \"rastro\": [\n                            {\n                                \"nLote\": \"optional, string\",\n                                \"qLote\": \"optional, string\",\n                                \"dFab\": \"optional, YYYY-MM-DD\",\n                                \"dVal\": \"optional, YYYY-MM-DD\",\n                                \"cAgreg\": \"optional, string\"\n                            }\n                        ],\n                        \"infProdNFF\": {\n                            \"cProdFisco\": \"optional, string\",\n                            \"cOperNFF\": \"optional, string\"\n                        },\n                        \"infProdEmb\": {\n                            \"xEmb\": \"optional, string\",\n                            \"qVolEmb\": \"optional, string\",\n                            \"uEmb\": \"optional, string\"\n                        },\n                        \"detExport\": [\n                            {\n                                \"nDraw\": \"optional, string\",\n                                \"exportInd\": {\n                                    \"nRE\": \"optional, string\",\n                                    \"chNFe\": \"optional, string\",\n                                    \"qExport\": \"optional, string\"\n                                }\n                            }\n                        ],\n                        \"DI\": [\n                            {\n                                \"nDI\": \"optional, string\",\n                                \"dDI\": \"optional, YYYY-MM-DD\",\n                                \"xLocDesemb\": \"optional, string\",\n                                \"UFDesemb\": \"optional, string\",\n                                \"dDesemb\": \"optional, string\",\n                                \"tpViaTransp\": \"optional, string\",\n                                \"vAFRMM\": \"optional, string\",\n                                \"tpIntermedio\": \"optional, string\",\n                                \"CNPJ\": \"optional, string\",\n                                \"CPF\": \"optional, string\",\n                                \"UFTerceiro\": \"optional, string\",\n                                \"cExportador\": \"optional, string\",\n                                \"adi\": [\n                                    {\n                                        \"nAdicao\": \"optional, string\",\n                                        \"nSeqAdic\": \"optional, string\",\n                                        \"cFabricante\": \"optional, string\",\n                                        \"vDescDI\": \"optional, string\",\n                                        \"nDraw\": \"optional, string\"\n                                    }\n                                ]\n                            }\n                        ],\n                        \"med\": {\n                            \"cProdANVISA\": \"optional, string\",\n                            \"xMotivoIsencao\": \"optional, string\",\n                            \"vPMC\": \"optional, string\"\n                        },\n                        \"veicProd\": {\n                            \"tpOp\": \"optional, string\",\n                            \"chassi\": \"optional, string\",\n                            \"cCor\": \"optional, string\",\n                            \"xCor\": \"optional, string\",\n                            \"pot\": \"optional, string\",\n                            \"cilin\": \"optional, string\",\n                            \"pesoL\": \"optional, string\",\n                            \"pesoB\": \"optional, string\",\n                            \"nSerie\": \"optional, string\",\n                            \"tpComb\": \"optional, string\",\n                            \"nMotor\": \"optional, string\",\n                            \"CMT\": \"optional, string\",\n                            \"dist\": \"optional, string\",\n                            \"anoMod\": \"optional, string\",\n                            \"anoFab\": \"optional, string\",\n                            \"tpPint\": \"optional, string\",\n                            \"tpVeic\": \"optional, string\",\n                            \"espVeic\": \"optional, string\",\n                            \"VIN\": \"optional, string\",\n                            \"condVeic\": \"optional, string\",\n                            \"cMod\": \"optional, string\",\n                            \"cCorDENATRAN\": \"optional, string\",\n                            \"lota\": \"optional, string\",\n                            \"tpRest\": \"optional, string\"\n                        },\n                        \"arma\": [\n                            {\n                                \"tpArma\": \"optional, string\",\n                                \"nSerie\": \"optional, string\",\n                                \"nCano\": \"optional, string\",\n                                \"descr\": \"optional, string\"\n                            }\n                        ],\n                        \"comb\": {\n                            \"cProdANP\": \"optional, string\",\n                            \"descANP\": \"optional, string\",\n                            \"pGLP\": \"optional, string\",\n                            \"pGNn\": \"optional, string\",\n                            \"pGNi\": \"optional, string\",\n                            \"vPart\": \"optional, string\",\n                            \"CODIF\": \"optional, string\",\n                            \"qTemp\": \"optional, string\",\n                            \"UFCons\": \"optional, string\",\n                            \"pBio\": \"optional, string\",\n                            \"CIDE\": {\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCIDE\": \"optional, string\"\n                            },\n                            \"encerrante\": {\n                                \"nBico\": \"optional, string\",\n                                \"nBomba\": \"optional, string\",\n                                \"nTanque\": \"optional, string\",\n                                \"vEncIni\": \"optional, string\",\n                                \"vEncFin\": \"optional, string\"\n                            },\n                            \"origComb\": [\n                                {\n                                    \"indImport\": \"optional, string\",\n                                    \"cUFOrig\": \"optional, string\",\n                                    \"pOrig\": \"optional, string\"\n                                }\n                            ]\n                        }\n                    },\n                    \"imposto\": {\n                        \"vTotTrib\": \"optional, string\",\n                        \"ICMS\": {\n                            \"ICMS00\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\"\n                            },\n                            \"ICMS02\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\"\n                            },\n                            \"ICMS10\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS15\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"adRemICMSReten\": \"optional, string\",\n                                \"vICMSMonoReten\": \"optional, string\",\n                                \"pRedAdRem\": \"optional, string\",\n                                \"motRedAdRem\": \"optional, string\"\n                            },\n                            \"ICMS20\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\"\n                            },\n                            \"ICMS30\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS40\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS51\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"cBenefRBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMSOp\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSDif\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"pFCPDif\": \"optional, string\",\n                                \"vFCPDif\": \"optional, string\",\n                                \"vFCPEfet\": \"optional, string\"\n                            },\n                            \"ICMS53\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMonoOp\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSMonoDif\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoDif\": \"optional, string\",\n                                \"adRemICMSDif\": \"optional, string\"\n                            },\n                            \"ICMS60\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMS61\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMonoRet\": \"optional, string\",\n                                \"adRemICMSRet\": \"optional, string\",\n                                \"vICMSMonoRet\": \"optional, string\"\n                            },\n                            \"ICMS70\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS90\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMSPart\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pBCOp\": \"optional, string\",\n                                \"UFST\": \"optional, string\"\n                            },\n                            \"ICMSST\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"vBCSTDest\": \"optional, string\",\n                                \"vICMSSTDest\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN101\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN102\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\"\n                            },\n                            \"ICMSSN201\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN202\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\"\n                            },\n                            \"ICMSSN500\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN900\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            }\n                        },\n                        \"ICMSUFDest\": {\n                            \"vBCUFDest\": \"optional, string\",\n                            \"vBCFCPUFDest\": \"optional, string\",\n                            \"pFCPUFDest\": \"optional, string\",\n                            \"pICMSUFDest\": \"optional, string\",\n                            \"pICMSInter\": \"optional, string\",\n                            \"pICMSInterPart\": \"optional, string\",\n                            \"vFCPUFDest\": \"optional, string\",\n                            \"vICMSUFDest\": \"optional, string\",\n                            \"vICMSUFRemet\": \"optional, string\"\n                        },\n                        \"IPI\": {\n                            \"CNPJProd\": \"optional, string\",\n                            \"cSelo\": \"optional, string\",\n                            \"qSelo\": \"optional, string\",\n                            \"cEnq\": \"optional, string\",\n                            \"IPINT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"IPITrib\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pIPI\": \"optional, string\",\n                                \"vUnid\": \"optional, string\",\n                                \"qUnid\": \"optional, string\",\n                                \"vIPI\": \"optional, string\"\n                            }\n                        },\n                        \"II\": {\n                            \"vBC\": \"optional, string\",\n                            \"vDespAdu\": \"optional, string\",\n                            \"vII\": \"optional, string\",\n                            \"vIOF\": \"optional, string\"\n                        },\n                        \"PIS\": {\n                            \"PISAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pPIS\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISNT\": {\n                                \"CST\": \"Inserir\"\n                            },\n                            \"PISOutr\": {\n                                \"CST\": \"Inserir\",\n                                \"vBC\": \"Inserir\",\n                                \"pPIS\": \"Inserir\",\n                                \"qBCProd\": \"Inserir\",\n                                \"vAliqProd\": \"Inserir\",\n                                \"vPIS\": \"Inserir\"\n                            }\n                        },\n                        \"PISST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pPIS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vPIS\": \"optional, string\",\n                            \"indSomaPISST\": \"optional, string\"\n                        },\n                        \"COFINS\": {\n                            \"COFINSAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSNT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"COFINSOutr\": {\n                                \"CST\": \"Insoptional, stringerir\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            }\n                        },\n                        \"COFINSST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pCOFINS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vCOFINS\": \"optional, string\",\n                            \"indSomaCOFINSST\": \"Inserir\"\n                        },\n                        \"ISSQN\": {\n                            \"vBC\": \"optional, string\",\n                            \"vAliq\": \"optional, string\",\n                            \"vISSQN\": \"optional, string\",\n                            \"cMunFG\": \"optional, string\",\n                            \"cListServ\": \"optional, string\",\n                            \"vDeducao\": \"optional, string\",\n                            \"vOutro\": \"optional, string\",\n                            \"vDescIncond\": \"optional, string\",\n                            \"vDescCond\": \"optional, string\",\n                            \"vISSRet\": \"optional, string\",\n                            \"indISS\": \"optional, string\",\n                            \"cServico\": \"optional, string\",\n                            \"cMun\": \"optional, string\",\n                            \"cPais\": \"optional, string\",\n                            \"nProcesso\": \"optional, string\",\n                            \"indIncentivo\": \"optional, string\"\n                        },\n                        \"IS\": {\n                            \"CSTIS\": \"optional, string\",\n                            \"cClassTribIS\": \"optional, string\",\n                            \"vBCIS\": \"optional, string\",\n                            \"pIS\": \"optional, string\",\n                            \"pISEspec\": \"optional, string\",\n                            \"uTrib\": \"optional, string\",\n                            \"qTrib\": \"optional, string\",\n                            \"vIS\": \"optional, string\"\n                        },\n                        \"IBSCBS\": {\n                            \"CST\": \"optional, string\",\n                            \"cClassTrib\": \"optional, string\",\n                            \"indDoacao\": \"optional, string\",\n                            \"gIBSCBS\": {\n                                \"vBC\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"gIBSUF\": {\n                                    \"pIBSUF\": \"optional, string\",\n                                    \"vIBSUF\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gIBSMun\": {\n                                    \"pIBSMun\": \"optional, string\",\n                                    \"vIBSMun\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gCBS\": {\n                                    \"pCBS\": \"optional, string\",\n                                    \"vCBS\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gTribRegular\": {\n                                    \"CSTReg\": \"optional, string\",\n                                    \"cClassTribReg\": \"optional, string\",\n                                    \"pAliqEfetRegIBSUF\": \"optional, string\",\n                                    \"vTribRegIBSUF\": \"optional, string\",\n                                    \"pAliqEfetRegIBSMun\": \"optional, string\",\n                                    \"vTribRegIBSMun\": \"optional, string\",\n                                    \"pAliqEfetRegCBS\": \"optional, string\",\n                                    \"vTribRegCBS\": \"optional, string\"\n                                },\n                                \"gTribCompraGov\": {\n                                    \"pAliqIBSUF\": \"optional, string\",\n                                    \"vTribIBSUF\": \"optional, string\",\n                                    \"pAliqIBSMun\": \"optional, string\",\n                                    \"vTribIBSMun\": \"optional, string\",\n                                    \"pAliqCBS\": \"optional, string\",\n                                    \"vTribCBS\": \"optional, string\"\n                                }\n                            },\n                            \"gIBSCBSMono\": {\n                                \"gMonoPadrao\": {\n                                    \"qBCMono\": \"optional, string\",\n                                    \"adRemIBS\": \"optional, string\",\n                                    \"adRemCBS\": \"optional, string\",\n                                    \"vIBSMono\": \"optional, string\",\n                                    \"vCBSMono\": \"optional, string\"\n                                },\n                                \"gMonoReten\": {\n                                    \"qBCMonoReten\": \"optional, string\",\n                                    \"adRemIBSReten\": \"optional, string\",\n                                    \"vIBSMonoReten\": \"optional, string\",\n                                    \"adRemCBSReten\": \"optional, string\",\n                                    \"vCBSMonoReten\": \"optional, string\"\n                                },\n                                \"gMonoRet\": {\n                                    \"qBCMonoRet\": \"optional, string\",\n                                    \"adRemIBSRet\": \"optional, string\",\n                                    \"vIBSMonoRet\": \"optional, string\",\n                                    \"adRemCBSRet\": \"optional, string\",\n                                    \"vCBSMonoRet\": \"optional, string\"\n                                },\n                                \"gMonoDif\": {\n                                    \"pDifIBS\": \"optional, string\",\n                                    \"vIBSMonoDif\": \"optional, string\",\n                                    \"pDifCBS\": \"optional, string\",\n                                    \"vCBSMonoDif\": \"optional, string\"\n                                },\n                                \"vTotIBSMonoItem\": \"optional, string\",\n                                \"vTotCBSMonoItem\": \"optional, string\"\n                            },\n                            \"gTransfCred\": {\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gAjusteCompet\": {\n                                \"competApur\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gEstornoCred\": {\n                                \"vIBSEstCred\": \"optional, string\",\n                                \"vCBSEstCred\": \"optional, string\"\n                            },\n                            \"gCredPresOper\": {\n                                \"vBCCredPres\": \"optional, string\",\n                                \"cCredPres\": \"optional, string\",\n                                \"gIBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                },\n                                \"gCBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                }\n                            },\n                            \"gCredPresIBSZFM\": {\n                                \"competApur\": \"optional, string\",\n                                \"tpCredPresIBSZFM\": \"optional, string\",\n                                \"vCredPresIBSZFM\": \"optional, string\"\n                            }\n                        }\n                    },\n                    \"impostoDevol\": {\n                        \"pDevol\": \"optional, string\",\n                        \"IPI\": {\n                            \"vIPIDevol\": \"optional, string\"\n                        }\n                    },\n                    \"infAdProd\": \"optional, string\",\n                    \"obsItem\": {\n                        \"obsCont\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ],\n                        \"obsFisco\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ]\n                    },\n                    \"DFeReferenciado\": {\n                        \"chaveAcesso\": \"optional, string\",\n                        \"nItem\": \"optional, string\"\n                    }\n                }\n            ],\n            \"total\": {\n                \"ICMSTot\": {\n                    \"vBC\": \"optional, string\",\n                    \"vICMS\": \"optional, string\",\n                    \"vICMSDeson\": \"optional, string\",\n                    \"vFCPUFDest\": \"optional, string\",\n                    \"vICMSUFDest\": \"optional, string\",\n                    \"vICMSUFRemet\": \"optional, string\",\n                    \"vFCP\": \"optional, string\",\n                    \"vBCST\": \"optional, string\",\n                    \"vST\": \"optional, string\",\n                    \"vFCPST\": \"optional, string\",\n                    \"vFCPSTRet\": \"optional, string\",\n                    \"qBCMono\": \"optional, string\",\n                    \"vICMSMono\": \"optional, string\",\n                    \"qBCMonoReten\": \"optional, string\",\n                    \"vICMSMonoReten\": \"optional, string\",\n                    \"qBCMonoRet\": \"optional, string\",\n                    \"vICMSMonoRet\": \"optional, string\",\n                    \"vProd\": \"optional, string\",\n                    \"vFrete\": \"optional, string\",\n                    \"vSeg\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vII\": \"optional, string\",\n                    \"vIPI\": \"optional, string\",\n                    \"vIPIDevol\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vNF\": \"optional, string\",\n                    \"vTotTrib\": \"optional, string\"\n                },\n                \"ISSQNtot\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBC\": \"optional, string\",\n                    \"vISS\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"dCompet\": \"optional, YYYY-MM-DD\",\n                    \"vDeducao\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vDescIncond\": \"optional, string\",\n                    \"vDescCond\": \"optional, string\",\n                    \"vISSRet\": \"optional, string\",\n                    \"cRegTrib\": \"Inserir\"\n                },\n                \"retTrib\": {\n                    \"vRetPIS\": \"optional, string\",\n                    \"vRetCOFINS\": \"optional, string\",\n                    \"vRetCSLL\": \"optional, string\",\n                    \"vBCIRRF\": \"optional, string\",\n                    \"vIRRF\": \"optional, string\",\n                    \"vBCRetPrev\": \"optional, string\",\n                    \"vRetPrev\": \"optional, string\"\n                },\n                \"ISTot\": {\n                    \"vIS\": \"optional, string\"\n                },\n                \"IBSCBSTot\": {\n                    \"vBCIBSCBS\": \"optional, string\",\n                    \"gIBS\": {\n                        \"gIBSUF\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSUF\": \"optional, string\"\n                        },\n                        \"gIBSMun\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSMun\": \"optional, string\"\n                        },\n                        \"vIBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gCBS\": {\n                        \"vDif\": \"optional, string\",\n                        \"vDevTrib\": \"optional, string\",\n                        \"vCBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gMono\": {\n                        \"vIBSMono\": \"optional, string\",\n                        \"vCBSMono\": \"optional, string\",\n                        \"vIBSMonoReten\": \"optional, string\",\n                        \"vCBSMonoReten\": \"optional, string\",\n                        \"vIBSMonoRet\": \"optional, string\",\n                        \"vCBSMonoRet\": \"optional, string\"\n                    },\n                    \"gEstornoCred\": {\n                        \"vIBSEstCred\": \"optional, string\",\n                        \"vCBSEstCred\": \"optional, string\"\n                    }\n                },\n                \"vNFTot\": \"optional, string\"\n            },\n            \"transp\": {\n                \"modFrete\": \"optional, string\",\n                \"transporta\": {\n                    \"xNome\": \"optional, string\",\n                    \"IE\": \"optional, string\",\n                    \"xEnder\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\"\n                },\n                \"retTransp\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBCRet\": \"optional, string\",\n                    \"pICMSRet\": \"optional, string\",\n                    \"vICMSRet\": \"optional, string\",\n                    \"CFOP\": \"optional, string\",\n                    \"cMunFG\": \"optional, string\"\n                },\n                \"vol\": [\n                    {\n                        \"qVol\": \"optional, string\",\n                        \"esp\": \"optional, string\",\n                        \"marca\": \"optional, string\",\n                        \"nVol\": \"optional, string\",\n                        \"pesoL\": \"optional, string\",\n                        \"pesoB\": \"optional, string\",\n                        \"lacres\": [\n                            {\n                                \"nLacre\": \"optional, string\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"cobr\": {\n                \"fat\": {\n                    \"nFat\": \"optional, string\",\n                    \"vOrig\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vLiq\": \"optional, string\"\n                },\n                \"dup\": [\n                    {\n                        \"nDup\": \"optional, string\",\n                        \"dVenc\": \"optional, YYYY-MM-DD\",\n                        \"vDup\": \"optional, string\"\n                    }\n                ]\n            },\n            \"pag\": {\n                \"detPag\": [\n                    {\n                        \"indPag\": \"optional, string\",\n                        \"tPag\": \"optional, string\",\n                        \"vPag\": \"optional, string\",\n                        \"xPag\": \"optional, string\",\n                        \"dPag\": \"optional, YYYY-MM-DD\",\n                        \"CNPJPag\": \"optional, string\",\n                        \"UFPag\": \"optional, string\",\n                        \"card\": {\n                            \"tpIntegra\": \"optional, string\",\n                            \"CNPJ\": \"optional, string\",\n                            \"tBand\": \"optional, string\",\n                            \"cAut\": \"optional, string\",\n                            \"CNPJReceb\": \"optional, string\",\n                            \"idTermPag\": \"optional, string\"\n                        }\n                    }\n                ],\n                \"vTroco\": \"optional, string\"\n            },\n            \"infIntermed\": {\n                \"CNPJ\": \"optional, string\",\n                \"idCadIntTran\": \"optional, string\"\n            },\n            \"infAdic\": {\n                \"infAdFisco\": \"optional, string\",\n                \"infCpl\": \"optional, string\",\n                \"obsCont\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"obsFisco\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"procRef\": [\n                    {\n                        \"nProc\": \"optional, string\",\n                        \"indProc\": \"optional, string\",\n                        \"tpAto\": \"optional, string\"\n                    }\n                ]\n            },\n            \"exporta\": {\n                \"UFSaidaPais\": \"optional, string\",\n                \"xLocExporta\": \"optional, string\",\n                \"xLocDespacho\": \"optional, string\"\n            },\n            \"compra\": {\n                \"xNEmp\": \"optional, string\",\n                \"xPed\": \"optional, string\",\n                \"xCont\": \"optional, string\"\n            },\n            \"cana\": {\n                \"safra\": \"optional, string\",\n                \"ref\": \"optional, string\",\n                \"forDia\": [\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    },\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    }\n                ],\n                \"qTotMes\": \"optional, string\",\n                \"qTotAnt\": \"optional, string\",\n                \"qTotGer\": \"optional, string\",\n                \"deduc\": [\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    },\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    }\n                ],\n                \"vFor\": \"optional, string\",\n                \"vTotDed\": \"optional, string\",\n                \"vLiqFor\": \"optional, string\"\n            },\n            \"infRespTec\": {\n                \"CNPJ\": \"optional, string\",\n                \"xContato\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"idCSRT\": \"optional, string\",\n                \"hashCSRT\": \"optional, string\"\n            },\n            \"infSolicNFF\": {\n                \"xSolic\": \"optional, string\"\n            },\n            \"agropecuario\": {\n                \"defensivo\": [\n                    {\n                        \"nReceituario\": \"optional, string\",\n                        \"CPFRespTec\": \"optional, string\"\n                    }\n                ],\n                \"guiaTransito\": {\n                    \"tpGuia\": \"optional, string\",\n                    \"UFGuia\": \"optional, string\",\n                    \"serieGuia\": \"optional, string\",\n                    \"nGuia\": \"optional, string\"\n                }\n            }\n        },\n        \"infNFeSupl\": {\n            \"qrCode\": \"optional, string\",\n            \"urlChave\": \"optional, string\"\n        },\n        \"Signature\": \"optional, string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"dbe4d546-faab-4ed8-a93c-5bf2b0e8f3bb","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"NFe\": {\n        \"infNFe\": {\n            \"ide\": {\n                \"cUF\": \"optional, string\",\n                \"cNF\": \"optional, string\",\n                \"natOp\": \"optional, string\",\n                \"mod\": \"required, string\",\n                \"serie\": \"optional, string\",\n                \"nNF\": \"optional, string\",\n                \"dhEmi\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dhSaiEnt\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"dPrevEntrega\": \"optional, YYYY-MM-DD\",\n                \"tpNF\": \"optional, string\",\n                \"idDest\": \"optional, string\",\n                \"cMunFG\": \"optional, string\",\n                \"cMunFGIBS\": \"optional, string\",\n                \"tpImp\": \"optional, string\",\n                \"tpEmis\": \"optional, string\",\n                \"cDV\": \"optional, string\",\n                \"tpAmb\": \"optional, string\",\n                \"finNFe\": \"optional, string\",\n                \"tpNFDebito\": \"optional, string\",\n                \"tpNFCredito\": \"optional, string\",\n                \"indFinal\": \"optional, string\",\n                \"indPres\": \"optional, string\",\n                \"indIntermed\": \"optional, string\",\n                \"procEmi\": \"optional, string\",\n                \"verProc\": \"optional, string\",\n                \"dhCont\": \"optional, YYYY-MM-DDThh:mm:ss.SSSZ\",\n                \"xJust\": \"optional, string\",\n                \"gCompraGov\": {\n                    \"tpEnteGov\": \"optional, string\",\n                    \"pRedutor\": \"optional, string\",\n                    \"tpOperGov\": \"optional, string\"\n                },\n                \"gPagAntecipado\": [\n                    {\n                        \"refNFe\": \"optional, string\"\n                    }\n                ],\n                \"NFref\": [\n                    {\n                        \"refNFe\": \"optional, string\",\n                        \"refNFeSig\": \"optional, string\",\n                        \"refNF\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"CNPJ\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refNFP\": {\n                            \"cUF\": \"optional, string\",\n                            \"AAMM\": \"optional, YYYYMM\",\n                            \"IE\": \"optional, string\",\n                            \"mod\": \"optional, string\",\n                            \"serie\": \"optional, string\",\n                            \"nNF\": \"optional, string\"\n                        },\n                        \"refCTe\": \"optional, string\",\n                        \"refECF\": {\n                            \"mod\": \"optional, string\",\n                            \"nECF\": \"optional, string\",\n                            \"nCOO\": \"optional, string\"\n                        }\n                    }\n                ]\n            },\n            \"emit\": {\n                \"xNome\": \"optional, string\",\n                \"xFant\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IEST\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"CNAE\": \"optional, string\",\n                \"CRT\": \"optional, string\",\n                \"enderEmit\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"avulsa\": {\n                \"CNPJ\": \"optional, string\",\n                \"xOrgao\": \"optional, string\",\n                \"matr\": \"optional, string\",\n                \"xAgente\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"nDAR\": \"optional, string\",\n                \"dEmi\": \"optional, string\",\n                \"vDAR\": \"optional, string\",\n                \"repEmi\": \"optional, string\",\n                \"dPag\": \"optional, string\"\n            },\n            \"dest\": {\n                \"xNome\": \"optional, string\",\n                \"CNPJ\": \"optional, string\",\n                \"CPF\": \"optional, string\",\n                \"idEstrangeiro\": \"optional, string\",\n                \"indIEDest\": \"optional, string\",\n                \"IE\": \"optional, string\",\n                \"IM\": \"optional, string\",\n                \"ISUF\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"enderDest\": {\n                    \"xLgr\": \"optional, string\",\n                    \"nro\": \"optional, string\",\n                    \"xCpl\": \"optional, string\",\n                    \"xBairro\": \"optional, string\",\n                    \"cMun\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\",\n                    \"CEP\": \"optional, string\",\n                    \"cPais\": \"optional, string\",\n                    \"xPais\": \"optional, string\",\n                    \"fone\": \"optional, string\"\n                }\n            },\n            \"retirada\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"entrega\": {\n                \"CNPJ\": \"optional, string\",\n                \"xNome\": \"optional, string\",\n                \"xLgr\": \"optional, string\",\n                \"nro\": \"optional, string\",\n                \"xCpl\": \"optional, string\",\n                \"xBairro\": \"optional, string\",\n                \"cMun\": \"optional, string\",\n                \"xMun\": \"optional, string\",\n                \"UF\": \"optional, string\",\n                \"CEP\": \"optional, string\",\n                \"cPais\": \"optional, string\",\n                \"xPais\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"IE\": \"optional, string\"\n            },\n            \"autXML\": [\n                {\n                    \"CNPJ\": \"optional, string\"\n                },\n                {\n                    \"CPF\": \"optional, string\"\n                }\n            ],\n            \"det\": [\n                {\n                    \"vItem\": \"optional, string\",\n                    \"prod\": {\n                        \"cProd\": \"optional, string\",\n                        \"cEAN\": \"optional, string\",\n                        \"cBarra\": \"optional, string\",\n                        \"xProd\": \"optional, string\",\n                        \"NCM\": \"optional, string\",\n                        \"NVE\": [\n                            \"optional, string\"\n                        ],\n                        \"gCred\": {\n                            \"cCredPresumido\": \"optional, string\",\n                            \"pCredPresumido\": \"optional, string\",\n                            \"vCredPresumido\": \"optional, string\"\n                        },\n                        \"CEST\": \"optional, string\",\n                        \"indEscala\": \"optional, string\",\n                        \"CNPJFab\": \"optional, string\",\n                        \"cBenef\": \"optional, string\",\n                        \"EXTIPI\": \"optional, string\",\n                        \"tpCredPresIBSZFM\": \"optional, string\",\n                        \"CFOP\": \"optional, string\",\n                        \"uCom\": \"optional, string\",\n                        \"qCom\": \"optional, string\",\n                        \"vUnCom\": \"optional, string\",\n                        \"vProd\": \"optional, string\",\n                        \"cEANTrib\": \"optional, string\",\n                        \"cBarraTrib\": \"optional, string\",\n                        \"uTrib\": \"optional, string\",\n                        \"qTrib\": \"optional, string\",\n                        \"vUnTrib\": \"optional, string\",\n                        \"vFrete\": \"optional, string\",\n                        \"vSeg\": \"optional, string\",\n                        \"vDesc\": \"optional, string\",\n                        \"vOutro\": \"optional, string\",\n                        \"indTot\": \"optional, string\",\n                        \"xPed\": \"optional, string\",\n                        \"nItemPed\": \"optional, string\",\n                        \"nFCI\": \"optional, string\",\n                        \"nRECOPI\": \"optional, string\",\n                        \"indBemMovelUsado\": \"optional, string\",\n                        \"rastro\": [\n                            {\n                                \"nLote\": \"optional, string\",\n                                \"qLote\": \"optional, string\",\n                                \"dFab\": \"optional, YYYY-MM-DD\",\n                                \"dVal\": \"optional, YYYY-MM-DD\",\n                                \"cAgreg\": \"optional, string\"\n                            }\n                        ],\n                        \"infProdNFF\": {\n                            \"cProdFisco\": \"optional, string\",\n                            \"cOperNFF\": \"optional, string\"\n                        },\n                        \"infProdEmb\": {\n                            \"xEmb\": \"optional, string\",\n                            \"qVolEmb\": \"optional, string\",\n                            \"uEmb\": \"optional, string\"\n                        },\n                        \"detExport\": [\n                            {\n                                \"nDraw\": \"optional, string\",\n                                \"exportInd\": {\n                                    \"nRE\": \"optional, string\",\n                                    \"chNFe\": \"optional, string\",\n                                    \"qExport\": \"optional, string\"\n                                }\n                            }\n                        ],\n                        \"DI\": [\n                            {\n                                \"nDI\": \"optional, string\",\n                                \"dDI\": \"optional, YYYY-MM-DD\",\n                                \"xLocDesemb\": \"optional, string\",\n                                \"UFDesemb\": \"optional, string\",\n                                \"dDesemb\": \"optional, string\",\n                                \"tpViaTransp\": \"optional, string\",\n                                \"vAFRMM\": \"optional, string\",\n                                \"tpIntermedio\": \"optional, string\",\n                                \"CNPJ\": \"optional, string\",\n                                \"CPF\": \"optional, string\",\n                                \"UFTerceiro\": \"optional, string\",\n                                \"cExportador\": \"optional, string\",\n                                \"adi\": [\n                                    {\n                                        \"nAdicao\": \"optional, string\",\n                                        \"nSeqAdic\": \"optional, string\",\n                                        \"cFabricante\": \"optional, string\",\n                                        \"vDescDI\": \"optional, string\",\n                                        \"nDraw\": \"optional, string\"\n                                    }\n                                ]\n                            }\n                        ],\n                        \"med\": {\n                            \"cProdANVISA\": \"optional, string\",\n                            \"xMotivoIsencao\": \"optional, string\",\n                            \"vPMC\": \"optional, string\"\n                        },\n                        \"veicProd\": {\n                            \"tpOp\": \"optional, string\",\n                            \"chassi\": \"optional, string\",\n                            \"cCor\": \"optional, string\",\n                            \"xCor\": \"optional, string\",\n                            \"pot\": \"optional, string\",\n                            \"cilin\": \"optional, string\",\n                            \"pesoL\": \"optional, string\",\n                            \"pesoB\": \"optional, string\",\n                            \"nSerie\": \"optional, string\",\n                            \"tpComb\": \"optional, string\",\n                            \"nMotor\": \"optional, string\",\n                            \"CMT\": \"optional, string\",\n                            \"dist\": \"optional, string\",\n                            \"anoMod\": \"optional, string\",\n                            \"anoFab\": \"optional, string\",\n                            \"tpPint\": \"optional, string\",\n                            \"tpVeic\": \"optional, string\",\n                            \"espVeic\": \"optional, string\",\n                            \"VIN\": \"optional, string\",\n                            \"condVeic\": \"optional, string\",\n                            \"cMod\": \"optional, string\",\n                            \"cCorDENATRAN\": \"optional, string\",\n                            \"lota\": \"optional, string\",\n                            \"tpRest\": \"optional, string\"\n                        },\n                        \"arma\": [\n                            {\n                                \"tpArma\": \"optional, string\",\n                                \"nSerie\": \"optional, string\",\n                                \"nCano\": \"optional, string\",\n                                \"descr\": \"optional, string\"\n                            }\n                        ],\n                        \"comb\": {\n                            \"cProdANP\": \"optional, string\",\n                            \"descANP\": \"optional, string\",\n                            \"pGLP\": \"optional, string\",\n                            \"pGNn\": \"optional, string\",\n                            \"pGNi\": \"optional, string\",\n                            \"vPart\": \"optional, string\",\n                            \"CODIF\": \"optional, string\",\n                            \"qTemp\": \"optional, string\",\n                            \"UFCons\": \"optional, string\",\n                            \"pBio\": \"optional, string\",\n                            \"CIDE\": {\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCIDE\": \"optional, string\"\n                            },\n                            \"encerrante\": {\n                                \"nBico\": \"optional, string\",\n                                \"nBomba\": \"optional, string\",\n                                \"nTanque\": \"optional, string\",\n                                \"vEncIni\": \"optional, string\",\n                                \"vEncFin\": \"optional, string\"\n                            },\n                            \"origComb\": [\n                                {\n                                    \"indImport\": \"optional, string\",\n                                    \"cUFOrig\": \"optional, string\",\n                                    \"pOrig\": \"optional, string\"\n                                }\n                            ]\n                        }\n                    },\n                    \"imposto\": {\n                        \"vTotTrib\": \"optional, string\",\n                        \"ICMS\": {\n                            \"ICMS00\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\"\n                            },\n                            \"ICMS02\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\"\n                            },\n                            \"ICMS10\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS15\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"adRemICMSReten\": \"optional, string\",\n                                \"vICMSMonoReten\": \"optional, string\",\n                                \"pRedAdRem\": \"optional, string\",\n                                \"motRedAdRem\": \"optional, string\"\n                            },\n                            \"ICMS20\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\"\n                            },\n                            \"ICMS30\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS40\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\"\n                            },\n                            \"ICMS51\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"cBenefRBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMSOp\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSDif\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"pFCPDif\": \"optional, string\",\n                                \"vFCPDif\": \"optional, string\",\n                                \"vFCPEfet\": \"optional, string\"\n                            },\n                            \"ICMS53\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMono\": \"optional, string\",\n                                \"adRemICMS\": \"optional, string\",\n                                \"vICMSMonoOp\": \"optional, string\",\n                                \"qBCMonoReten\": \"optional, string\",\n                                \"pDif\": \"optional, string\",\n                                \"vICMSMonoDif\": \"optional, string\",\n                                \"vICMSMono\": \"optional, string\",\n                                \"qBCMonoDif\": \"optional, string\",\n                                \"adRemICMSDif\": \"optional, string\"\n                            },\n                            \"ICMS60\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMS61\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"qBCMonoRet\": \"optional, string\",\n                                \"adRemICMSRet\": \"optional, string\",\n                                \"vICMSMonoRet\": \"optional, string\"\n                            },\n                            \"ICMS70\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMS90\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"vICMSDeson\": \"optional, string\",\n                                \"motDesICMS\": \"optional, string\",\n                                \"indDeduzDeson\": \"optional, string\",\n                                \"vICMSSTDeson\": \"optional, string\",\n                                \"motDesICMSST\": \"optional, string\"\n                            },\n                            \"ICMSPart\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pBCOp\": \"optional, string\",\n                                \"UFST\": \"optional, string\"\n                            },\n                            \"ICMSST\": {\n                                \"orig\": \"optional, string\",\n                                \"CST\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"vBCSTDest\": \"optional, string\",\n                                \"vICMSSTDest\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN101\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN102\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\"\n                            },\n                            \"ICMSSN201\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            },\n                            \"ICMSSN202\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\"\n                            },\n                            \"ICMSSN500\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"vBCSTRet\": \"optional, string\",\n                                \"pST\": \"optional, string\",\n                                \"vICMSSubstituto\": \"optional, string\",\n                                \"vICMSSTRet\": \"optional, string\",\n                                \"vBCFCPSTRet\": \"optional, string\",\n                                \"pFCPSTRet\": \"optional, string\",\n                                \"vFCPSTRet\": \"optional, string\",\n                                \"pRedBCEfet\": \"optional, string\",\n                                \"vBCEfet\": \"optional, string\",\n                                \"pICMSEfet\": \"optional, string\",\n                                \"vICMSEfet\": \"optional, string\"\n                            },\n                            \"ICMSSN900\": {\n                                \"orig\": \"optional, string\",\n                                \"CSOSN\": \"optional, string\",\n                                \"modBC\": \"optional, string\",\n                                \"pRedBC\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pICMS\": \"optional, string\",\n                                \"vICMS\": \"optional, string\",\n                                \"vBCFCP\": \"optional, string\",\n                                \"pFCP\": \"optional, string\",\n                                \"vFCP\": \"optional, string\",\n                                \"modBCST\": \"optional, string\",\n                                \"pMVAST\": \"optional, string\",\n                                \"pRedBCST\": \"optional, string\",\n                                \"vBCST\": \"optional, string\",\n                                \"pICMSST\": \"optional, string\",\n                                \"vICMSST\": \"optional, string\",\n                                \"vBCFCPST\": \"optional, string\",\n                                \"pFCPST\": \"optional, string\",\n                                \"vFCPST\": \"optional, string\",\n                                \"pCredSN\": \"optional, string\",\n                                \"vCredICMSSN\": \"optional, string\"\n                            }\n                        },\n                        \"ICMSUFDest\": {\n                            \"vBCUFDest\": \"optional, string\",\n                            \"vBCFCPUFDest\": \"optional, string\",\n                            \"pFCPUFDest\": \"optional, string\",\n                            \"pICMSUFDest\": \"optional, string\",\n                            \"pICMSInter\": \"optional, string\",\n                            \"pICMSInterPart\": \"optional, string\",\n                            \"vFCPUFDest\": \"optional, string\",\n                            \"vICMSUFDest\": \"optional, string\",\n                            \"vICMSUFRemet\": \"optional, string\"\n                        },\n                        \"IPI\": {\n                            \"CNPJProd\": \"optional, string\",\n                            \"cSelo\": \"optional, string\",\n                            \"qSelo\": \"optional, string\",\n                            \"cEnq\": \"optional, string\",\n                            \"IPINT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"IPITrib\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pIPI\": \"optional, string\",\n                                \"vUnid\": \"optional, string\",\n                                \"qUnid\": \"optional, string\",\n                                \"vIPI\": \"optional, string\"\n                            }\n                        },\n                        \"II\": {\n                            \"vBC\": \"optional, string\",\n                            \"vDespAdu\": \"optional, string\",\n                            \"vII\": \"optional, string\",\n                            \"vIOF\": \"optional, string\"\n                        },\n                        \"PIS\": {\n                            \"PISAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pPIS\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vPIS\": \"optional, string\"\n                            },\n                            \"PISNT\": {\n                                \"CST\": \"Inserir\"\n                            },\n                            \"PISOutr\": {\n                                \"CST\": \"Inserir\",\n                                \"vBC\": \"Inserir\",\n                                \"pPIS\": \"Inserir\",\n                                \"qBCProd\": \"Inserir\",\n                                \"vAliqProd\": \"Inserir\",\n                                \"vPIS\": \"Inserir\"\n                            }\n                        },\n                        \"PISST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pPIS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vPIS\": \"optional, string\",\n                            \"indSomaPISST\": \"optional, string\"\n                        },\n                        \"COFINS\": {\n                            \"COFINSAliq\": {\n                                \"CST\": \"optional, string\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSQtde\": {\n                                \"CST\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            },\n                            \"COFINSNT\": {\n                                \"CST\": \"optional, string\"\n                            },\n                            \"COFINSOutr\": {\n                                \"CST\": \"Insoptional, stringerir\",\n                                \"vBC\": \"optional, string\",\n                                \"pCOFINS\": \"optional, string\",\n                                \"qBCProd\": \"optional, string\",\n                                \"vAliqProd\": \"optional, string\",\n                                \"vCOFINS\": \"optional, string\"\n                            }\n                        },\n                        \"COFINSST\": {\n                            \"vBC\": \"optional, string\",\n                            \"pCOFINS\": \"optional, string\",\n                            \"qBCProd\": \"optional, string\",\n                            \"vAliqProd\": \"optional, string\",\n                            \"vCOFINS\": \"optional, string\",\n                            \"indSomaCOFINSST\": \"Inserir\"\n                        },\n                        \"ISSQN\": {\n                            \"vBC\": \"optional, string\",\n                            \"vAliq\": \"optional, string\",\n                            \"vISSQN\": \"optional, string\",\n                            \"cMunFG\": \"optional, string\",\n                            \"cListServ\": \"optional, string\",\n                            \"vDeducao\": \"optional, string\",\n                            \"vOutro\": \"optional, string\",\n                            \"vDescIncond\": \"optional, string\",\n                            \"vDescCond\": \"optional, string\",\n                            \"vISSRet\": \"optional, string\",\n                            \"indISS\": \"optional, string\",\n                            \"cServico\": \"optional, string\",\n                            \"cMun\": \"optional, string\",\n                            \"cPais\": \"optional, string\",\n                            \"nProcesso\": \"optional, string\",\n                            \"indIncentivo\": \"optional, string\"\n                        },\n                        \"IS\": {\n                            \"CSTIS\": \"optional, string\",\n                            \"cClassTribIS\": \"optional, string\",\n                            \"vBCIS\": \"optional, string\",\n                            \"pIS\": \"optional, string\",\n                            \"pISEspec\": \"optional, string\",\n                            \"uTrib\": \"optional, string\",\n                            \"qTrib\": \"optional, string\",\n                            \"vIS\": \"optional, string\"\n                        },\n                        \"IBSCBS\": {\n                            \"CST\": \"optional, string\",\n                            \"cClassTrib\": \"optional, string\",\n                            \"indDoacao\": \"optional, string\",\n                            \"gIBSCBS\": {\n                                \"vBC\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"gIBSUF\": {\n                                    \"pIBSUF\": \"optional, string\",\n                                    \"vIBSUF\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gIBSMun\": {\n                                    \"pIBSMun\": \"optional, string\",\n                                    \"vIBSMun\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gCBS\": {\n                                    \"pCBS\": \"optional, string\",\n                                    \"vCBS\": \"optional, string\",\n                                    \"gDif\": {\n                                        \"pDif\": \"optional, string\",\n                                        \"vDif\": \"optional, string\"\n                                    },\n                                    \"gDevTrib\": {\n                                        \"vDevTrib\": \"optional, string\"\n                                    },\n                                    \"gRed\": {\n                                        \"pRedAliq\": \"optional, string\",\n                                        \"pAliqEfet\": \"optional, string\"\n                                    }\n                                },\n                                \"gTribRegular\": {\n                                    \"CSTReg\": \"optional, string\",\n                                    \"cClassTribReg\": \"optional, string\",\n                                    \"pAliqEfetRegIBSUF\": \"optional, string\",\n                                    \"vTribRegIBSUF\": \"optional, string\",\n                                    \"pAliqEfetRegIBSMun\": \"optional, string\",\n                                    \"vTribRegIBSMun\": \"optional, string\",\n                                    \"pAliqEfetRegCBS\": \"optional, string\",\n                                    \"vTribRegCBS\": \"optional, string\"\n                                },\n                                \"gTribCompraGov\": {\n                                    \"pAliqIBSUF\": \"optional, string\",\n                                    \"vTribIBSUF\": \"optional, string\",\n                                    \"pAliqIBSMun\": \"optional, string\",\n                                    \"vTribIBSMun\": \"optional, string\",\n                                    \"pAliqCBS\": \"optional, string\",\n                                    \"vTribCBS\": \"optional, string\"\n                                }\n                            },\n                            \"gIBSCBSMono\": {\n                                \"gMonoPadrao\": {\n                                    \"qBCMono\": \"optional, string\",\n                                    \"adRemIBS\": \"optional, string\",\n                                    \"adRemCBS\": \"optional, string\",\n                                    \"vIBSMono\": \"optional, string\",\n                                    \"vCBSMono\": \"optional, string\"\n                                },\n                                \"gMonoReten\": {\n                                    \"qBCMonoReten\": \"optional, string\",\n                                    \"adRemIBSReten\": \"optional, string\",\n                                    \"vIBSMonoReten\": \"optional, string\",\n                                    \"adRemCBSReten\": \"optional, string\",\n                                    \"vCBSMonoReten\": \"optional, string\"\n                                },\n                                \"gMonoRet\": {\n                                    \"qBCMonoRet\": \"optional, string\",\n                                    \"adRemIBSRet\": \"optional, string\",\n                                    \"vIBSMonoRet\": \"optional, string\",\n                                    \"adRemCBSRet\": \"optional, string\",\n                                    \"vCBSMonoRet\": \"optional, string\"\n                                },\n                                \"gMonoDif\": {\n                                    \"pDifIBS\": \"optional, string\",\n                                    \"vIBSMonoDif\": \"optional, string\",\n                                    \"pDifCBS\": \"optional, string\",\n                                    \"vCBSMonoDif\": \"optional, string\"\n                                },\n                                \"vTotIBSMonoItem\": \"optional, string\",\n                                \"vTotCBSMonoItem\": \"optional, string\"\n                            },\n                            \"gTransfCred\": {\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gAjusteCompet\": {\n                                \"competApur\": \"optional, string\",\n                                \"vIBS\": \"optional, string\",\n                                \"vCBS\": \"optional, string\"\n                            },\n                            \"gEstornoCred\": {\n                                \"vIBSEstCred\": \"optional, string\",\n                                \"vCBSEstCred\": \"optional, string\"\n                            },\n                            \"gCredPresOper\": {\n                                \"vBCCredPres\": \"optional, string\",\n                                \"cCredPres\": \"optional, string\",\n                                \"gIBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                },\n                                \"gCBSCredPres\": {\n                                    \"pCredPres\": \"optional, string\",\n                                    \"vCredPres\": \"optional, string\",\n                                    \"vCredPresCondSus\": \"optional, string\"\n                                }\n                            },\n                            \"gCredPresIBSZFM\": {\n                                \"competApur\": \"optional, string\",\n                                \"tpCredPresIBSZFM\": \"optional, string\",\n                                \"vCredPresIBSZFM\": \"optional, string\"\n                            }\n                        }\n                    },\n                    \"impostoDevol\": {\n                        \"pDevol\": \"optional, string\",\n                        \"IPI\": {\n                            \"vIPIDevol\": \"optional, string\"\n                        }\n                    },\n                    \"infAdProd\": \"optional, string\",\n                    \"obsItem\": {\n                        \"obsCont\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ],\n                        \"obsFisco\": [\n                            {\n                                \"xCampo\": \"optional, string\",\n                                \"xTexto\": \"optional, string\"\n                            }\n                        ]\n                    },\n                    \"DFeReferenciado\": {\n                        \"chaveAcesso\": \"optional, string\",\n                        \"nItem\": \"optional, string\"\n                    }\n                }\n            ],\n            \"total\": {\n                \"ICMSTot\": {\n                    \"vBC\": \"optional, string\",\n                    \"vICMS\": \"optional, string\",\n                    \"vICMSDeson\": \"optional, string\",\n                    \"vFCPUFDest\": \"optional, string\",\n                    \"vICMSUFDest\": \"optional, string\",\n                    \"vICMSUFRemet\": \"optional, string\",\n                    \"vFCP\": \"optional, string\",\n                    \"vBCST\": \"optional, string\",\n                    \"vST\": \"optional, string\",\n                    \"vFCPST\": \"optional, string\",\n                    \"vFCPSTRet\": \"optional, string\",\n                    \"qBCMono\": \"optional, string\",\n                    \"vICMSMono\": \"optional, string\",\n                    \"qBCMonoReten\": \"optional, string\",\n                    \"vICMSMonoReten\": \"optional, string\",\n                    \"qBCMonoRet\": \"optional, string\",\n                    \"vICMSMonoRet\": \"optional, string\",\n                    \"vProd\": \"optional, string\",\n                    \"vFrete\": \"optional, string\",\n                    \"vSeg\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vII\": \"optional, string\",\n                    \"vIPI\": \"optional, string\",\n                    \"vIPIDevol\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vNF\": \"optional, string\",\n                    \"vTotTrib\": \"optional, string\"\n                },\n                \"ISSQNtot\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBC\": \"optional, string\",\n                    \"vISS\": \"optional, string\",\n                    \"vPIS\": \"optional, string\",\n                    \"vCOFINS\": \"optional, string\",\n                    \"dCompet\": \"optional, YYYY-MM-DD\",\n                    \"vDeducao\": \"optional, string\",\n                    \"vOutro\": \"optional, string\",\n                    \"vDescIncond\": \"optional, string\",\n                    \"vDescCond\": \"optional, string\",\n                    \"vISSRet\": \"optional, string\",\n                    \"cRegTrib\": \"Inserir\"\n                },\n                \"retTrib\": {\n                    \"vRetPIS\": \"optional, string\",\n                    \"vRetCOFINS\": \"optional, string\",\n                    \"vRetCSLL\": \"optional, string\",\n                    \"vBCIRRF\": \"optional, string\",\n                    \"vIRRF\": \"optional, string\",\n                    \"vBCRetPrev\": \"optional, string\",\n                    \"vRetPrev\": \"optional, string\"\n                },\n                \"ISTot\": {\n                    \"vIS\": \"optional, string\"\n                },\n                \"IBSCBSTot\": {\n                    \"vBCIBSCBS\": \"optional, string\",\n                    \"gIBS\": {\n                        \"gIBSUF\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSUF\": \"optional, string\"\n                        },\n                        \"gIBSMun\": {\n                            \"vDif\": \"optional, string\",\n                            \"vDevTrib\": \"optional, string\",\n                            \"vIBSMun\": \"optional, string\"\n                        },\n                        \"vIBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gCBS\": {\n                        \"vDif\": \"optional, string\",\n                        \"vDevTrib\": \"optional, string\",\n                        \"vCBS\": \"optional, string\",\n                        \"vCredPres\": \"optional, string\",\n                        \"vCredPresCondSus\": \"optional, string\"\n                    },\n                    \"gMono\": {\n                        \"vIBSMono\": \"optional, string\",\n                        \"vCBSMono\": \"optional, string\",\n                        \"vIBSMonoReten\": \"optional, string\",\n                        \"vCBSMonoReten\": \"optional, string\",\n                        \"vIBSMonoRet\": \"optional, string\",\n                        \"vCBSMonoRet\": \"optional, string\"\n                    },\n                    \"gEstornoCred\": {\n                        \"vIBSEstCred\": \"optional, string\",\n                        \"vCBSEstCred\": \"optional, string\"\n                    }\n                },\n                \"vNFTot\": \"optional, string\"\n            },\n            \"transp\": {\n                \"modFrete\": \"optional, string\",\n                \"transporta\": {\n                    \"xNome\": \"optional, string\",\n                    \"IE\": \"optional, string\",\n                    \"xEnder\": \"optional, string\",\n                    \"xMun\": \"optional, string\",\n                    \"UF\": \"optional, string\"\n                },\n                \"retTransp\": {\n                    \"vServ\": \"optional, string\",\n                    \"vBCRet\": \"optional, string\",\n                    \"pICMSRet\": \"optional, string\",\n                    \"vICMSRet\": \"optional, string\",\n                    \"CFOP\": \"optional, string\",\n                    \"cMunFG\": \"optional, string\"\n                },\n                \"vol\": [\n                    {\n                        \"qVol\": \"optional, string\",\n                        \"esp\": \"optional, string\",\n                        \"marca\": \"optional, string\",\n                        \"nVol\": \"optional, string\",\n                        \"pesoL\": \"optional, string\",\n                        \"pesoB\": \"optional, string\",\n                        \"lacres\": [\n                            {\n                                \"nLacre\": \"optional, string\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"cobr\": {\n                \"fat\": {\n                    \"nFat\": \"optional, string\",\n                    \"vOrig\": \"optional, string\",\n                    \"vDesc\": \"optional, string\",\n                    \"vLiq\": \"optional, string\"\n                },\n                \"dup\": [\n                    {\n                        \"nDup\": \"optional, string\",\n                        \"dVenc\": \"optional, YYYY-MM-DD\",\n                        \"vDup\": \"optional, string\"\n                    }\n                ]\n            },\n            \"pag\": {\n                \"detPag\": [\n                    {\n                        \"indPag\": \"optional, string\",\n                        \"tPag\": \"optional, string\",\n                        \"vPag\": \"optional, string\",\n                        \"xPag\": \"optional, string\",\n                        \"dPag\": \"optional, YYYY-MM-DD\",\n                        \"CNPJPag\": \"optional, string\",\n                        \"UFPag\": \"optional, string\",\n                        \"card\": {\n                            \"tpIntegra\": \"optional, string\",\n                            \"CNPJ\": \"optional, string\",\n                            \"tBand\": \"optional, string\",\n                            \"cAut\": \"optional, string\",\n                            \"CNPJReceb\": \"optional, string\",\n                            \"idTermPag\": \"optional, string\"\n                        }\n                    }\n                ],\n                \"vTroco\": \"optional, string\"\n            },\n            \"infIntermed\": {\n                \"CNPJ\": \"optional, string\",\n                \"idCadIntTran\": \"optional, string\"\n            },\n            \"infAdic\": {\n                \"infAdFisco\": \"optional, string\",\n                \"infCpl\": \"optional, string\",\n                \"obsCont\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"obsFisco\": [\n                    {\n                        \"xCampo\": \"optional, string\",\n                        \"xTexto\": \"optional, string\"\n                    }\n                ],\n                \"procRef\": [\n                    {\n                        \"nProc\": \"optional, string\",\n                        \"indProc\": \"optional, string\",\n                        \"tpAto\": \"optional, string\"\n                    }\n                ]\n            },\n            \"exporta\": {\n                \"UFSaidaPais\": \"optional, string\",\n                \"xLocExporta\": \"optional, string\",\n                \"xLocDespacho\": \"optional, string\"\n            },\n            \"compra\": {\n                \"xNEmp\": \"optional, string\",\n                \"xPed\": \"optional, string\",\n                \"xCont\": \"optional, string\"\n            },\n            \"cana\": {\n                \"safra\": \"optional, string\",\n                \"ref\": \"optional, string\",\n                \"forDia\": [\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    },\n                    {\n                        \"dia\": \"optional, string\",\n                        \"qtde\": \"optional, string\"\n                    }\n                ],\n                \"qTotMes\": \"optional, string\",\n                \"qTotAnt\": \"optional, string\",\n                \"qTotGer\": \"optional, string\",\n                \"deduc\": [\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    },\n                    {\n                        \"xDed\": \"optional, string\",\n                        \"vDed\": \"optional, string\"\n                    }\n                ],\n                \"vFor\": \"optional, string\",\n                \"vTotDed\": \"optional, string\",\n                \"vLiqFor\": \"optional, string\"\n            },\n            \"infRespTec\": {\n                \"CNPJ\": \"optional, string\",\n                \"xContato\": \"optional, string\",\n                \"email\": \"optional, string\",\n                \"fone\": \"optional, string\",\n                \"idCSRT\": \"optional, string\",\n                \"hashCSRT\": \"optional, string\"\n            },\n            \"infSolicNFF\": {\n                \"xSolic\": \"optional, string\"\n            },\n            \"agropecuario\": {\n                \"defensivo\": [\n                    {\n                        \"nReceituario\": \"optional, string\",\n                        \"CPFRespTec\": \"optional, string\"\n                    }\n                ],\n                \"guiaTransito\": {\n                    \"tpGuia\": \"optional, string\",\n                    \"UFGuia\": \"optional, string\",\n                    \"serieGuia\": \"optional, string\",\n                    \"nGuia\": \"optional, string\"\n                }\n            }\n        },\n        \"infNFeSupl\": {\n            \"qrCode\": \"optional, string\",\n            \"urlChave\": \"optional, string\"\n        },\n        \"Signature\": \"optional, string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"d95f16a6-a15e-43d1-99b4-c2987546bed8"},{"name":"cancellation","id":"9ce8b9d0-afb4-4955-bf67-8b9daf67ea7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices/event/{tpEvento}","description":"<p>To \"cancel\" an invoice you must send an event code equal to “110111” (for normal cancellation) or “110112” (for replacement cancellation). Cancellation by substitution is only allowed if the document model is equal to 65 - NFC-e and the emission type (tpEmis) is equal to 1 - Normal.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is provided, but if provided, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>subsidiaryId</td>\n<td>This is the invoice issuing subsidiary, the only one with powers to cancel it. It is mandatory to identify the issuing subsidiary by informing only its UUID (\"subsidiaryId\") or simultaneously the attributes \"accountId\", \"CNPJ\" and \"IE\" (another way of identifying the subsidiary), as they are exclusive. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>This is the invoice issuing subsidiary, the only one with powers to cancel it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>CNPJ</td>\n<td>This is the invoice issuing subsidiary, the only one with powers to cancel it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"CNPJ\" attribute must be a string containing 14 digits.</td>\n</tr>\n<tr>\n<td>IE</td>\n<td>This is the invoice issuing subsidiary, the only one with powers to cancel it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"IE\" attribute must be a string containing between 1 and 14 digits.</td>\n</tr>\n<tr>\n<td>chNFe</td>\n<td>This is the unique access key for the invoice that will be cancelled. It is mandatory to identify a previously authorized access key, not yet canceled and that is related to the informed subsidiary. It must be a string with length 44 digits.</td>\n</tr>\n<tr>\n<td>xJust</td>\n<td>This is justification for canceling the invoice. It is mandatory and must be a string between 15 and 256 characters long.</td>\n</tr>\n<tr>\n<td>chNFeRef</td>\n<td>This is the unique access key for the invoice deemed to be a replacement for the invoice that will be canceled by replacement. It is optional, but if informed, it must be a previously authorized access key in model \"65\", in offline contingency mode (tpEmis = 9), not yet cancelled, which is related to the informed subsidiary and which has the attributes \" cProd\", \"cEAN\", \"xProd\", \"NCM\", \"CFOP\", \"uCom\", \"qCom\", \"vUnCom\", \"vProd\", \"indTot\" with the same information declared in the replaced invoice. It must be a string with a length of 44 digits.</td>\n</tr>\n<tr>\n<td>CodigoCancelamentoNfse</td>\n<td>This is the invoice cancellation code, exclusively authorized in model \"99\" (NFS-e). It is mandatory, it must be a string and the content must be obtained from GET/tax-infos/name?page=1&amp;limit=100&amp;name=<strong>CodigoCancelamentoNfse</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["invoices","event","{tpEvento}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"16a6381c-12ab-4387-839f-730b3619d1f0","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\",\n    \"chNFeRef\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Invoice cancel event was started\",\n    \"requestId\": \"0197c200-ba2a-74eb-bc15-cb5b732f1a3b\"\n}"},{"id":"201bee8a-71ea-4f5f-b079-a24fda11ec01","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\",\n    \"chNFeRef\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"chNFe\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"9758a03a-0137-45e4-9eeb-88785b16c41a","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\",\n    \"chNFeRef\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"c5e16203-f472-4bff-9b85-f1a999784c7f","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\",\n    \"chNFeRef\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"9ce8b9d0-afb4-4955-bf67-8b9daf67ea7c"},{"name":"correction","id":"5e9feed8-6bb1-4c9a-b4cb-6673328c19a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices/event/{tpEvento}","description":"<p>For \"correction\" of an invoice you must send event code equal to \"110110\". It is only allowed to correct a document model equal to 55 - NF-e.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is provided, but if provided, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>subsidiaryId</td>\n<td>This is the subsidiary issuing the invoice, the only one with powers to correct it. It is mandatory to identify the issuing subsidiary by informing only its UUID (\"subsidiaryId\") or simultaneously the attributes \"accountId\", \"CNPJ\" and \"IE\" (another form of identification of the subsidiary), as they are exclusive. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>This is the subsidiary issuing the invoice, the only one with the power to correct it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>CNPJ</td>\n<td>This is the invoice issuing subsidiary, the only one with powers to correct it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"CNPJ\" attribute must be a string containing 14 digits.</td>\n</tr>\n<tr>\n<td>IE</td>\n<td>This is the invoice issuing subsidiary, the only one with powers to correct it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"IE\" attribute must be a string containing between 1 and 14 digits.</td>\n</tr>\n<tr>\n<td>chNFe</td>\n<td>This is the unique access key for the invoice to be corrected. It is mandatory to identify a previously authorized access key, not yet canceled and that is related to the informed subsidiary. It must be a string with a length of 44 digits.</td>\n</tr>\n<tr>\n<td>xCorrecao</td>\n<td>This is the rationale for correcting the invoice. It is required and must be a string between 15 and 256 characters long.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["invoices","event","{tpEvento}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"34baa76c-e781-4bd1-95e8-2d4bc23a1595","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Invoice correction event was started\",\n    \"requestId\": \"0197c200-ba2a-74eb-bc15-cb5b732f1a3b\"\n}"},{"id":"a65fdc8b-15ba-436f-a04b-38e8e627515c","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"chNFe\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"ef79d221-b2bb-486f-8173-313a09fc3666","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5d4a0575-e2d7-4efa-865f-d128b2f90071","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"5e9feed8-6bb1-4c9a-b4cb-6673328c19a9"},{"name":"disablement","id":"b12a58ae-58de-4a1f-b6ba-99e63c43cac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices/event/{tpEvento}","description":"<p>To \"disable\" an invoice number, you must send an event code equal to \"999999\" (Disablement). Disablement events are only allowed if the invoice number is no longer usable.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is provided, but if provided, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>subsidiaryId</td>\n<td>This is the subsidiary issuing the invoice, the only one with the power to disable your number. It is mandatory to identify the issuing subsidiary by informing only its UUID (\"subsidiaryId\") or simultaneously the attributes \"accountId\", \"CNPJ\" and \"IE\" (another form of identification of the subsidiary), as they are exclusive. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>This is the subsidiary issuing the invoice, the only one with powers to disable it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>CNPJ</td>\n<td>This is the subsidiary issuing the invoice, the only one with powers to disable it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"CNPJ\" attribute must be a string containing 14 digits.</td>\n</tr>\n<tr>\n<td>IE</td>\n<td>This is the subsidiary issuing the invoice, the only one with powers to disable it. It is mandatory to identify the issuing subsidiary by simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"IE\" attribute must be a string containing between 1 and 14 digits.</td>\n</tr>\n<tr>\n<td>mod</td>\n<td>This is the tax document template code associated with the number you want to disable, considering the tax document templates available on the platform. It is mandatory, it must be a string with length 2 and the informed content must be \"55\" (NF-e), \"65\" (NFC-e), \"57\" (CT-e), \"67\" (CT -e OS) and \"99\" (NFS-e).</td>\n</tr>\n<tr>\n<td>nNF</td>\n<td>This is the number you want to disable. It is mandatory and must be a number generated by the ContabilOne platform that has a rejected or error status that has not yet been used.</td>\n</tr>\n<tr>\n<td>serie</td>\n<td>This is the series associated with the number you want to disable. It is mandatory and must be a number.</td>\n</tr>\n<tr>\n<td>xJust</td>\n<td>This is the justification for the invalidation of the number. It is mandatory and must be a string between 15 and 256 characters long.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["invoices","event","{tpEvento}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"9f5d3f99-d44e-4ad5-b736-a9861bed77ba","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"mod\": \"required, string\",\n    \"nNF\": \"required, number array\",\n    \"serie\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Invoice disablement event was started\",\n    \"requestId\": \"0197c200-ba2a-74eb-bc15-cb5b732f1a3b\"\n}"},{"id":"dcb6f5b7-488e-4502-b8ba-e89a28f44cfd","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"mod\": \"required, string\",\n    \"nNF\": \"required, number array\",\n    \"serie\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"serie\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"1e35094e-1988-45b3-8d19-a822d38af500","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"mod\": \"required, string\",\n    \"nNF\": \"required, number array\",\n    \"serie\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"ae6ca19e-c253-42e8-a3a6-ce1d7d3ee872","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"mod\": \"required, string\",\n    \"nNF\": \"required, number array\",\n    \"serie\": \"required, string\",\n    \"xJust\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"b12a58ae-58de-4a1f-b6ba-99e63c43cac3"},{"name":"manifestation","id":"d6b1bedf-c992-4e8c-9ed5-38813dc71c99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices/event/{tpEvento}","description":"<p>For “manifestation” of an invoice as its recipient, you must send an event code equal to “210210” (aware), “210200” (realized), “210220” (unknown) or “210240” (unrealized).</p>\n<p>The statement is the recipient's prerogative and serves as proof of whether or not the transaction was carried out before the Brazilian public administration. Manifestation events will only be allowed if the document model is equal to 55 - NF-e and each manifestation event will only be allowed once, the last being the definitive one.</p>\n<p>Event code “210210” (aware) indicates to the public administration that the recipient of the tax document recognizes the possibility of a tax transaction between him and the issuer even before deeply assessing the transaction itself and providing a definitive statement. This event must occur within 10 days of the transaction date.</p>\n<p>The event code “210200” (realized) indicates to the public administration that the recipient of the tax document confirms that said tax transaction was carried out between him and the issuer. This event must occur within 180 days of the transaction date.</p>\n<p>Event code “210220” (unknown) indicates to the public administration that the recipient of the tax document confirms that he or she is unaware of the existence of said tax transaction. This event must occur within 180 days of the transaction date.</p>\n<p>Event code “210240” (unrealized) indicates to the public administration that the recipient of the tax document declares that said tax transaction was initiated, but not carried out between him and the issuer. This event must occur within 180 days of the transaction date.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is provided, but if provided, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>subsidiaryId</td>\n<td>This is the subsidiary that is the addressee of the invoice, the only one empowered to manifest it. It is mandatory to identify the receiving subsidiary by informing only its UUID (\"subsidiaryId\") or simultaneously the attributes \"accountId\", \"CNPJ\" and \"IE\" (another form of identification of the subsidiary), as they are exclusive. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>This is the subsidiary receiving the invoice, the only one qualified to manifest it. It is mandatory to identify the recipient, simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>CNPJ</td>\n<td>This is the subsidiary receiving the invoice, the only one qualified to manifest it. It is mandatory to identify the recipient, simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"CNPJ\" attribute must be a string containing 14 digits.</td>\n</tr>\n<tr>\n<td>IE</td>\n<td>This is the subsidiary receiving the invoice, the only one qualified to manifest it. It is mandatory to identify the recipient, simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"IE\" attribute must be a string containing between 1 and 14 digits.</td>\n</tr>\n<tr>\n<td>chNFe</td>\n<td>This is the unique access key for the invoice manifestation. It is mandatory to identify a previously authorized access key, which has not yet been canceled and which the informed subsidiary is in the capacity of recipient. It must be a string with a length of 44 digits.</td>\n</tr>\n<tr>\n<td>xJust</td>\n<td>This is the justification for the statement made by the recipient of the invoice. It is mandatory when the manifestation is code 210220 - Unknown operation or 210240 - Operation not executed. It must be a string between 15 and 256 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["invoices","event","{tpEvento}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"cb688433-f66a-479e-9745-ee6c66cec001","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Invoice manifestation event was started\",\n    \"requestId\": \"0197c200-ba2a-74eb-bc15-cb5b732f1a3b\"\n}"},{"id":"e3ca3a6b-71ab-487b-a30b-77406bff4aaa","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"chNFe\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"6f9b4c62-ef0e-492d-9de5-850a8460bd97","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"80f7927c-0d84-4cf4-97e2-560e85515b8f","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\",\n    \"xJust\": \"conditional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"d6b1bedf-c992-4e8c-9ed5-38813dc71c99"},{"name":"protocol query","id":"306bb5bd-3840-4efc-b1b0-c1bb88add0d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices/event/{tpEvento}","description":"<p>The protocol query event allows you to verify (i) whether the invoice access key has been authorized and (ii) whether the XML existing on the platform has an intact digital signature. It is this combination of factors that determines that the XML has \"legal validity\". To \"check the status\" of an invoice, you must send an event code equal to \"999996\".</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is provided, but if provided, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>subsidiaryId</td>\n<td>This is the subsidiary that is the addressee of the invoice, the only one empowered to manifest it. It is mandatory to identify the receiving subsidiary by informing only its UUID (\"subsidiaryId\") or simultaneously the attributes \"accountId\", \"CNPJ\" and \"IE\" (another form of identification of the subsidiary), as they are exclusive. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>This is the subsidiary receiving the invoice, the only one qualified to manifest it. It is mandatory to identify the recipient, simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. Must be a string containing a valid UUID.</td>\n</tr>\n<tr>\n<td>CNPJ</td>\n<td>This is the subsidiary receiving the invoice, the only one qualified to manifest it. It is mandatory to identify the recipient, simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"CNPJ\" attribute must be a string containing 14 digits.</td>\n</tr>\n<tr>\n<td>IE</td>\n<td>This is the subsidiary receiving the invoice, the only one qualified to manifest it. It is mandatory to identify the recipient, simultaneously informing the attributes \"accountId\", \"CNPJ\" and \"IE\" or just its UUID (\"subsidiaryId\"), as they are unique. The \"IE\" attribute must be a string containing between 1 and 14 digits.</td>\n</tr>\n<tr>\n<td>chNFe</td>\n<td>This is the unique access key for the invoice, used to view the invoice protocol. It must be a 44-digit sequence.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["invoices","event","{tpEvento}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"b39a8e98-a366-4f18-a57e-d466dc5dec05","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Invoice protocol query event was started\",\n    \"requestId\": \"0197c200-ba2a-74eb-bc15-cb5b732f1a3b\"\n}"},{"id":"f270f507-5634-4e78-bdf9-c0d7e9f8f0af","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"chNFe\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"430d1028-6498-4611-9bf7-b7c933a9a4cf","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"24a36923-7bdd-4c49-926c-d265ff062538","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"CNPJ\": \"conditional, string\",\n    \"IE\": \"conditional, string\",\n    \"chNFe\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices/event/{tpEvento}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"306bb5bd-3840-4efc-b1b0-c1bb88add0d6"},{"name":"invoices (list)","id":"62b7f95d-72d7-4cc0-9e63-af769a9cfec8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices","description":"<p>Through this endpoint, it is possible to list all invoice events for a specific domain, account, company or even a specific subsidiary. It is also possible to further refine your search using filters for specific attributes (name) using properties such as \"interval\" or \"term\" (type) with predetermined values (value).</p>\n<p>Properties of type “range” are those that allow you to find something within a range, for example, find an invoice between January and February 2022 or between the amount 50.00 and 1000.00.</p>\n<p>List of properties of type “range” available for filtering:</p>\n<ul>\n<li><p>\"det.prod.vProd\"</p>\n</li>\n<li><p>\"det.prod.vUnCom\"</p>\n</li>\n<li><p>\"vNF\"</p>\n</li>\n<li><p>\"ide.dhEmi\"</p>\n</li>\n<li><p>\"dhRecbto\"</p>\n</li>\n<li><p>\"authorization.createdAt\"</p>\n</li>\n<li><p>\"contingencyAuthorization.createdAt\"</p>\n</li>\n<li><p>\"cancellation.createdAt\"</p>\n</li>\n<li><p>\"corrections.createdAt\"</p>\n</li>\n<li><p>\"disablement.createdAt\",</p>\n</li>\n<li><p>\"distribution.createdAt\"</p>\n</li>\n<li><p>\"manifestationAware.createdAt\"</p>\n</li>\n<li><p>\"manifestationRealized.createdAt\"</p>\n</li>\n<li><p>\"manifestationUnknown.createdAt\"</p>\n</li>\n<li><p>\"manifestationUnrealized.createdAt\"</p>\n</li>\n</ul>\n<p><strong>Comments:</strong></p>\n<p>A) For value type properties (\"det.prod.vProd\", \"det.prod.vUnCom\" and \"vNF\") the format must be 13v2, that is, up to 13 integers and two decimals separated by a point (eg 1000.00).</p>\n<p>B) For data type properties (eg \"ide.dhEmi\", \"dhRecbto\", \"authorization.createdAt\" etc) the format must be \"YYYY-MM-DDThh:mm:ss\".</p>\n<p>Examples of how to represent “range” type properties in your request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"limit\": 10,\n    \"page\": 1,\n    \"filters\": [\n        {\n            \"name\": \"ide.dhEmi\",\n            \"start\": \"2026-01-12T00:00:00.000Z\",\n            \"end\": \"2026-01-12T23:59:59.000Z\",\n        },\n        {\n            \"name\": \"vNF\",\n            \"start\": \"10.00\",\n            \"end\": \"20.00\"\n        }\n    ]\n}\n\n</code></pre>\n<p>The \"term\" type properties are those that allow finding a defined value, for example, finding a document that had an issuer with CNPJ 00000000000001 or NCM 84715010.</p>\n<p>List of properties of type “term” available for filtering:</p>\n<ul>\n<li><p>\"remoteId\"</p>\n</li>\n<li><p>\"requestId\"</p>\n</li>\n<li><p>\"chNFe\"</p>\n</li>\n<li><p>\"terminalCashierNumber\"</p>\n</li>\n<li><p>\"recovery\"</p>\n</li>\n<li><p>\"emit.CNPJ\"</p>\n</li>\n<li><p>\"emit.IE\"</p>\n</li>\n<li><p>\"emit.CRT\"</p>\n</li>\n<li><p>\"emit.xNome\"</p>\n</li>\n<li><p>\"emit.xFant\"</p>\n</li>\n<li><p>\"emit.cMun\"</p>\n</li>\n<li><p>\"emit.UF\"</p>\n</li>\n<li><p>\"emit.xPais\"</p>\n</li>\n<li><p>\"dest.CNPJ\"</p>\n</li>\n<li><p>\"dest.CPF\"</p>\n</li>\n<li><p>\"dest.idEstrangeiro\"</p>\n</li>\n<li><p>\"dest.IE\"</p>\n</li>\n<li><p>\"dest.xNome\"</p>\n</li>\n<li><p>\"dest.xFant\"</p>\n</li>\n<li><p>\"dest.cMun\"</p>\n</li>\n<li><p>\"dest.UF\"</p>\n</li>\n<li><p>\"dest.xPais\"</p>\n</li>\n<li><p>\"ide.mod\"</p>\n</li>\n<li><p>\"ide.serie\"</p>\n</li>\n<li><p>\"ide.tpNF\"</p>\n</li>\n<li><p>\"ide.nNF\"</p>\n</li>\n<li><p>\"ide.nNFStatus\"</p>\n</li>\n<li><p>\"ide.tpEmis\"</p>\n</li>\n<li><p>\"ide.verProc\"</p>\n</li>\n<li><p>\"sefaz.cStat\"</p>\n</li>\n<li><p>\"sefaz.xMotivo\"</p>\n</li>\n<li><p>\"sefaz.nProt\"</p>\n</li>\n<li><p>\"det.prod.NCM\"</p>\n</li>\n<li><p>\"det.prod.CEST\"</p>\n</li>\n<li><p>\"det.prod.cProd\"</p>\n</li>\n<li><p>\"det.prod.xProd\"</p>\n</li>\n<li><p>\"det.prod.cEAN\"</p>\n</li>\n<li><p>\"det.prod.CFOP\"</p>\n</li>\n<li><p>\"det.prod.cBenef\"</p>\n</li>\n<li><p>\"det.imposto.ICMSCST\"</p>\n</li>\n<li><p>\"det.imposto.ICMSCSOSN\"</p>\n</li>\n<li><p>\"det.imposto.IPICST\"</p>\n</li>\n<li><p>\"det.imposto.PISCST\"</p>\n</li>\n<li><p>\"det.imposto.COFINSCST\"</p>\n</li>\n<li><p>\"det.infAdProd\"</p>\n</li>\n<li><p>\"authorization.status\"</p>\n</li>\n<li><p>\"contingencyAuthorization.status\"</p>\n</li>\n<li><p>\"cancellation.status\"</p>\n</li>\n<li><p>\"correction.status\"</p>\n</li>\n<li><p>\"disablement.status\"</p>\n</li>\n<li><p>\"distribution.status\"</p>\n</li>\n<li><p>\"manifestationRealized.status\"</p>\n</li>\n<li><p>\"manifestationUnknown.status\"</p>\n</li>\n<li><p>\"manifestationUnrealized.status\"</p>\n</li>\n<li><p>\"manifestationAware.status\"</p>\n</li>\n</ul>\n<p><strong>Comments:</strong></p>\n<p>A) For status type properties (eg \"status.authorization\") enter: <strong>AUTHORIZED</strong>, <strong>REJECTED</strong>, <strong>DENEGATED</strong>, <strong>PROCESSING</strong>, <strong>ERROR</strong>.</p>\n<p>Examples of how to represent “term” type properties in your request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"limit\": 10,\n    \"page\": 1,\n    \"filters\": [\n        {\n            \"name\": \"authorization.status\",\n            \"values\": [\n                \"AUTHORIZED\"\n            ]\n        },\n        {\n            \"name\": \"cancellation.status\",\n            \"values\": [\n                \"REJECTED\"\n            ]\n        },\n        {\n            \"name\": \"ide.mod\",\n            \"values\": [\n                \"65\"\n            ]\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["invoices"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"86f46f4c-e601-48f3-82d8-b5422f72c843","name":"200 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 10,\n    \"page\": 1,\n    \"whitelabelId\": \"optional, uuid-v7\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"companyId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"q\": \"optional, requestId|remoteId|chNFe|nProt\",\n    \"filters\": [\n        {\n            \"name\": \"emit.CNPJ\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"ide.dhEmi\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"ide.mod\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"authorization.status\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"cancellation.createdAt\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"det.prod.CFOP\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"vNF\",\n            \"start\": \"required, string\",\n            \"end\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api-homologation.omnitax.ai/invoices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"message\": {\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"createdAt\": {\n                    \"epoch\": 1758396018,\n                    \"formatted\": \"20/09/2025 - 16:20:18\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1758396144,\n                    \"formatted\": \"20/09/2025 - 16:22:24\"\n                },\n                \"finished\": true,\n                \"events\": [\n                    {\n                        \"type\": \"AUTHORIZATION\",\n                        \"label\": \"Autorização normal\",\n                        \"requestId\": \"{requestId}\",\n                        \"remoteId\": null,\n                        \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                        \"source\": \"API\",\n                        \"status\": {\n                            \"description\": \"AUTHORIZED\",\n                            \"cStat\": \"100\",\n                            \"xMotivo\": \"Autorizado o uso da NF-e\"\n                        },\n                        \"events\": [\n                            {\n                                \"type\": \"INCOMING_REQUEST\",\n                                \"label\": \"Requisição recebida\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/incoming-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396018,\n                                    \"formatted\": \"20/09/2025 - 16:20:18\"\n                                }\n                            },\n                            {\n                                \"type\": \"CALCULATION_REQUEST\",\n                                \"label\": \"Requisição do cálculo\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/calculation-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396021,\n                                    \"formatted\": \"20/09/2025 - 16:20:21\"\n                                }\n                            },\n                            {\n                                \"type\": \"CALCULATION_RESPONSE\",\n                                \"label\": \"Resposta do cálculo\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/calculation-response?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396021,\n                                    \"formatted\": \"20/09/2025 - 16:20:21\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_REQUEST\",\n                                \"label\": \"Requisição para SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/generated-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396026,\n                                    \"formatted\": \"20/09/2025 - 16:20:26\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_RESPONSE\",\n                                \"label\": \"Resposta da SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/sefaz-ret-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396027,\n                                    \"formatted\": \"20/09/2025 - 16:20:27\"\n                                },\n                                \"data\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_NFE_PL009_V4\",\n                                    \"cStat\": \"104\",\n                                    \"xMotivo\": \"Lote processado\",\n                                    \"cUF\": \"35\",\n                                    \"dhRecbto\": \"2025-09-20T16:20:27-03:00\",\n                                    \"infRec\": null,\n                                    \"protNFe\": {\n                                        \"infProt\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"SP_NFE_PL009_V4\",\n                                            \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                                            \"dhRecbto\": \"2025-09-20T16:20:27-03:00\",\n                                            \"nProt\": \"135250007509229\",\n                                            \"digVal\": \"d4eu03yAYojTn19zwMtk0k0Y1h8=\",\n                                            \"cStat\": \"100\",\n                                            \"xMotivo\": \"Autorizado o uso da NF-e\"\n                                        },\n                                        \"_versao\": \"4.00\"\n                                    }\n                                }\n                            },\n                            {\n                                \"type\": \"XML\",\n                                \"label\": \"XML\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396027,\n                                    \"formatted\": \"20/09/2025 - 16:20:27\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            },\n                            {\n                                \"type\": \"DANFE\",\n                                \"label\": \"Danfe\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/danfe?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396027,\n                                    \"formatted\": \"20/09/2025 - 16:20:27\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            }\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1758396018,\n                            \"formatted\": \"20/09/2025 - 16:20:18\"\n                        },\n                        \"lastStatus\": true\n                    },\n                    {\n                        \"type\": \"CORRECTION\",\n                        \"label\": \"Carta de correção\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"teste-correcao\",\n                        \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                        \"source\": \"API\",\n                        \"status\": {\n                            \"description\": \"AUTHORIZED\",\n                            \"cStat\": \"135\",\n                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                        },\n                        \"events\": [\n                            {\n                                \"type\": \"INCOMING_REQUEST\",\n                                \"label\": \"Requisição recebida\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/incoming-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396091,\n                                    \"formatted\": \"20/09/2025 - 16:21:31\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_REQUEST\",\n                                \"label\": \"Requisição para SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/generated-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396100,\n                                    \"formatted\": \"20/09/2025 - 16:21:40\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_RESPONSE\",\n                                \"label\": \"Resposta da SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/sefaz-ret-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396100,\n                                    \"formatted\": \"20/09/2025 - 16:21:40\"\n                                },\n                                \"data\": {\n                                    \"idLote\": \"1\",\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                    \"cOrgao\": \"35\",\n                                    \"cStat\": \"128\",\n                                    \"xMotivo\": \"Lote de Evento Processado\",\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                            \"cOrgao\": \"35\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                                            \"tpEvento\": \"110110\",\n                                            \"xEvento\": \"Carta de Correção registrada\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-09-20T16:21:40-03:00\",\n                                            \"nProt\": \"135250007509289\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    }\n                                }\n                            },\n                            {\n                                \"type\": \"XML\",\n                                \"label\": \"XML\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396101,\n                                    \"formatted\": \"20/09/2025 - 16:21:41\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            }\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1758396091,\n                            \"formatted\": \"20/09/2025 - 16:21:31\"\n                        },\n                        \"lastStatus\": true\n                    },\n                    {\n                        \"type\": \"MANIFESTATION\",\n                        \"label\": \"Manifestação - Ciência da Operação\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"teste-ciencia-da-operacao\",\n                        \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                        \"source\": \"API\",\n                        \"status\": {\n                            \"description\": \"AUTHORIZED\",\n                            \"cStat\": \"135\",\n                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                        },\n                        \"events\": [\n                            {\n                                \"type\": \"INCOMING_REQUEST\",\n                                \"label\": \"Requisição recebida\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/incoming-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396103,\n                                    \"formatted\": \"20/09/2025 - 16:21:43\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_REQUEST\",\n                                \"label\": \"Requisição para SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/generated-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396105,\n                                    \"formatted\": \"20/09/2025 - 16:21:45\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_RESPONSE\",\n                                \"label\": \"Resposta da SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/sefaz-ret-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396105,\n                                    \"formatted\": \"20/09/2025 - 16:21:45\"\n                                },\n                                \"data\": {\n                                    \"idLote\": \"1\",\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"128\",\n                                    \"xMotivo\": \"Lote de evento processado\",\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"AN_1.8.7\",\n                                            \"cOrgao\": \"91\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                                            \"tpEvento\": \"210210\",\n                                            \"xEvento\": \"Ciencia da Operacao\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-09-20T16:21:45-03:00\",\n                                            \"nProt\": \"891250009487698\",\n                                            \"_Id\": \"ID891250009487698\",\n                                            \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    }\n                                }\n                            },\n                            {\n                                \"type\": \"XML\",\n                                \"label\": \"XML\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396105,\n                                    \"formatted\": \"20/09/2025 - 16:21:45\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            }\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1758396102,\n                            \"formatted\": \"20/09/2025 - 16:21:42\"\n                        },\n                        \"lastStatus\": false\n                    },\n                    {\n                        \"type\": \"MANIFESTATION\",\n                        \"label\": \"Manifestação - Operação desconhecida\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"teste-operacao-desconhecida\",\n                        \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                        \"source\": \"API\",\n                        \"status\": {\n                            \"description\": \"AUTHORIZED\",\n                            \"cStat\": \"135\",\n                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                        },\n                        \"events\": [\n                            {\n                                \"type\": \"INCOMING_REQUEST\",\n                                \"label\": \"Requisição recebida\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/incoming-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396108,\n                                    \"formatted\": \"20/09/2025 - 16:21:48\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_REQUEST\",\n                                \"label\": \"Requisição para SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/generated-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396112,\n                                    \"formatted\": \"20/09/2025 - 16:21:52\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_RESPONSE\",\n                                \"label\": \"Resposta da SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/sefaz-ret-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396113,\n                                    \"formatted\": \"20/09/2025 - 16:21:53\"\n                                },\n                                \"data\": {\n                                    \"idLote\": \"1\",\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"128\",\n                                    \"xMotivo\": \"Lote de evento processado\",\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"AN_1.8.7\",\n                                            \"cOrgao\": \"91\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                                            \"tpEvento\": \"210220\",\n                                            \"xEvento\": \"Desconhecimento da Operacao\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-09-20T16:21:52-03:00\",\n                                            \"nProt\": \"891250009487700\",\n                                            \"_Id\": \"ID891250009487700\",\n                                            \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    }\n                                }\n                            },\n                            {\n                                \"type\": \"XML\",\n                                \"label\": \"XML\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396113,\n                                    \"formatted\": \"20/09/2025 - 16:21:53\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            }\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1758396108,\n                            \"formatted\": \"20/09/2025 - 16:21:48\"\n                        },\n                        \"lastStatus\": false\n                    },\n                    {\n                        \"type\": \"MANIFESTATION\",\n                        \"label\": \"Manifestação - Operação não Realizada\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"teste-operacao-nao-realizada\",\n                        \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                        \"source\": \"API\",\n                        \"status\": {\n                            \"description\": \"AUTHORIZED\",\n                            \"cStat\": \"135\",\n                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                        },\n                        \"events\": [\n                            {\n                                \"type\": \"INCOMING_REQUEST\",\n                                \"label\": \"Requisição recebida\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/incoming-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396124,\n                                    \"formatted\": \"20/09/2025 - 16:22:04\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_REQUEST\",\n                                \"label\": \"Requisição para SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/generated-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396127,\n                                    \"formatted\": \"20/09/2025 - 16:22:07\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_RESPONSE\",\n                                \"label\": \"Resposta da SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/sefaz-ret-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396128,\n                                    \"formatted\": \"20/09/2025 - 16:22:08\"\n                                },\n                                \"data\": {\n                                    \"idLote\": \"1\",\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"128\",\n                                    \"xMotivo\": \"Lote de evento processado\",\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"AN_1.8.7\",\n                                            \"cOrgao\": \"91\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                                            \"tpEvento\": \"210240\",\n                                            \"xEvento\": \"Operacao nao Realizada\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-09-20T16:22:08-03:00\",\n                                            \"nProt\": \"891250009487701\",\n                                            \"_Id\": \"ID891250009487701\",\n                                            \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    }\n                                }\n                            },\n                            {\n                                \"type\": \"XML\",\n                                \"label\": \"XML\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396128,\n                                    \"formatted\": \"20/09/2025 - 16:22:08\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            }\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1758396124,\n                            \"formatted\": \"20/09/2025 - 16:22:04\"\n                        },\n                        \"lastStatus\": false\n                    },\n                    {\n                        \"type\": \"MANIFESTATION\",\n                        \"label\": \"Manifestação - Operação Realizada\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"teste-operacao-realizada\",\n                        \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                        \"source\": \"API\",\n                        \"status\": {\n                            \"description\": \"AUTHORIZED\",\n                            \"cStat\": \"135\",\n                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                        },\n                        \"events\": [\n                            {\n                                \"type\": \"INCOMING_REQUEST\",\n                                \"label\": \"Requisição recebida\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/incoming-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396129,\n                                    \"formatted\": \"20/09/2025 - 16:22:09\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_REQUEST\",\n                                \"label\": \"Requisição para SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/generated-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396136,\n                                    \"formatted\": \"20/09/2025 - 16:22:16\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_RESPONSE\",\n                                \"label\": \"Resposta da SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/sefaz-ret-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396137,\n                                    \"formatted\": \"20/09/2025 - 16:22:17\"\n                                },\n                                \"data\": {\n                                    \"idLote\": \"1\",\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"128\",\n                                    \"xMotivo\": \"Lote de evento processado\",\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"AN_1.8.7\",\n                                            \"cOrgao\": \"91\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                                            \"tpEvento\": \"210200\",\n                                            \"xEvento\": \"Confirmacao da Operacao\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-09-20T16:22:17-03:00\",\n                                            \"nProt\": \"891250009487702\",\n                                            \"_Id\": \"ID891250009487702\",\n                                            \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    }\n                                }\n                            },\n                            {\n                                \"type\": \"XML\",\n                                \"label\": \"XML\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396137,\n                                    \"formatted\": \"20/09/2025 - 16:22:17\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            }\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1758396129,\n                            \"formatted\": \"20/09/2025 - 16:22:09\"\n                        },\n                        \"lastStatus\": true\n                    },\n                    {\n                        \"type\": \"CANCELLATION\",\n                        \"label\": \"Cancelamento\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"teste-cancelamento\",\n                        \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                        \"source\": \"API\",\n                        \"status\": {\n                            \"description\": \"AUTHORIZED\",\n                            \"cStat\": \"135\",\n                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                        },\n                        \"events\": [\n                            {\n                                \"type\": \"INCOMING_REQUEST\",\n                                \"label\": \"Requisição recebida\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/incoming-request?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396138,\n                                    \"formatted\": \"20/09/2025 - 16:22:18\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_REQUEST\",\n                                \"label\": \"Requisição para SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/generated-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396143,\n                                    \"formatted\": \"20/09/2025 - 16:22:23\"\n                                }\n                            },\n                            {\n                                \"type\": \"SEFAZ_RESPONSE\",\n                                \"label\": \"Resposta da SEFAZ\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/sefaz-ret-xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396144,\n                                    \"formatted\": \"20/09/2025 - 16:22:24\"\n                                },\n                                \"data\": {\n                                    \"idLote\": \"1\",\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                    \"cOrgao\": \"35\",\n                                    \"cStat\": \"128\",\n                                    \"xMotivo\": \"Lote de Evento Processado\",\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                            \"cOrgao\": \"35\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35250957228150000174556870003456181334469023\",\n                                            \"tpEvento\": \"110111\",\n                                            \"xEvento\": \"Cancelamento registrado\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-09-20T16:22:24-03:00\",\n                                            \"nProt\": \"135250007509297\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    }\n                                }\n                            },\n                            {\n                                \"type\": \"XML\",\n                                \"label\": \"XML\",\n                                \"file\": \"https://api-homologation.omnitax.ai/invoices/download/{requestId}/xml?tpEmis=1\",\n                                \"createdAt\": {\n                                    \"epoch\": 1758396144,\n                                    \"formatted\": \"20/09/2025 - 16:22:24\"\n                                },\n                                \"raw\": \"{XML or JSON}\"\n                            }\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1758396138,\n                            \"formatted\": \"20/09/2025 - 16:22:18\"\n                        },\n                        \"lastStatus\": true\n                    }\n                ],\n                \"emitSubsidiary\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": \"\",\n                    \"enabled\": true,\n                    \"transactions\": [],\n                    \"createdAt\": {\n                        \"epoch\": 1746624007,\n                        \"formatted\": \"07/05/2025 - 10:20:07\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1758395850,\n                        \"formatted\": \"20/09/2025 - 16:17:30\"\n                    },\n                    \"identification\": {\n                        \"federalDocument\": \"\",\n                        \"xNome\": \"\",\n                        \"xFant\": \"\",\n                        \"nire\": null,\n                        \"email\": \"\",\n                        \"fone\": \"\",\n                        \"website\": \"\",\n                        \"openingDate\": {\n                            \"epoch\": 1743547752,\n                            \"formatted\": \"01/04/2025 - 19:49:12\"\n                        },\n                        \"closingDate\": null,\n                        \"headquarters\": true\n                    },\n                    \"address\": {\n                        \"cep\": \"\",\n                        \"xLgr\": \"\",\n                        \"nro\": \"\",\n                        \"xCpl\": \"\",\n                        \"xBairro\": \"\",\n                        \"cMun\": \"\",\n                        \"xMun\": \"\",\n                        \"cUF\": \"\",\n                        \"xUF\": \"\",\n                        \"UF\": \"\",\n                        \"Pais\": \"\",\n                        \"cPais\": \"\",\n                        \"xPais\": \"\"\n                    },\n                    \"company\": {\n                        \"id\": \"\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"\",\n                        \"enabled\": true,\n                        \"transactions\": [],\n                        \"createdAt\": {\n                            \"epoch\": 1746623895,\n                            \"formatted\": \"07/05/2025 - 10:18:15\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1758395850,\n                            \"formatted\": \"20/09/2025 - 16:17:30\"\n                        },\n                        \"federalDocument\": \"\",\n                        \"name\": \"\",\n                        \"subsidiariesTotal\": 1,\n                        \"usersTotal\": 0,\n                        \"account\": {\n                            \"id\": \"\",\n                            \"requestId\": \"\",\n                            \"remoteId\": null,\n                            \"enabled\": true,\n                            \"transactions\": [],\n                            \"createdAt\": {\n                                \"epoch\": 1746480845,\n                                \"formatted\": \"05/05/2025 - 18:34:05\"\n                            },\n                            \"updatedAt\": {\n                                \"epoch\": 1758061762,\n                                \"formatted\": \"16/09/2025 - 19:29:22\"\n                            },\n                            \"name\": \"\",\n                            \"companiesTotal\": 2,\n                            \"usersTotal\": 1,\n                            \"images\": {\n                                \"logoUrl\": \"\",\n                                \"iconUrl\": \"\"\n                            },\n                            \"whitelabel\": {\n                                \"id\": \"\",\n                                \"requestId\": \"\",\n                                \"remoteId\": null,\n                                \"enabled\": true,\n                                \"transactions\": [],\n                                \"createdAt\": {\n                                    \"epoch\": 1746479811,\n                                    \"formatted\": \"05/05/2025 - 18:16:51\"\n                                },\n                                \"updatedAt\": {\n                                    \"epoch\": 1758135988,\n                                    \"formatted\": \"17/09/2025 - 16:06:28\"\n                                },\n                                \"name\": \"\",\n                                \"domain\": \"\",\n                                \"accountsTotal\": 10,\n                                \"usersTotal\": 1\n                            }\n                        }\n                    },\n                    \"stateTaxes\": [\n                        {\n                            \"taxPayer\": {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            \"typeTaxPayer\": {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            \"stateDocument\": \"\",\n                            \"UF\": \"\",\n                            \"suframa\": null,\n                            \"crtEspecial\": [\n                                {\n                                    \"code\": \"\",\n                                    \"description\": \"\"\n                                }\n                            ],\n                            \"cscId\": null,\n                            \"cscToken\": null,\n                            \"startDate\": {\n                                \"epoch\": 1743547918,\n                                \"formatted\": \"01/04/2025 - 19:51:58\"\n                            },\n                            \"endDate\": null\n                        }\n                    ]\n                },\n                \"destSubsidiary\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": \"\",\n                    \"enabled\": true,\n                    \"transactions\": [],\n                    \"createdAt\": {\n                        \"epoch\": 1746624007,\n                        \"formatted\": \"07/05/2025 - 10:20:07\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1758395850,\n                        \"formatted\": \"20/09/2025 - 16:17:30\"\n                    },\n                    \"identification\": {\n                        \"federalDocument\": \"\",\n                        \"xNome\": \"\",\n                        \"xFant\": \"\",\n                        \"nire\": null,\n                        \"email\": \"\",\n                        \"fone\": \"\",\n                        \"website\": \"\",\n                        \"openingDate\": {\n                            \"epoch\": 1743547752,\n                            \"formatted\": \"01/04/2025 - 19:49:12\"\n                        },\n                        \"closingDate\": null,\n                        \"headquarters\": true\n                    },\n                    \"address\": {\n                        \"cep\": \"\",\n                        \"xLgr\": \"\",\n                        \"nro\": \"\",\n                        \"xCpl\": \"\",\n                        \"xBairro\": \"\",\n                        \"cMun\": \"\",\n                        \"xMun\": \"\",\n                        \"cUF\": \"\",\n                        \"xUF\": \"\",\n                        \"UF\": \"\",\n                        \"Pais\": \"\",\n                        \"cPais\": \"\",\n                        \"xPais\": \"\"\n                    },\n                    \"company\": {\n                        \"id\": \"\",\n                        \"requestId\": \"\",\n                        \"remoteId\": \"\",\n                        \"enabled\": true,\n                        \"transactions\": [],\n                        \"createdAt\": {\n                            \"epoch\": 1746623895,\n                            \"formatted\": \"07/05/2025 - 10:18:15\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1758395850,\n                            \"formatted\": \"20/09/2025 - 16:17:30\"\n                        },\n                        \"federalDocument\": \"\",\n                        \"name\": \"\",\n                        \"subsidiariesTotal\": 1,\n                        \"usersTotal\": 0,\n                        \"account\": {\n                            \"id\": \"\",\n                            \"requestId\": \"\",\n                            \"remoteId\": null,\n                            \"enabled\": true,\n                            \"transactions\": [],\n                            \"createdAt\": {\n                                \"epoch\": 1746480845,\n                                \"formatted\": \"05/05/2025 - 18:34:05\"\n                            },\n                            \"updatedAt\": {\n                                \"epoch\": 1758061762,\n                                \"formatted\": \"16/09/2025 - 19:29:22\"\n                            },\n                            \"name\": \"\",\n                            \"companiesTotal\": 2,\n                            \"usersTotal\": 1,\n                            \"images\": {\n                                \"logoUrl\": \"\",\n                                \"iconUrl\": \"\"\n                            },\n                            \"whitelabel\": {\n                                \"id\": \"\",\n                                \"requestId\": \"\",\n                                \"remoteId\": null,\n                                \"enabled\": true,\n                                \"transactions\": [],\n                                \"createdAt\": {\n                                    \"epoch\": 1746479811,\n                                    \"formatted\": \"05/05/2025 - 18:16:51\"\n                                },\n                                \"updatedAt\": {\n                                    \"epoch\": 1758135988,\n                                    \"formatted\": \"17/09/2025 - 16:06:28\"\n                                },\n                                \"name\": \"\",\n                                \"domain\": \"\",\n                                \"accountsTotal\": 10,\n                                \"usersTotal\": 1\n                            }\n                        }\n                    },\n                    \"stateTaxes\": [\n                        {\n                            \"taxPayer\": {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            \"typeTaxPayer\": {\n                                \"code\": \"\",\n                                \"description\": \"\"\n                            },\n                            \"stateDocument\": \"\",\n                            \"UF\": \"\",\n                            \"suframa\": null,\n                            \"crtEspecial\": [\n                                {\n                                    \"code\": \"\",\n                                    \"description\": \"\"\n                                }\n                            ],\n                            \"cscId\": null,\n                            \"cscToken\": null,\n                            \"startDate\": {\n                                \"epoch\": 1743547918,\n                                \"formatted\": \"01/04/2025 - 19:51:58\"\n                            },\n                            \"endDate\": null\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"65e64a28-f3aa-4971-a5ac-0410398bcdb3","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 10,\n    \"page\": 1,\n    \"whitelabelId\": \"optional, uuid-v7\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"companyId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"q\": \"optional, requestId|remoteId|chNFe|nProt\",\n    \"filters\": [\n        {\n            \"name\": \"emit.CNPJ\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"ide.dhEmi\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"ide.mod\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"authorization.status\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"cancellation.createdAt\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"det.prod.CFOP\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"vNF\",\n            \"start\": \"required, string\",\n            \"end\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"filters[0].values\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"7be3831a-0fb5-476e-a015-998f375eb8ce","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 10,\n    \"page\": 1,\n    \"whitelabelId\": \"optional, uuid-v7\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"companyId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"q\": \"optional, requestId|remoteId|chNFe|nProt\",\n    \"filters\": [\n        {\n            \"name\": \"emit.CNPJ\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"ide.dhEmi\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"ide.mod\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"authorization.status\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"cancellation.createdAt\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"det.prod.CFOP\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"vNF\",\n            \"start\": \"required, string\",\n            \"end\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"ada1106a-4056-463a-bfbb-7b1ef7603c99","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 10,\n    \"page\": 1,\n    \"whitelabelId\": \"optional, uuid-v7\",\n    \"accountId\": \"optional, uuid-v7\",\n    \"companyId\": \"optional, uuid-v7\",\n    \"subsidiaryId\": \"optional, uuid-v7\",\n    \"q\": \"optional, requestId|remoteId|chNFe|nProt\",\n    \"filters\": [\n        {\n            \"name\": \"emit.CNPJ\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"ide.dhEmi\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"ide.mod\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"authorization.status\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"cancellation.createdAt\",\n            \"start\": \"required, YYYY-MM-DDThh:mm:ss\",\n            \"end\": \"required, YYYY-MM-DDThh:mm:ss\"\n        },\n        {\n            \"name\": \"det.prod.CFOP\",\n            \"values\": [\n                \"required, string\"\n            ]\n        },\n        {\n            \"name\": \"vNF\",\n            \"start\": \"required, string\",\n            \"end\": \"required, string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/invoices"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"62b7f95d-72d7-4cc0-9e63-af769a9cfec8"},{"name":"invoices (detail)","id":"99e223d6-559c-45e6-96cc-44fbe35ab8fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/invoices/{requestId, remoteId, chNFe}?xmlFormatResponse=JSON&metadata=false","description":"<p>This endpoint is used to detail the invoice by searching for it by \"requestId,\" \"remoteId,\" or \"chNFe.\" Additionally, you can specify the \"xmlFormatResponse\" variable as a query parameter with the value \"XML\" (to view the final invoice in XML format) or \"JSON\" (to view the final invoice in JSON format).</p>\n<p>The response file is structured to present, at its root, variables that identify the request (requestId, remoteId, creation date, and whether the request processing has been completed).</p>\n<p>By analyzing the \"event\" object, you can see that each event associated with the invoice up to the time of its query (yes, events are extemporaneous, in most cases) will have an individual representation precisely because they can have distinct or concurrent natures.</p>\n<p>By analyzing each event, it's possible to observe a structure of subevents that occur sequentially to document the entire request flow (received request -&gt; tax calculation performed -&gt; XML generated -&gt; XML sent to SEFAZ -&gt; response received from SEFAZ). This structure is mostly repeated in each event.</p>\n","urlObject":{"protocol":"https","path":["invoices","{requestId, remoteId, chNFe}"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>JSON or XML</p>\n","type":"text/plain"},"key":"xmlFormatResponse","value":"JSON"},{"description":{"content":"<p>If \"xmlFormatResponse\" equals JSON, inform false or true</p>\n","type":"text/plain"},"key":"metadata","value":"false"}],"variable":[]}},"response":[{"id":"9c11017d-c200-46c7-93d6-bb5fbe6594fa","name":"200 Ok","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/invoices/{requestId, remoteId, chNFe}?xmlFormatResponse=JSON&metadata=false","protocol":"https","host":["{{api-domain}}"],"path":["invoices","{requestId, remoteId, chNFe}"],"query":[{"key":"xmlFormatResponse","value":"JSON","description":"JSON or XML"},{"key":"metadata","value":"false","description":"If \"xmlFormatResponse\" equals JSON, inform false or true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"requestId\": \"0199de8a-8772-759e-b1a9-00cfa9885538\",\n        \"remoteId\": \"regra-completa-reforma\",\n        \"createdAt\": {\n            \"epoch\": 1760375244,\n            \"formatted\": \"13/10/2025 - 14:07:24\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1760376720,\n            \"formatted\": \"13/10/2025 - 14:32:00\"\n        },\n        \"finished\": true,\n        \"events\": [\n            {\n                \"type\": \"AUTHORIZATION\",\n                \"label\": \"Autorização normal\",\n                \"requestId\": \"0199de8a-8772-759e-b1a9-00cfa9885538\",\n                \"remoteId\": \"regra-completa-reforma\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"100\",\n                    \"xMotivo\": \"Autorizado o uso da NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8a-8772-759e-b1a9-00cfa9885538/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375244,\n                            \"formatted\": \"13/10/2025 - 14:07:24\"\n                        }\n                    },\n                    {\n                        \"type\": \"CALCULATION_REQUEST\",\n                        \"label\": \"Requisição do cálculo\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8a-8772-759e-b1a9-00cfa9885538/calculation-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375254,\n                            \"formatted\": \"13/10/2025 - 14:07:34\"\n                        }\n                    },\n                    {\n                        \"type\": \"CALCULATION_RESPONSE\",\n                        \"label\": \"Resposta do cálculo\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8a-8772-759e-b1a9-00cfa9885538/calculation-response?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375255,\n                            \"formatted\": \"13/10/2025 - 14:07:35\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8a-8772-759e-b1a9-00cfa9885538/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375263,\n                            \"formatted\": \"13/10/2025 - 14:07:43\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8a-8772-759e-b1a9-00cfa9885538/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375265,\n                            \"formatted\": \"13/10/2025 - 14:07:45\"\n                        },\n                        \"data\": {\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SP_NFE_PL009_V4\",\n                            \"cStat\": \"104\",\n                            \"xMotivo\": \"Lote processado\",\n                            \"cUF\": \"35\",\n                            \"dhRecbto\": \"2025-10-13T14:07:44-03:00\",\n                            \"infRec\": null,\n                            \"protNFe\": {\n                                \"infProt\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_NFE_PL009_V4\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"dhRecbto\": \"2025-10-13T14:07:44-03:00\",\n                                    \"nProt\": \"135250007853422\",\n                                    \"digVal\": \"8h3bf4gqs72ujtTfWDqB+E3LKpc=\",\n                                    \"cStat\": \"100\",\n                                    \"xMotivo\": \"Autorizado o uso da NF-e\"\n                                },\n                                \"_versao\": \"4.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8a-8772-759e-b1a9-00cfa9885538/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375265,\n                            \"formatted\": \"13/10/2025 - 14:07:45\"\n                        },\n                        \"raw\": {\n                            \"nfeProc\": {\n                                \"NFe\": {\n                                    \"infNFe\": {\n                                        \"ide\": {\n                                            \"cUF\": \"35\",\n                                            \"cNF\": \"85100305\",\n                                            \"natOp\": \"icms-00\",\n                                            \"mod\": \"55\",\n                                            \"serie\": \"139\",\n                                            \"nNF\": \"46\",\n                                            \"dhEmi\": \"2025-10-13T14:07:43-03:00\",\n                                            \"dhSaiEnt\": \"2025-10-13T14:07:43-03:00\",\n                                            \"tpNF\": \"1\",\n                                            \"idDest\": \"1\",\n                                            \"cMunFG\": \"3550308\",\n                                            \"tpImp\": \"1\",\n                                            \"tpEmis\": \"1\",\n                                            \"cDV\": \"4\",\n                                            \"tpAmb\": \"2\",\n                                            \"finNFe\": \"1\",\n                                            \"indFinal\": \"1\",\n                                            \"indPres\": \"1\",\n                                            \"indIntermed\": \"0\",\n                                            \"procEmi\": \"0\",\n                                            \"verProc\": \"api-1.0.0\"\n                                        },\n                                        \"emit\": {\n                                            \"CNPJ\": \"57228150000174\",\n                                            \"xNome\": \"MGJX COMERCIO LTDA\",\n                                            \"xFant\": \"MGJX COMERCIO LTDA\",\n                                            \"enderEmit\": {\n                                                \"xLgr\": \"Rua do Rocio\",\n                                                \"nro\": \"199\",\n                                                \"xCpl\": \"10 andar\",\n                                                \"xBairro\": \"Vila Olimpia\",\n                                                \"cMun\": \"3550308\",\n                                                \"xMun\": \"SAO PAULO\",\n                                                \"UF\": \"SP\",\n                                                \"CEP\": \"04552000\",\n                                                \"cPais\": \"1058\",\n                                                \"xPais\": \"BRASIL\",\n                                                \"fone\": \"1199999999\"\n                                            },\n                                            \"IE\": \"150810656117\",\n                                            \"IM\": \"123123\",\n                                            \"CNAE\": \"4789001\",\n                                            \"CRT\": \"3\"\n                                        },\n                                        \"dest\": {\n                                            \"CNPJ\": \"57228150000174\",\n                                            \"xNome\": \"NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL\",\n                                            \"enderDest\": {\n                                                \"xLgr\": \"Modelo\",\n                                                \"nro\": \"99\",\n                                                \"xCpl\": \"TESTE\",\n                                                \"xBairro\": \"TESTE\",\n                                                \"cMun\": \"3550308\",\n                                                \"xMun\": \"SAO PAULO\",\n                                                \"UF\": \"SP\",\n                                                \"CEP\": \"04671071\",\n                                                \"cPais\": \"1058\",\n                                                \"xPais\": \"Brasil\",\n                                                \"fone\": \"99999999999\"\n                                            },\n                                            \"indIEDest\": \"1\",\n                                            \"IE\": \"150810656117\",\n                                            \"email\": \"modelo@modelo.com\"\n                                        },\n                                        \"autXML\": [\n                                            {\n                                                \"CNPJ\": \"13937073000156\"\n                                            }\n                                        ],\n                                        \"det\": [\n                                            {\n                                                \"prod\": {\n                                                    \"cProd\": \"1\",\n                                                    \"cEAN\": \"SEM GTIN\",\n                                                    \"xProd\": \"NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL\",\n                                                    \"NCM\": \"33061000\",\n                                                    \"CEST\": \"2002300\",\n                                                    \"EXTIPI\": \"01\",\n                                                    \"CFOP\": \"5101\",\n                                                    \"uCom\": \"UN\",\n                                                    \"qCom\": \"1\",\n                                                    \"vUnCom\": \"1374.57\",\n                                                    \"vProd\": \"1374.57\",\n                                                    \"cEANTrib\": \"SEM GTIN\",\n                                                    \"uTrib\": \"UN\",\n                                                    \"qTrib\": \"1\",\n                                                    \"vUnTrib\": \"1374.57\",\n                                                    \"vFrete\": \"100.00\",\n                                                    \"vSeg\": \"100.00\",\n                                                    \"vDesc\": \"300.00\",\n                                                    \"vOutro\": \"100.00\",\n                                                    \"indTot\": \"1\"\n                                                },\n                                                \"imposto\": {\n                                                    \"vTotTrib\": \"0.00\",\n                                                    \"ICMS\": {\n                                                        \"ICMS00\": {\n                                                            \"orig\": \"0\",\n                                                            \"CST\": \"00\",\n                                                            \"modBC\": \"3\",\n                                                            \"vBC\": \"1374.57\",\n                                                            \"pICMS\": \"18.00\",\n                                                            \"vICMS\": \"247.42\",\n                                                            \"pFCP\": \"2.00\",\n                                                            \"vFCP\": \"27.49\"\n                                                        }\n                                                    },\n                                                    \"IPI\": {\n                                                        \"cEnq\": \"999\",\n                                                        \"IPITrib\": {\n                                                            \"CST\": \"50\",\n                                                            \"vBC\": \"1374.57\",\n                                                            \"pIPI\": \"5.00\",\n                                                            \"vIPI\": \"68.73\"\n                                                        }\n                                                    },\n                                                    \"PIS\": {\n                                                        \"PISAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1099.66\",\n                                                            \"pPIS\": \"1.65\",\n                                                            \"vPIS\": \"18.14\"\n                                                        }\n                                                    },\n                                                    \"COFINS\": {\n                                                        \"COFINSAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1099.66\",\n                                                            \"pCOFINS\": \"7.60\",\n                                                            \"vCOFINS\": \"83.57\"\n                                                        }\n                                                    },\n                                                    \"IS\": {\n                                                        \"CSTIS\": \"000\",\n                                                        \"cClassTribIS\": \"000001\",\n                                                        \"vBCIS\": \"997.95\",\n                                                        \"pIS\": \"1.00\",\n                                                        \"vIS\": \"9.98\"\n                                                    },\n                                                    \"IBSCBS\": {\n                                                        \"CST\": \"000\",\n                                                        \"cClassTrib\": \"000001\",\n                                                        \"gIBSCBS\": {\n                                                            \"vBC\": \"1007.93\",\n                                                            \"gIBSUF\": {\n                                                                \"pIBSUF\": \"0.10\",\n                                                                \"vIBSUF\": \"1.01\"\n                                                            },\n                                                            \"gIBSMun\": {\n                                                                \"pIBSMun\": \"0.00\",\n                                                                \"vIBSMun\": \"0.00\"\n                                                            },\n                                                            \"vIBS\": \"1.01\",\n                                                            \"gCBS\": {\n                                                                \"pCBS\": \"0.90\",\n                                                                \"vCBS\": \"9.07\"\n                                                            }\n                                                        }\n                                                    }\n                                                },\n                                                \"infAdProd\": \"Teste de Informacao adicional do item\",\n                                                \"vItem\": \"1374.57\",\n                                                \"nItem\": \"1\"\n                                            },\n                                            {\n                                                \"prod\": {\n                                                    \"cProd\": \"1\",\n                                                    \"cEAN\": \"SEM GTIN\",\n                                                    \"xProd\": \"NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL\",\n                                                    \"NCM\": \"33061000\",\n                                                    \"CEST\": \"2002300\",\n                                                    \"EXTIPI\": \"01\",\n                                                    \"CFOP\": \"5401\",\n                                                    \"uCom\": \"UN\",\n                                                    \"qCom\": \"1\",\n                                                    \"vUnCom\": \"1374.57\",\n                                                    \"vProd\": \"1374.57\",\n                                                    \"cEANTrib\": \"SEM GTIN\",\n                                                    \"uTrib\": \"UN\",\n                                                    \"qTrib\": \"1\",\n                                                    \"vUnTrib\": \"1374.57\",\n                                                    \"vFrete\": \"100.00\",\n                                                    \"vSeg\": \"100.00\",\n                                                    \"vDesc\": \"300.00\",\n                                                    \"vOutro\": \"100.00\",\n                                                    \"indTot\": \"1\"\n                                                },\n                                                \"imposto\": {\n                                                    \"vTotTrib\": \"0.00\",\n                                                    \"ICMS\": {\n                                                        \"ICMS10\": {\n                                                            \"orig\": \"0\",\n                                                            \"CST\": \"10\",\n                                                            \"modBC\": \"3\",\n                                                            \"vBC\": \"1374.57\",\n                                                            \"pICMS\": \"18.00\",\n                                                            \"vICMS\": \"247.42\",\n                                                            \"vBCFCP\": \"1374.57\",\n                                                            \"pFCP\": \"2.00\",\n                                                            \"vFCP\": \"27.49\",\n                                                            \"modBCST\": \"4\",\n                                                            \"pMVAST\": \"78.40\",\n                                                            \"pRedBCST\": \"0.00\",\n                                                            \"vBCST\": \"2574.85\",\n                                                            \"pICMSST\": \"18.00\",\n                                                            \"vICMSST\": \"216.05\",\n                                                            \"vBCFCPST\": \"2574.85\",\n                                                            \"pFCPST\": \"2.00\",\n                                                            \"vFCPST\": \"51.50\"\n                                                        }\n                                                    },\n                                                    \"IPI\": {\n                                                        \"cEnq\": \"999\",\n                                                        \"IPITrib\": {\n                                                            \"CST\": \"50\",\n                                                            \"vBC\": \"1374.57\",\n                                                            \"pIPI\": \"5.00\",\n                                                            \"vIPI\": \"68.73\"\n                                                        }\n                                                    },\n                                                    \"PIS\": {\n                                                        \"PISAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1099.66\",\n                                                            \"pPIS\": \"1.65\",\n                                                            \"vPIS\": \"18.14\"\n                                                        }\n                                                    },\n                                                    \"COFINS\": {\n                                                        \"COFINSAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1099.66\",\n                                                            \"pCOFINS\": \"7.60\",\n                                                            \"vCOFINS\": \"83.57\"\n                                                        }\n                                                    },\n                                                    \"IS\": {\n                                                        \"CSTIS\": \"000\",\n                                                        \"cClassTribIS\": \"000001\",\n                                                        \"vBCIS\": \"997.95\",\n                                                        \"pIS\": \"1.00\",\n                                                        \"vIS\": \"9.98\"\n                                                    },\n                                                    \"IBSCBS\": {\n                                                        \"CST\": \"000\",\n                                                        \"cClassTrib\": \"000001\",\n                                                        \"gIBSCBS\": {\n                                                            \"vBC\": \"1007.93\",\n                                                            \"gIBSUF\": {\n                                                                \"pIBSUF\": \"0.10\",\n                                                                \"vIBSUF\": \"1.01\"\n                                                            },\n                                                            \"gIBSMun\": {\n                                                                \"pIBSMun\": \"0.00\",\n                                                                \"vIBSMun\": \"0.00\"\n                                                            },\n                                                            \"vIBS\": \"1.01\",\n                                                            \"gCBS\": {\n                                                                \"pCBS\": \"0.90\",\n                                                                \"vCBS\": \"9.07\"\n                                                            }\n                                                        }\n                                                    }\n                                                },\n                                                \"infAdProd\": \"Teste de Informacao adicional do item\",\n                                                \"vItem\": \"1649.48\",\n                                                \"nItem\": \"2\"\n                                            },\n                                            {\n                                                \"prod\": {\n                                                    \"cProd\": \"1\",\n                                                    \"cEAN\": \"SEM GTIN\",\n                                                    \"xProd\": \"NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL\",\n                                                    \"NCM\": \"33061000\",\n                                                    \"CEST\": \"2002300\",\n                                                    \"EXTIPI\": \"01\",\n                                                    \"CFOP\": \"5101\",\n                                                    \"uCom\": \"UN\",\n                                                    \"qCom\": \"1\",\n                                                    \"vUnCom\": \"1374.57\",\n                                                    \"vProd\": \"1374.57\",\n                                                    \"cEANTrib\": \"SEM GTIN\",\n                                                    \"uTrib\": \"UN\",\n                                                    \"qTrib\": \"1\",\n                                                    \"vUnTrib\": \"1374.57\",\n                                                    \"vFrete\": \"100.00\",\n                                                    \"vSeg\": \"100.00\",\n                                                    \"vDesc\": \"300.00\",\n                                                    \"vOutro\": \"100.00\",\n                                                    \"indTot\": \"1\"\n                                                },\n                                                \"imposto\": {\n                                                    \"vTotTrib\": \"0.00\",\n                                                    \"ICMS\": {\n                                                        \"ICMS20\": {\n                                                            \"orig\": \"0\",\n                                                            \"CST\": \"20\",\n                                                            \"modBC\": \"3\",\n                                                            \"pRedBC\": \"33.33\",\n                                                            \"vBC\": \"916.43\",\n                                                            \"pICMS\": \"18.00\",\n                                                            \"vICMS\": \"164.96\",\n                                                            \"vBCFCP\": \"916.43\",\n                                                            \"pFCP\": \"2.00\",\n                                                            \"vFCP\": \"18.33\"\n                                                        }\n                                                    },\n                                                    \"IPI\": {\n                                                        \"cEnq\": \"999\",\n                                                        \"IPITrib\": {\n                                                            \"CST\": \"50\",\n                                                            \"vBC\": \"1374.57\",\n                                                            \"pIPI\": \"5.00\",\n                                                            \"vIPI\": \"68.73\"\n                                                        }\n                                                    },\n                                                    \"PIS\": {\n                                                        \"PISAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1191.28\",\n                                                            \"pPIS\": \"1.65\",\n                                                            \"vPIS\": \"19.66\"\n                                                        }\n                                                    },\n                                                    \"COFINS\": {\n                                                        \"COFINSAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1191.28\",\n                                                            \"pCOFINS\": \"7.60\",\n                                                            \"vCOFINS\": \"90.54\"\n                                                        }\n                                                    },\n                                                    \"IS\": {\n                                                        \"CSTIS\": \"000\",\n                                                        \"cClassTribIS\": \"000001\",\n                                                        \"vBCIS\": \"1081.08\",\n                                                        \"pIS\": \"1.00\",\n                                                        \"vIS\": \"10.81\"\n                                                    },\n                                                    \"IBSCBS\": {\n                                                        \"CST\": \"000\",\n                                                        \"cClassTrib\": \"000001\",\n                                                        \"gIBSCBS\": {\n                                                            \"vBC\": \"1091.89\",\n                                                            \"gIBSUF\": {\n                                                                \"pIBSUF\": \"0.10\",\n                                                                \"vIBSUF\": \"1.09\"\n                                                            },\n                                                            \"gIBSMun\": {\n                                                                \"pIBSMun\": \"0.00\",\n                                                                \"vIBSMun\": \"0.00\"\n                                                            },\n                                                            \"vIBS\": \"1.09\",\n                                                            \"gCBS\": {\n                                                                \"pCBS\": \"0.90\",\n                                                                \"vCBS\": \"9.83\"\n                                                            }\n                                                        }\n                                                    }\n                                                },\n                                                \"infAdProd\": \"Teste de Informacao adicional do item\",\n                                                \"vItem\": \"1374.57\",\n                                                \"nItem\": \"3\"\n                                            },\n                                            {\n                                                \"prod\": {\n                                                    \"cProd\": \"1\",\n                                                    \"cEAN\": \"SEM GTIN\",\n                                                    \"xProd\": \"NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL\",\n                                                    \"NCM\": \"33061000\",\n                                                    \"CEST\": \"2002300\",\n                                                    \"EXTIPI\": \"01\",\n                                                    \"CFOP\": \"5401\",\n                                                    \"uCom\": \"UN\",\n                                                    \"qCom\": \"1\",\n                                                    \"vUnCom\": \"1374.57\",\n                                                    \"vProd\": \"1374.57\",\n                                                    \"cEANTrib\": \"SEM GTIN\",\n                                                    \"uTrib\": \"UN\",\n                                                    \"qTrib\": \"1\",\n                                                    \"vUnTrib\": \"1374.57\",\n                                                    \"vFrete\": \"100.00\",\n                                                    \"vSeg\": \"100.00\",\n                                                    \"vDesc\": \"300.00\",\n                                                    \"vOutro\": \"100.00\",\n                                                    \"indTot\": \"1\"\n                                                },\n                                                \"imposto\": {\n                                                    \"vTotTrib\": \"0.00\",\n                                                    \"ICMS\": {\n                                                        \"ICMS70\": {\n                                                            \"orig\": \"0\",\n                                                            \"CST\": \"70\",\n                                                            \"modBC\": \"3\",\n                                                            \"pRedBC\": \"33.33\",\n                                                            \"vBC\": \"916.43\",\n                                                            \"pICMS\": \"18.00\",\n                                                            \"vICMS\": \"164.96\",\n                                                            \"vBCFCP\": \"916.43\",\n                                                            \"pFCP\": \"2.00\",\n                                                            \"vFCP\": \"18.33\",\n                                                            \"modBCST\": \"4\",\n                                                            \"pMVAST\": \"78.40\",\n                                                            \"pRedBCST\": \"0.00\",\n                                                            \"vBCST\": \"2574.85\",\n                                                            \"pICMSST\": \"18.00\",\n                                                            \"vICMSST\": \"298.51\",\n                                                            \"vBCFCPST\": \"2574.85\",\n                                                            \"pFCPST\": \"2.00\",\n                                                            \"vFCPST\": \"51.50\"\n                                                        }\n                                                    },\n                                                    \"IPI\": {\n                                                        \"cEnq\": \"999\",\n                                                        \"IPITrib\": {\n                                                            \"CST\": \"50\",\n                                                            \"vBC\": \"1374.57\",\n                                                            \"pIPI\": \"5.00\",\n                                                            \"vIPI\": \"68.73\"\n                                                        }\n                                                    },\n                                                    \"PIS\": {\n                                                        \"PISAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1191.28\",\n                                                            \"pPIS\": \"1.65\",\n                                                            \"vPIS\": \"19.66\"\n                                                        }\n                                                    },\n                                                    \"COFINS\": {\n                                                        \"COFINSAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1191.28\",\n                                                            \"pCOFINS\": \"7.60\",\n                                                            \"vCOFINS\": \"90.54\"\n                                                        }\n                                                    },\n                                                    \"IS\": {\n                                                        \"CSTIS\": \"000\",\n                                                        \"cClassTribIS\": \"000001\",\n                                                        \"vBCIS\": \"1081.08\",\n                                                        \"pIS\": \"1.00\",\n                                                        \"vIS\": \"10.81\"\n                                                    },\n                                                    \"IBSCBS\": {\n                                                        \"CST\": \"000\",\n                                                        \"cClassTrib\": \"000001\",\n                                                        \"gIBSCBS\": {\n                                                            \"vBC\": \"1091.89\",\n                                                            \"gIBSUF\": {\n                                                                \"pIBSUF\": \"0.10\",\n                                                                \"vIBSUF\": \"1.09\"\n                                                            },\n                                                            \"gIBSMun\": {\n                                                                \"pIBSMun\": \"0.00\",\n                                                                \"vIBSMun\": \"0.00\"\n                                                            },\n                                                            \"vIBS\": \"1.09\",\n                                                            \"gCBS\": {\n                                                                \"pCBS\": \"0.90\",\n                                                                \"vCBS\": \"9.83\"\n                                                            }\n                                                        }\n                                                    }\n                                                },\n                                                \"infAdProd\": \"Teste de Informacao adicional do item\",\n                                                \"vItem\": \"1374.57\",\n                                                \"nItem\": \"4\"\n                                            },\n                                            {\n                                                \"prod\": {\n                                                    \"cProd\": \"1\",\n                                                    \"cEAN\": \"SEM GTIN\",\n                                                    \"xProd\": \"NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL\",\n                                                    \"NCM\": \"33061000\",\n                                                    \"CEST\": \"2002300\",\n                                                    \"EXTIPI\": \"01\",\n                                                    \"CFOP\": \"5401\",\n                                                    \"uCom\": \"UN\",\n                                                    \"qCom\": \"1\",\n                                                    \"vUnCom\": \"1374.57\",\n                                                    \"vProd\": \"1374.57\",\n                                                    \"cEANTrib\": \"SEM GTIN\",\n                                                    \"uTrib\": \"UN\",\n                                                    \"qTrib\": \"1\",\n                                                    \"vUnTrib\": \"1374.57\",\n                                                    \"vFrete\": \"100.00\",\n                                                    \"vSeg\": \"100.00\",\n                                                    \"vDesc\": \"300.00\",\n                                                    \"vOutro\": \"100.00\",\n                                                    \"indTot\": \"1\"\n                                                },\n                                                \"imposto\": {\n                                                    \"vTotTrib\": \"0.00\",\n                                                    \"ICMS\": {\n                                                        \"ICMS90\": {\n                                                            \"orig\": \"0\",\n                                                            \"CST\": \"90\",\n                                                            \"modBC\": \"3\",\n                                                            \"vBC\": \"916.43\",\n                                                            \"pRedBC\": \"33.33\",\n                                                            \"pICMS\": \"18.00\",\n                                                            \"vICMS\": \"164.96\",\n                                                            \"vBCFCP\": \"916.43\",\n                                                            \"pFCP\": \"2.00\",\n                                                            \"vFCP\": \"18.33\",\n                                                            \"modBCST\": \"4\",\n                                                            \"pMVAST\": \"78.40\",\n                                                            \"pRedBCST\": \"0.00\",\n                                                            \"vBCST\": \"2574.85\",\n                                                            \"pICMSST\": \"18.00\",\n                                                            \"vICMSST\": \"298.51\",\n                                                            \"vBCFCPST\": \"2574.85\",\n                                                            \"pFCPST\": \"2.00\",\n                                                            \"vFCPST\": \"51.50\"\n                                                        }\n                                                    },\n                                                    \"IPI\": {\n                                                        \"cEnq\": \"999\",\n                                                        \"IPITrib\": {\n                                                            \"CST\": \"50\",\n                                                            \"vBC\": \"1374.57\",\n                                                            \"pIPI\": \"5.00\",\n                                                            \"vIPI\": \"68.73\"\n                                                        }\n                                                    },\n                                                    \"PIS\": {\n                                                        \"PISAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1191.28\",\n                                                            \"pPIS\": \"1.65\",\n                                                            \"vPIS\": \"19.66\"\n                                                        }\n                                                    },\n                                                    \"COFINS\": {\n                                                        \"COFINSAliq\": {\n                                                            \"CST\": \"01\",\n                                                            \"vBC\": \"1191.28\",\n                                                            \"pCOFINS\": \"7.60\",\n                                                            \"vCOFINS\": \"90.54\"\n                                                        }\n                                                    },\n                                                    \"IS\": {\n                                                        \"CSTIS\": \"000\",\n                                                        \"cClassTribIS\": \"000001\",\n                                                        \"vBCIS\": \"1081.08\",\n                                                        \"pIS\": \"1.00\",\n                                                        \"vIS\": \"10.81\"\n                                                    },\n                                                    \"IBSCBS\": {\n                                                        \"CST\": \"000\",\n                                                        \"cClassTrib\": \"000001\",\n                                                        \"gIBSCBS\": {\n                                                            \"vBC\": \"1091.89\",\n                                                            \"gIBSUF\": {\n                                                                \"pIBSUF\": \"0.10\",\n                                                                \"vIBSUF\": \"1.09\"\n                                                            },\n                                                            \"gIBSMun\": {\n                                                                \"pIBSMun\": \"0.00\",\n                                                                \"vIBSMun\": \"0.00\"\n                                                            },\n                                                            \"vIBS\": \"1.09\",\n                                                            \"gCBS\": {\n                                                                \"pCBS\": \"0.90\",\n                                                                \"vCBS\": \"9.83\"\n                                                            }\n                                                        }\n                                                    }\n                                                },\n                                                \"infAdProd\": \"Teste de Informacao adicional do item\",\n                                                \"vItem\": \"1374.57\",\n                                                \"nItem\": \"5\"\n                                            }\n                                        ],\n                                        \"total\": {\n                                            \"ICMSTot\": {\n                                                \"vBC\": \"5498.43\",\n                                                \"vICMS\": \"989.72\",\n                                                \"vICMSDeson\": \"0.00\",\n                                                \"vFCPUFDest\": \"0.00\",\n                                                \"vICMSUFDest\": \"0.00\",\n                                                \"vICMSUFRemet\": \"0.00\",\n                                                \"vFCP\": \"109.97\",\n                                                \"vBCST\": \"7724.55\",\n                                                \"vST\": \"813.07\",\n                                                \"vFCPST\": \"154.50\",\n                                                \"vFCPSTRet\": \"0.00\",\n                                                \"qBCMono\": \"0.00\",\n                                                \"vICMSMono\": \"0.00\",\n                                                \"qBCMonoReten\": \"0.00\",\n                                                \"vICMSMonoReten\": \"0.00\",\n                                                \"qBCMonoRet\": \"0.00\",\n                                                \"vICMSMonoRet\": \"0.00\",\n                                                \"vProd\": \"6872.85\",\n                                                \"vFrete\": \"500.00\",\n                                                \"vSeg\": \"500.00\",\n                                                \"vDesc\": \"1500.00\",\n                                                \"vII\": \"0.00\",\n                                                \"vIPI\": \"343.65\",\n                                                \"vIPIDevol\": \"0.00\",\n                                                \"vPIS\": \"95.26\",\n                                                \"vCOFINS\": \"438.76\",\n                                                \"vOutro\": \"500.00\",\n                                                \"vNF\": \"8184.07\",\n                                                \"vTotTrib\": \"0.00\"\n                                            },\n                                            \"ISTot\": {\n                                                \"vIS\": \"52.39\"\n                                            },\n                                            \"IBSCBSTot\": {\n                                                \"vBCIBSCBS\": \"5291.53\",\n                                                \"gIBS\": {\n                                                    \"gIBSUF\": {\n                                                        \"vDif\": \"0.00\",\n                                                        \"vDevTrib\": \"0.00\",\n                                                        \"vIBSUF\": \"5.29\"\n                                                    },\n                                                    \"gIBSMun\": {\n                                                        \"vDif\": \"0.00\",\n                                                        \"vDevTrib\": \"0.00\",\n                                                        \"vIBSMun\": \"0.00\"\n                                                    },\n                                                    \"vIBS\": \"5.29\",\n                                                    \"vCredPres\": \"0.00\",\n                                                    \"vCredPresCondSus\": \"0.00\"\n                                                },\n                                                \"gCBS\": {\n                                                    \"vDif\": \"0.00\",\n                                                    \"vDevTrib\": \"0.00\",\n                                                    \"vCBS\": \"47.63\",\n                                                    \"vCredPres\": \"0.00\",\n                                                    \"vCredPresCondSus\": \"0.00\"\n                                                }\n                                            },\n                                            \"vNFTot\": \"7147.76\"\n                                        },\n                                        \"transp\": {\n                                            \"modFrete\": \"9\"\n                                        },\n                                        \"pag\": {\n                                            \"detPag\": [\n                                                {\n                                                    \"indPag\": \"1\",\n                                                    \"tPag\": \"01\",\n                                                    \"vPag\": \"2500.00\"\n                                                }\n                                            ]\n                                        },\n                                        \"infAdic\": {\n                                            \"infAdFisco\": \"Teste de Informacao adicional da nota\",\n                                            \"infCpl\": \"Teste de Informacao complementar da nota\"\n                                        },\n                                        \"infRespTec\": {\n                                            \"CNPJ\": \"32403309000119\",\n                                            \"xContato\": \"Edson Sampaio de Lima\",\n                                            \"email\": \"gestao@omnitax.ai\",\n                                            \"fone\": \"2135205124\",\n                                            \"idCSRT\": \"35\",\n                                            \"hashCSRT\": \"lCatDArt2r0ooGNRHqmzOLEu74w=\"\n                                        },\n                                        \"_versao\": \"4.00\",\n                                        \"_Id\": \"NFe35251057228150000174551390000000461851003054\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"8h3bf4gqs72ujtTfWDqB+E3LKpc=\",\n                                                \"_URI\": \"#NFe35251057228150000174551390000000461851003054\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"FC5tibvzlVPBpj+0QKgLUeKn6DhN+QqJ1TqVxtQm9H9lPHx/FaL2r/XhdzihiwkPYL4WR6gPnuNBGrU0+uUDEz2wDrnilmBwWGKhJ8R7EbDUepveavIgieRZm0mmL1qnD+L+HrNnBWqfAbvE8aZjIvGCgm+Eb45d0vw9GEFRGQqVK1r9h4ZdWTviIa7/zatBuBpCC63c8e32rjsU+7W+iCOB9ke27dHEhgA/s9z7gIAcH/UhVvegYmLmfNCUHxk3vMyhZvg8/uA42AJtYgf0R83zTAisx3s84N+v/Q1y5d29dOgjWaMRrTjWv2I2VaYD7jst1fb1Css3V/spqMDK7Q==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"protNFe\": {\n                                    \"infProt\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"SP_NFE_PL009_V4\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhRecbto\": \"2025-10-13T14:07:44-03:00\",\n                                        \"nProt\": \"135250007853422\",\n                                        \"digVal\": \"8h3bf4gqs72ujtTfWDqB+E3LKpc=\",\n                                        \"cStat\": \"100\",\n                                        \"xMotivo\": \"Autorizado o uso da NF-e\"\n                                    },\n                                    \"_versao\": \"4.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"4.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"DANFE\",\n                        \"label\": \"Danfe\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8a-8772-759e-b1a9-00cfa9885538/danfe?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375265,\n                            \"formatted\": \"13/10/2025 - 14:07:45\"\n                        },\n                        \"raw\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8PC9MZW5ndGggMzcwOS9GaWx0ZXIvRmxhdGVEZWNvZGU+PnN0cmVhbQp4nK1czY4ctxG+71MQSAwowKqXbJL941trpkduYWZ61D2zEHybaFfJBtode7WKAD9abk4Ohg86JXmIHPIOKbJJ7Ta7irMb2bCFUVcVq1gfv+JPs/3jyYvtiWaZSNn24oSz58OPs0XKCrZ9d/JsXvfbZl1tf+6alp2xrl7V23q9rf+w/Quoc2dVFIT5otruugoM57vNsplV26ofW0rK8ezn5Wy3bNm8Zc1q0/bbdmyY+R8l5XvbVet+03bbat52EMJ5u9yt6p49fB5G43+kRfhDKfOj3p68PvnR/peyV/D85QlPNPt0krEsK1nKORM8Y7eXJ70TpHwQiXQikmnGcqlZCn1RfCLhuZVABIHEegKJHEnguRI2grGFDQAksriXvDawC2Y6LgD8RCoIBDp4DekTLn2rl6/esFm7qrsZQL/cziuTK2+kywTynUM0YPSMdR/37OLAusPbq8MpE2UJf3C2v7nY3z60KjTLRWFNzq/e71n7/ur6h6v9Q5VcJ0UJWtxq9VXLNpUZB89Zvxk1Bb2D1nhq9Wb1hn3LldbQf27UAKgHXUx1mqQQbiaGPn4Z3dV6USPqMk9SaFzlkEGXlHIwaGcwhtbDYPyingob85DBZ6zavWmWTdWxecXW7bYa63LIGh/afcYWTT+rlqxe1tvuX2sgCBY7t2NhFIcw+dj/92KP6WdJXrKs1OO+rv/GVDYKRcHAKOQQSP9r19RMyHKkMaQty4WL9vD+z3smnM8fmdeTSieQXWnS9faanb15J9j8wEaj7KEONGZylg28e/7g97grEsZrnrquS6aGwvBddV6zec2qWd337TQBxlNuBpoM0ZMaUBVcA7HSAsYwjBXGRa6Y1kKy0v7V/KEyGKRawC/JtUI85HxIcT6mzOxw8+Hj+zugwiXbf7y7vLm7ent1sYe/3RzYD4fbu/17drMHitzAj4s9Wy+eXz7MtyzKxIJS2nx/+vQpuXl3mbzb/3QJTEr+dPhr8sfbM9fQ4aNp9cPV3agJBWMrVdDEABk46S/BnlUf7w63Vz/tLw63yJgpoKaIcZrXpnLX31dmELebuqt++QeSazCckuTq7fWH5ygNOeJo07XbdtaaUg+Y7rZt13xvnJm/7jB8bStTr8KgC+jlhZYKRu1zGM1ngp+l3ICuvuX5t0r6oYtXcBgERP0EiSngSC02EhlKlJ5KXgd5k3Kch2bdz7rGdBym3Gq+q5ZoukU56bjmBcwsOhMiJ7KF+Uq8GzPF9rsX/TaBqbF5sbNzPTLoU6Sh2XrzilCdBqqhqqZFAvGeAU7ieY5QS+loalY7KJLNBsuNtUSyk0r4N4p7AdVVFlmS5SHAZWoe5sB1UcoEwtLZeMp9IBqbwhRoHiLyYBwUaTnubFfP6hf1qu0NAaaTMAMBUGYOROlBsgYQYTnW+7nGzyjNeg6zCTysXlTNGwROlZcJjOxCfKlhZso1xA+KksptZophCnrGJvOIymxLeekU+v/cXl2GU4nK06SEVUaRY1PJOCM8qBBzWDaaZNjMNF+m33CcC5PliXEzB/1mAcmw1GJV3zfrYVUK435INqwPIwPEVBqdA5HLSWkovQwdA6rkCcyvRl4io8vaqpRuF2SYnSxVAqhRYu+VENuWhcIjhupnbUGO2bq4CKmPixD7uCbiESEMf3XJg7kICHDWVd8DgH07azD2WzsYqQH7YTDXrF412waoUK9YtXrRmO2LGU7ftSuYdV5Ws8quLkF6Xi2/jISHQ6tEo5ptFmd4/XMG03B0bhYeZpYyyw6ElFBwTI5CV5YBJuLOzsfQob7HpmNvP/VMz4VhErN07Ltez+uu/gXxZtVVEbpaHS4u38MuwGwCoDJtsQV2ibqCUtV1GLdLwhXRvIQBZkZi2D7sEmjlaetcwcqX50iR8nkOHQQ49dXneXUG462r5sjK3rcy9fx4tPyuzUdgJ8jPG2wCt/p+63Hv68sWC6upQ4Chk0W7rs8W1RvaYuqmvP+HBDj0s1uQqkg/ItiGDT9mreVtp57iCy6PKu0zXMRQk46CiUOPdu2kJqxEYUUMu55xzdXa7GOtVCV5WJFhg5PA/pkyFuZhTotLnWhJilMlE3hixSLJi1BcaLNosOJ0KpZpnhSKbFzmOslIqUphahu6rcH1ZFoGYz5EJkSamBl4MkPKsogk1ErphFLGLqGkeEgoJXYJtWI6oVZMJ5RqfEgoJXUJNeJIQq0YshLmU6dl4qTQNj3tK5WF00FfM3MOmLBmturxiqakvudnPqygf890osriFKua2h7tTHydLwkfTh/1UhblaZ5ObQRUQUOsqZOhJ7D66KGEwqyAFF1vjHrkp9i+WqjSMpX0t5ht2G5h3G4T2vwpHs1KUEY8Rrw50yd4S83ZURH3Zk+mEXfe9inuitzWJswdZJI2QH0IXp6WyDwhDS3U0VHP+i1tizoEkqXqVGvs3CpPiH6ZY3bS22CGOiuEPOXYLJhqW4OJHAJcsCRvUXfeFM+mhq4hmCmIkRNDxPlLmNkpd03bJbhf18QTRootQMOB9til36ETJjxHXGRJkaenBYKbq0GYowV0DFkBOwvUD2w/cE67woO56euXO2xl7m2e5sjVG8wRFI1Zi27wvRXqSiSkM1duMGdNQ+ujbuLlCXWxQXx4A9SHVPI0QwaBLzKEF8jcebs8b7ApxZs+oU++wqCDu0HGtTdAfZT6NM3IwoL5mLULWDCTJqgXJYvTHHHjC0rop91tOzviNol7mdA1FeLT2z9pkPtqgg7y+/dCuBHPxu9uTKFNRKHQUqulSAhHFdShN80K1hnuaBerSM4e8fmgZ9jOQxi6sO7lsGIuUrtZEalb+402KNKckanELLnT0aoVlpOZlWZZokNpUSQyHWx5aV5SjsWGqtlgLe3aOGhbcnPkaM1LU6UCMdSTcrCG5S1UlkCcS7PSJcWl71YKu/ewbZlmdiNgIisSLkNxpuxanRArU1RLWqy4efdKdVtB4IqMTHORlJIWQ86UJnOmIWcqJyOzKTEoDkgrBGnzYmRAWiFIm+cOaYUhDXLXZYUhbcyHqBWGNIgdlApDmhKXvlsuYQpD2kQ2ZERhSBNijzQldkgT3XZIE5F5pCmxQ5rImUeaiMymRKUxpEEaQdrYxpAGeQxpYx5B2uzpI0hT4tJ3K4a0iSyCNCH2SFNihzTRbYc0EZlHmhI7pImceaSJyGxKbEAk0uZtH420sY0hbc40IkgbQQRpEMeQpsSl71YMaRNZBGlC7JGmxA5potsOaSIyjzQldkgTOfNIE5HZlJg3QzTS8DCCtLGNIQ1PY0jbl1I00vA0hjQlLn23YkibyCJIE2KPNCV2SBPddkgTkXmkKbFDmsiZR5qIzKaE8xjSnMeQ5jyONOdRpDmPIs15FGlKXPpuxZDmPIo0IfZIU2KHNNFthzQRmUeaEjukiZx5pCeRTY5XZaHCy29zc8mg9YcV7Ay2+d15Q73qk3lwtvI77ObcsJ4PNGf/nDcvsWb5sMAP1M0hgH1Vgm3Py2HNH5isZyssmnTYAYThYMc/qRbDfiBUXrTYkV+uh+1BoL1bN3PqpdVE+fWuWqOne8WwewjPsszraQYeMBtgK0eiH2y2LXbexdWwzaAOIBETlQ5bj8eenptXAwgARh87GNFcDruTQP8b6nAeAFZIYr8hmgeI7fYFOSS0W+VkdMXVaw9XTOkNtMXWvwoWLBteEpLkeISm40UmvaZ29yDuL/jglxoexu8a0cN9W+K2g2uOJloYrZQ8E/glW8e20IK4kTuwLVTWgmOZc2wLtXdrkmuTLCccDcSTLdS3h4oyV6caO7t3bHuSkefb04wc4xCjVOWnCnn75DiHWGTFaY69EnOsm6SsQE+2POkm0OHajkVIOPSZulTFWBvppmNTqEmzSZW/AZuU+io2hdEeZ1NowUWETaGyVjE2hdoRNk2yfIRNof6j2PQkI8+mpxk5NiFGR9iEWBxh0yRlcTZNoIuyCQknwqb7TzvcqCPZFGrSbJL6N2CT5F/Fpkm/jrIptOBphE2hcnxuCrUjbJpk+QibQv1HselJRp5NiFEpMvQihecS5idTpyX2ImbgEmJxhEuThMW5NAEuyiUknAiXUj7WRm5xOi6FmjSXUvEbcElkX8WlMNrjXAoteB7hUqgcn5lC7QiXJlk+wqVQ/1FcepKR5xJidIxLmJ84lxCLI1yaJCzOpQlwUS4h4US45F85fmmb5FKoSXPp/ku5r+CS+6rw/+VSGO1xLoUWvIxwaZK2KJdC7QiXJlk+wqVQ/1FcepKR5xJidIxLmJ84lxCLI1yaJCzOpQlwUS4h4Rx5IW8OQFP7GjNPJvdDlU6klQrBk/COptTa2WYwhCfXP3VivytlOmxVFdKJgKiTi588cy4L8UA4OZlMw/OY+KcesFI3zYZG9iYU2wA9zQUi7EPawS5Lk/BquiH35TV7d3s5fEwZDFydY0HOWnOmae6UoXfYcpOX0GazhFpijlzP688z9Mq9KjRmiN2E17zA8mA+STmbbRbHxol5C2RzEd4E5lYmpDaVKUR0eGjkRSLCi8A6tafoqf1SMFEqArkKbqvQX5mY87eJeuQzB81zG2NogqYwtTVpouvu6v998n0AmU2Of+MluP0mihK7761IcRlr231vRYnd91ZT8RSMNPjcyJ5Lw0Q5R24WCm4/i5jY1P3m11mDfeszfBIyMVhVHfq5e4mGtN6tqG+Q3YcaE5NN3bfsRbfDLhO6jzRwm+Xn17v7e3RHbz6JIovcfBKmZhJf+IWyCTKiKLB3NtW8mTXtusLu4VmzfDKeF223qn75d/3Q2HwE15grsXXf16YqmXUN8fIHps6wbG4vP9xdmk/dm5t3h9vr/dv9ge0vru4/b7853GH/f4LyaIizdrVZ1uZDz6qrp2Ga+m4O481DBk/r7tzccKtacmHmfD6uD28P1z+8v7y+vLnb3wbd+B/zMnnkCmVuZHN0cmVhbQplbmRvYmoKNyAwIG9iago8PC9UeXBlL1BhZ2UvTWVkaWFCb3hbMCAwIDU5NSA4NDJdL1Jlc291cmNlczw8L0ZvbnQ8PC9GMSAyIDAgUi9GMiAzIDAgUi9GMyA0IDAgUj4+L1hPYmplY3Q8PC9YZjEgMSAwIFI+Pj4+L0NvbnRlbnRzIDUgMCBSL1BhcmVudCA2IDAgUj4+CmVuZG9iagoyIDAgb2JqCjw8L1R5cGUvRm9udC9TdWJ0eXBlL1R5cGUxL0Jhc2VGb250L1RpbWVzLVJvbWFuL0VuY29kaW5nL1dpbkFuc2lFbmNvZGluZz4+CmVuZG9iagozIDAgb2JqCjw8L1R5cGUvRm9udC9TdWJ0eXBlL1R5cGUxL0Jhc2VGb250L1RpbWVzLUJvbGQvRW5jb2RpbmcvV2luQW5zaUVuY29kaW5nPj4KZW5kb2JqCjQgMCBvYmoKPDwvVHlwZS9Gb250L1N1YnR5cGUvVHlwZTEvQmFzZUZvbnQvVGltZXMtSXRhbGljL0VuY29kaW5nL1dpbkFuc2lFbmNvZGluZz4+CmVuZG9iagoxIDAgb2JqCjw8L1R5cGUvWE9iamVjdC9TdWJ0eXBlL0Zvcm0vUmVzb3VyY2VzPDw+Pi9CQm94WzAgMCAyMjEuNiAzNV0vRm9ybVR5cGUgMS9NYXRyaXggWzEgMCAwIDEgMCAwXS9MZW5ndGggMjg1L0ZpbHRlci9GbGF0ZURlY29kZT4+c3RyZWFtCnicjZQ7csYgDIR7n8In8GjF+0BJ+v/+RWzjjOGjybgwEuyuBDuy3c7v87NdPx15D2n/fG1+xGvjqE8cz5XtV7bH9Y7fffkcpsMnPpVzORK47sQL8QCI57uGIdEACY4qQpd9VUIFRzRAIvYLGJLhJhJFUxcdEvk+cfXTE7n3+qrkhE4yZYuh8NJlh8RMWRqurzoYagRDnftoM76xrZbhAZnNj258Qhkblc01SL3RgVURhUu8ULmhFy32kSfcurwSFYAJi3YoZImLdly0I72rSPMqCW+uBKVE9+px0oBZrKTHSyOqEVVoYsFOKot2pYu1OEp10a6NqBZYzeOsoZpGdTdOJDeemDlc4kARx4OrktUxB//m1D/j7+0XE4sMNgplbmRzdHJlYW0KZW5kb2JqCjYgMCBvYmoKPDwvVHlwZS9QYWdlcy9Db3VudCAxL0tpZHNbNyAwIFJdPj4KZW5kb2JqCjggMCBvYmoKPDwvVHlwZS9DYXRhbG9nL1BhZ2VzIDYgMCBSPj4KZW5kb2JqCjkgMCBvYmoKPDwvUHJvZHVjZXIoaVRleHSuIDUuNS4xMCCpMjAwMC0yMDE1IGlUZXh0IEdyb3VwIE5WIFwoQUdQTC12ZXJzaW9uXCkpL0NyZWF0aW9uRGF0ZShEOjIwMjUxMDEzMTQwNzQ1LTAzJzAwJykvTW9kRGF0ZShEOjIwMjUxMDEzMTQwNzQ1LTAzJzAwJyk+PgplbmRvYmoKeHJlZgowIDEwCjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwNDIxNCAwMDAwMCBuIAowMDAwMDAzOTQ0IDAwMDAwIG4gCjAwMDAwMDQwMzQgMDAwMDAgbiAKMDAwMDAwNDEyMyAwMDAwMCBuIAowMDAwMDAwMDE1IDAwMDAwIG4gCjAwMDAwMDQ2NTcgMDAwMDAgbiAKMDAwMDAwMzc5MiAwMDAwMCBuIAowMDAwMDA0NzA4IDAwMDAwIG4gCjAwMDAwMDQ3NTMgMDAwMDAgbiAKdHJhaWxlcgo8PC9TaXplIDEwL1Jvb3QgOCAwIFIvSW5mbyA5IDAgUi9JRCBbPGNlYWViNjk5MjhhNjQ1ZmUzOWNmYzg2NGVlMDM5MTA1PjxjZWFlYjY5OTI4YTY0NWZlMzljZmM4NjRlZTAzOTEwNT5dPj4KJWlUZXh0LTUuNS4xMApzdGFydHhyZWYKNDkxMQolJUVPRgo=\"\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760375244,\n                    \"formatted\": \"13/10/2025 - 14:07:24\"\n                },\n                \"lastStatus\": true\n            },\n            {\n                \"type\": \"CORRECTION\",\n                \"label\": \"Carta de correção\",\n                \"requestId\": \"0199de8b-02a1-704d-8993-d22b5286499a\",\n                \"remoteId\": \"teste-carta-correcao\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8b-02a1-704d-8993-d22b5286499a/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375276,\n                            \"formatted\": \"13/10/2025 - 14:07:56\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8b-02a1-704d-8993-d22b5286499a/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375280,\n                            \"formatted\": \"13/10/2025 - 14:08:00\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8b-02a1-704d-8993-d22b5286499a/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375281,\n                            \"formatted\": \"13/10/2025 - 14:08:01\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                            \"cOrgao\": \"35\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de Evento Processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                    \"cOrgao\": \"35\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"110110\",\n                                    \"xEvento\": \"Carta de Correção registrada\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CNPJDest\": \"57228150000174\",\n                                    \"emailDest\": \"modelo@modelo.com\",\n                                    \"dhRegEvento\": \"2025-10-13T14:08:01-03:00\",\n                                    \"nProt\": \"135250007853428\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de8b-02a1-704d-8993-d22b5286499a/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760375281,\n                            \"formatted\": \"13/10/2025 - 14:08:01\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"35\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:08:00-03:00\",\n                                        \"tpEvento\": \"110110\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Carta de Correcao\",\n                                            \"xCorrecao\": \"Teste de carta de correcao\",\n                                            \"xCondUso\": \"A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida.\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID1101103525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"LlYp48+Oxg3yW+qOR4by5aUrbeE=\",\n                                                \"_URI\": \"#ID1101103525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"Quk+v+4b7vSNGKnMrSM+goxFRSiZFkrq4FErM3yts61G5cUe8284sL09UEw5WyP9QV85pDO7pRizG+392mV42Yr+HpkKV3GWR+ELd6wc2M5ZmF+aWkYVkQ6Wo5SGEZ2fo/InNUCrLWnUANBsI/0gVQ7o6+J/WREvgD5YZmktFT5JLP8p9AQf1CLHQ3XLPFKdO52CHcoZwfg5uTXSXwS/y/1H7AHsWzZIXVxhan9gPz8Ar0YQ3Ix3dP1WSw1+fL+JxPmCE+oUzm7HhWJhNH++wC7M5sbkKZawy6frUH43cxBSHtZ+QPhM5xHzc6kHmEremvTdHCDyX0CkhDfmEejC1Q==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                        \"cOrgao\": \"35\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"110110\",\n                                        \"xEvento\": \"Carta de Correção registrada\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CNPJDest\": \"57228150000174\",\n                                        \"emailDest\": \"modelo@modelo.com\",\n                                        \"dhRegEvento\": \"2025-10-13T14:08:01-03:00\",\n                                        \"nProt\": \"135250007853428\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760375276,\n                    \"formatted\": \"13/10/2025 - 14:07:56\"\n                },\n                \"lastStatus\": false\n            },\n            {\n                \"type\": \"CORRECTION\",\n                \"label\": \"Carta de correção\",\n                \"requestId\": \"0199de9f-e3f4-7640-b34d-62b18857d3af\",\n                \"remoteId\": \"teste-carta-correcao\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de9f-e3f4-7640-b34d-62b18857d3af/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376644,\n                            \"formatted\": \"13/10/2025 - 14:30:44\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de9f-e3f4-7640-b34d-62b18857d3af/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376652,\n                            \"formatted\": \"13/10/2025 - 14:30:52\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de9f-e3f4-7640-b34d-62b18857d3af/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376653,\n                            \"formatted\": \"13/10/2025 - 14:30:53\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                            \"cOrgao\": \"35\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de Evento Processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                    \"cOrgao\": \"35\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"110110\",\n                                    \"xEvento\": \"Carta de Correção registrada\",\n                                    \"nSeqEvento\": \"2\",\n                                    \"CNPJDest\": \"57228150000174\",\n                                    \"emailDest\": \"modelo@modelo.com\",\n                                    \"dhRegEvento\": \"2025-10-13T14:30:53-03:00\",\n                                    \"nProt\": \"135250007854024\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199de9f-e3f4-7640-b34d-62b18857d3af/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376653,\n                            \"formatted\": \"13/10/2025 - 14:30:53\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"35\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:30:52-03:00\",\n                                        \"tpEvento\": \"110110\",\n                                        \"nSeqEvento\": \"2\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Carta de Correcao\",\n                                            \"xCorrecao\": \"Teste de carta de correcao\",\n                                            \"xCondUso\": \"A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida.\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID1101103525105722815000017455139000000046185100305402\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"JmsZVB6HvKkn/FllXeau9OExzbY=\",\n                                                \"_URI\": \"#ID1101103525105722815000017455139000000046185100305402\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"P1HvlJ2WJIaXdWmhJf7Vq960fa6v8sJ1CAHWR6137/9wEMSk8Q5sP2GDLsptxSD4rdgQSLGRzguo1Pc3K0ikTouBKzLYqmM6NefGRpyHUjrpYM5cfSYMC78i1fO7I1GABBufa2Gdx0pI3ZFZVc6Wr7S3ZOFZrLalse/ietQdK84L3KA9dLinBBfcFiyQEPFRC8vyGLuaYpOsWuQK4aomTEbtb+g4JHA7FeCAfpKleFb98y1A05QBf5DAs9Q2j/PEkZayfp27R3ZfhDcMCZtmafKQyFHA4KIJasnSOSC3IkdHYKKsZoBQcb3aHdzTb79M5n0i/Vd8y44hcchk2ykFEA==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                        \"cOrgao\": \"35\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"110110\",\n                                        \"xEvento\": \"Carta de Correção registrada\",\n                                        \"nSeqEvento\": \"2\",\n                                        \"CNPJDest\": \"57228150000174\",\n                                        \"emailDest\": \"modelo@modelo.com\",\n                                        \"dhRegEvento\": \"2025-10-13T14:30:53-03:00\",\n                                        \"nProt\": \"135250007854024\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376644,\n                    \"formatted\": \"13/10/2025 - 14:30:44\"\n                },\n                \"lastStatus\": true\n            },\n            {\n                \"type\": \"PROTOCOL_QUERY\",\n                \"label\": \"Consulta de Protocolo\",\n                \"requestId\": \"0199dea0-1bc9-700f-a08c-4a5b22ac8ef1\",\n                \"remoteId\": \"teste-consulta-protocolo\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"100\",\n                    \"xMotivo\": \"Autorizado o uso da NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-1bc9-700f-a08c-4a5b22ac8ef1/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376658,\n                            \"formatted\": \"13/10/2025 - 14:30:58\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-1bc9-700f-a08c-4a5b22ac8ef1/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376664,\n                            \"formatted\": \"13/10/2025 - 14:31:04\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-1bc9-700f-a08c-4a5b22ac8ef1/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376665,\n                            \"formatted\": \"13/10/2025 - 14:31:05\"\n                        },\n                        \"data\": {\n                            \"versao\": \"4.00\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SP_NFE_PL009_V4\",\n                            \"cStat\": \"100\",\n                            \"xMotivo\": \"Autorizado o uso da NF-e\",\n                            \"cUF\": \"35\",\n                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                            \"protNFe\": {\n                                \"infProt\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_NFE_PL009_V4\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"dhRecbto\": \"2025-10-13T14:07:44-03:00\",\n                                    \"nProt\": \"135250007853422\",\n                                    \"digVal\": \"8h3bf4gqs72ujtTfWDqB+E3LKpc=\",\n                                    \"cStat\": \"100\",\n                                    \"xMotivo\": \"Autorizado o uso da NF-e\"\n                                },\n                                \"_versao\": \"4.00\"\n                            },\n                            \"retCancNFe\": null,\n                            \"procEventoNFe\": [\n                                {\n                                    \"evento\": {\n                                        \"infEvento\": {\n                                            \"cOrgao\": \"35\",\n                                            \"tpAmb\": \"2\",\n                                            \"CNPJ\": \"57228150000174\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"dhEvento\": \"2025-10-13T14:08:00-03:00\",\n                                            \"tpEvento\": \"110110\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"verEvento\": \"1.00\",\n                                            \"detEvento\": {\n                                                \"descEvento\": \"Carta de Correcao\",\n                                                \"xCorrecao\": \"Teste de carta de correcao\",\n                                                \"xCondUso\": \"A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida.\",\n                                                \"_versao\": \"1.00\"\n                                            },\n                                            \"_Id\": \"ID1101103525105722815000017455139000000046185100305401\"\n                                        },\n                                        \"Signature\": {\n                                            \"SignedInfo\": {\n                                                \"CanonicalizationMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                },\n                                                \"SignatureMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                                },\n                                                \"Reference\": {\n                                                    \"Transforms\": {\n                                                        \"Transform\": [\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                            },\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                            }\n                                                        ]\n                                                    },\n                                                    \"DigestMethod\": {\n                                                        \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                    },\n                                                    \"DigestValue\": \"LlYp48+Oxg3yW+qOR4by5aUrbeE=\",\n                                                    \"_URI\": \"#ID1101103525105722815000017455139000000046185100305401\"\n                                                }\n                                            },\n                                            \"SignatureValue\": \"Quk+v+4b7vSNGKnMrSM+goxFRSiZFkrq4FErM3yts61G5cUe8284sL09UEw5WyP9QV85pDO7pRizG+392mV42Yr+HpkKV3GWR+ELd6wc2M5ZmF+aWkYVkQ6Wo5SGEZ2fo/InNUCrLWnUANBsI/0gVQ7o6+J/WREvgD5YZmktFT5JLP8p9AQf1CLHQ3XLPFKdO52CHcoZwfg5uTXSXwS/y/1H7AHsWzZIXVxhan9gPz8Ar0YQ3Ix3dP1WSw1+fL+JxPmCE+oUzm7HhWJhNH++wC7M5sbkKZawy6frUH43cxBSHtZ+QPhM5xHzc6kHmEremvTdHCDyX0CkhDfmEejC1Q==\",\n                                            \"KeyInfo\": {\n                                                \"X509Data\": {\n                                                    \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                                }\n                                            },\n                                            \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                        },\n                                        \"_versao\": \"1.00\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                            \"cOrgao\": \"35\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"tpEvento\": \"110110\",\n                                            \"xEvento\": \"Carta de Correção registrada\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-10-13T14:08:01-03:00\",\n                                            \"nProt\": \"135250007853428\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                {\n                                    \"evento\": {\n                                        \"infEvento\": {\n                                            \"cOrgao\": \"35\",\n                                            \"tpAmb\": \"2\",\n                                            \"CNPJ\": \"57228150000174\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"dhEvento\": \"2025-10-13T14:30:52-03:00\",\n                                            \"tpEvento\": \"110110\",\n                                            \"nSeqEvento\": \"2\",\n                                            \"verEvento\": \"1.00\",\n                                            \"detEvento\": {\n                                                \"descEvento\": \"Carta de Correcao\",\n                                                \"xCorrecao\": \"Teste de carta de correcao\",\n                                                \"xCondUso\": \"A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida.\",\n                                                \"_versao\": \"1.00\"\n                                            },\n                                            \"_Id\": \"ID1101103525105722815000017455139000000046185100305402\"\n                                        },\n                                        \"Signature\": {\n                                            \"SignedInfo\": {\n                                                \"CanonicalizationMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                },\n                                                \"SignatureMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                                },\n                                                \"Reference\": {\n                                                    \"Transforms\": {\n                                                        \"Transform\": [\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                            },\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                            }\n                                                        ]\n                                                    },\n                                                    \"DigestMethod\": {\n                                                        \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                    },\n                                                    \"DigestValue\": \"JmsZVB6HvKkn/FllXeau9OExzbY=\",\n                                                    \"_URI\": \"#ID1101103525105722815000017455139000000046185100305402\"\n                                                }\n                                            },\n                                            \"SignatureValue\": \"P1HvlJ2WJIaXdWmhJf7Vq960fa6v8sJ1CAHWR6137/9wEMSk8Q5sP2GDLsptxSD4rdgQSLGRzguo1Pc3K0ikTouBKzLYqmM6NefGRpyHUjrpYM5cfSYMC78i1fO7I1GABBufa2Gdx0pI3ZFZVc6Wr7S3ZOFZrLalse/ietQdK84L3KA9dLinBBfcFiyQEPFRC8vyGLuaYpOsWuQK4aomTEbtb+g4JHA7FeCAfpKleFb98y1A05QBf5DAs9Q2j/PEkZayfp27R3ZfhDcMCZtmafKQyFHA4KIJasnSOSC3IkdHYKKsZoBQcb3aHdzTb79M5n0i/Vd8y44hcchk2ykFEA==\",\n                                            \"KeyInfo\": {\n                                                \"X509Data\": {\n                                                    \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                                }\n                                            },\n                                            \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                        },\n                                        \"_versao\": \"1.00\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                            \"cOrgao\": \"35\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"tpEvento\": \"110110\",\n                                            \"xEvento\": \"Carta de Correção registrada\",\n                                            \"nSeqEvento\": \"2\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-10-13T14:30:53-03:00\",\n                                            \"nProt\": \"135250007854024\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                }\n                            ]\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376658,\n                    \"formatted\": \"13/10/2025 - 14:30:58\"\n                },\n                \"lastStatus\": false\n            },\n            {\n                \"type\": \"MANIFESTATION\",\n                \"label\": \"Manifestação - Ciência da Operação\",\n                \"requestId\": \"0199dea0-38f7-73fe-a02d-ab4b31587799\",\n                \"remoteId\": \"teste-ciencia-da-operacao\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-38f7-73fe-a02d-ab4b31587799/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376666,\n                            \"formatted\": \"13/10/2025 - 14:31:06\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-38f7-73fe-a02d-ab4b31587799/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376667,\n                            \"formatted\": \"13/10/2025 - 14:31:07\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-38f7-73fe-a02d-ab4b31587799/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376668,\n                            \"formatted\": \"13/10/2025 - 14:31:08\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"AN_1.8.7\",\n                            \"cOrgao\": \"91\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de evento processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"210210\",\n                                    \"xEvento\": \"Ciencia da Operacao\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CNPJDest\": \"57228150000174\",\n                                    \"dhRegEvento\": \"2025-10-13T14:31:07-03:00\",\n                                    \"nProt\": \"891250010538669\",\n                                    \"_Id\": \"ID891250010538669\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-38f7-73fe-a02d-ab4b31587799/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376668,\n                            \"formatted\": \"13/10/2025 - 14:31:08\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"91\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:31:07-03:00\",\n                                        \"tpEvento\": \"210210\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Ciencia da Operacao\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID2102103525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"Ru8WIAXyl+iUgr1BXwdR1BA702A=\",\n                                                \"_URI\": \"#ID2102103525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"lMMKyKQvDf0lGGbNRfftNrw3DfrGNPN6r15+5vw6treSLrblkIUtP98UuMwjG7K5yySjYeC6P3XesqPxdGRBzQT/AIlUSacZUqbaQGVq+HOwUlgNGvFRI656CVcRMYccBzDBusg2G2QhlnmMhLodyvyhT2ToKUbj0dXbRue4WHAN+AlTiZZqxRJoWvWBkpZyoPVv02tPSSIugYNRjGtwo3Mxr6abhkG+jIlBiWOWPYSQte5TgdAVyP2RKFOTTSlUZW7MlakHjTJzLVa7qht3oxAl7xf+wQqZOXtMGGNbUtALY2ipGblduOSWUwI4dKhcHYS6V6eHU77xJGU/Qh4EDg==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"AN_1.8.7\",\n                                        \"cOrgao\": \"91\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"210210\",\n                                        \"xEvento\": \"Ciencia da Operacao\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CNPJDest\": \"57228150000174\",\n                                        \"dhRegEvento\": \"2025-10-13T14:31:07-03:00\",\n                                        \"nProt\": \"891250010538669\",\n                                        \"_Id\": \"ID891250010538669\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376666,\n                    \"formatted\": \"13/10/2025 - 14:31:06\"\n                },\n                \"lastStatus\": false\n            },\n            {\n                \"type\": \"MANIFESTATION\",\n                \"label\": \"Manifestação - Operação desconhecida\",\n                \"requestId\": \"0199dea0-4f1d-71cd-82de-a5b030540241\",\n                \"remoteId\": \"teste-operacao-desconhecida\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-4f1d-71cd-82de-a5b030540241/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376672,\n                            \"formatted\": \"13/10/2025 - 14:31:12\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-4f1d-71cd-82de-a5b030540241/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376673,\n                            \"formatted\": \"13/10/2025 - 14:31:13\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-4f1d-71cd-82de-a5b030540241/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376673,\n                            \"formatted\": \"13/10/2025 - 14:31:13\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"AN_1.8.7\",\n                            \"cOrgao\": \"91\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de evento processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"210220\",\n                                    \"xEvento\": \"Desconhecimento da Operacao\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CNPJDest\": \"57228150000174\",\n                                    \"dhRegEvento\": \"2025-10-13T14:31:12-03:00\",\n                                    \"nProt\": \"891250010538670\",\n                                    \"_Id\": \"ID891250010538670\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-4f1d-71cd-82de-a5b030540241/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376673,\n                            \"formatted\": \"13/10/2025 - 14:31:13\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"91\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:31:13-03:00\",\n                                        \"tpEvento\": \"210220\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Desconhecimento da Operacao\",\n                                            \"xJust\": \"Teste de manifestacao\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID2102203525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"qeCpTSVv0bueNiGM+sH8KiBzxy8=\",\n                                                \"_URI\": \"#ID2102203525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"CrpinYqOKgBXZX4tWuMdYNSNY2Gu5HE77xXDCVUtTstsDQUOHe/tHlw4aZRMF0v8BY9tRy0NsCwsIY7HtjCorIdhHHWfwK4kWwDVqWkYNyo2VSXw72wdku3rJLRydM0u5/fOmOwcFVZvZ/6NuKrH0REHK5WAgcvQ1e31RhGsydg6sYix49MANK28ZHTLjoy+BdNCIR7qmlI9pG3DPtMvR0GdPJNfUooOwwHhyUjuXfJ9urK9AOj7s4WZ3Pe31iyrx5k8Lfzj+G7UuCQPptLEgXlHOmlxYXCpLdRRKS7yIvmPQ5pFj+Uv5fN+h5OOELgIupT7iRoFWw6uKU0mCKEhPw==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"AN_1.8.7\",\n                                        \"cOrgao\": \"91\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"210220\",\n                                        \"xEvento\": \"Desconhecimento da Operacao\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CNPJDest\": \"57228150000174\",\n                                        \"dhRegEvento\": \"2025-10-13T14:31:12-03:00\",\n                                        \"nProt\": \"891250010538670\",\n                                        \"_Id\": \"ID891250010538670\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376672,\n                    \"formatted\": \"13/10/2025 - 14:31:12\"\n                },\n                \"lastStatus\": false\n            },\n            {\n                \"type\": \"MANIFESTATION\",\n                \"label\": \"Manifestação - Operação não Realizada\",\n                \"requestId\": \"0199dea0-6110-733a-81f4-de2f0ba01879\",\n                \"remoteId\": \"teste-operacao-nao-realizada\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-6110-733a-81f4-de2f0ba01879/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376676,\n                            \"formatted\": \"13/10/2025 - 14:31:16\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-6110-733a-81f4-de2f0ba01879/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376680,\n                            \"formatted\": \"13/10/2025 - 14:31:20\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-6110-733a-81f4-de2f0ba01879/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376681,\n                            \"formatted\": \"13/10/2025 - 14:31:21\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"AN_1.8.7\",\n                            \"cOrgao\": \"91\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de evento processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"210240\",\n                                    \"xEvento\": \"Operacao nao Realizada\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CNPJDest\": \"57228150000174\",\n                                    \"dhRegEvento\": \"2025-10-13T14:31:20-03:00\",\n                                    \"nProt\": \"891250010538671\",\n                                    \"_Id\": \"ID891250010538671\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-6110-733a-81f4-de2f0ba01879/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376681,\n                            \"formatted\": \"13/10/2025 - 14:31:21\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"91\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:31:20-03:00\",\n                                        \"tpEvento\": \"210240\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Operacao nao Realizada\",\n                                            \"xJust\": \"Teste de manifestacao\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID2102403525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"e4V454Zppz/6Km3V02v6bLmLduw=\",\n                                                \"_URI\": \"#ID2102403525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"jd3tKgMdGRodOgDaq/3XpZDirfVVi8LugsjjUWDRBS1RJe6sF8sdIANZuxatSXmemwFPuK7+qCgWUkG4bSw9KG8mcr0CdKaw+laq1SkKFN5SjiN6jQ7Hf10afBRMoTvOiBup10EiQup0+HGdPF1jWcY2f3kIjnzjAPd3KL+7f9aBeGrZMyNgvkRbFvd8KYBGetV40edwdJFngY3kwr+0eh+kAglRhu0Yb3w+fT7vMWO1G2foCCXCvUWb/wp1nH0CA5U+RtCJrpB+n8L/yar3d41SZcrrXvMr3oV9Zas/QEnMIiyisfaP7dkaW8K3sD/O21iq3OGvcDj4b6q17VYMJA==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"AN_1.8.7\",\n                                        \"cOrgao\": \"91\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"210240\",\n                                        \"xEvento\": \"Operacao nao Realizada\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CNPJDest\": \"57228150000174\",\n                                        \"dhRegEvento\": \"2025-10-13T14:31:20-03:00\",\n                                        \"nProt\": \"891250010538671\",\n                                        \"_Id\": \"ID891250010538671\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376676,\n                    \"formatted\": \"13/10/2025 - 14:31:16\"\n                },\n                \"lastStatus\": false\n            },\n            {\n                \"type\": \"MANIFESTATION\",\n                \"label\": \"Manifestação - Operação Realizada\",\n                \"requestId\": \"0199dea0-73a6-754f-b065-ca910a56c87a\",\n                \"remoteId\": \"teste-operacao-realizada\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-73a6-754f-b065-ca910a56c87a/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376681,\n                            \"formatted\": \"13/10/2025 - 14:31:21\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-73a6-754f-b065-ca910a56c87a/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376688,\n                            \"formatted\": \"13/10/2025 - 14:31:28\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-73a6-754f-b065-ca910a56c87a/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376689,\n                            \"formatted\": \"13/10/2025 - 14:31:29\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"AN_1.8.7\",\n                            \"cOrgao\": \"91\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de evento processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"AN_1.8.7\",\n                                    \"cOrgao\": \"91\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"210200\",\n                                    \"xEvento\": \"Confirmacao da Operacao\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CNPJDest\": \"57228150000174\",\n                                    \"dhRegEvento\": \"2025-10-13T14:31:28-03:00\",\n                                    \"nProt\": \"891250010538673\",\n                                    \"_Id\": \"ID891250010538673\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-73a6-754f-b065-ca910a56c87a/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376689,\n                            \"formatted\": \"13/10/2025 - 14:31:29\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"91\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:31:28-03:00\",\n                                        \"tpEvento\": \"210200\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Confirmacao da Operacao\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID2102003525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"F0sYyulGRSwA5odO0cRzcKYiVvk=\",\n                                                \"_URI\": \"#ID2102003525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"QqAL5adxebMTDqHjRK5KQCzT/7e1zNNcX6FaoC3LSoFWDyWfONDzYvGW+Nwd/9tTbvGiNTqiDAsR0N2HTBzwNe/tf/PyKLorOfQpKuUEhmqujgsdE8YTJQdw5p7GCkbvlgn2WANajdC9oyWdwFdL6gxMv/WfGSQbAM7yyBC/XkU3QVdfSNzBLfhV+FYfBew3V6qqWPwRKjNyfwlO7wNJNYoqWo96H2SAFmJwFs5scjbeCKzHmJ7sJGVS+aE9bDjXJ/zr1CwSMSrSqOsHY4yhgKIEKcVbQ+/kWkMAIaeJzONPih073ocWcwwh1w+l9LnZ0gGsCziM/Z//4W87FkyzUA==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"AN_1.8.7\",\n                                        \"cOrgao\": \"91\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"210200\",\n                                        \"xEvento\": \"Confirmacao da Operacao\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CNPJDest\": \"57228150000174\",\n                                        \"dhRegEvento\": \"2025-10-13T14:31:28-03:00\",\n                                        \"nProt\": \"891250010538673\",\n                                        \"_Id\": \"ID891250010538673\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376681,\n                    \"formatted\": \"13/10/2025 - 14:31:21\"\n                },\n                \"lastStatus\": true\n            },\n            {\n                \"type\": \"FULL_PAYMENT\",\n                \"label\": \"Informação de efetivo pagamento integral para liberar crédito presumido do adquirente\",\n                \"requestId\": \"0199dea0-95bf-764b-b2ca-a7e767ff659f\",\n                \"remoteId\": \"rtc-efetivo-pagamento\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-95bf-764b-b2ca-a7e767ff659f/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376690,\n                            \"formatted\": \"13/10/2025 - 14:31:30\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-95bf-764b-b2ca-a7e767ff659f/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376701,\n                            \"formatted\": \"13/10/2025 - 14:31:41\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-95bf-764b-b2ca-a7e767ff659f/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376702,\n                            \"formatted\": \"13/10/2025 - 14:31:42\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SVRS2510020917\",\n                            \"cOrgao\": \"35\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de Evento Processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SVRS2510020917\",\n                                    \"cOrgao\": \"35\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"112110\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CPFDest\": \"00000000000\",\n                                    \"dhRegEvento\": \"2025-10-13T14:31:41-03:00\",\n                                    \"nProt\": \"335250000002297\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-95bf-764b-b2ca-a7e767ff659f/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376702,\n                            \"formatted\": \"13/10/2025 - 14:31:42\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"35\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:31:40-03:00\",\n                                        \"tpEvento\": \"112110\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Informação de efetivo pagamento integral para liberar crédito presumido do adquirente\",\n                                            \"cOrgaoAutor\": \"35\",\n                                            \"tpAutor\": \"1\",\n                                            \"verAplic\": \"SP_NFE_PL009_V4\",\n                                            \"indQuitacao\": \"1\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID1121103525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"srRsYc6H40bx9uZg4yrj7yQBqAY=\",\n                                                \"_URI\": \"#ID1121103525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"D8kr1KeeGZwhhM+OcZSdPOqA1zvvvhYi2A+z02fhNyE6WfNcIY1j/Yky3lrWOKTClUcqDfm1o4AlbZatAEfWYIAq4vYn6osbNmvsUOR0X5tgQCMW9S9390xPF5dLavLt9q6EvYgXR/8T1o8fvCIq6MhNqf0czbbaCDrS0nPxVoavryKWVahzgGgcNLhpQ2D9wPeYHjaSM/SlAz4AHWEEo1zwTj/b44wkMGRETGcMk1YqCQQUvW0u6hzIduauUYWI7u1GnpZDrYjJi5RHGO3u4uikK+oolcf8FF+qehOOGM0lnU0cBmty8OfASNIqYrxOyalMst/6D4BgMAuVvZLCig==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"SVRS2510020917\",\n                                        \"cOrgao\": \"35\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"112110\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CPFDest\": \"00000000000\",\n                                        \"dhRegEvento\": \"2025-10-13T14:31:41-03:00\",\n                                        \"nProt\": \"335250000002297\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376690,\n                    \"formatted\": \"13/10/2025 - 14:31:30\"\n                },\n                \"lastStatus\": true\n            },\n            {\n                \"type\": \"EVENT_CANCELLATION\",\n                \"label\": \"Cancelamento de evento\",\n                \"requestId\": \"0199dea0-cf63-75d9-94e6-8611d57d849b\",\n                \"remoteId\": \"rtc-efetivo-pagamento\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-cf63-75d9-94e6-8611d57d849b/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376704,\n                            \"formatted\": \"13/10/2025 - 14:31:44\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-cf63-75d9-94e6-8611d57d849b/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376705,\n                            \"formatted\": \"13/10/2025 - 14:31:45\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-cf63-75d9-94e6-8611d57d849b/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376706,\n                            \"formatted\": \"13/10/2025 - 14:31:46\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SVRS2510020917\",\n                            \"cOrgao\": \"35\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de Evento Processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SVRS2510020917\",\n                                    \"cOrgao\": \"35\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"110001\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CPFDest\": \"00000000000\",\n                                    \"dhRegEvento\": \"2025-10-13T14:31:46-03:00\",\n                                    \"nProt\": \"335250000002298\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-cf63-75d9-94e6-8611d57d849b/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376706,\n                            \"formatted\": \"13/10/2025 - 14:31:46\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"35\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:31:45-03:00\",\n                                        \"tpEvento\": \"110001\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Cancelamento de Evento\",\n                                            \"cOrgaoAutor\": \"35\",\n                                            \"verAplic\": \"SVRS2510020917\",\n                                            \"tpEventoAut\": \"112110\",\n                                            \"nProtEvento\": \"335250000002297\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID1100013525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"ijnF1+dCYe1laNaKWxV+sVPCZ9s=\",\n                                                \"_URI\": \"#ID1100013525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"kZwOh7HwSl8cuQL5sNIJ1UEjIxLzj3jCgiSkjsDPEGIgwtyeOOZRr8GEeRVAGMs5xp/A7ObV/yH5gRt5ubBUJUXplrUzj/0iBmdm/o+bxT6A4mhOBcIFVbuQhJLgX2/kHDiFW0L5Uk5TCmcz52l55RqsRYfgSE7hRdBhAGlcX+LXRHERgg/17JsfWiSncfUAcoaM5VMpKrtxt7IiVChS6Af2imk0rXN0EeCPUfX7d7Za9ebXo7OzgN+VW2BTBDh9qW3n4wK9V0p1qjtBrpQNVSWLh+aZ1/TU8p0bqmbEUvPA3P7BRJbuurq6EAwHpa4Hhbo1WdHJxysXODczQGsnpA==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"SVRS2510020917\",\n                                        \"cOrgao\": \"35\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"110001\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CPFDest\": \"00000000000\",\n                                        \"dhRegEvento\": \"2025-10-13T14:31:46-03:00\",\n                                        \"nProt\": \"335250000002298\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376704,\n                    \"formatted\": \"13/10/2025 - 14:31:44\"\n                },\n                \"lastStatus\": true\n            },\n            {\n                \"type\": \"PROTOCOL_QUERY\",\n                \"label\": \"Consulta de Protocolo\",\n                \"requestId\": \"0199dea0-eaf7-71a2-9489-def87af64c70\",\n                \"remoteId\": \"teste-consulta-protocolo\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"100\",\n                    \"xMotivo\": \"Autorizado o uso da NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-eaf7-71a2-9489-def87af64c70/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376711,\n                            \"formatted\": \"13/10/2025 - 14:31:51\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-eaf7-71a2-9489-def87af64c70/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376717,\n                            \"formatted\": \"13/10/2025 - 14:31:57\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea0-eaf7-71a2-9489-def87af64c70/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376718,\n                            \"formatted\": \"13/10/2025 - 14:31:58\"\n                        },\n                        \"data\": {\n                            \"versao\": \"4.00\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SP_NFE_PL009_V4\",\n                            \"cStat\": \"100\",\n                            \"xMotivo\": \"Autorizado o uso da NF-e\",\n                            \"cUF\": \"35\",\n                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                            \"protNFe\": {\n                                \"infProt\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_NFE_PL009_V4\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"dhRecbto\": \"2025-10-13T14:07:44-03:00\",\n                                    \"nProt\": \"135250007853422\",\n                                    \"digVal\": \"8h3bf4gqs72ujtTfWDqB+E3LKpc=\",\n                                    \"cStat\": \"100\",\n                                    \"xMotivo\": \"Autorizado o uso da NF-e\"\n                                },\n                                \"_versao\": \"4.00\"\n                            },\n                            \"retCancNFe\": null,\n                            \"procEventoNFe\": [\n                                {\n                                    \"evento\": {\n                                        \"infEvento\": {\n                                            \"cOrgao\": \"35\",\n                                            \"tpAmb\": \"2\",\n                                            \"CNPJ\": \"57228150000174\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"dhEvento\": \"2025-10-13T14:08:00-03:00\",\n                                            \"tpEvento\": \"110110\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"verEvento\": \"1.00\",\n                                            \"detEvento\": {\n                                                \"descEvento\": \"Carta de Correcao\",\n                                                \"xCorrecao\": \"Teste de carta de correcao\",\n                                                \"xCondUso\": \"A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida.\",\n                                                \"_versao\": \"1.00\"\n                                            },\n                                            \"_Id\": \"ID1101103525105722815000017455139000000046185100305401\"\n                                        },\n                                        \"Signature\": {\n                                            \"SignedInfo\": {\n                                                \"CanonicalizationMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                },\n                                                \"SignatureMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                                },\n                                                \"Reference\": {\n                                                    \"Transforms\": {\n                                                        \"Transform\": [\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                            },\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                            }\n                                                        ]\n                                                    },\n                                                    \"DigestMethod\": {\n                                                        \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                    },\n                                                    \"DigestValue\": \"LlYp48+Oxg3yW+qOR4by5aUrbeE=\",\n                                                    \"_URI\": \"#ID1101103525105722815000017455139000000046185100305401\"\n                                                }\n                                            },\n                                            \"SignatureValue\": \"Quk+v+4b7vSNGKnMrSM+goxFRSiZFkrq4FErM3yts61G5cUe8284sL09UEw5WyP9QV85pDO7pRizG+392mV42Yr+HpkKV3GWR+ELd6wc2M5ZmF+aWkYVkQ6Wo5SGEZ2fo/InNUCrLWnUANBsI/0gVQ7o6+J/WREvgD5YZmktFT5JLP8p9AQf1CLHQ3XLPFKdO52CHcoZwfg5uTXSXwS/y/1H7AHsWzZIXVxhan9gPz8Ar0YQ3Ix3dP1WSw1+fL+JxPmCE+oUzm7HhWJhNH++wC7M5sbkKZawy6frUH43cxBSHtZ+QPhM5xHzc6kHmEremvTdHCDyX0CkhDfmEejC1Q==\",\n                                            \"KeyInfo\": {\n                                                \"X509Data\": {\n                                                    \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                                }\n                                            },\n                                            \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                        },\n                                        \"_versao\": \"1.00\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                            \"cOrgao\": \"35\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"tpEvento\": \"110110\",\n                                            \"xEvento\": \"Carta de Correção registrada\",\n                                            \"nSeqEvento\": \"1\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-10-13T14:08:01-03:00\",\n                                            \"nProt\": \"135250007853428\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                {\n                                    \"evento\": {\n                                        \"infEvento\": {\n                                            \"cOrgao\": \"35\",\n                                            \"tpAmb\": \"2\",\n                                            \"CNPJ\": \"57228150000174\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"dhEvento\": \"2025-10-13T14:30:52-03:00\",\n                                            \"tpEvento\": \"110110\",\n                                            \"nSeqEvento\": \"2\",\n                                            \"verEvento\": \"1.00\",\n                                            \"detEvento\": {\n                                                \"descEvento\": \"Carta de Correcao\",\n                                                \"xCorrecao\": \"Teste de carta de correcao\",\n                                                \"xCondUso\": \"A Carta de Correcao e disciplinada pelo paragrafo 1o-A do art. 7o do Convenio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularizacao de erro ocorrido na emissao de documento fiscal, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da operacao ou da prestacao; II - a correcao de dados cadastrais que implique mudanca do remetente ou do destinatario; III - a data de emissao ou de saida.\",\n                                                \"_versao\": \"1.00\"\n                                            },\n                                            \"_Id\": \"ID1101103525105722815000017455139000000046185100305402\"\n                                        },\n                                        \"Signature\": {\n                                            \"SignedInfo\": {\n                                                \"CanonicalizationMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                },\n                                                \"SignatureMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                                },\n                                                \"Reference\": {\n                                                    \"Transforms\": {\n                                                        \"Transform\": [\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                            },\n                                                            {\n                                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                            }\n                                                        ]\n                                                    },\n                                                    \"DigestMethod\": {\n                                                        \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                    },\n                                                    \"DigestValue\": \"JmsZVB6HvKkn/FllXeau9OExzbY=\",\n                                                    \"_URI\": \"#ID1101103525105722815000017455139000000046185100305402\"\n                                                }\n                                            },\n                                            \"SignatureValue\": \"P1HvlJ2WJIaXdWmhJf7Vq960fa6v8sJ1CAHWR6137/9wEMSk8Q5sP2GDLsptxSD4rdgQSLGRzguo1Pc3K0ikTouBKzLYqmM6NefGRpyHUjrpYM5cfSYMC78i1fO7I1GABBufa2Gdx0pI3ZFZVc6Wr7S3ZOFZrLalse/ietQdK84L3KA9dLinBBfcFiyQEPFRC8vyGLuaYpOsWuQK4aomTEbtb+g4JHA7FeCAfpKleFb98y1A05QBf5DAs9Q2j/PEkZayfp27R3ZfhDcMCZtmafKQyFHA4KIJasnSOSC3IkdHYKKsZoBQcb3aHdzTb79M5n0i/Vd8y44hcchk2ykFEA==\",\n                                            \"KeyInfo\": {\n                                                \"X509Data\": {\n                                                    \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                                }\n                                            },\n                                            \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                        },\n                                        \"_versao\": \"1.00\",\n                                        \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                    },\n                                    \"retEvento\": {\n                                        \"infEvento\": {\n                                            \"tpAmb\": \"2\",\n                                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                            \"cOrgao\": \"35\",\n                                            \"cStat\": \"135\",\n                                            \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                            \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                            \"tpEvento\": \"110110\",\n                                            \"xEvento\": \"Carta de Correção registrada\",\n                                            \"nSeqEvento\": \"2\",\n                                            \"CNPJDest\": \"57228150000174\",\n                                            \"dhRegEvento\": \"2025-10-13T14:30:53-03:00\",\n                                            \"nProt\": \"135250007854024\"\n                                        },\n                                        \"_versao\": \"1.00\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                }\n                            ]\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376711,\n                    \"formatted\": \"13/10/2025 - 14:31:51\"\n                },\n                \"lastStatus\": true\n            },\n            {\n                \"type\": \"CANCELLATION\",\n                \"label\": \"Cancelamento\",\n                \"requestId\": \"0199dea1-0834-72e0-a413-fd3843da245d\",\n                \"remoteId\": \"teste-cancelamento-normal\",\n                \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                \"source\": \"API\",\n                \"status\": {\n                    \"description\": \"AUTHORIZED\",\n                    \"cStat\": \"135\",\n                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\"\n                },\n                \"events\": [\n                    {\n                        \"type\": \"INCOMING_REQUEST\",\n                        \"label\": \"Requisição recebida\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea1-0834-72e0-a413-fd3843da245d/incoming-request?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376719,\n                            \"formatted\": \"13/10/2025 - 14:31:59\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_REQUEST\",\n                        \"label\": \"Requisição para SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea1-0834-72e0-a413-fd3843da245d/generated-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376720,\n                            \"formatted\": \"13/10/2025 - 14:32:00\"\n                        }\n                    },\n                    {\n                        \"type\": \"SEFAZ_RESPONSE\",\n                        \"label\": \"Resposta da SEFAZ\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea1-0834-72e0-a413-fd3843da245d/sefaz-ret-xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376720,\n                            \"formatted\": \"13/10/2025 - 14:32:00\"\n                        },\n                        \"data\": {\n                            \"idLote\": \"1\",\n                            \"tpAmb\": \"2\",\n                            \"verAplic\": \"SP_EVENTOS_PL_100\",\n                            \"cOrgao\": \"35\",\n                            \"cStat\": \"128\",\n                            \"xMotivo\": \"Lote de Evento Processado\",\n                            \"retEvento\": {\n                                \"infEvento\": {\n                                    \"tpAmb\": \"2\",\n                                    \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                    \"cOrgao\": \"35\",\n                                    \"cStat\": \"135\",\n                                    \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                    \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                    \"tpEvento\": \"110111\",\n                                    \"xEvento\": \"Cancelamento registrado\",\n                                    \"nSeqEvento\": \"1\",\n                                    \"CNPJDest\": \"57228150000174\",\n                                    \"emailDest\": \"modelo@modelo.com\",\n                                    \"dhRegEvento\": \"2025-10-13T14:32:00-03:00\",\n                                    \"nProt\": \"135250007854045\"\n                                },\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    },\n                    {\n                        \"type\": \"XML\",\n                        \"label\": \"XML\",\n                        \"file\": \"https://api-homologation.omnitax.ai/invoices/download/0199dea1-0834-72e0-a413-fd3843da245d/xml?tpEmis=1\",\n                        \"createdAt\": {\n                            \"epoch\": 1760376720,\n                            \"formatted\": \"13/10/2025 - 14:32:00\"\n                        },\n                        \"raw\": {\n                            \"procEventoNFe\": {\n                                \"evento\": {\n                                    \"infEvento\": {\n                                        \"cOrgao\": \"35\",\n                                        \"tpAmb\": \"2\",\n                                        \"CNPJ\": \"57228150000174\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"dhEvento\": \"2025-10-13T14:32:00-03:00\",\n                                        \"tpEvento\": \"110111\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"verEvento\": \"1.00\",\n                                        \"detEvento\": {\n                                            \"descEvento\": \"Cancelamento\",\n                                            \"nProt\": \"135250007853422\",\n                                            \"xJust\": \"Teste de cancelamento normal\",\n                                            \"_versao\": \"1.00\"\n                                        },\n                                        \"_Id\": \"ID1101113525105722815000017455139000000046185100305401\"\n                                    },\n                                    \"Signature\": {\n                                        \"SignedInfo\": {\n                                            \"CanonicalizationMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                            },\n                                            \"SignatureMethod\": {\n                                                \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"\n                                            },\n                                            \"Reference\": {\n                                                \"Transforms\": {\n                                                    \"Transform\": [\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"\n                                                        },\n                                                        {\n                                                            \"_Algorithm\": \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"\n                                                        }\n                                                    ]\n                                                },\n                                                \"DigestMethod\": {\n                                                    \"_Algorithm\": \"http://www.w3.org/2000/09/xmldsig#sha1\"\n                                                },\n                                                \"DigestValue\": \"FLBDB7otpslCQggapC2MgjJuukE=\",\n                                                \"_URI\": \"#ID1101113525105722815000017455139000000046185100305401\"\n                                            }\n                                        },\n                                        \"SignatureValue\": \"NS6jU3pJgZeyFSv/KzX2ljo/BmKj0pOISXr88XrpyZo++pdWlHMVaohMSxuKsTH7W2DhtnJqcFJHww/YXvWspB90y08FQvMT/Td/VSa0IekIxxej3XecCHGgF1OAJgOH79oY2KVRkb0ZDf+MyISV8LNsYTg4bSwG/k/kMTwIUIgcBZIaemP9fRMwujdMf5pIKRYGUnLSSi2FE1A31bgjDO0e6LLodq7YvH38ZrfrKTGefwwxDOHLuuriZ3YgmpUwMU0e5ADQWVBlTW4q84qg74xelHYyKFCB4QSjRb+HS9Oc95ApCf7Fb4utba4mKO3IOpK43VvN7HyTrCtNH8+q6g==\",\n                                        \"KeyInfo\": {\n                                            \"X509Data\": {\n                                                \"X509Certificate\": \"MIIHXzCCBUegAwIBAgIMf+gFN/qmLm0FX5qzMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYDVQQGEwJCUjETMBEGA1UECgwKSUNQLUJyYXNpbDE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUgRGFkb3MgLSBTRVJQUk8xKjAoBgNVBAMMIUF1dG9yaWRhZGUgQ2VydGlmaWNhZG9yYSBQUk9DRVJUSTAeFw0yNTA5MTAxNDU0MzFaFw0yNjA5MTAxNDU0MzFaMIIBAjELMAkGA1UEBhMCQlIxCzAJBgNVBAgMAlNQMRIwEAYDVQQHDAlTQU8gUEFVTE8xEzARBgNVBAoMCklDUC1CcmFzaWwxGTAXBgNVBAsMEHZpZGVvY29uZmVyZW5jaWExFzAVBgNVBAsMDjA1NDQxNjQ5MDAwMTYxMRswGQYDVQQLDBJQZXNzb2EgSnVyaWRpY2EgQTExFDASBgNVBAsMC0FSUFJPTk9WQUNEMSowKAYDVQQLDCFBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUFJPQ0VSVEkxKjAoBgNVBAMMIU1HSlggQ09NRVJDSU8gTFREQTo1NzIyODE1MDAwMDE3NDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcU7hjRfS0sh2mLVEH58XVXJyjszVqPYigL4xHnbEPQV+XOe4mRkWxVq3+l2ZN2MNiP3QCw7GdnU7KHOJCOAVcW4amvapZwT0BFTngpzx72yP6UqzZD8eUooae91wvvm5bqRdfG0e3fI62QE4n2g8J2fZFUL6v7xqz81RvRzILyVrxHMRCcVVLPjwqpqZmmyri7EYmtTImJWply0K89rgZ/2Ny+ye6gg0PLcvssXgQdq9uopxvGCufHD72Oup/lgDxxp2vC3r3fyUgDZ3M1WEd9+/A3+QDjm6CFZhVxr5pLNR/uW11hCCdEmFr6msKrVgQSKhQgcd/IDA6trJ4Ca7kCAwEAAaOCAkcwggJDMB8GA1UdIwQYMBaAFKnEHc+p7mj5AG7CrPsiRWpn5X72MA4GA1UdDwEB/wQEAwIF4DBaBgNVHSAEUzBRME8GBmBMAQIBfjBFMEMGCCsGAQUFBwIBFjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9kb2NzL2RwY2FjcHJvY2VydGkucGRmMIG7BgNVHREEgbMwgbCgOAYFYEwBAwSgLwQtMTgwNzE5ODkwNjkxNTQ0MzYwNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCQGBWBMAQMCoBsEGUpVTElBTkEgR0lPVkFOSU5JIE1BUlRJTlOgGQYFYEwBAwOgEAQONTcyMjgxNTAwMDAxNzSgFwYFYEwBAwegDgQMMDAwMDAwMDAwMDAwgRpqdWxpYW5hLm1hcnRpbnNAbmV4YWFzLmNvbTAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgYEGA1UdHwR6MHgwOaA3oDWGM2h0dHA6Ly9yZXBvc2l0b3Jpby5zZXJwcm8uZ292LmJyL2xjci9hY3Byb2NlcnRpLmNybDA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYWRvczIuc2VycHJvLmdvdi5ici9sY3IvYWNwcm9jZXJ0aS5jcmwwUwYIKwYBBQUHAQEERzBFMEMGCCsGAQUFBzAChjdodHRwOi8vcmVwb3NpdG9yaW8uc2VycHJvLmdvdi5ici9jYWRlaWFzL2FjcHJvY2VydGkucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQB9TxFrwOONv02wLOQqgGmvkVVOiYbMe6tC6xAnnRXCKq+CJfYvSqAuZhv9SRjGDQKvJLZCQcNrhHptKWJwionpXoOPJOnh4NX3wo4hmpt9U/LfxrxDfSgBvzcXI+DpAy6D+He8FqNm6kW/+F3Dy80vkQKQ9CgLd2x7GoZ0+OL01yf7fsBFAVXC55nlQUwXY1V5sZGivq40p30Z7puKFDQtu4mGGlSWF8SzmfCZoEtw/+j7Q/mJ7XShgLXGW7oRuL1L2hbapOwSfgLmi33h1i0vL8hUWC3y7phHdeGSAvloKN8Ff5W58dwUq8OfQSRmBllrS/QXH5t0ShqLSvFcOBKgsoMlNHEnusFvug4V1A7V9eLzVwTW6/I8kzRNER8g/L8KkxFBNZzqzcqnH+gML8+TFNO6IbjH+FX5QM6gin72IU6ZClvaPpiCgN0ierKhg5RdBMrblO4AVKV92BjY3OJZ4NcS073mSWLQ3XuLtUeFIRpzlZ61kgdFrb9CkBFT6ia3r0G4EGWRw5eWYpL2Wg2Mg7qGT4ZQBYkFzRMDlCVPggdgzeE0irZ3/gGphG2nYTGHWqPG0vD7b0IibrkxvmUfmT7HUQt0ZXPyijuvI5gLJ4/Prk0Cf1vKjvB9HWB9vNpTPXvAHYuWeJK7IWfJ/ezxa8lC2L1Dakt/I/Hxk7Navw==\"\n                                            }\n                                        },\n                                        \"_xmlns\": \"http://www.w3.org/2000/09/xmldsig#\"\n                                    },\n                                    \"_versao\": \"1.00\",\n                                    \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\"\n                                },\n                                \"retEvento\": {\n                                    \"infEvento\": {\n                                        \"tpAmb\": \"2\",\n                                        \"verAplic\": \"SP_EVENTOS_PL_100\",\n                                        \"cOrgao\": \"35\",\n                                        \"cStat\": \"135\",\n                                        \"xMotivo\": \"Evento registrado e vinculado a NF-e\",\n                                        \"chNFe\": \"35251057228150000174551390000000461851003054\",\n                                        \"tpEvento\": \"110111\",\n                                        \"xEvento\": \"Cancelamento registrado\",\n                                        \"nSeqEvento\": \"1\",\n                                        \"CNPJDest\": \"57228150000174\",\n                                        \"emailDest\": \"modelo@modelo.com\",\n                                        \"dhRegEvento\": \"2025-10-13T14:32:00-03:00\",\n                                        \"nProt\": \"135250007854045\"\n                                    },\n                                    \"_versao\": \"1.00\"\n                                },\n                                \"_xmlns\": \"http://www.portalfiscal.inf.br/nfe\",\n                                \"_versao\": \"1.00\"\n                            }\n                        }\n                    }\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1760376719,\n                    \"formatted\": \"13/10/2025 - 14:31:59\"\n                },\n                \"lastStatus\": true\n            }\n        ],\n        \"emitSubsidiary\": {\n            \"id\": \"0196aae7-4c37-757d-b2ef-f7ca03eb5930\",\n            \"requestId\": \"0196aae7-4a7c-7241-a589-93805ad68a1b\",\n            \"remoteId\": \"edson-teste-subsidiary\",\n            \"enabled\": true,\n            \"transactions\": [\n                \"SERIE\",\n                \"TERMINAL\",\n                \"INVOICE\"\n            ],\n            \"createdAt\": {\n                \"epoch\": 1746624007,\n                \"formatted\": \"07/05/2025 - 10:20:07\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1760003717,\n                \"formatted\": \"09/10/2025 - 06:55:17\"\n            },\n            \"identification\": {\n                \"federalDocument\": \"57228150000174\",\n                \"xNome\": \"MGJX COMERCIO LTDA\",\n                \"xFant\": \"MGJX COMERCIO LTDA\",\n                \"nire\": null,\n                \"email\": \"teste@teste.com.br\",\n                \"fone\": \"1199999999\",\n                \"website\": \"teste.com.br\",\n                \"openingDate\": {\n                    \"epoch\": 1743547752,\n                    \"formatted\": \"01/04/2025 - 19:49:12\"\n                },\n                \"closingDate\": null,\n                \"headquarters\": true\n            },\n            \"address\": {\n                \"cep\": \"04552000\",\n                \"xLgr\": \"Rua do Rocio\",\n                \"nro\": \"199\",\n                \"xCpl\": \"10 andar\",\n                \"xBairro\": \"Vila Olimpia\",\n                \"cMun\": \"3550308\",\n                \"xMun\": \"SAO PAULO\",\n                \"cUF\": \"35\",\n                \"xUF\": \"SAO PAULO\",\n                \"UF\": \"SP\",\n                \"Pais\": \"BRA\",\n                \"cPais\": \"1058\",\n                \"xPais\": \"BRAZIL\"\n            },\n            \"company\": {\n                \"id\": \"0196aae5-9569-74ff-b068-dc42e86f4bf5\",\n                \"requestId\": \"0196aae5-94d8-702e-bfc2-b8b784913bd5\",\n                \"remoteId\": \"edson-teste-company\",\n                \"enabled\": true,\n                \"transactions\": [\n                    \"SUBSIDIARY\",\n                    \"PARTICIPANT\",\n                    \"SETTING\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1746623895,\n                    \"formatted\": \"07/05/2025 - 10:18:15\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1758395850,\n                    \"formatted\": \"20/09/2025 - 16:17:30\"\n                },\n                \"federalDocument\": \"57228150\",\n                \"name\": \"MGJX COMERCIO LTDA\",\n                \"subsidiariesTotal\": 1,\n                \"usersTotal\": 0,\n                \"account\": {\n                    \"id\": \"0196a25e-d1cf-7499-b73f-033bafe62a3a\",\n                    \"requestId\": \"0196a25e-d1bd-73ee-a587-7207f83fa200\",\n                    \"remoteId\": null,\n                    \"enabled\": true,\n                    \"transactions\": [\n                        \"RULES_BASE\",\n                        \"COMPANY\",\n                        \"PROFILE\"\n                    ],\n                    \"createdAt\": {\n                        \"epoch\": 1746480845,\n                        \"formatted\": \"05/05/2025 - 18:34:05\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1760113521,\n                        \"formatted\": \"10/10/2025 - 13:25:21\"\n                    },\n                    \"name\": \"MGJX\",\n                    \"companiesTotal\": 2,\n                    \"usersTotal\": 1,\n                    \"images\": {\n                        \"logoUrl\": \"https://homologation-images.omnitax.ai/accounts/0196a25e-d1cf-7499-b73f-033bafe62a3a/logo-conta-modelo-sa-1746480845266.png\",\n                        \"iconUrl\": \"https://homologation-images.omnitax.ai/accounts/0196a25e-d1cf-7499-b73f-033bafe62a3a/icon-conta-modelo-sa-1746480845266.png\"\n                    },\n                    \"whitelabel\": {\n                        \"id\": \"0196a24f-0bca-7599-b00f-70882344a185\",\n                        \"requestId\": \"0196a24f-0bbc-7026-a0b3-710e403dbd9b\",\n                        \"remoteId\": null,\n                        \"enabled\": true,\n                        \"transactions\": [\n                            \"SETTING\",\n                            \"ACCOUNT\",\n                            \"PROFILE\"\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1746479811,\n                            \"formatted\": \"05/05/2025 - 18:16:51\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1759772343,\n                            \"formatted\": \"06/10/2025 - 14:39:03\"\n                        },\n                        \"name\": \"Stratax\",\n                        \"domain\": \"app-hml.stratax.com.br\",\n                        \"accountsTotal\": 10,\n                        \"usersTotal\": 1\n                    }\n                }\n            },\n            \"stateTaxes\": [\n                {\n                    \"taxPayer\": {\n                        \"code\": \"1\",\n                        \"description\": \"CONTRIBUINTE COM INSCRICAO\"\n                    },\n                    \"typeTaxPayer\": {\n                        \"code\": \"0\",\n                        \"description\": \"NORMAL\"\n                    },\n                    \"stateDocument\": \"150810656117\",\n                    \"UF\": \"SP\",\n                    \"suframa\": null,\n                    \"crtEspecial\": [\n                        {\n                            \"code\": \"027\",\n                            \"description\": \"ISSQN - MICROEMPRESARIO E EMPRESA DE PEQUENO PORTE (ME EPP)\"\n                        }\n                    ],\n                    \"cscId\": null,\n                    \"cscToken\": null,\n                    \"startDate\": {\n                        \"epoch\": 1743547918,\n                        \"formatted\": \"01/04/2025 - 19:51:58\"\n                    },\n                    \"endDate\": null\n                }\n            ]\n        },\n        \"destSubsidiary\": {\n            \"id\": \"0196aae7-4c37-757d-b2ef-f7ca03eb5930\",\n            \"requestId\": \"0196aae7-4a7c-7241-a589-93805ad68a1b\",\n            \"remoteId\": \"edson-teste-subsidiary\",\n            \"enabled\": true,\n            \"transactions\": [\n                \"SERIE\",\n                \"TERMINAL\",\n                \"INVOICE\"\n            ],\n            \"createdAt\": {\n                \"epoch\": 1746624007,\n                \"formatted\": \"07/05/2025 - 10:20:07\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1760003717,\n                \"formatted\": \"09/10/2025 - 06:55:17\"\n            },\n            \"identification\": {\n                \"federalDocument\": \"57228150000174\",\n                \"xNome\": \"MGJX COMERCIO LTDA\",\n                \"xFant\": \"MGJX COMERCIO LTDA\",\n                \"nire\": null,\n                \"email\": \"teste@teste.com.br\",\n                \"fone\": \"1199999999\",\n                \"website\": \"teste.com.br\",\n                \"openingDate\": {\n                    \"epoch\": 1743547752,\n                    \"formatted\": \"01/04/2025 - 19:49:12\"\n                },\n                \"closingDate\": null,\n                \"headquarters\": true\n            },\n            \"address\": {\n                \"cep\": \"04552000\",\n                \"xLgr\": \"Rua do Rocio\",\n                \"nro\": \"199\",\n                \"xCpl\": \"10 andar\",\n                \"xBairro\": \"Vila Olimpia\",\n                \"cMun\": \"3550308\",\n                \"xMun\": \"SAO PAULO\",\n                \"cUF\": \"35\",\n                \"xUF\": \"SAO PAULO\",\n                \"UF\": \"SP\",\n                \"Pais\": \"BRA\",\n                \"cPais\": \"1058\",\n                \"xPais\": \"BRAZIL\"\n            },\n            \"company\": {\n                \"id\": \"0196aae5-9569-74ff-b068-dc42e86f4bf5\",\n                \"requestId\": \"0196aae5-94d8-702e-bfc2-b8b784913bd5\",\n                \"remoteId\": \"edson-teste-company\",\n                \"enabled\": true,\n                \"transactions\": [\n                    \"SUBSIDIARY\",\n                    \"PARTICIPANT\",\n                    \"SETTING\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1746623895,\n                    \"formatted\": \"07/05/2025 - 10:18:15\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1758395850,\n                    \"formatted\": \"20/09/2025 - 16:17:30\"\n                },\n                \"federalDocument\": \"57228150\",\n                \"name\": \"MGJX COMERCIO LTDA\",\n                \"subsidiariesTotal\": 1,\n                \"usersTotal\": 0,\n                \"account\": {\n                    \"id\": \"0196a25e-d1cf-7499-b73f-033bafe62a3a\",\n                    \"requestId\": \"0196a25e-d1bd-73ee-a587-7207f83fa200\",\n                    \"remoteId\": null,\n                    \"enabled\": true,\n                    \"transactions\": [\n                        \"RULES_BASE\",\n                        \"COMPANY\",\n                        \"PROFILE\"\n                    ],\n                    \"createdAt\": {\n                        \"epoch\": 1746480845,\n                        \"formatted\": \"05/05/2025 - 18:34:05\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1760113521,\n                        \"formatted\": \"10/10/2025 - 13:25:21\"\n                    },\n                    \"name\": \"MGJX\",\n                    \"companiesTotal\": 2,\n                    \"usersTotal\": 1,\n                    \"images\": {\n                        \"logoUrl\": \"https://homologation-images.omnitax.ai/accounts/0196a25e-d1cf-7499-b73f-033bafe62a3a/logo-conta-modelo-sa-1746480845266.png\",\n                        \"iconUrl\": \"https://homologation-images.omnitax.ai/accounts/0196a25e-d1cf-7499-b73f-033bafe62a3a/icon-conta-modelo-sa-1746480845266.png\"\n                    },\n                    \"whitelabel\": {\n                        \"id\": \"0196a24f-0bca-7599-b00f-70882344a185\",\n                        \"requestId\": \"0196a24f-0bbc-7026-a0b3-710e403dbd9b\",\n                        \"remoteId\": null,\n                        \"enabled\": true,\n                        \"transactions\": [\n                            \"SETTING\",\n                            \"ACCOUNT\",\n                            \"PROFILE\"\n                        ],\n                        \"createdAt\": {\n                            \"epoch\": 1746479811,\n                            \"formatted\": \"05/05/2025 - 18:16:51\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1759772343,\n                            \"formatted\": \"06/10/2025 - 14:39:03\"\n                        },\n                        \"name\": \"Stratax\",\n                        \"domain\": \"app-hml.stratax.com.br\",\n                        \"accountsTotal\": 10,\n                        \"usersTotal\": 1\n                    }\n                }\n            },\n            \"stateTaxes\": [\n                {\n                    \"taxPayer\": {\n                        \"code\": \"1\",\n                        \"description\": \"CONTRIBUINTE COM INSCRICAO\"\n                    },\n                    \"typeTaxPayer\": {\n                        \"code\": \"0\",\n                        \"description\": \"NORMAL\"\n                    },\n                    \"stateDocument\": \"150810656117\",\n                    \"UF\": \"SP\",\n                    \"suframa\": null,\n                    \"crtEspecial\": [\n                        {\n                            \"code\": \"027\",\n                            \"description\": \"ISSQN - MICROEMPRESARIO E EMPRESA DE PEQUENO PORTE (ME EPP)\"\n                        }\n                    ],\n                    \"cscId\": null,\n                    \"cscToken\": null,\n                    \"startDate\": {\n                        \"epoch\": 1743547918,\n                        \"formatted\": \"01/04/2025 - 19:51:58\"\n                    },\n                    \"endDate\": null\n                }\n            ]\n        }\n    }\n}"},{"id":"5ec94b94-9411-49c5-9b05-95a3e7358b63","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/invoices/{requestId, remoteId, chNFe}?xmlFormatResponse=JSON&metadata=false","protocol":"https","host":["{{api-domain}}"],"path":["invoices","{requestId, remoteId, chNFe}"],"query":[{"key":"xmlFormatResponse","value":"JSON","description":"JSON or XML"},{"key":"metadata","value":"false","description":"If \"xmlFormatResponse\" equals JSON, inform false or true"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"},{"id":"a132b787-48b7-4bc5-8ff3-35f3964943ab","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/invoices/{requestId, remoteId, chNFe}?xmlFormatResponse=JSON&metadata=false","protocol":"https","host":["{{api-domain}}"],"path":["invoices","{requestId, remoteId, chNFe}"],"query":[{"key":"xmlFormatResponse","value":"JSON","description":"JSON or XML"},{"key":"metadata","value":"false","description":"If \"xmlFormatResponse\" equals JSON, inform false or true"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"e861a194-83d4-437f-adf0-325e02945dc2","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/invoices/{requestId, remoteId, chNFe}?xmlFormatResponse=JSON&metadata=false","protocol":"https","host":["{{api-domain}}"],"path":["invoices","{requestId, remoteId, chNFe}"],"query":[{"key":"xmlFormatResponse","value":"JSON","description":"JSON or XML"},{"key":"metadata","value":"false","description":"If \"xmlFormatResponse\" equals JSON, inform false or true"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"99e223d6-559c-45e6-96cc-44fbe35ab8fc"}],"id":"ebe5824d-cb6b-4922-8f7d-56b2c702d9db","description":"<p>Subsidiaries accredited as issuers of invoices can perform invoice authorizations for any document model supported by the platform, as well as their cancellation, correction and disabling events in a single endpoint. What changes is the event code:</p>\n<ul>\n<li><p>To \"authorize\" an invoice you must send an event code equal to \"999998\". The document model must be informed in the body of the request payload.</p>\n</li>\n<li><p>For \"correction\" of an invoice you must send event code equal to \"110110\". It is only allowed to correct a document model equal to 55 - NF-e.</p>\n</li>\n<li><p>To \"cancel\" an invoice you must send an event code equal to \"110111\" (for normal cancellation) or \"110112\" (for replacement cancellation). Cancellation by substitution is only allowed if the document model is equal to 65 - NFC-e and the type of issue (tpEmis) is equal to 1 - Normal.</p>\n</li>\n<li><p>For “manifestation” of an invoice as its recipient, you must send an event code equal to “210210” (aware), “210200” (realized), “210220” (unknown) or “210240” (unrealized). Manifestation events are only allowed if the document model is equal to 55 - NF-e and each manifestation event will only be allowed once, so the last one will be the definitive one.</p>\n</li>\n<li><p>To \"disable\" an invoice number, you must send an event code equal to \"999999\" (Disablement). Disablement events are only allowed if the invoice number is no longer usable.</p>\n</li>\n</ul>\n<p>Before making a call to this endpoint, it is mandatory (i) to have the company registered with a valid digital certificate; (ii) have the subsidiary registered with correct CNPJ and IE data and (iii) have the issue series registered with the subsidiary.</p>\n","_postman_id":"ebe5824d-cb6b-4922-8f7d-56b2c702d9db"}],"id":"2583a301-6cbe-4612-a171-6db06a8d8558","description":"<p>Subsidiaries registered on the platform can manage, in a single location, all tax documents issued by them or by third parties against them. The invoice module offers endless possibilities for customers who wish to centrally manage all their electronic tax documents. Before using it, check if:</p>\n<ul>\n<li><p>There is already a registered company with a valid digital certificate;</p>\n</li>\n<li><p>There is already a subsidiary registered in this company;</p>\n</li>\n<li><p>There are already tax issuance series registered in this subsidiary;</p>\n</li>\n<li><p>There is already a terminal registered in this subsidiary. In this case, only if you are going to use the Agent SDK installed locally in your software (e.g. POS, ERP, etc.).</p>\n</li>\n</ul>\n","_postman_id":"2583a301-6cbe-4612-a171-6db06a8d8558"},{"name":"rules engine","item":[{"name":"bases","item":[{"name":"rule base","id":"97818777-f5a4-4bf8-b25f-06d76aa08489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{accountId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountId</td>\n<td>This is the accountId where your rule base will be registered. It is required, must be a string, and the entered content must be a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","bases","{accountId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"de6d8df9-a041-46bb-a78c-8fce7ec3d0f7","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"public\": \"required, boolean\",\n    \"label\": \"required, string\",\n    \"restrictedToWhitelabelMembers\": \"optional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{accountId}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Rule base registered with success\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"c685cced-0c32-4d89-b85b-e8b80728be90","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"public\": \"required, boolean\",\n    \"label\": \"required, string\",\n    \"restrictedToWhitelabelMembers\": \"optional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{accountId}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"label\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"1ddf85cf-46fe-4fff-b1b0-d5e89eeddd3d","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"public\": \"required, boolean\",\n    \"label\": \"required, string\",\n    \"restrictedToWhitelabelMembers\": \"optional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{accountId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5b4d3534-0473-4648-a3e6-9a4afc60dc5b","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"public\": \"required, boolean\",\n    \"label\": \"required, string\",\n    \"restrictedToWhitelabelMembers\": \"optional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{accountId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"02329fee-5227-41f6-9426-64e05c3bb905","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"public\": \"required, boolean\",\n    \"label\": \"required, string\",\n    \"restrictedToWhitelabelMembers\": \"optional, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{accountId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"accountId\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"97818777-f5a4-4bf8-b25f-06d76aa08489"},{"name":"rule base (list)","id":"5e52ae50-ddda-46fa-892d-a743fe406dbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases?page=1&limit=50&sort=asc&orderBy&q","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","bases"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: id, label, createdAt, updatedAt, enabled</p>\n","type":"text/plain"},"key":"orderBy","value":null},{"description":{"content":"<p>Search by: baseId, label</p>\n","type":"text/plain"},"key":"q","value":null}],"variable":[]}},"response":[{"id":"106455c7-1810-4c06-8f4a-a163fb2097e8","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/rules-engine/bases?page=1&limit=50&sort=asc&orderBy&q","protocol":"https","host":["{{api-domain}}"],"path":["rules-engine","bases"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":null,"description":"Order by: id, label, createdAt, updatedAt, enabled"},{"key":"q","value":null,"description":"Search by: baseId, label"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {}\n    ]\n}"},{"id":"29c3c179-d3bc-4b12-bdf5-a84cf178017a","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"logoBase64\": \"string\",\n    \"iconBase64\": \"string\",\n    \"headquarterAccountId\": \"string\",\n    \"enabled\": \"boolean\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/rules-engine/bases?page=1&limit=50&sort=asc&orderBy&q","protocol":"https","host":["{{api-domain}}"],"path":["rules-engine","bases"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":null,"description":"Order by: id, label, createdAt, updatedAt, enabled"},{"key":"q","value":null,"description":"Search by: baseId, label"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"0a61ac38-fdf1-4347-bee3-dd62ed2d52a1","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"logoBase64\": \"string\",\n    \"iconBase64\": \"string\",\n    \"headquarterAccountId\": \"string\",\n    \"enabled\": \"boolean\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/rules-engine/bases?page=1&limit=50&sort=asc&orderBy&q","protocol":"https","host":["{{api-domain}}"],"path":["rules-engine","bases"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":null,"description":"Order by: id, label, createdAt, updatedAt, enabled"},{"key":"q","value":null,"description":"Search by: baseId, label"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"5e52ae50-ddda-46fa-892d-a743fe406dbd"},{"name":"rule base (detail)","id":"08c046bf-e247-45cb-acbe-6adc51e79c9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","bases","{baseId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"c1b07633-9ad7-4927-9a73-e4e9d191d67b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {}\n}"},{"id":"6df8e290-73b1-4cc8-ab96-87ee62f27ad8","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"8a9ad5a8-bfdf-4b24-bde3-2e2d292ab45a","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"19046cca-3d98-4b7e-a80a-283e9bccc5f8","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"08c046bf-e247-45cb-acbe-6adc51e79c9b"},{"name":"rule base","id":"fe01ae80-1aa0-4eae-ae0c-e943f0ffe26c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{baseId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","bases","{baseId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"8ad939fc-1fd8-4b5a-afd7-732053d4ccd4","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Rule base updated successfully\"\n}"},{"id":"6a048e8d-cd5d-4579-a671-46aa397196d7","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"25993c6b-12a6-486d-bec5-dc45a10478ae","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"c159783d-6e88-45de-9161-6048d6f7b961","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"required, string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"fe01ae80-1aa0-4eae-ae0c-e943f0ffe26c"},{"name":"rule base","id":"c6dccc2b-a172-4027-9f46-5275b78b23f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/bases/{baseId}","urlObject":{"protocol":"https","path":["rules-engine","bases","{baseId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"60d9f053-6491-4f98-84ac-151edf2f5fdc","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Rule base removed successfully\"\n}"},{"id":"0eef5d29-f38a-472b-8b38-5a88274d5538","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"2e9f7e61-1c70-4cb1-87b8-2821fecf409b","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"2180dff9-ceb7-4b0d-85b8-93dad2f44916","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/bases/{baseId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"c6dccc2b-a172-4027-9f46-5275b78b23f4"}],"id":"0d2ca676-7714-4ff1-922e-5dbfafcb27ef","_postman_id":"0d2ca676-7714-4ff1-922e-5dbfafcb27ef","description":""},{"name":"rules","item":[{"name":"rules","id":"8a507733-05f2-4a59-8596-ec014b156c9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountId</td>\n<td>This is the accountId where your rule base will be registered. It is required, must be a string, and the entered content must be a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","rules","{baseId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"7e7763c5-eab1-44ae-a643-ad513c7a619e","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Rule registered with success\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"987e5aa7-0240-4128-893c-904974839d57","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"startDate\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"19e8e3b2-c110-4a4d-b666-5b7efc7f1c25","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"4e784968-d229-4a16-bc94-06194ac1c722","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"30399ffb-e20c-4b7e-bcda-655283af0daf","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"accountId\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"},{"id":"66ead64d-c4eb-4535-b491-6e15d4fc47c5","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remoteId\": \"optional, string\",\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {}\n    ]\n}"}],"_postman_id":"8a507733-05f2-4a59-8596-ec014b156c9b"},{"name":"rules (list)","id":"b9b3a8ca-702c-47d2-9854-5b98974fd823","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/list","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","rules","{baseId}","list"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"962e55af-5aa6-4eba-90ae-5366f1135f5e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"page\": 1,\n    \"filters\": [\n        {\n            \"name\": \"NFe.infNFe.emit.enderEmit.UF\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        },\n        {\n            \"name\": \"NFe.infNFe.emit.CRT\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        },\n        {\n            \"name\": \"NFe.infNFe.det.prod.CFOP\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {}\n    ]\n}"},{"id":"67e0299b-b464-4aea-ad22-6fae6f010a89","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"page\": 1,\n    \"filters\": [\n        {\n            \"name\": \"NFe.infNFe.emit.enderEmit.UF\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        },\n        {\n            \"name\": \"NFe.infNFe.emit.CRT\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        },\n        {\n            \"name\": \"NFe.infNFe.det.prod.CFOP\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/list"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"63c03e68-db6c-43fb-881b-080da57eed65","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"page\": 1,\n    \"filters\": [\n        {\n            \"name\": \"NFe.infNFe.emit.enderEmit.UF\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        },\n        {\n            \"name\": \"NFe.infNFe.emit.CRT\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        },\n        {\n            \"name\": \"NFe.infNFe.det.prod.CFOP\",\n            \"values\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/list"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"b9b3a8ca-702c-47d2-9854-5b98974fd823"},{"name":"rules (detail)","id":"cc87a156-abb9-4b4f-b141-66273919da87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","rules","{baseId}","{rulesId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"223f4b4d-250c-4943-b92e-7d8f550c09c2","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {}\n}"},{"id":"040e703e-2919-45c9-bacc-8f2f313e8c11","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"fb455bc3-ad54-4d6d-813e-1e4cd43a348d","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"cfb9b1a6-bf6e-4a5f-b654-cbabce9447d5","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"cc87a156-abb9-4b4f-b141-66273919da87"},{"name":"rules","id":"3675cbb2-c797-4bd6-9be1-ea517a9afe28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","rules","{baseId}","{rulesId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"8e878790-2be4-4667-b271-489100443e07","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Rule updated successfully\"\n}"},{"id":"cbacbe08-5bab-4f9e-a437-4966cc67526f","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"a823e132-66ca-4c2a-bfed-083104a30f4a","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"09c8053b-011d-4786-8c2b-8d2af12b09fd","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"startDate\": \"required, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"endDate\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\",\n    \"onConflict\": \"optional, string\",\n    \"agent\": \"optional, boolean\",\n    \"title\": \"optional, string\",\n    \"description\": \"required, string\",\n    \"keyWords\": [\n        \"optional, string\"\n    ],\n    \"legalBase\": [\n        {\n            \"name\": \"optional, string\",\n            \"url\": \"optional, string\"\n        }\n    ],\n    \"conditions\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": [\n                \"required (at least one), string\"\n            ]\n        }\n    ],\n    \"consequences\": [\n        {\n            \"variable\": \"required (at least one), string\",\n            \"value\": \"required (at least one), string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"3675cbb2-c797-4bd6-9be1-ea517a9afe28"},{"name":"rules","id":"868ba45b-33ee-48e1-8aef-1e7d0cba9e93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}","urlObject":{"protocol":"https","path":["rules-engine","rules","{baseId}","{rulesId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"32b342fb-49b4-4e4f-be92-6d05f86511b9","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Rule removed successfully\"\n}"},{"id":"a19b20b3-f96d-4801-8c9f-66f0c8134eff","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"4d8cfb9b-35d8-4b57-b931-ed25abc5ccb6","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"11385e59-59ac-4614-8722-cc2e6b1f223c","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/rules-engine/rules/{baseId}/{rulesId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"868ba45b-33ee-48e1-8aef-1e7d0cba9e93"}],"id":"0b990e6e-e843-431c-a404-a7609b2f91ee","_postman_id":"0b990e6e-e843-431c-a404-a7609b2f91ee","description":""},{"name":"evaluate (scenarios)","item":[{"name":"evaluate (scenarios)","id":"1b6142b5-ad73-4bf6-9234-3a67e9411c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/evaluate","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountId</td>\n<td>This is the accountId where your rule base will be registered. It is required, must be a string, and the entered content must be a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["rules-engine","evaluate"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"8be9874c-9524-4d4a-9c51-de8ba6c3e609","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"headers\": {\n        \"remoteId\": \"optional, string\",\n        \"fieldOnConflict\": \"REPLACE\", ///KEEP, REPLACE, BOTH\n        \"ruleOnConflict\": \"OLDEST\", ///OLDEST, NEWEST\n        \"accountId\": \"required, string\",\n        \"basesIds\": [\n            \"optional, string\"\n        ],\n        \"date\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n    },\n    \"payload\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/evaluate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"\"\n}"},{"id":"74d03ec9-41ca-4e6e-bd95-f393317c9ead","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"headers\": {\n        \"remoteId\": \"optional, string\",\n        \"fieldOnConflict\": \"REPLACE\", ///KEEP, REPLACE, BOTH\n        \"ruleOnConflict\": \"OLDEST\", ///OLDEST, NEWEST\n        \"accountId\": \"required, string\",\n        \"basesIds\": [\n            \"optional, string\"\n        ],\n        \"date\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n    },\n    \"payload\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/evaluate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"accountId\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"ce583adf-3be6-46bc-93bc-cc38b9b4a7a4","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"headers\": {\n        \"remoteId\": \"optional, string\",\n        \"fieldOnConflict\": \"REPLACE\", ///KEEP, REPLACE, BOTH\n        \"ruleOnConflict\": \"OLDEST\", ///OLDEST, NEWEST\n        \"accountId\": \"required, string\",\n        \"basesIds\": [\n            \"optional, string\"\n        ],\n        \"date\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n    },\n    \"payload\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/evaluate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"4deb3835-a455-492b-a550-9ce581201c99","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"headers\": {\n        \"remoteId\": \"optional, string\",\n        \"fieldOnConflict\": \"REPLACE\", ///KEEP, REPLACE, BOTH\n        \"ruleOnConflict\": \"OLDEST\", ///OLDEST, NEWEST\n        \"accountId\": \"required, string\",\n        \"basesIds\": [\n            \"optional, string\"\n        ],\n        \"date\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n    },\n    \"payload\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/evaluate"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"70c4feb4-608e-4c96-a173-e91c32c79126","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"headers\": {\n        \"remoteId\": \"optional, string\",\n        \"fieldOnConflict\": \"REPLACE\", ///KEEP, REPLACE, BOTH\n        \"ruleOnConflict\": \"OLDEST\", ///OLDEST, NEWEST\n        \"accountId\": \"required, string\",\n        \"basesIds\": [\n            \"optional, string\"\n        ],\n        \"date\": \"optional, string and UTC format (YYYY-MM-DDThh:mm:ss.SSSZ)\"\n    },\n    \"payload\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/rules-engine/evaluate"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"accountId\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"1b6142b5-ad73-4bf6-9234-3a67e9411c71"},{"name":"evaluate (scenarios) - integrations SAP S/4","id":"0830b1a3-0794-4aff-828d-d9ff5e61a4d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/integrations/sap/evaluate","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Attribute</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountId</td>\n<td>This is the accountId where your rule base will be registered. It is required, must be a string, and the entered content must be a valid UUID.</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>This is the label that identifies the rulebase. It is mandatory, it must be a string and the inserted content can't exceed 60 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["integrations","sap","evaluate"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"9e44494d-c0c8-4a21-acee-96d6ff3e71c2","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"06032026\",\n    \"date\": \"2026-01-01T00:0:46.000Z\",\n    \"accountId\": \"0198de3e-0b08-716f-8c65-692ea2c7c165\",\n    \"companyId\": \"1410\",\n    \"operationNatureCode\": \"P\",\n    \"saleorPurchase\": \"s\",\n    \"grossOrNet\": \"n\",\n    \"currency\": \"BRL\",\n    \"Items\": [\n        {\n            \"id\": \"000010\",\n            \"itemCode\": \"4242298\",\n            \"itemType\": \"M\",\n            \"quantity\": \"11.000\",\n            \"unitPrice\": \"105\",\n            \"shippingCost\": \"Y\",\n            \"itemClassifications\": [\n                {\n                    \"itemStandardClassificationSystemCode\": \"cest\",\n                    \"itemStandardClassificationCode\": \"2002300\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ean\",\n                    \"itemStandardClassificationCode\": \"7891008044898\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ncm\",\n                    \"itemStandardClassificationCode\": \"84715010\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"exTipi\",\n                    \"itemStandardClassificationCode\": \"001\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"nbs\",\n                    \"itemStandardClassificationCode\": \"33030020\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFrom\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeExec\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFed\",\n                    \"itemStandardClassificationCode\": \"07.07\"\n                }\n            ],\n            \"additionalItemInformation\": [\n                {\n                    \"type\": \"commercialQuantity\",\n                    \"information\": \"10.0000\"\n                },\n                {\n                    \"type\": \"materialOrigin\",\n                    \"information\": \"5\"\n                },\n                {\n                    \"type\": \"ownProduction\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"ownProductionOnPlantOrigin\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usage\",\n                    \"information\": \"R\"\n                },\n                {\n                    \"type\": \"referenceID\",\n                    \"information\": \"3587654321098765432150010000012345678901234\"\n                },\n                {\n                    \"type\": \"subcontracting\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"supplierBuyerIcmsStContributors\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"taxClassification\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usagePurpose\",\n                    \"information\": \"benefitsAbroad\"\n                },\n                {\n                    \"type\": \"laborContract\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"cprb\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"businessTransaction\",\n                    \"information\": \"P003\"\n                }\n            ],\n            \"costInformation\": [\n                {\n                    \"type\": \"discount\",\n                    \"amount\": \"300.0000\"\n                },\n                {\n                    \"type\": \"freight\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"insurance\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"otherExpenses\",\n                    \"amount\": \"100.0000\"\n                }\n            ]\n        }\n    ],\n    \"Locations\": [\n        {\n            \"type\": \"SHIP_FROM\",\n            \"addressLine1\": \"AV HENRY 643\",\n            \"zipCode\": \"06210-108\",\n            \"city\": \"OSASCO\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        },\n        {\n            \"type\": \"SHIP_TO\",\n            \"addressLine1\": \"ROD PRESIDENTE DUTRA km 187\",\n            \"zipCode\": \"26085-000\",\n            \"city\": \"Nova Igauçu\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        }\n    ],\n    \"Party\": [\n        {\n            \"id\": \"1\",\n            \"role\": \"SHIP_FROM\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        },\n        {\n            \"id\": \"2\",\n            \"role\": \"SHIP_TO\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        }\n    ],\n    \"isTraceRequired\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/integrations/sap/evaluate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"\"\n}"},{"id":"e4faa268-9a56-4c1a-b702-c19f5d0a4e32","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"06032026\",\n    \"date\": \"2026-01-01T00:0:46.000Z\",\n    \"accountId\": \"0198de3e-0b08-716f-8c65-692ea2c7c165\",\n    \"companyId\": \"1410\",\n    \"operationNatureCode\": \"P\",\n    \"saleorPurchase\": \"s\",\n    \"grossOrNet\": \"n\",\n    \"currency\": \"BRL\",\n    \"Items\": [\n        {\n            \"id\": \"000010\",\n            \"itemCode\": \"4242298\",\n            \"itemType\": \"M\",\n            \"quantity\": \"11.000\",\n            \"unitPrice\": \"105\",\n            \"shippingCost\": \"Y\",\n            \"itemClassifications\": [\n                {\n                    \"itemStandardClassificationSystemCode\": \"cest\",\n                    \"itemStandardClassificationCode\": \"2002300\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ean\",\n                    \"itemStandardClassificationCode\": \"7891008044898\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ncm\",\n                    \"itemStandardClassificationCode\": \"84715010\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"exTipi\",\n                    \"itemStandardClassificationCode\": \"001\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"nbs\",\n                    \"itemStandardClassificationCode\": \"33030020\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFrom\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeExec\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFed\",\n                    \"itemStandardClassificationCode\": \"07.07\"\n                }\n            ],\n            \"additionalItemInformation\": [\n                {\n                    \"type\": \"commercialQuantity\",\n                    \"information\": \"10.0000\"\n                },\n                {\n                    \"type\": \"materialOrigin\",\n                    \"information\": \"5\"\n                },\n                {\n                    \"type\": \"ownProduction\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"ownProductionOnPlantOrigin\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usage\",\n                    \"information\": \"R\"\n                },\n                {\n                    \"type\": \"referenceID\",\n                    \"information\": \"3587654321098765432150010000012345678901234\"\n                },\n                {\n                    \"type\": \"subcontracting\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"supplierBuyerIcmsStContributors\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"taxClassification\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usagePurpose\",\n                    \"information\": \"benefitsAbroad\"\n                },\n                {\n                    \"type\": \"laborContract\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"cprb\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"businessTransaction\",\n                    \"information\": \"P003\"\n                }\n            ],\n            \"costInformation\": [\n                {\n                    \"type\": \"discount\",\n                    \"amount\": \"300.0000\"\n                },\n                {\n                    \"type\": \"freight\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"insurance\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"otherExpenses\",\n                    \"amount\": \"100.0000\"\n                }\n            ]\n        }\n    ],\n    \"Locations\": [\n        {\n            \"type\": \"SHIP_FROM\",\n            \"addressLine1\": \"AV HENRY 643\",\n            \"zipCode\": \"06210-108\",\n            \"city\": \"OSASCO\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        },\n        {\n            \"type\": \"SHIP_TO\",\n            \"addressLine1\": \"ROD PRESIDENTE DUTRA km 187\",\n            \"zipCode\": \"26085-000\",\n            \"city\": \"Nova Igauçu\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        }\n    ],\n    \"Party\": [\n        {\n            \"id\": \"1\",\n            \"role\": \"SHIP_FROM\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        },\n        {\n            \"id\": \"2\",\n            \"role\": \"SHIP_TO\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        }\n    ],\n    \"isTraceRequired\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/integrations/sap/evaluate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"accountId\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"20185066-d79a-41ff-80cc-c6d5d52cbfb9","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"06032026\",\n    \"date\": \"2026-01-01T00:0:46.000Z\",\n    \"accountId\": \"0198de3e-0b08-716f-8c65-692ea2c7c165\",\n    \"companyId\": \"1410\",\n    \"operationNatureCode\": \"P\",\n    \"saleorPurchase\": \"s\",\n    \"grossOrNet\": \"n\",\n    \"currency\": \"BRL\",\n    \"Items\": [\n        {\n            \"id\": \"000010\",\n            \"itemCode\": \"4242298\",\n            \"itemType\": \"M\",\n            \"quantity\": \"11.000\",\n            \"unitPrice\": \"105\",\n            \"shippingCost\": \"Y\",\n            \"itemClassifications\": [\n                {\n                    \"itemStandardClassificationSystemCode\": \"cest\",\n                    \"itemStandardClassificationCode\": \"2002300\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ean\",\n                    \"itemStandardClassificationCode\": \"7891008044898\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ncm\",\n                    \"itemStandardClassificationCode\": \"84715010\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"exTipi\",\n                    \"itemStandardClassificationCode\": \"001\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"nbs\",\n                    \"itemStandardClassificationCode\": \"33030020\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFrom\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeExec\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFed\",\n                    \"itemStandardClassificationCode\": \"07.07\"\n                }\n            ],\n            \"additionalItemInformation\": [\n                {\n                    \"type\": \"commercialQuantity\",\n                    \"information\": \"10.0000\"\n                },\n                {\n                    \"type\": \"materialOrigin\",\n                    \"information\": \"5\"\n                },\n                {\n                    \"type\": \"ownProduction\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"ownProductionOnPlantOrigin\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usage\",\n                    \"information\": \"R\"\n                },\n                {\n                    \"type\": \"referenceID\",\n                    \"information\": \"3587654321098765432150010000012345678901234\"\n                },\n                {\n                    \"type\": \"subcontracting\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"supplierBuyerIcmsStContributors\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"taxClassification\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usagePurpose\",\n                    \"information\": \"benefitsAbroad\"\n                },\n                {\n                    \"type\": \"laborContract\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"cprb\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"businessTransaction\",\n                    \"information\": \"P003\"\n                }\n            ],\n            \"costInformation\": [\n                {\n                    \"type\": \"discount\",\n                    \"amount\": \"300.0000\"\n                },\n                {\n                    \"type\": \"freight\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"insurance\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"otherExpenses\",\n                    \"amount\": \"100.0000\"\n                }\n            ]\n        }\n    ],\n    \"Locations\": [\n        {\n            \"type\": \"SHIP_FROM\",\n            \"addressLine1\": \"AV HENRY 643\",\n            \"zipCode\": \"06210-108\",\n            \"city\": \"OSASCO\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        },\n        {\n            \"type\": \"SHIP_TO\",\n            \"addressLine1\": \"ROD PRESIDENTE DUTRA km 187\",\n            \"zipCode\": \"26085-000\",\n            \"city\": \"Nova Igauçu\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        }\n    ],\n    \"Party\": [\n        {\n            \"id\": \"1\",\n            \"role\": \"SHIP_FROM\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        },\n        {\n            \"id\": \"2\",\n            \"role\": \"SHIP_TO\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        }\n    ],\n    \"isTraceRequired\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/integrations/sap/evaluate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"331edb55-f46f-42b2-902a-a876fa62aeee","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"06032026\",\n    \"date\": \"2026-01-01T00:0:46.000Z\",\n    \"accountId\": \"0198de3e-0b08-716f-8c65-692ea2c7c165\",\n    \"companyId\": \"1410\",\n    \"operationNatureCode\": \"P\",\n    \"saleorPurchase\": \"s\",\n    \"grossOrNet\": \"n\",\n    \"currency\": \"BRL\",\n    \"Items\": [\n        {\n            \"id\": \"000010\",\n            \"itemCode\": \"4242298\",\n            \"itemType\": \"M\",\n            \"quantity\": \"11.000\",\n            \"unitPrice\": \"105\",\n            \"shippingCost\": \"Y\",\n            \"itemClassifications\": [\n                {\n                    \"itemStandardClassificationSystemCode\": \"cest\",\n                    \"itemStandardClassificationCode\": \"2002300\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ean\",\n                    \"itemStandardClassificationCode\": \"7891008044898\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ncm\",\n                    \"itemStandardClassificationCode\": \"84715010\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"exTipi\",\n                    \"itemStandardClassificationCode\": \"001\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"nbs\",\n                    \"itemStandardClassificationCode\": \"33030020\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFrom\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeExec\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFed\",\n                    \"itemStandardClassificationCode\": \"07.07\"\n                }\n            ],\n            \"additionalItemInformation\": [\n                {\n                    \"type\": \"commercialQuantity\",\n                    \"information\": \"10.0000\"\n                },\n                {\n                    \"type\": \"materialOrigin\",\n                    \"information\": \"5\"\n                },\n                {\n                    \"type\": \"ownProduction\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"ownProductionOnPlantOrigin\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usage\",\n                    \"information\": \"R\"\n                },\n                {\n                    \"type\": \"referenceID\",\n                    \"information\": \"3587654321098765432150010000012345678901234\"\n                },\n                {\n                    \"type\": \"subcontracting\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"supplierBuyerIcmsStContributors\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"taxClassification\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usagePurpose\",\n                    \"information\": \"benefitsAbroad\"\n                },\n                {\n                    \"type\": \"laborContract\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"cprb\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"businessTransaction\",\n                    \"information\": \"P003\"\n                }\n            ],\n            \"costInformation\": [\n                {\n                    \"type\": \"discount\",\n                    \"amount\": \"300.0000\"\n                },\n                {\n                    \"type\": \"freight\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"insurance\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"otherExpenses\",\n                    \"amount\": \"100.0000\"\n                }\n            ]\n        }\n    ],\n    \"Locations\": [\n        {\n            \"type\": \"SHIP_FROM\",\n            \"addressLine1\": \"AV HENRY 643\",\n            \"zipCode\": \"06210-108\",\n            \"city\": \"OSASCO\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        },\n        {\n            \"type\": \"SHIP_TO\",\n            \"addressLine1\": \"ROD PRESIDENTE DUTRA km 187\",\n            \"zipCode\": \"26085-000\",\n            \"city\": \"Nova Igauçu\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        }\n    ],\n    \"Party\": [\n        {\n            \"id\": \"1\",\n            \"role\": \"SHIP_FROM\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        },\n        {\n            \"id\": \"2\",\n            \"role\": \"SHIP_TO\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        }\n    ],\n    \"isTraceRequired\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/integrations/sap/evaluate"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"b7064f17-427d-4302-9464-1ae59e223ef0","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"06032026\",\n    \"date\": \"2026-01-01T00:0:46.000Z\",\n    \"accountId\": \"0198de3e-0b08-716f-8c65-692ea2c7c165\",\n    \"companyId\": \"1410\",\n    \"operationNatureCode\": \"P\",\n    \"saleorPurchase\": \"s\",\n    \"grossOrNet\": \"n\",\n    \"currency\": \"BRL\",\n    \"Items\": [\n        {\n            \"id\": \"000010\",\n            \"itemCode\": \"4242298\",\n            \"itemType\": \"M\",\n            \"quantity\": \"11.000\",\n            \"unitPrice\": \"105\",\n            \"shippingCost\": \"Y\",\n            \"itemClassifications\": [\n                {\n                    \"itemStandardClassificationSystemCode\": \"cest\",\n                    \"itemStandardClassificationCode\": \"2002300\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ean\",\n                    \"itemStandardClassificationCode\": \"7891008044898\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"ncm\",\n                    \"itemStandardClassificationCode\": \"84715010\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"exTipi\",\n                    \"itemStandardClassificationCode\": \"001\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"nbs\",\n                    \"itemStandardClassificationCode\": \"33030020\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFrom\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeExec\",\n                    \"itemStandardClassificationCode\": \"SP\"\n                },\n                {\n                    \"itemStandardClassificationSystemCode\": \"servTypeFed\",\n                    \"itemStandardClassificationCode\": \"07.07\"\n                }\n            ],\n            \"additionalItemInformation\": [\n                {\n                    \"type\": \"commercialQuantity\",\n                    \"information\": \"10.0000\"\n                },\n                {\n                    \"type\": \"materialOrigin\",\n                    \"information\": \"5\"\n                },\n                {\n                    \"type\": \"ownProduction\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"ownProductionOnPlantOrigin\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usage\",\n                    \"information\": \"R\"\n                },\n                {\n                    \"type\": \"referenceID\",\n                    \"information\": \"3587654321098765432150010000012345678901234\"\n                },\n                {\n                    \"type\": \"subcontracting\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"supplierBuyerIcmsStContributors\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"taxClassification\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"usagePurpose\",\n                    \"information\": \"benefitsAbroad\"\n                },\n                {\n                    \"type\": \"laborContract\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"cprb\",\n                    \"information\": \"Y\"\n                },\n                {\n                    \"type\": \"businessTransaction\",\n                    \"information\": \"P003\"\n                }\n            ],\n            \"costInformation\": [\n                {\n                    \"type\": \"discount\",\n                    \"amount\": \"300.0000\"\n                },\n                {\n                    \"type\": \"freight\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"insurance\",\n                    \"amount\": \"100.0000\"\n                },\n                {\n                    \"type\": \"otherExpenses\",\n                    \"amount\": \"100.0000\"\n                }\n            ]\n        }\n    ],\n    \"Locations\": [\n        {\n            \"type\": \"SHIP_FROM\",\n            \"addressLine1\": \"AV HENRY 643\",\n            \"zipCode\": \"06210-108\",\n            \"city\": \"OSASCO\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        },\n        {\n            \"type\": \"SHIP_TO\",\n            \"addressLine1\": \"ROD PRESIDENTE DUTRA km 187\",\n            \"zipCode\": \"26085-000\",\n            \"city\": \"Nova Igauçu\",\n            \"state\": \"RJ\",\n            \"country\": \"BR\"\n        }\n    ],\n    \"Party\": [\n        {\n            \"id\": \"1\",\n            \"role\": \"SHIP_FROM\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_FROM\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        },\n        {\n            \"id\": \"2\",\n            \"role\": \"SHIP_TO\",\n            \"taxRegistration\": [\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2063100\",\n                    \"taxNumberTypeCode\": \"CNAE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"74544297000192\",\n                    \"taxNumberTypeCode\": \"CNPJ\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"1121212\",\n                    \"taxNumberTypeCode\": \"CPF\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"n\",\n                    \"taxNumberTypeCode\": \"isNaturalPerson\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"COFINSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"4314902\",\n                    \"taxNumberTypeCode\": \"IBGECode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ICMSSTContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IE\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"0240043251\",\n                    \"taxNumberTypeCode\": \"IM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IPIContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"ISSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"2062\",\n                    \"taxNumberTypeCode\": \"legalNature\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"PISContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"IBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"CBSContributor\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Y\",\n                    \"taxNumberTypeCode\": \"SUFRAMA\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"Real Profit\",\n                    \"taxNumberTypeCode\": \"taxDeclarationType\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"3\",\n                    \"taxNumberTypeCode\": \"taxRegimenCode\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"GE\",\n                    \"taxNumberTypeCode\": \"companySize\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"CPOM\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"consolidatedPCCWithholding\"\n                },\n                {\n                    \"locationType\": \"SHIP_TO\",\n                    \"taxNumber\": \"N\",\n                    \"taxNumberTypeCode\": \"industrialEquivalent\"\n                }\n            ]\n        }\n    ],\n    \"isTraceRequired\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/integrations/sap/evaluate"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"accountId\",\n            \"messages\": [\n                \"Not found\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"0830b1a3-0794-4aff-828d-d9ff5e61a4d1"}],"id":"eafe04c0-99e5-4914-9600-de84c166e384","_postman_id":"eafe04c0-99e5-4914-9600-de84c166e384","description":""}],"id":"5cce4d66-ef0a-4a23-a2c6-de0f652e5812","description":"<p>Users use the Omnitax Platform rules engine to record business rules that can be consumed by people (via API or via user application) or software (via API or via SDK) in order to ensure compliance and operational governance in time real, both online and offline.</p>\n<p>A practical example of using the rules engine happens when the user registers a rule defining which taxes should be calculated (and how they should be calculated) every time a certain commercial operation takes place. Thus, every time the predicted scenario happens, the ContabilOne Platform rule engine will automatically assign the tax defined in the rule by the user who created it. A rule, therefore, can be understood as a logical entity that defines what must be done if a certain scenario happens.</p>\n<p>To register a rule, it is necessary to have access to an account (\"accountId\") previously registered on the platform and this account must have at least one \"rules base\" (portfolio where rules are placed) registered. Each account can simultaneously manage up to 3 rule base versions, but only one of them can be effectively in use as a current base. When registering a rule, you can determine in which rule base (\"baseId\") it will be registered. If you do not indicate the base, the rule will be registered in the base that is in use (current base). For security reasons, removing the current rule base is not allowed.</p>\n<p>When registering a rule, it is possible that the platform rejects your request because it understands that there is a conflict with another rule already registered in the same rule base of your account. This conflict will be determined when (i) the validity period (\"startDate\" and \"endDate\"), (ii) the condition variables (\"conditions\") and (iii) base (\"baseId\") of the new rule are equal to the another existing rule. If there is a conflict, the platform will return an HTTP status code \"409 - Conflict\" informing the conflicting rule ID, which indicates that it will be necessary to resolve the conflict to register the new rule. You can resolve the conflict by defining a new rule base for your new rule, deleting the conflicting rule, or ending the old rule's lifetime. It is also possible to resolve the conflict automatically by informing the variable \"onConflict\" with the value \"replace\" in the payload for creating the new rule. By doing so, the platform will automatically eliminate the conflict using the date and time of the event as the final validity (\"endDate\") of the old rule and initial validity (\"startDate') of the new rule, ignoring the \"startDate\" (mandatory) entered in the rule registration payload. Thus, the two rules will remain registered, each with an expiration date.</p>\n<p>Every rule must have at least one \"condition\" and one \"consequence\". The conditions serve to indicate in which business scenario the application of the rule will be evaluated. The more conditions, the more specific the rule. The \"consequences\", in turn, serve to determine the result of applying the rule.</p>\n<p>To inform the \"conditions\" of a rule, it is necessary to declare a valid \"variable\" name (existing in the platform), a valid \"operator\" (currently we only accept \"equals\") and a list of possible \"values\" for this variable always as an array of strings. The reading of the conditions will always be of type \"and\", that is, variable \"A\" and variable \"B\", etc. <strong>Note some examples:</strong></p>\n<ul>\n<li>Example of how to enter conditions in a rule creation payload:</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [\n        {\n            \"variable\": \"NFe.infNFe.emit.enderEmit.UF\",\n            \"operator\": \"equals\",\n            \"value\": [\n                \"002\"\n            ]\n        },\n        {\n            \"variable\": \"NFe.infNFe.det.prod.NCM\",\n            \"operator\": \"equals\",\n            \"value\": [\n                \"84715010\",\n                \"6301*\"\n            ]\n        }\n    ],\n    \"consequences\": []\n}\n\n</code></pre>\n<p>To inform the \"consequences\" of a rule, it is necessary to declare a valid \"variable\" name (existing on the platform) and its respective \"value\", which must be unique, not a list. The reading of the consequences will also be of type \"and\", that is, variable \"A\" and variable \"B\", etc. The values assigned to the consequence variables can be informed explicitly or through an expression based on ContabilOne's own syntax, with infinite possibilities. <strong>Note some examples:</strong></p>\n<ul>\n<li>Example of a consequence variable whose value was explicitly determined. This expression should read: The value of the variable \"NFe.infNFe.det.prod.CFOP\" will be \"6551\".</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.det.prod.CFOP\",\n            \"value\": \"6551\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of a consequence variable whose value was explicitly determined, but with content with so many special characters that it is difficult to define where the string begins and ends. Precisely for this reason, strings must be surrounded by single quotes (') and, if single quotes (') or double quotes (\") are informed within the content of the expression, the number of necessary escapes (\\) must be inserted, as example below, specifically in the words \"PROCON-RJ\" (1st escape) and 'CONDECON' (2nd escape).</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.infAdic.infCpl\",\n            \"value\": \"'Tributos Aprox. 0.00 (Lei Federal 12.741/2012) Fonte:IBPT \\\"PROCON-RJ\\\": tel. 151 End. Av. Rio Branco, 25 - 5 andar, Centro/RJ. \\\\'CODECON\\\\': tel. 0800 282 7060 End. R. da Alfandega, 8 - Centro/RJ)'\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of a consequence variable whose value was determined by an expression referring to the value declared in another existing variable (i) in the payload of the scenario request that will be evaluated or (ii) in the rule that will be applied to it. If it is not possible to find the value of the referenced variable, \"0\" or \"0%\" will be assigned, in the case of percentages. This expression should read: The value of the variable \"NFe.infNFe.det.imposto.ICMS.ICMS10.orig\" (referring) will be the same value declared in the variable \"NFe.infNFe.det.imposto.ICMS.orig\" ( referenced).</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.det.imposto.ICMS.ICMS10.orig\",\n            \"value\": \"NFe.infNFe.det.imposto.ICMS.orig\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of consequence variable whose value was determined by an expression of conditional existence of a certain variable in the payload of the scenario request that will be evaluated. The reading of this expression should be: The value of the variable \"NFe.infNFe.dest.indIEDest\" will be \"9\" if the variable \"NFe.infNFe.dest.CPF\" is informed in the payload of the scenario request that will be evaluated or will be \" null\" if the variable \"NFe.infNFe.dest.CPF\" is not informed in the payload of the scenario request that will be evaluated.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.dest.indIEDest\",\n            \"value\": \"EXISTS(NFe.infNFe.dest.CPF):9:null\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of a consequence variable whose value was determined by a simple mathematical expression. This expression should read: The value of the variable \"NFe.infNFe.det.imposto.ICMS.ICMS10.vICMS\" will be the result of multiplying the values declared in the variables \"NFe.infNFe.det.imposto.ICMS.ICMS10.vBC \" and \"NFe.infNFe.det.imposto.ICMS.ICMS10.pICMS\".</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.det.imposto.ICMS.ICMS10.vICMS\",\n            \"value\": \"(NFe.infNFe.det.imposto.ICMS.ICMS10.vBC*NFe.infNFe.det.imposto.ICMS.ICMS10.pICMS)\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of a consequence variable whose value was determined by a conditional mathematical expression. The reading of this expression should be: The value of the variable \"NFe.infNFe.det.prod.vProd\" will be 81.19 if the value of the variable \"NFe.infNFe.det.prod.vUnCom\" informed in the payload of the scenario request that will be evaluated is less than or equal to 81.19 or it will be the result of multiplying the values declared in the variables \"NFe.infNFe.det.prod.vUnCom\" and \"NFe.infNFe.det.prod.qCom\" if the value of the variable \"NFe.infNFe. det.prod.vUnCom\" informed in the payload of the scenario request that will be evaluated is greater than 81.19.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.det.prod.vProd\",\n            \"value\": \"NFe.infNFe.det.prod.vUnCom&lt;=81.19:81.19:(NFe.infNFe.det.prod.vUnCom*NFe.infNFe.det.prod.qCom)\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of a consequence variable whose value was determined by an expression that defines the number of decimals and rounding of numeric values. The reading of this expression should be: The value of the variable \"NFe.infNFe.det.prod.vUnCom\" will be the value informed in the payload of the scenario request, which will be evaluated rounded to 4 decimals. Thus, if the value entered in the request payload has more decimals than specified in the rule, the number will be rounded to the 4 decimals defined in the rule (Example: if the value entered is 12.34526456, it will be transformed into 12.3453). If the value entered in the request payload has fewer decimals than specified in the rule, the number of decimals will be increased to the 4 decimals defined in the rule by adding zeros to the right (Example: if the value entered is 12.34, it will be transformed at 12.3400).</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.det.prod.vUnCom\",\n            \"value\": \"FIXED(NFe.infNFe.det.prod.vUnCom,4)\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of a consequence variable whose value was determined by a more complex expression that features existence functions, number of decimals and rounding, and simple math. This expression should read: The value of the variable \"NFe.infNFe.det.prod.vProd\" will be the result of multiplying the values declared in the variables \"NFe.infNFe.det.prod.vUnCom\" and \"NFe.infNFe.det .prod.qCom\" rounded to 6 decimals only if the variable \"NFe.infNFe.det.prod.vUnCom\" is informed in the payload of the calculation request. Otherwise, the value of the variable \"NFe.infNFe.det.prod.vProd\" will be 81.19 rounded to 6 decimals.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.det.prod.vProd\",\n            \"value\": \"EXISTS(NFe.infNFe.det.prod.vUnCom): FIXED(NFe.infNFe.det.prod.vUnCom*NFe.infNFe.det.prod.qCom,6: FIXED(81.19,6)\"\n        }\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Example of a consequence variable whose value was determined by a more complex expression that features conditional math functions, number of decimal places and rounding, and simple math. This expression should read: The value of the variable \"NFe.infNFe.det.prod.vProd\" will be the result of multiplying the values declared in the variables \"NFe.infNFe.det.prod.vUnCom\" and \"NFe.infNFe.det .prod.qCom\" rounded to 6 decimals only if the variable \"NFe.infNFe.det.prod.vUnCom\" informed in the payload of the calculation request has a value less than or equal to 81.19. Otherwise, the value of the variable \"NFe.infNFe.det.prod.vProd\" will be 81.19 rounded to 6 decimals.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"conditions\": [],\n    \"consequences\": [\n        {\n            \"variable\": \"NFe.infNFe.det.prod.vProd\",\n            \"value\": \"NFe.infNFe.det.prod.vUnCom&lt;=81.19: FIXED(NFe.infNFe.det.prod.vUnCom*NFe.infNFe.det.prod.qCom,6: FIXED(81.19,6)\"\n        }\n    ]\n}\n\n</code></pre>\n<p><strong>Summary about the Rules Engine:</strong></p>\n<ul>\n<li><p>It is necessary to have a registered account to be able to register a rule;</p>\n</li>\n<li><p>It is necessary to have at least one rule base registered in the account to be able to register a rule;</p>\n</li>\n<li><p>It is necessary to use condition and consequence variables provided in the platform. If you need to create your own variable to suit your business, request it via <a href=\"https://mailto:suporte@contabilone.com\">suporte@contabilone.com</a>;</p>\n</li>\n<li><p>It is necessary to use dot ( . ) to separate decimal places of numbers. Example: \"1978.54\" (One thousand, nine hundred and seventy-eight integers and fifty-four decimals);</p>\n</li>\n<li><p>It is necessary to use a colon ( : ) to separate arguments from conditional expressions \"(\"condition\" : \"if_true\" : \"if_false\") \", where: If the is true, what is in will be executed, if otherwise, what is in will be executed;</p>\n</li>\n<li><p>It is necessary to use single quotation marks ( ' ), with escape ( \\ ) when necessary to represent strings. Example: \"'Sale of \\'Wine\\' Sweet'\";</p>\n</li>\n<li><p>It is necessary to use the null constant (without quotes, as it is not a string), to indicate that a certain consequence must be excluded;</p>\n</li>\n<li><p>It is allowed to use FIXED(), to determine the amount of decimals and, consequently, rounding, required in the function's second argument;</p>\n</li>\n<li><p>It is allowed to use EXISTS() only in conditional expressions when you want to determine that the mere existence of a variable in the request payload should be considered as a function argument;</p>\n</li>\n<li><p>It is allowed to use simple arithmetic operators ( +, -, *<em>, / )</em> and organize compound expressions using parentheses. Example: (1 + 2) * 3 + (5 - 3);</p>\n</li>\n<li><p>It is allowed to use comparison operators in conditional expressions. The available operators are: = (equal to), == (terms are considered strings), &gt; (greater than), &gt;= (greater than or equal to), &lt; (less than), &lt;= (less than or equal to) , != (different). It is worth highlighting the difference between = and ==: Using the =, values like 01 and 1 will be considered equal (since mathematically they are really equal). Using ==, values such as 01 and 1 will be considered different, as the form of the value is taken into account;</p>\n</li>\n<li><p>Whenever possible, previous validations will detect errors that will prevent the registration of rules, the main ones being:</p>\n<ul>\n<li><p>Detection of conflict with another existing rule in the same rule base of the account;</p>\n</li>\n<li><p>Detection of incorrect expressions due to:</p>\n<ul>\n<li><p>Wrong sequence of operators. Example: 5 */ 6</p>\n</li>\n<li><p>Wrong conditional construction. Example: 2 &gt; 0 :: or :::</p>\n</li>\n<li><p>Function or operator does not exist. Example: 2 $ 2 or ABC(2,1)</p>\n</li>\n<li><p>Incorrect number of function arguments. Example: FIXED(12.43) or FIXED(15.21, 3, 4)</p>\n</li>\n<li><p>Wrong type in function argument. Example: FIXED('test', 5)</p>\n</li>\n<li><p>Missing parentheses. Example: (1+2</p>\n</li>\n<li><p>Cyclic references (variable calling itself)</p>\n</li>\n</ul>\n</li>\n<li><p>Detection of errors in the declaration of consequence attributes:</p>\n<ul>\n<li><p>Conditional obligation: If a certain attribute becomes required due to the existence of another;</p>\n</li>\n<li><p>Conditional prohibition: If a given attribute becomes prohibited due to the existence of another;</p>\n</li>\n<li><p>Content: If the value entered for the attribute is valid and respects the regular expression of the public model used.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>If you still have questions, please contact us at <a href=\"https://mailto:suporte@contabilone.com\">suporte@contabilone.com</a>.</p>\n","_postman_id":"5cce4d66-ef0a-4a23-a2c6-de0f652e5812"},{"name":"webhooks","item":[{"name":"webhooks/resources (list)","id":"76d6d379-131d-48e5-8628-ef0392099366","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","urlObject":{"protocol":"https","path":["webhooks","resources"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of item per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by label field</p>\n","type":"text/plain"},"key":"orderBy","value":"label"},{"description":{"content":"<p>Filter by: \"whitelabel\" or \"account\"</p>\n","type":"text/plain"},"key":"entityType","value":"account"}],"variable":[]}},"response":[{"id":"be5072bf-8c06-49e1-a90c-81aaac907385","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/webhooks/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","protocol":"https","host":["{{api-domain}}"],"path":["webhooks","resources"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"label","description":"Order by label field"},{"key":"entityType","value":"account","description":"Filter by: \"whitelabel\" or \"account\""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"label\": \"\",\n            \"actions\": [\n                \"\"\n            ]\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"622d2b82-068b-4d5f-b16f-d8e3fc48f933","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/webhooks/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","protocol":"https","host":["{{api-domain}}"],"path":["webhooks","resources"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"label","description":"Order by label field"},{"key":"entityType","value":"account","description":"Filter by: \"whitelabel\" or \"account\""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"971d6d63-71e3-4c31-9225-2c4ec402abb5","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/webhooks/resources?page=1&limit=50&sort=asc&orderBy=label&entityType=account","protocol":"https","host":["{{api-domain}}"],"path":["webhooks","resources"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"label","description":"Order by label field"},{"key":"entityType","value":"account","description":"Filter by: \"whitelabel\" or \"account\""}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"76d6d379-131d-48e5-8628-ef0392099366"},{"name":"webhooks","id":"6a81612f-e69a-4be3-bea0-6e673493295a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Field</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>authType</td>\n<td>The webhook type is required, and its value can be: API_KEY, BEARER_TOKEN, CUSTOM, or OAUTH_2.</td>\n</tr>\n<tr>\n<td>whitelabelId</td>\n<td>This is the whitelabelId where your webhook will be registered. It is optional, must be a string and the content entered must be a valid UUID</td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>This is the accountId where your webhook will be registered. It is conditional, that is, it should only be informed if the token used in the call is not the token of the account itself, but of the domain to which it belongs. It must be a string and the content inserted must be a valid UUID</td>\n</tr>\n<tr>\n<td>remoteId</td>\n<td>This is the own control code generated and managed exclusively by the requester to uniquely identify each request made by him to the platform. It is optional, it must be a string, and can't exceed 256 characters.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>This is the name that best identifies the registered webhook. It is optional, must be a string and the content inserted must not exceed 60 characters</td>\n</tr>\n<tr>\n<td>payloadUrl</td>\n<td>This is the address (endpoint) where the webhook event will be sent. It is mandatory, must be a string and the content entered must not exceed 120 characters</td>\n</tr>\n<tr>\n<td>contentType</td>\n<td>This is the type of format sent in the \"Content-Type\" header where the possible values ​​are \"JSON\" which is the default and will be sent in the webhook delivery request with the \"application/json\" header, or FORM which will use the \"application/x-www-form-urlencoded\" header in the request. It is optional, must be a string and the inserted content must not exceed 4 characters.</td>\n</tr>\n<tr>\n<td>secret</td>\n<td>This is the secret key to be signed and added to the \"Omnitax-Signature\" header in the Webhook request to validate that the request is coming from the Omintax server. It is optional, must be a string and the inserted content must not exceed 100 characters</td>\n</tr>\n<tr>\n<td>authScheme</td>\n<td>This is the HTTP authentication scheme registry. IANA maintains a <a href=\"https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml\">list of authentication schemes</a>, but there are other schemes offered by host services, such as Amazon AWS. Some common authentication schemes include: Basic, Bearer, Concealed, Digest, HOBA, Mutual, Negotiate / NTLM, VAPID, SCRAM, AWS4-HMAC-SHA256. It is optional, must be a string and the inserted content must not exceed 20.</td>\n</tr>\n<tr>\n<td>token</td>\n<td>This is the token that the webhook uses to authenticate the client API to send the request. It is optional, must be a string and the content inserted must not exceed 255 characters</td>\n</tr>\n<tr>\n<td>tokenCustomHeaderName</td>\n<td>This is the custom name of the header sent in the request for the token field. E.g. \"api-token\": \"TOKEN\", the default used if not specified is \"X-Api-Key\". It is optional, must be a string and the inserted content must not exceed 255 characters</td>\n</tr>\n<tr>\n<td>formatResponse</td>\n<td>This is the format configured for the payload that will be sent by the webhook: XML or JSON (default). It is optional, must be a string and the inserted content must be \"XML\" or \"JSON\"</td>\n</tr>\n<tr>\n<td>oauth2Configuration.<strong>accessTokenUrl</strong></td>\n<td>OAuth2 acess token URL is an optional field, it must be a string.</td>\n</tr>\n<tr>\n<td>oauth2Configuration.<strong>clientId</strong></td>\n<td>OAuth2 client identification token is an optional field, it must be a string.</td>\n</tr>\n<tr>\n<td>oauth2Configuration.<strong>clientSecret</strong></td>\n<td>OAuth2 client secret token is an optional field, it must be a string.</td>\n</tr>\n<tr>\n<td>resources[].<strong>label</strong></td>\n<td>This is the name of the Omnitax resource whose event can be sent via webhook (e.g. invoice, rules engine, accounting, subsidiary). It is mandatory, must be a string and the content provided must exist in the list of available resources obtained in \"GET/webhooks/resources\"</td>\n</tr>\n<tr>\n<td>resources[].<strong>actions</strong>[]</td>\n<td>This is the name of the Omnitax resource event that can be sent via webhook (e.g. invoice authorization, invoice cancellation). It is mandatory, must be a array of string and the content provided must exist in the list of available resources obtained in \"GET/webhooks/resources\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["webhooks"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"7b5e9e8c-e38f-4f91-a7b3-c4868673fc04","name":"201 Created","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"required, string\",\n    \"whitelabelId\": \"optional, string\",\n    \"accountId\": \"conditional, string\",\n    \"remoteId\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"required, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\":\"optional, string\",\n        \"clientId\":\"optional, string\",\n        \"clientSecret\":\"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Webhook registered with success\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"97a975ea-91fc-4d7f-a367-5803d3dfb8e5","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"required, string\",\n    \"whitelabelId\": \"optional, string\",\n    \"accountId\": \"conditional, string\",\n    \"remoteId\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"required, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\":\"optional, string\",\n        \"clientId\":\"optional, string\",\n        \"clientSecret\":\"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"payloadUrl\",\n            \"messages\": [\n                \"Is required\"\n            ]\n        }\n    ]\n}"},{"id":"0b12d715-6c25-4b2b-b2b8-7bdf87244349","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"required, string\",\n    \"whitelabelId\": \"optional, string\",\n    \"accountId\": \"conditional, string\",\n    \"remoteId\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"required, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\":\"optional, string\",\n        \"clientId\":\"optional, string\",\n        \"clientSecret\":\"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"afe17073-2b20-4be9-af07-9e564260fbc7","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"required, string\",\n    \"whitelabelId\": \"optional, string\",\n    \"accountId\": \"conditional, string\",\n    \"remoteId\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"required, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\":\"optional, string\",\n        \"clientId\":\"optional, string\",\n        \"clientSecret\":\"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"99e3dc9a-ac10-4de1-b47d-08be548a0961","name":"409 Conflict","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"required, string\",\n    \"whitelabelId\": \"optional, string\",\n    \"accountId\": \"conditional, string\",\n    \"remoteId\": \"optional, string\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"required, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\":\"optional, string\",\n        \"clientId\":\"optional, string\",\n        \"clientSecret\":\"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"required, string\",\n            \"actions\": [\n                \"required, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"field\": \"payloadUrl\",\n            \"messages\": [\n                \"Already exists\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"6a81612f-e69a-4be3-bea0-6e673493295a"},{"name":"webhooks (list)","id":"2efd616b-1542-4f9e-8289-1dbc22870465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{BACK_OFFICE_X_API_KEY}}","type":"text"},{"key":"Authorization","value":"{{AUTH_SCHEME}} {{AUTH_TOKEN}}","type":"text"},{"key":"Origin","value":"{{app-domain}}","type":"text"}],"url":"https://{{api-domain}}/webhooks?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=id&accountId=id&q=","urlObject":{"protocol":"https","path":["webhooks"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of item per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: id, name, createdAt or updatedAt</p>\n","type":"text/plain"},"key":"orderBy","value":"createdAt"},{"description":{"content":"<p>Filter by: whitelabelId</p>\n","type":"text/plain"},"key":"whitelabelId","value":"id"},{"description":{"content":"<p>Filter by: accountId</p>\n","type":"text/plain"},"key":"accountId","value":"id"},{"description":{"content":"<p>Search by: id, requestId, remoteId, whitelabel (id or name) or account (id or name)</p>\n","type":"text/plain"},"key":"q","value":""}],"variable":[]}},"response":[{"id":"7be6c7a6-d1f0-4447-8e96-a973a729213e","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"yjSWnlN3Jtxj5OdJA8uAc9ZDzvV09sSg","type":"text"}],"url":{"raw":"https://{{api-domain}}/webhooks?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=id&accountId=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["webhooks"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: id, name, createdAt or updatedAt"},{"key":"whitelabelId","value":"id","description":"Filter by: whitelabelId"},{"key":"accountId","value":"id","description":"Filter by: accountId"},{"key":"q","value":"","description":"Search by: id, requestId, remoteId, whitelabel (id or name) or account (id or name)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"createdAt\": {\n                \"epoch\": 1745931033,\n                \"formatted\": \"29/04/2025 - 09:50:33\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1748551143,\n                \"formatted\": \"29/05/2025 - 17:39:03\"\n            },\n            \"enabled\": true,\n            \"authType\": \"\",\n            \"name\": \"\",\n            \"payloadUrl\": \"\",\n            \"transactions\": [\n                \"\"\n            ],\n            \"account\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"enabled\": true,\n                \"transactions\": [],\n                \"createdAt\": {\n                    \"epoch\": 1748525871,\n                    \"formatted\": \"29/05/2025 - 10:37:51\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1749068273,\n                    \"formatted\": \"04/06/2025 - 17:17:53\"\n                },\n                \"name\": \"\",\n                \"companiesTotal\": 1,\n                \"usersTotal\": 0,\n                \"whitelabel\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": null,\n                    \"enabled\": true,\n                    \"transactions\": [],\n                    \"createdAt\": {\n                        \"epoch\": 1742822257,\n                        \"formatted\": \"24/03/2025 - 10:17:37\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1748525871,\n                        \"formatted\": \"29/05/2025 - 10:37:51\"\n                    },\n                    \"name\": \"Test Whitelabel\",\n                    \"domain\": null,\n                    \"accountsTotal\": 5,\n                    \"usersTotal\": 0\n                }\n            },\n            \"whitelabel\": null\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"128a6098-f64f-4f71-92c7-9867736d3c4c","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/webhooks?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=id&accountId=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["webhooks"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: id, name, createdAt or updatedAt"},{"key":"whitelabelId","value":"id","description":"Filter by: whitelabelId"},{"key":"accountId","value":"id","description":"Filter by: accountId"},{"key":"q","value":"","description":"Search by: id, requestId, remoteId, whitelabel (id or name) or account (id or name)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"d5695206-290f-4226-ad8d-50cf7710127a","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{api-domain}}/webhooks?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=id&accountId=id&q=","protocol":"https","host":["{{api-domain}}"],"path":["webhooks"],"query":[{"key":"page","value":"1","description":"required, number"},{"key":"limit","value":"50","description":"required, number, limited 50 per page"},{"key":"sort","value":"asc","description":"optional, \"asc\" or \"desc\""},{"key":"orderBy","value":"createdAt","description":"optional, per \"name\", \"createdAt\", \"updatedAt\""},{"key":"whitelabelId","value":"id","description":"optional, per whitelabelId"},{"key":"accountId","value":"id","description":"optional, per accountId"},{"key":"q","value":"","description":"optional, per requestId ou remoteId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"2efd616b-1542-4f9e-8289-1dbc22870465"},{"name":"webhooks (detail)","id":"ab5e417f-ac36-43f2-9835-edd0aca1aa35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}","urlObject":{"protocol":"https","path":["webhooks","{webhookId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"4643cc92-642b-4a33-a0c1-95ad72f3b677","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"remoteId\": null,\n        \"enabled\": true,\n        \"transactions\": [],\n        \"createdAt\": {\n            \"epoch\": 1749070217,\n            \"formatted\": \"04/06/2025 - 17:50:17\"\n        },\n        \"updatedAt\": {\n            \"epoch\": 1749070414,\n            \"formatted\": \"04/06/2025 - 17:53:34\"\n        },\n        \"authType\": \"\",\n        \"name\": \"\",\n        \"payloadUrl\": \"\",\n        \"contentType\": \"\",\n        \"secret\": null,\n        \"authScheme\": \"\",\n        \"token\": \"\",\n        \"tokenCustomHeaderName\": \"\",\n        \"formatResponse\": \"\",\n        \"resources\": [\n            {\n                \"label\": \"\",\n                \"actions\": [\n                    \"\"\n                ]\n            }\n        ],\n        \"whitelabel\": null,\n        \"account\": {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"enabled\": true,\n            \"transactions\": [],\n            \"createdAt\": {\n                \"epoch\": 1748525871,\n                \"formatted\": \"29/05/2025 - 10:37:51\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1749068273,\n                \"formatted\": \"04/06/2025 - 17:17:53\"\n            },\n            \"name\": \"\",\n            \"companiesTotal\": 1,\n            \"usersTotal\": 0,\n            \"whitelabel\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"enabled\": true,\n                \"transactions\": [],\n                \"createdAt\": {\n                    \"epoch\": 1742822257,\n                    \"formatted\": \"24/03/2025 - 10:17:37\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1748525871,\n                    \"formatted\": \"29/05/2025 - 10:37:51\"\n                },\n                \"name\": \"\",\n                \"domain\": null,\n                \"accountsTotal\": 5,\n                \"usersTotal\": 0\n            }\n        },\n        \"oauth2Configuration\": null\n    }\n}"},{"id":"bb6d691c-3de6-4b39-bbb4-2fc0f094d5f7","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"b3b17d0a-73ac-411b-ad74-eecbc53f8c69","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"46f0cb64-8c82-4749-9e9b-984968025603","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"ab5e417f-ac36-43f2-9835-edd0aca1aa35"},{"name":"webhooks","id":"a047149d-2f24-425b-b28d-72df17f47b6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks/{webhookId}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Field</code></th>\n<th><code>Details</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>authType</td>\n<td>The webhook type is required, and its value can be: API_KEY, BEARER_TOKEN, CUSTOM, or OAUTH_2.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>This is the name that best identifies the registered webhook. It is optional, must be a string and the content inserted must not exceed 60 characters.</td>\n</tr>\n<tr>\n<td>payloadUrl</td>\n<td>This is the address (endpoint) where the webhook event will be sent. It is required, must be a string and the content entered must not exceed 120 characters</td>\n</tr>\n<tr>\n<td>contentType</td>\n<td>This is the type of format sent in the \"Content-Type\" header where the possible values ​​are \"JSON\" which is the default and will be sent in the webhook delivery request with the \"application/json\" header, or FORM which will use the \"application/x-www-form-urlencoded\" header in the request. It is optional, must be a string and the inserted content must not exceed 4 characters.</td>\n</tr>\n<tr>\n<td>secret</td>\n<td>This is the secret key to be signed and added to the \"Omnitax-Signature\" header in the Webhook request to validate that the request is coming from the Omintax server. It is optional, must be a string and the inserted content must not exceed 100 characters</td>\n</tr>\n<tr>\n<td>authScheme</td>\n<td>This is the HTTP authentication scheme registry. IANA maintains a <a href=\"https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml\">list of authentication schemes</a>, but there are other schemes offered by host services, such as Amazon AWS. Some common authentication schemes include: Basic, Bearer, Concealed, Digest, HOBA, Mutual, Negotiate / NTLM, VAPID, SCRAM, AWS4-HMAC-SHA256. It is optional, must be a string and the inserted content must not exceed 20.</td>\n</tr>\n<tr>\n<td>token</td>\n<td>This is the token that the webhook uses to authenticate the client API to send the request. It is optional, must be a string and the content inserted must not exceed 255 characters</td>\n</tr>\n<tr>\n<td>tokenCustomHeaderName</td>\n<td>This is the custom name of the header sent in the request for the token field. E.g. \"api-token\": \"TOKEN\", the default used if not specified is \"X-Api-Key\". It is optional, must be a string and the inserted content must not exceed 255 characters</td>\n</tr>\n<tr>\n<td>formatResponse</td>\n<td>This is the format configured for the payload that will be sent by the webhook: XML or JSON (default). It is optional, must be a string and the inserted content must be \"XML\" or \"JSON\"</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>This information defines whether resource is enabled to receive and process requests. It is optional, it must be a boolean and the informed content must be true or false</td>\n</tr>\n<tr>\n<td>oauth2Configuration.<strong>accessTokenUrl</strong></td>\n<td>OAuth2 acess token URL is an optional field, it must be a string.</td>\n</tr>\n<tr>\n<td>oauth2Configuration.<strong>clientId</strong></td>\n<td>OAuth2 client identification token is an optional field, it must be a string.</td>\n</tr>\n<tr>\n<td>oauth2Configuration.<strong>clientSecret</strong></td>\n<td>OAuth2 client secret token is an optional field, it must be a string.</td>\n</tr>\n<tr>\n<td>resources[].<strong>label</strong></td>\n<td>This is the name of the Omnitax resource whose event can be sent via webhook (e.g. invoice, rules engine, accounting, subsidiary). It is mandatory, must be a string and the content provided must exist in the list of available resources obtained in \"GET/webhooks/resources\"</td>\n</tr>\n<tr>\n<td>resources[].<strong>actions</strong>[]</td>\n<td>This is the name of the Omnitax resource event that can be sent via webhook (e.g. invoice authorization, invoice cancellation). It is mandatory, must be a array of string and the content provided must exist in the list of available resources obtained in \"GET/webhooks/resources\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["webhooks","{webhookId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"7a9a5cc7-3e90-4ec2-9b26-70df1b3f837f","name":"200 OK","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"optional, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\":\"optional, string\",\n        \"clientId\":\"optional, string\",\n        \"clientSecret\":\"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Webhook updated successfully\"\n}"},{"id":"5d273487-8d37-4cf9-b936-04fb520c0734","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"optional, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\": \"optional, string\",\n        \"clientId\": \"optional, string\",\n        \"clientSecret\": \"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"b7a1382f-ac71-4fd1-abfe-dfc31c39451d","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"optional, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\": \"optional, string\",\n        \"clientId\": \"optional, string\",\n        \"clientSecret\": \"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"3227f11a-7fee-428d-b962-c68e08025bfd","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authType\": \"optional, string\",\n    \"enabled\": \"optional, boolean\",\n    \"name\": \"optional, string\",\n    \"payloadUrl\": \"optional, string\",\n    \"contentType\": \"optional, string\",\n    \"secret\": \"optional, string\",\n    \"authScheme\": \"optional, string\",\n    \"token\": \"optional, string\",\n    \"tokenCustomHeaderName\": \"optional, string\",\n    \"formatResponse\": \"optional, string\",\n    \"oauth2Configuration\": {\n        \"accessTokenUrl\": \"optional, string\",\n        \"clientId\": \"optional, string\",\n        \"clientSecret\": \"optional, string\"\n    },\n    \"resources\": [\n        {\n            \"label\": \"optional, string\",\n            \"actions\": [\n                \"optional, string\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"a047149d-2f24-425b-b28d-72df17f47b6b"},{"name":"webhooks","id":"9e82e4ba-b659-4c9d-813e-ab3dfb7ee153","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}","urlObject":{"protocol":"https","path":["webhooks","{webhookId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"9d45f485-33db-4b9e-8007-be715cc1a48e","name":"200 OK","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Webhook removed successfully\"\n}"},{"id":"c9c4f445-94b6-4977-9ecd-8d0700fb7e93","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"572dcb7f-355b-44c3-ac75-6b76c41453f7","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"87d9ffe0-da76-4aa4-8e9c-1a8064dc206d","name":"410 Gone","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/{webhookId}"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gone\"\n}"}],"_postman_id":"9e82e4ba-b659-4c9d-813e-ab3dfb7ee153"},{"name":"webhooks/deliveries (list)","id":"a5e8873d-6ba4-4d01-b7e6-37b8118e240e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=whitelabelId&accountId=accountId&webhookId=webhookId&requestId=requestId&remoteId=remoteId","urlObject":{"protocol":"https","path":["webhooks","deliveries"],"host":["{{api-domain}}"],"query":[{"description":{"content":"<p>Page where the search is located</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"description":{"content":"<p>Sort by ascendant (asc) or decreasing (desc)</p>\n","type":"text/plain"},"key":"sort","value":"asc"},{"description":{"content":"<p>Order by: id, completedAt, status, createdAt or updatedAt</p>\n","type":"text/plain"},"key":"orderBy","value":"createdAt"},{"description":{"content":"<p>Filter by: whitelabel</p>\n","type":"text/plain"},"key":"whitelabelId","value":"whitelabelId"},{"description":{"content":"<p>Filter by: account</p>\n","type":"text/plain"},"key":"accountId","value":"accountId"},{"description":{"content":"<p>Filter by: webhookId</p>\n","type":"text/plain"},"key":"webhookId","value":"webhookId"},{"description":{"content":"<p>Filter by: requestId</p>\n","type":"text/plain"},"key":"requestId","value":"requestId"},{"description":{"content":"<p>Filter by: remoteId</p>\n","type":"text/plain"},"key":"remoteId","value":"remoteId"}],"variable":[]}},"response":[{"id":"1088b55a-dd12-42e6-8065-774054c70964","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/webhooks/deliveries?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=whitelabelId&accountId=accountId&webhookId=webhookId&requestId=requestId&remoteId=remoteId","protocol":"https","host":["{{api-domain}}"],"path":["webhooks","deliveries"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: id, completedAt, status, createdAt or updatedAt"},{"key":"whitelabelId","value":"whitelabelId","description":"Filter by: whitelabel"},{"key":"accountId","value":"accountId","description":"Filter by: account"},{"key":"webhookId","value":"webhookId","description":"Filter by: webhookId"},{"key":"requestId","value":"requestId","description":"Filter by: requestId"},{"key":"remoteId","value":"remoteId","description":"Filter by: remoteId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"createdAt\": {\n                \"epoch\": 1744403792,\n                \"formatted\": \"11/04/2025 - 17:36:32\"\n            },\n            \"updatedAt\": null,\n            \"resource\": \"\",\n            \"action\": \"\",\n            \"completedAt\": {\n                \"milliseconds\": 39,\n                \"seconds\": 0.039,\n                \"minutes\": 0.00065\n            },\n            \"status\": \"\",\n            \"request\": {\n                \"requestedAt\": {\n                    \"epoch\": 1744403792,\n                    \"formatted\": \"11/04/2025 - 17:36:32\"\n                },\n                \"url\": \"\"\n            },\n            \"response\": {\n                \"responsedAt\": {\n                    \"epoch\": 1744403792,\n                    \"formatted\": \"11/04/2025 - 17:36:32\"\n                },\n                \"statusCode\": 200\n            },\n            \"webhook\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"enabled\": true,\n                \"transactions\": [],\n                \"createdAt\": {\n                    \"epoch\": 1744317214,\n                    \"formatted\": \"10/04/2025 - 17:33:34\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1744403765,\n                    \"formatted\": \"11/04/2025 - 17:36:05\"\n                },\n                \"name\": \"\",\n                \"payloadUrl\": \"\",\n                \"contentType\": \"\",\n                \"secret\": null,\n                \"authScheme\": \"\",\n                \"token\": \"\",\n                \"tokenCustomHeaderName\": \"\",\n                \"formatResponse\": \"\",\n                \"resources\": [\n                    {\n                        \"label\": \"\",\n                        \"actions\": []\n                    },\n                    {\n                        \"label\": \"\",\n                        \"actions\": []\n                    }\n                ],\n                \"whitelabel\": null,\n                \"account\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": null,\n                    \"enabled\": true,\n                    \"transactions\": [],\n                    \"createdAt\": {\n                        \"epoch\": 1742957902,\n                        \"formatted\": \"25/03/2025 - 23:58:22\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1744317071,\n                        \"formatted\": \"10/04/2025 - 17:31:11\"\n                    },\n                    \"name\": \"\",\n                    \"companiesTotal\": 1,\n                    \"usersTotal\": 0,\n                    \"whitelabel\": {\n                        \"id\": \"\",\n                        \"requestId\": \"\",\n                        \"remoteId\": null,\n                        \"enabled\": true,\n                        \"transactions\": [],\n                        \"createdAt\": {\n                            \"epoch\": 1742957398,\n                            \"formatted\": \"25/03/2025 - 23:49:58\"\n                        },\n                        \"updatedAt\": {\n                            \"epoch\": 1744319322,\n                            \"formatted\": \"10/04/2025 - 18:08:42\"\n                        },\n                        \"name\": \"\",\n                        \"domain\": null,\n                        \"accountsTotal\": 1,\n                        \"usersTotal\": 0\n                    }\n                }\n            }\n        }\n    ],\n    \"totalItems\": 1\n}"},{"id":"465dd1c3-92cb-4c85-a33a-b04e6da70a0a","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/webhooks/deliveries?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=whitelabelId&accountId=accountId&webhookId=webhookId&requestId=requestId&remoteId=remoteId","protocol":"https","host":["{{api-domain}}"],"path":["webhooks","deliveries"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: id, completedAt, status, createdAt or updatedAt"},{"key":"whitelabelId","value":"whitelabelId","description":"Filter by: whitelabel"},{"key":"accountId","value":"accountId","description":"Filter by: account"},{"key":"webhookId","value":"webhookId","description":"Filter by: webhookId"},{"key":"requestId","value":"requestId","description":"Filter by: requestId"},{"key":"remoteId","value":"remoteId","description":"Filter by: remoteId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"5e1efe63-dc2a-4fc4-9be7-0ba35d15c894","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":{"raw":"https://{{api-domain}}/webhooks/deliveries?page=1&limit=50&sort=asc&orderBy=createdAt&whitelabelId=whitelabelId&accountId=accountId&webhookId=webhookId&requestId=requestId&remoteId=remoteId","protocol":"https","host":["{{api-domain}}"],"path":["webhooks","deliveries"],"query":[{"key":"page","value":"1","description":"Page where the search is located"},{"key":"limit","value":"50","description":"Number of items per page"},{"key":"sort","value":"asc","description":"Sort by ascendant (asc) or decreasing (desc)"},{"key":"orderBy","value":"createdAt","description":"Order by: id, completedAt, status, createdAt or updatedAt"},{"key":"whitelabelId","value":"whitelabelId","description":"Filter by: whitelabel"},{"key":"accountId","value":"accountId","description":"Filter by: account"},{"key":"webhookId","value":"webhookId","description":"Filter by: webhookId"},{"key":"requestId","value":"requestId","description":"Filter by: requestId"},{"key":"remoteId","value":"remoteId","description":"Filter by: remoteId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"}],"_postman_id":"a5e8873d-6ba4-4d01-b7e6-37b8118e240e"},{"name":"webhooks/deliveries (detail)","id":"4c05e397-b1ba-43c6-803d-83a9b671732b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}","urlObject":{"protocol":"https","path":["webhooks","deliveries","{deliveryId}"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"5dac21cb-d648-4ed4-9806-19e379552b6d","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:04:10 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"577"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ec7fa0b1-22de-46af-91bf-b01621b92d89"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"c6EuoEvJIAMEjzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71b2a-1c64439c2e426e9e30d7d432;Parent=5fba23192d49236b;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": {\n        \"id\": \"\",\n        \"requestId\": \"\",\n        \"createdAt\": {\n            \"epoch\": 1744403792,\n            \"formatted\": \"11/04/2025 - 17:36:32\"\n        },\n        \"updatedAt\": null,\n        \"resource\": \"\",\n        \"action\": \"\",\n        \"completedAt\": {\n            \"milliseconds\": 39,\n            \"seconds\": 0.039,\n            \"minutes\": 0.00065\n        },\n        \"status\": \"\",\n        \"request\": {\n            \"requestedAt\": {\n                \"epoch\": 1744403792,\n                \"formatted\": \"11/04/2025 - 17:36:32\"\n            },\n            \"headers\": {\n                \"authorization\": \"\",\n                \"content-type\": \"\",\n                \"user-agent\": \"\"\n            },\n            \"method\": \"POST\",\n            \"payload\": \"\",\n            \"url\": \"\"\n        },\n        \"response\": {\n            \"responsedAt\": {\n                \"epoch\": 1744403792,\n                \"formatted\": \"11/04/2025 - 17:36:32\"\n            },\n            \"headers\": {\n                \"access-control-allow-origin\": \"*\",\n                \"connection\": \"\",\n                \"content-length\": \"\",\n                \"content-type\": \"\",\n                \"date\": \"\",\n                \"etag\": \"\"\n            },\n            \"statusCode\": 200,\n            \"payload\": \"!\"\n        },\n        \"webhook\": {\n            \"id\": \"\",\n            \"requestId\": \"\",\n            \"remoteId\": null,\n            \"enabled\": true,\n            \"transactions\": [],\n            \"createdAt\": {\n                \"epoch\": 1744317214,\n                \"formatted\": \"10/04/2025 - 17:33:34\"\n            },\n            \"updatedAt\": {\n                \"epoch\": 1744403765,\n                \"formatted\": \"11/04/2025 - 17:36:05\"\n            },\n            \"name\": \"\",\n            \"payloadUrl\": \"\",\n            \"contentType\": \"\",\n            \"secret\": null,\n            \"authScheme\": \"\",\n            \"token\": \"\",\n            \"tokenCustomHeaderName\": \"\",\n            \"formatResponse\": \"\",\n            \"resources\": [\n                {\n                    \"label\": \"\",\n                    \"actions\": [\n                        \"\"\n                    ]\n                },\n                {\n                    \"label\": \"\",\n                    \"actions\": [\n                        \"\"\n                    ]\n                }\n            ],\n            \"account\": {\n                \"id\": \"\",\n                \"requestId\": \"\",\n                \"remoteId\": null,\n                \"enabled\": true,\n                \"transactions\": [\n                    \"\",\n                    \"\"\n                ],\n                \"createdAt\": {\n                    \"epoch\": 1742957902,\n                    \"formatted\": \"25/03/2025 - 23:58:22\"\n                },\n                \"updatedAt\": {\n                    \"epoch\": 1744317071,\n                    \"formatted\": \"10/04/2025 - 17:31:11\"\n                },\n                \"name\": \"\",\n                \"companiesTotal\": 1,\n                \"usersTotal\": 0,\n                \"whitelabel\": {\n                    \"id\": \"\",\n                    \"requestId\": \"\",\n                    \"remoteId\": null,\n                    \"enabled\": true,\n                    \"transactions\": [],\n                    \"createdAt\": {\n                        \"epoch\": 1742957398,\n                        \"formatted\": \"25/03/2025 - 23:49:58\"\n                    },\n                    \"updatedAt\": {\n                        \"epoch\": 1744319322,\n                        \"formatted\": \"10/04/2025 - 18:08:42\"\n                    },\n                    \"name\": \"Developer\",\n                    \"domain\": null,\n                    \"accountsTotal\": 1,\n                    \"usersTotal\": 0\n                }\n            }\n        }\n    }\n}"},{"id":"68cdb08a-9b00-45ff-b084-485924a81138","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"f5167d73-7ca4-4219-8742-ebe5038f5984","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"b3f94314-7dbc-45c1-9bdc-a26f9d3fd1cb","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"4c05e397-b1ba-43c6-803d-83a9b671732b"},{"name":"webhooks/deliveries/redelivery","id":"91a4c0f6-a8e3-4e2c-a55d-9948ce355335","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}/redeliver","urlObject":{"protocol":"https","path":["webhooks","deliveries","{deliveryId}","redeliver"],"host":["{{api-domain}}"],"query":[],"variable":[]}},"response":[{"id":"1a3e1842-506e-47ea-bc0d-3e42446130f3","name":"202 Accepted","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}/redeliver"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Webhook delivery resent successfully\",\n    \"id\": \"f398be01-62c1-4248-93db-7d659ab97491\"\n}"},{"id":"f1196947-baae-47ff-a640-e092dffe400b","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}/redeliver"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Is required\"\n}"},{"id":"6bc63014-e3d4-4b43-a978-295c2eccc3c5","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}/redeliver"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"51333a40-8c50-433f-a21f-8d0a65270d6f","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}/redeliver"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a0d79a99-4b6a-458a-9864-66f6391859fc"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6DQdE-soAMEcOQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c718cf-4b4913e00a74049e177139c9;Parent=7af0b2486a32fc30;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Forbidden\"\n}"},{"id":"a9ef73fa-0bb0-4b3b-83c1-d1410d2e8edd","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{X_API_KEY}}","type":"text"}],"url":"https://{{api-domain}}/webhooks/deliveries/{deliveryId}/redeliver"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 11:09:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a585d32f-a170-46bd-8736-8faebaa77215"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"c6FdOGQtIAMEOgw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-66c71c54-6dc353b61266580120584f45;Parent=37ef11bcf7cc54eb;Sampled=0;lineage=f74861cf:0"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not Found\"\n}"}],"_postman_id":"91a4c0f6-a8e3-4e2c-a55d-9948ce355335"}],"id":"b20ade20-aa1f-4e2c-982b-e0c13201209c","description":"<p>Users can register specific endpoints to receive messages via webhooks. These webhooks can be registered at the domain level or at the level of a specific account. It is also possible to register specific webhooks per resource (e.g. invoice, rules engine) or even per event type of a specific resource (e.g. invoice authorization events, invoice cancellation events).</p>\n","_postman_id":"b20ade20-aa1f-4e2c-982b-e0c13201209c"}],"event":[{"listen":"prerequest","script":{"id":"4f23ab93-1e51-4e1d-b450-37b7e53205a9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e70b18e8-65c3-4009-845a-f7f369ac639c","type":"text/javascript","exec":[""]}}],"variable":[{"key":"PROTOCOL","value":"https","type":"string"},{"key":"API_DOMAIN","value":"{{api-domain}}","type":"string"},{"key":"HOST","value":"{{app-domain}}","type":"string"},{"key":"X_API_KEY","value":"","type":"string","disabled":true}]}