{"info":{"_postman_id":"79c3cb7a-4ffb-4721-a94a-cdf7b64dd766","name":"API Documentation","description":"<html><head></head><body><h1 id=\"get-started-here\">📄 Get started here</h1>\n<p>This template contains a boilerplate for documentation that you can quickly customize and reuse.</p>\n<hr>\n<h2 id=\"authentication\">Authentication</h2>\n<p>The authentication endpoint (auth) of this API requires authentication using a client_id and client_secret. These two parameters are essential to ensure security and proper authorization of the client within the system.</p>\n<p>The client_id is a unique identifier assigned to the client by the API provider, while the client_secret is a secret key also generated by the provider. To authenticate successfully, the client must include these two parameters in the request to the auth endpoint. Once the client's authenticity and authorization to access API resources are validated, a valid access token will be generated, which will be used subsequently to make requests to other endpoints. It is important to keep the client_secret confidential and not share it with unauthorized third parties to ensure the security of the API and client data.</p>\n<h3 id=\"authentication-error-response\">Authentication error response</h3>\n<p>If an API key is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.</p>\n<h2 id=\"purchases\">Purchases</h2>\n<p>This endpoint allows you to retrieve a list of purchases based on the specified year and month, along with the taxpayer's credential. It provides valuable insights into the financial transactions made during a particular period. To access this endpoint, send a GET request to the following URL:</p>\n<p><strong>Parameters:</strong></p>\n<ul>\n<li><code>year</code> (required): The year for which purchases are to be retrieved. Specify the year in a four-digit format (e.g., 2023).</li>\n<li><code>month</code> (required): The month for which purchases are to be retrieved. Specify the month as a two-digit number (e.g., 05 for May).</li>\n<li><code>X-SRI-Credentials</code> (required): The credential of the taxpayer. This could be an authentication token or any other form of identification to ensure authorized access to the data.</li>\n</ul>\n<h2 id=\"sales\">Sales</h2>\n<p>This endpoint allows you to fetch a list of sales based on the specified year, month, day, and taxpayer credential. It provides comprehensive data about the sales transactions conducted on a particular date. To access this endpoint, send a GET request to the following URL:</p>\n<p><strong>Parameters:</strong></p>\n<ul>\n<li><code>year</code> (required): The year for which sales are to be retrieved. Please specify the year in a four-digit format (e.g., 2023).</li>\n<li><code>month</code> (required): The month for which sales are to be retrieved. Please specify the month as a two-digit number (e.g., 05 for May).</li>\n<li><code>day</code> (required): The day of the month for which sales are to be retrieved. Please specify the day as a two-digit number (e.g., 16 for the 16th day of the month).</li>\n<li><code>X-SRI-Credentials</code> (required): The credential of the taxpayer. This could be an authentication token or any other form of identification to ensure authorized access to the data.</li>\n</ul>\n<h2 id=\"ride\">Ride</h2>\n<p>This endpoint allows you to retrieve the RIDE (Receipt for Issued Electronic Documents) based on the specified authorization number and token. The RIDE contains detailed information about the electronic document issued for a transaction. To access this endpoint, send a GET request to the following URL:</p>\n<p><strong>Parameters:</strong></p>\n<ul>\n<li><code>authorization_number</code> (required): The authorization number associated with the electronic document. Please provide the valid authorization number for the desired RIDE.</li>\n<li><code>token</code> (required): The authentication token required to access the RIDE. This token serves as a security measure to ensure authorized access to sensitive information.</li>\n</ul>\n<h3 id=\"503-response\">503 response</h3>\n<p>An HTTP <code>503</code> response from our servers indicates there is an unexpected spike in API access traffic. The server is usually operational within the next five minutes. If the outage persists or you receive any other form of an HTTP <code>5XX.</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"📄 Get started here","slug":"get-started-here"}],"owner":"14152103","collectionId":"79c3cb7a-4ffb-4721-a94a-cdf7b64dd766","publishedId":"2s93kxcm4B","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0061FF"},"publishDate":"2023-05-17T04:00:33.000Z"},"item":[{"name":"Auth","item":[{"name":"Authentication","id":"d4120991-3f1d-40a2-9748-b392f6d39cc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{CLIENT_ID}}","type":"default"},{"key":"client_secret","value":"{{CLIENT_SECRET}}","type":"default"},{"key":"grant_type","value":"client_credentials","type":"default"}]},"url":"https://auth.invoicy.app/token","urlObject":{"protocol":"https","path":["token"],"host":["auth","invoicy","app"],"query":[],"variable":[]}},"response":[{"id":"89ed0a93-030e-4078-8f8a-f3102156887a","name":"Successfull response","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{CLIENT_ID}}","type":"default"},{"key":"client_secret","value":"{{CLIENT_SECRET}}","type":"default"},{"key":"grant_type","value":"client_credentials","type":"default"}]},"url":"https://auth.invoicy.app/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 17 May 2023 03:17:47 GMT"},{"key":"x-amz-cognito-request-id","value":"bd6b8430-802f-41a2-aff1-61a4475c8b4c"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Server","value":"Server"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 126bc2e5c4c1b9ac0ffa004edc6f02c4.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD89-P1"},{"key":"X-Amz-Cf-Id","value":"Mxmo3TU8XavC6bMOQAPAzJogl6_N6jYbCEuaikFlLOfwfJxty90iTw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJraWQiOiJ2SytcL1FWYzZYZ2xyR0ZhNnZsM1plZmRxdFFYMHkzTGVReXFmWjZHR0s5MD0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIyczV1NGlhb2dkNm5hMDdzMW9yOHM1cTBjdCIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoiYXBpXC9kb2N1bWVudC5yZWFkIiwiYXV0aF90aW1lIjoxNjg0MjkzNDY3LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZWFzdC0xLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMV9rY1RvdGQ1RTIiLCJleHAiOjE2ODQzNzk4NjcsImlhdCI6MTY4NDI5MzQ2NywidmVyc2lvbiI6MiwianRpIjoiMzNmMTc3ZjctMjI5Yy00MmUyLWE3NDYtYzMxZDVlZmEwNDg2IiwiY2xpZW50X2lkIjoiMnM1dTRpYW9nZDZuYTA3czFvcjhzNXEwY3QifQ.bpdP0b8pMBTQ-ZDbqfcZecT9JbpRFQmBPUvMA4ibjL-L7bJXkIp3bMp38nez-SYUL1RRF7fcsm7nIPRk9UsjflOoTd_-tEC_1I7jogiyQ-vgGY69Sz8ar6ZQjKB3S66j-p-A1XiiVIR59Q9Kzp4LmDzpICezO_ttVM_HurVkus3GjSj1HrOONyHtZ6PtUas_ri23R97BTNStWC-_28moShpaTtSro4GPIYp-pyZXRry2QIuhV66kBxBm3a_nd9IqcHIz9F15gJCZJ3Gc4lcj2T4F1JnzVZKmtzlBjRSyLmr7yt5z7LI06hQQj0Ep_T5zUXUzohezY2Tyyn3CgFVxvw\",\n    \"expires_in\": 86400,\n    \"token_type\": \"Bearer\"\n}"}],"_postman_id":"d4120991-3f1d-40a2-9748-b392f6d39cc7"}],"id":"1a9e4707-ca0c-48ce-bdcf-9c088d0b9276","_postman_id":"1a9e4707-ca0c-48ce-bdcf-9c088d0b9276","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"79c3cb7a-4ffb-4721-a94a-cdf7b64dd766","id":"79c3cb7a-4ffb-4721-a94a-cdf7b64dd766","name":"API Documentation","type":"collection"}}},{"name":"Documents","item":[{"name":"Purchases","id":"639530d9-8d7c-4a77-a995-3543559b1be4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[{"key":"X-SRI-Credentials","value":"{{SRI_CLIENT_SECRET}}","type":"default","description":"<p>SRI client username and password must be separated by \":\" example (user:pass) and then be base64 encoded</p>\n"}],"url":"https://api.invoicy.app/v1/documents?year={{YEAR}}&month={{MONTH}}","urlObject":{"protocol":"https","path":["v1","documents"],"host":["api","invoicy","app"],"query":[{"description":{"content":"<p>2022</p>\n","type":"text/plain"},"key":"year","value":"{{YEAR}}"},{"description":{"content":"<p>11</p>\n","type":"text/plain"},"key":"month","value":"{{MONTH}}"}],"variable":[]}},"response":[{"id":"b0ce4aad-da14-45c3-a133-00f87be642ac","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"X-SRI-Credentials","value":"{{SRI_CLIENT_SECRET}}","type":"default"}],"url":{"raw":"https://api.invoicy.app/v1/documents?year=2022&month=11","protocol":"https","host":["api","invoicy","app"],"path":["v1","documents"],"query":[{"key":"year","value":"2022"},{"key":"month","value":"11"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 May 2023 01:59:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7c88435bb9f382c6-IAD"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"x-ratelimit-limit","value":"120"},{"key":"x-ratelimit-remaining","value":"117"},{"key":"x-ratelimit-reset","value":"41"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": [\n        {\n            \"documentId\": 15804199158,\n            \"rucIssuer\": \"0990005737001\",\n            \"commercialName\": \"BANCO DEL PACIFICO S.A.\",\n            \"socialNameIssuer\": \"BANCO DEL PACIFICO S.A.\",\n            \"issuedAt\": \"2022-11-30\",\n            \"establishment\": \"027\",\n            \"pointIssue\": \"003\",\n            \"sequence\": \"028953925\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"30/11/2022\",\n            \"accessKey\": \"3011202201099000573700120270030289539250384790011\",\n            \"totalValueWithoutTaxes\": 20.89,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 4.51,\n                    \"Value\": 0.56\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 16.38,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 21.45\n        },\n        {\n            \"documentId\": 15940862574,\n            \"rucIssuer\": \"0990049459001\",\n            \"commercialName\": \"BANCO GUAYAQUIL S.A.\",\n            \"socialNameIssuer\": \"BANCO GUAYAQUIL S.A.\",\n            \"issuedAt\": \"2022-11-30\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"004\",\n            \"sequence\": \"004282803\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"30/11/2022\",\n            \"accessKey\": \"3011202201099004945900120010040042828034282803012\",\n            \"totalValueWithoutTaxes\": 0.51,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 0.51,\n                    \"Value\": 0.06\n                }\n            ],\n            \"totalAmount\": 0.57\n        },\n        {\n            \"documentId\": 15684838635,\n            \"rucIssuer\": \"0990049459001\",\n            \"commercialName\": \"BANCO GUAYAQUIL S.A.\",\n            \"socialNameIssuer\": \"BANCO GUAYAQUIL S.A.\",\n            \"issuedAt\": \"2022-11-15\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"005\",\n            \"sequence\": \"015172677\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"15/11/2022\",\n            \"accessKey\": \"1511202201099004945900120010050151726771517267714\",\n            \"totalValueWithoutTaxes\": 0.31,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 0.31,\n                    \"Value\": 0.04\n                }\n            ],\n            \"totalAmount\": 0.35\n        },\n        {\n            \"documentId\": 15700857962,\n            \"rucIssuer\": \"1790322831001\",\n            \"commercialName\": \"BEBEMUNDO\",\n            \"socialNameIssuer\": \"BEBELANDIA S. A.\",\n            \"issuedAt\": \"2022-11-20\",\n            \"establishment\": \"009\",\n            \"pointIssue\": \"023\",\n            \"sequence\": \"000031714\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"20/11/2022\",\n            \"accessKey\": \"2011202201179032283100120090230000317145608528818\",\n            \"totalValueWithoutTaxes\": 9.3,\n            \"tip\": 0,\n            \"totalDiscount\": 1.05,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 9.3,\n                    \"Value\": 1.12\n                }\n            ],\n            \"totalAmount\": 10.42\n        },\n        {\n            \"documentId\": 15745947804,\n            \"rucIssuer\": \"1790016919001\",\n            \"commercialName\": \"CORPORACION FAVORITA C.A.\",\n            \"socialNameIssuer\": \"CORPORACION FAVORITA C.A.\",\n            \"issuedAt\": \"2022-11-26\",\n            \"establishment\": \"072\",\n            \"pointIssue\": \"118\",\n            \"sequence\": \"000231611\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"26/11/2022\",\n            \"accessKey\": \"2611202201179001691900120721180002316110711001610\",\n            \"totalValueWithoutTaxes\": 208.84,\n            \"tip\": 0,\n            \"totalDiscount\": 20.21,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 77.74,\n                    \"Value\": 9.33\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 131.1,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 218.17\n        },\n        {\n            \"documentId\": 15745947353,\n            \"rucIssuer\": \"1790016919001\",\n            \"commercialName\": \"CORPORACION FAVORITA C.A.\",\n            \"socialNameIssuer\": \"CORPORACION FAVORITA C.A.\",\n            \"issuedAt\": \"2022-11-26\",\n            \"establishment\": \"072\",\n            \"pointIssue\": \"118\",\n            \"sequence\": \"000231612\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"26/11/2022\",\n            \"accessKey\": \"2611202201179001691900120721180002316120711001713\",\n            \"totalValueWithoutTaxes\": 1.19,\n            \"tip\": 0,\n            \"totalDiscount\": 0.2,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 1.19,\n                    \"Value\": 0.14\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 0,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 1.33\n        },\n        {\n            \"documentId\": 15643982655,\n            \"rucIssuer\": \"1790016919001\",\n            \"commercialName\": \"CORPORACION FAVORITA C.A.\",\n            \"socialNameIssuer\": \"CORPORACION FAVORITA C.A.\",\n            \"issuedAt\": \"2022-11-13\",\n            \"establishment\": \"031\",\n            \"pointIssue\": \"111\",\n            \"sequence\": \"000293530\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"13/11/2022\",\n            \"accessKey\": \"1311202201179001691900120311110002935300119012113\",\n            \"totalValueWithoutTaxes\": 137.05,\n            \"tip\": 0,\n            \"totalDiscount\": 6.33,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 31.09,\n                    \"Value\": 3.73\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 105.96,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 140.78\n        },\n        {\n            \"documentId\": 15638271081,\n            \"rucIssuer\": \"1768152560001\",\n            \"commercialName\": \"CORPORACION NACIONAL DE TELECOMUNICACIONES CNT EP\",\n            \"socialNameIssuer\": \"CORPORACION NACIONAL DE TELECOMUNICACIONES CNT EP\",\n            \"issuedAt\": \"2022-11-10\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"777\",\n            \"sequence\": \"203006724\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"10/11/2022\",\n            \"accessKey\": \"1011202201176815256000120017772030067241011202214\",\n            \"totalValueWithoutTaxes\": 7.19,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 7.19,\n                    \"Value\": 0.86\n                }\n            ],\n            \"totalAmount\": 8.05\n        },\n        {\n            \"documentId\": 15744673773,\n            \"rucIssuer\": \"1790516008001\",\n            \"commercialName\": \"\",\n            \"socialNameIssuer\": \"Chubb Seguros Ecuador S.A.\",\n            \"issuedAt\": \"2022-11-26\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"005\",\n            \"sequence\": \"088026024\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"26/11/2022\",\n            \"accessKey\": \"2611202201179051600800120010050880260249555007813\",\n            \"totalValueWithoutTaxes\": 5.94,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 0.27,\n                    \"Value\": 0.03\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 5.67,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 5.97\n        },\n        {\n            \"documentId\": 15776499400,\n            \"rucIssuer\": \"1791251237001\",\n            \"commercialName\": \"CLARO\",\n            \"socialNameIssuer\": \"Consorcio Ecuatoriano de Telecomunicaciones S.A. CONECEL\",\n            \"issuedAt\": \"2022-11-26\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"215\",\n            \"sequence\": \"032521046\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"26/11/2022\",\n            \"accessKey\": \"2611202201179125123700120012150325210463252104619\",\n            \"totalValueWithoutTaxes\": 17.17,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 17.18,\n                    \"Value\": 2.06\n                }\n            ],\n            \"totalAmount\": 19.24\n        },\n        {\n            \"documentId\": 15666365892,\n            \"rucIssuer\": \"0990858322001\",\n            \"commercialName\": \"DIFARE S.A.\",\n            \"socialNameIssuer\": \"DISTRIBUIDORA FARMACEUTICA ECUATORIANA DIFARE S.A\",\n            \"issuedAt\": \"2022-11-16\",\n            \"establishment\": \"352\",\n            \"pointIssue\": \"023\",\n            \"sequence\": \"000000385\",\n            \"documentType\": \"Notas de Crédito\",\n            \"documentTypeId\": 4,\n            \"issuedAtFormatted\": \"16/11/2022\",\n            \"accessKey\": \"1611202204099085832200123520230000003850990858316\",\n            \"totalValueWithoutTaxes\": 22.8,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 22.8,\n                    \"Value\": 0\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 0,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 0\n        },\n        {\n            \"documentId\": 15666441331,\n            \"rucIssuer\": \"0990858322001\",\n            \"commercialName\": \"DIFARE S.A.\",\n            \"socialNameIssuer\": \"DISTRIBUIDORA FARMACEUTICA ECUATORIANA DIFARE S.A\",\n            \"issuedAt\": \"2022-11-16\",\n            \"establishment\": \"352\",\n            \"pointIssue\": \"023\",\n            \"sequence\": \"000106478\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"16/11/2022\",\n            \"accessKey\": \"1611202201099085832200123520230001064780990858318\",\n            \"totalValueWithoutTaxes\": 23.02,\n            \"tip\": 0,\n            \"totalDiscount\": 3.17,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 22.57,\n                    \"Value\": 0\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 0.45,\n                    \"Value\": 0.05\n                }\n            ],\n            \"totalAmount\": 23.07\n        },\n        {\n            \"documentId\": 15658859482,\n            \"rucIssuer\": \"0990858322001\",\n            \"commercialName\": \"DIFARE S.A.\",\n            \"socialNameIssuer\": \"DISTRIBUIDORA FARMACEUTICA ECUATORIANA DIFARE S.A\",\n            \"issuedAt\": \"2022-11-15\",\n            \"establishment\": \"352\",\n            \"pointIssue\": \"023\",\n            \"sequence\": \"000106426\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"15/11/2022\",\n            \"accessKey\": \"1511202201099085832200123520230001064260990858311\",\n            \"totalValueWithoutTaxes\": 9.08,\n            \"tip\": 0,\n            \"totalDiscount\": 1.02,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 9.08,\n                    \"Value\": 0\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 0,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 9.08\n        },\n        {\n            \"documentId\": 15658848185,\n            \"rucIssuer\": \"0990858322001\",\n            \"commercialName\": \"DIFARE S.A.\",\n            \"socialNameIssuer\": \"DISTRIBUIDORA FARMACEUTICA ECUATORIANA DIFARE S.A\",\n            \"issuedAt\": \"2022-11-15\",\n            \"establishment\": \"352\",\n            \"pointIssue\": \"023\",\n            \"sequence\": \"000106425\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"15/11/2022\",\n            \"accessKey\": \"1511202201099085832200123520230001064250990858314\",\n            \"totalValueWithoutTaxes\": 22.8,\n            \"tip\": 0,\n            \"totalDiscount\": 1.21,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 22.8,\n                    \"Value\": 0\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 0,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 22.8\n        },\n        {\n            \"documentId\": 15628376000,\n            \"rucIssuer\": \"1790710319001\",\n            \"commercialName\": \"FYBECA JARDIN\",\n            \"socialNameIssuer\": \"FARMACIAS Y COMISARIATOS DE MEDICINAS S.A. FARCOMED\",\n            \"issuedAt\": \"2022-11-11\",\n            \"establishment\": \"003\",\n            \"pointIssue\": \"014\",\n            \"sequence\": \"001802584\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"11/11/2022\",\n            \"accessKey\": \"1111202201179071031900120030140018025845658032312\",\n            \"totalValueWithoutTaxes\": 10.14,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 10.14,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 10.14\n        },\n        {\n            \"documentId\": 15766638004,\n            \"rucIssuer\": \"1791984722001\",\n            \"commercialName\": \"FARMAENLACE CIA. LTDA|MEDI ELOY ALFARO\",\n            \"socialNameIssuer\": \"FARMAENLACE CIA. LTDA\",\n            \"issuedAt\": \"2022-11-29\",\n            \"establishment\": \"013\",\n            \"pointIssue\": \"006\",\n            \"sequence\": \"000629525\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"29/11/2022\",\n            \"accessKey\": \"2911202201179198472200120130060006295253325224318\",\n            \"totalValueWithoutTaxes\": 5.4,\n            \"tip\": 0,\n            \"totalDiscount\": 1.85,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 4.49,\n                    \"Value\": 0.54\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 0.91,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 5.94\n        },\n        {\n            \"documentId\": 15701693479,\n            \"rucIssuer\": \"1791984722001\",\n            \"commercialName\": \"FARMAENLACE CIA. LTDA|MEDI AMAZONAS\",\n            \"socialNameIssuer\": \"FARMAENLACE CIA. LTDA\",\n            \"issuedAt\": \"2022-11-20\",\n            \"establishment\": \"116\",\n            \"pointIssue\": \"001\",\n            \"sequence\": \"000628694\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"20/11/2022\",\n            \"accessKey\": \"2011202201179198472200121160010006286943159693819\",\n            \"totalValueWithoutTaxes\": 2.01,\n            \"tip\": 0,\n            \"totalDiscount\": 0.4,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 2.01,\n                    \"Value\": 0.24\n                }\n            ],\n            \"totalAmount\": 2.25\n        },\n        {\n            \"documentId\": 15723255693,\n            \"rucIssuer\": \"1790286452001\",\n            \"commercialName\": \"CLINICA DE LA MUJER\",\n            \"socialNameIssuer\": \"GINECOLOGICA MEDICA S.A. GINECOMED\",\n            \"issuedAt\": \"2022-11-23\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"001\",\n            \"sequence\": \"000175737\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"23/11/2022\",\n            \"accessKey\": \"2311202201179028645200120010010001757371234567812\",\n            \"totalValueWithoutTaxes\": 35,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 35,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 35\n        },\n        {\n            \"documentId\": 15650114783,\n            \"rucIssuer\": \"1790286452001\",\n            \"commercialName\": \"CLINICA DE LA MUJER\",\n            \"socialNameIssuer\": \"GINECOLOGICA MEDICA S.A. GINECOMED\",\n            \"issuedAt\": \"2022-11-14\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"001\",\n            \"sequence\": \"000175372\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"14/11/2022\",\n            \"accessKey\": \"1411202201179028645200120010010001753721234567811\",\n            \"totalValueWithoutTaxes\": 30,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 30,\n                    \"Value\": 0\n                }\n            ],\n            \"totalAmount\": 30\n        },\n        {\n            \"documentId\": 15584028979,\n            \"rucIssuer\": \"1791952359001\",\n            \"commercialName\": \"LA TABLITA DEL TARTARO\",\n            \"socialNameIssuer\": \"LA TABLITA GROUP CIA.LTDA\",\n            \"issuedAt\": \"2022-11-05\",\n            \"establishment\": \"021\",\n            \"pointIssue\": \"020\",\n            \"sequence\": \"000221095\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"05/11/2022\",\n            \"accessKey\": \"0511202201179195235900120210200002210952021756311\",\n            \"totalValueWithoutTaxes\": 14.27,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 0,\n                    \"Value\": 0\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 14.27,\n                    \"Value\": 1.71\n                }\n            ],\n            \"totalAmount\": 15.98\n        },\n        {\n            \"documentId\": 15744096114,\n            \"rucIssuer\": \"1713721940001\",\n            \"commercialName\": \"Mohamed Ahmed Masoud Rundo\",\n            \"socialNameIssuer\": \"MASOUD RUNDO MOHAMED AHMED\",\n            \"issuedAt\": \"2022-11-25\",\n            \"establishment\": \"005\",\n            \"pointIssue\": \"003\",\n            \"sequence\": \"000145930\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"25/11/2022\",\n            \"accessKey\": \"2511202201171372194000120050030001459301234567812\",\n            \"totalValueWithoutTaxes\": 16.71,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 16.71,\n                    \"Value\": 2.01\n                }\n            ],\n            \"totalAmount\": 18.72\n        },\n        {\n            \"documentId\": 15628596072,\n            \"rucIssuer\": \"1713721940001\",\n            \"commercialName\": \"Mohamed Ahmed Masoud Rundo\",\n            \"socialNameIssuer\": \"MASOUD RUNDO MOHAMED AHMED\",\n            \"issuedAt\": \"2022-11-11\",\n            \"establishment\": \"005\",\n            \"pointIssue\": \"003\",\n            \"sequence\": \"000144862\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"11/11/2022\",\n            \"accessKey\": \"1111202201171372194000120050030001448621234567813\",\n            \"totalValueWithoutTaxes\": 19.01,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 19.01,\n                    \"Value\": 2.28\n                }\n            ],\n            \"totalAmount\": 21.29\n        },\n        {\n            \"documentId\": 15545764998,\n            \"rucIssuer\": \"1791287541001\",\n            \"commercialName\": \"MEGADATOS SA\",\n            \"socialNameIssuer\": \"MEGADATOS SA\",\n            \"issuedAt\": \"2022-11-01\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"011\",\n            \"sequence\": \"031585394\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"01/11/2022\",\n            \"accessKey\": \"0111202201179128754100120010110315853944594538015\",\n            \"totalValueWithoutTaxes\": 47.5,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 47.5,\n                    \"Value\": 5.7\n                }\n            ],\n            \"totalAmount\": 53.2\n        },\n        {\n            \"documentId\": 15545765350,\n            \"rucIssuer\": \"1791287541001\",\n            \"commercialName\": \"MEGADATOS SA\",\n            \"socialNameIssuer\": \"MEGADATOS SA\",\n            \"issuedAt\": \"2022-11-01\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"011\",\n            \"sequence\": \"031585395\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"01/11/2022\",\n            \"accessKey\": \"0111202201179128754100120010110315853954718714912\",\n            \"totalValueWithoutTaxes\": 29.5,\n            \"tip\": 0,\n            \"totalDiscount\": 0,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 29.5,\n                    \"Value\": 3.54\n                }\n            ],\n            \"totalAmount\": 33.04\n        },\n        {\n            \"documentId\": 15567907540,\n            \"rucIssuer\": \"1792694337001\",\n            \"commercialName\": \"Tipti\",\n            \"socialNameIssuer\": \"Tipti\",\n            \"issuedAt\": \"2022-11-03\",\n            \"establishment\": \"001\",\n            \"pointIssue\": \"100\",\n            \"sequence\": \"001261197\",\n            \"documentType\": \"Factura\",\n            \"documentTypeId\": 1,\n            \"issuedAtFormatted\": \"03/11/2022\",\n            \"accessKey\": \"0311202201179269433700120011000012611970000000111\",\n            \"totalValueWithoutTaxes\": 121.23,\n            \"tip\": 0,\n            \"totalDiscount\": 5.19,\n            \"taxes\": [\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 0,\n                    \"TaxableBase\": 87.18,\n                    \"Value\": 0\n                },\n                {\n                    \"Name\": \"IVA\",\n                    \"Percentage\": 12,\n                    \"TaxableBase\": 34.04,\n                    \"Value\": 4.09\n                }\n            ],\n            \"totalAmount\": 125.31\n        }\n    ]\n}"},{"id":"47f2a536-fb3f-48da-804c-4a6dab8e994a","name":"Month Cannot be Blank","originalRequest":{"method":"GET","header":[{"key":"X-SRI-Credentials","value":"{{SRI_CLIENT_SECRET}}","type":"default"}],"url":{"raw":"https://api.invoicy.app/v1/documents?year=2022&month=00","protocol":"https","host":["api","invoicy","app"],"path":["v1","documents"],"query":[{"key":"year","value":"2022"},{"key":"month","value":"00"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 May 2023 02:43:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7c888363787b81e1-IAD"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"x-ratelimit-limit","value":"120"},{"key":"x-ratelimit-remaining","value":"119"},{"key":"x-ratelimit-reset","value":"60"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"message\": \"Month: cannot be blank.\"\n}"}],"_postman_id":"639530d9-8d7c-4a77-a995-3543559b1be4"},{"name":"Sales","id":"8cc1e70d-7a8b-4e27-9f4e-9ce2e078c3ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[{"key":"X-SRI-Credentials","value":"{{SRI_CLIENT_SECRET}}","type":"default","description":"<p>SRI client username and password must be separated by \":\" example (user:pass) and then be base64 encoded</p>\n"}],"url":"https://api.invoicy.app/v1/documents/sales?year={{YEAR}}&month={{MONTH}}&day={{DAY}}","urlObject":{"protocol":"https","path":["v1","documents","sales"],"host":["api","invoicy","app"],"query":[{"description":{"content":"<p>2022</p>\n","type":"text/plain"},"key":"year","value":"{{YEAR}}"},{"description":{"content":"<p>12</p>\n","type":"text/plain"},"key":"month","value":"{{MONTH}}"},{"description":{"content":"<p>15</p>\n","type":"text/plain"},"key":"day","value":"{{DAY}}"}],"variable":[]}},"response":[{"id":"08f036e8-b7e2-4d05-ba3a-5e49fcba4935","name":"No get Response","originalRequest":{"method":"GET","header":[{"key":"X-SRI-Credentials","value":"{{SRI_CLIENT_SECRET}}","type":"default"},{"key":"X-Emission-Type","value":"SALES","type":"text","disabled":true}],"url":{"raw":"https://api.invoicy.app/v1/documents/sales?year={{YEAR}}&month={{MONTH}}&day=15","protocol":"https","host":["api","invoicy","app"],"path":["v1","documents","sales"],"query":[{"key":"documentType","value":"9","disabled":true},{"key":"year","value":"{{YEAR}}"},{"key":"month","value":"{{MONTH}}"},{"key":"day","value":"15"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 May 2023 02:15:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7c885a0ba99e3b08-IAD"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"x-ratelimit-limit","value":"120"},{"key":"x-ratelimit-remaining","value":"117"},{"key":"x-ratelimit-reset","value":"56"},{"key":"x-render-origin-server","value":"Render"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"message\": \"Error: 500 | We could not get the receipts\"\n}"}],"_postman_id":"8cc1e70d-7a8b-4e27-9f4e-9ce2e078c3ce"},{"name":"RIDE","id":"711f676d-ae6d-4f23-a302-3cd909021beb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[{"key":"X-SRI-Credentials","value":"{{SRI_CLIENT_SECRET}}","type":"text"}],"url":"https://api.invoicy.app/v1/documents/{{AUTHORIZATION_NUMBER}}","urlObject":{"protocol":"https","path":["v1","documents","{{AUTHORIZATION_NUMBER}}"],"host":["api","invoicy","app"],"query":[],"variable":[]}},"response":[{"id":"738cb08d-e962-4ddf-8874-296fb5689a3f","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"X-SRI-Credentials","value":"{{SRI_CLIENT_SECRET}}","type":"text"}],"url":"https://api.invoicy.app/v1/documents/{{AUTHORIZATION_NUMBER}}"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Date","value":"Wed, 17 May 2023 03:43:04 GMT"},{"key":"Content-Type","value":"text/xml;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7c88da9d0fef1ff1-IAD"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"x-ratelimit-limit","value":"120"},{"key":"x-ratelimit-remaining","value":"116"},{"key":"x-ratelimit-reset","value":"18"},{"key":"x-render-origin-server","value":"Render"},{"key":"Set-Cookie","value":"__cf_bm=UZ1q0KKrdeTa4uxSS3.8poJZwXcxy7Y32xCOjCjcSc8-1684294984-0-AXdtKhnZtyqJw91/rfOD7yNC7dtoTs2AqD1t0AY/AkPhT9Mg4cGi/5Zecw3oDdst649WvLGIfR0Mz9bVyK86AdM=; path=/; expires=Wed, 17-May-23 04:13:04 GMT; domain=.api.invoicy.app; HttpOnly; Secure; SameSite=None"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"<Authorization>\n    <estado>AUTORIZADO</estado>\n    <numeroAutorizacion>0205202301171304499600120010100000503391234567816</numeroAutorizacion>\n    <fechaAutorizacion>2023-05-03T20:06:35-05:00</fechaAutorizacion>\n    <ambiente>PRODUCCIÓN</ambiente>\n    <comprobante>\n        <![CDATA[\n        <?xml version=\"1.0\" encoding=\"UTF-8\"?><factura id=\"comprobante\" version=\"1.1.0\"><infoTributaria><ambiente>2</ambiente><tipoEmision>1</tipoEmision><razonSocial>HIDALGO IZQUIERDO LORENA DEL CARMEN</razonSocial><nombreComercial>FERRETERIA LA GRANJA</nombreComercial><ruc>1713044996001</ruc><claveAcceso>0205202301171304499600120010100000503391234567816</claveAcceso><codDoc>01</codDoc><estab>001</estab><ptoEmi>010</ptoEmi><secuencial>000050339</secuencial><dirMatriz>AV INTEROCEANICA OE3-67 Y PASAJE QUITO        </dirMatriz><agenteRetencion>1</agenteRetencion></infoTributaria><infoFactura><fechaEmision>02/05/2023</fechaEmision><dirEstablecimiento>AV INTEROCEANICA OE3-67 Y PASAJE QUITO</dirEstablecimiento><obligadoContabilidad>SI</obligadoContabilidad><tipoIdentificacionComprador>04</tipoIdentificacionComprador><razonSocialComprador>DEKO ARQ</razonSocialComprador><identificacionComprador>1792757126001</identificacionComprador><direccionComprador>MONTESERRIN</direccionComprador><totalSinImpuestos>17.09</totalSinImpuestos><totalDescuento>0.00</totalDescuento><totalConImpuestos><totalImpuesto><codigo>2</codigo><codigoPorcentaje>2</codigoPorcentaje><baseImponible>17.09</baseImponible><tarifa>12.00</tarifa><valor>2.05</valor></totalImpuesto>\r\n    </totalConImpuestos><propina>0.00</propina><importeTotal>19.14</importeTotal><moneda>DOLAR</moneda><pagos><pago><formaPago>19</formaPago><total>19.14</total></pago>\r\n    </pagos>\r\n  </infoFactura><detalles><detalle><codigoPrincipal>7861149602080</codigoPrincipal><descripcion>PERMALATEX BLANCO 2100 LT</descripcion><cantidad>1.00</cantidad><precioUnitario>6.5000</precioUnitario><descuento>0.00</descuento><precioTotalSinImpuesto>6.50</precioTotalSinImpuesto><impuestos><impuesto><codigo>2</codigo><codigoPorcentaje>2</codigoPorcentaje><tarifa>12.00</tarifa><baseImponible>6.50</baseImponible><valor>0.78</valor></impuesto>\r\n      </impuestos>\r\n    </detalle><detalle><codigoPrincipal>7861180301171</codigoPrincipal><descripcion>SPRAY EVANS NEGRO MATE</descripcion><cantidad>1.00</cantidad><precioUnitario>1.5498</precioUnitario><descuento>0.00</descuento><precioTotalSinImpuesto>1.55</precioTotalSinImpuesto><impuestos><impuesto><codigo>2</codigo><codigoPorcentaje>2</codigoPorcentaje><tarifa>12.00</tarifa><baseImponible>1.55</baseImponible><valor>0.19</valor></impuesto>\r\n      </impuestos>\r\n    </detalle><detalle><codigoPrincipal>7861159300099</codigoPrincipal><descripcion>CHOVA ALUMBAND TAPGOT 10CMX5M</descripcion><cantidad>1.00</cantidad><precioUnitario>8.2696</precioUnitario><descuento>0.00</descuento><precioTotalSinImpuesto>8.27</precioTotalSinImpuesto><impuestos><impuesto><codigo>2</codigo><codigoPorcentaje>2</codigoPorcentaje><tarifa>12.00</tarifa><baseImponible>8.27</baseImponible><valor>0.99</valor></impuesto>\r\n      </impuestos>\r\n    </detalle><detalle><codigoPrincipal>7861208428828</codigoPrincipal><descripcion>BROCHA COMANDO 1</descripcion><cantidad>2.00</cantidad><precioUnitario>0.3835</precioUnitario><descuento>0.00</descuento><precioTotalSinImpuesto>0.77</precioTotalSinImpuesto><impuestos><impuesto><codigo>2</codigo><codigoPorcentaje>2</codigoPorcentaje><tarifa>12.00</tarifa><baseImponible>0.77</baseImponible><valor>0.09</valor></impuesto>\r\n      </impuestos>\r\n    </detalle>\r\n  </detalles><infoAdicional><campoAdicional nombre=\"AGENTE DE RETENCIÓN\">Resolución No. 1</campoAdicional></infoAdicional><ds:Signature xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\" xmlns:etsi=\"http://uri.etsi.org/01903/v1.3.2#\" Id=\"Signature866919\"><ds:SignedInfo Id=\"Signature-SignedInfo559942\"><ds:CanonicalizationMethod Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"/><ds:SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/><ds:Reference Id=\"SignedPropertiesID671353\" Type=\"http://uri.etsi.org/01903#SignedProperties\" URI=\"#Signature866919-SignedProperties245922\"><ds:DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><ds:DigestValue>F0D9q+Ad6XW5I/4CnGlhc3OxwaE=</ds:DigestValue></ds:Reference><ds:Reference URI=\"#Certificate1978607\"><ds:DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><ds:DigestValue>nVcugAe3JOUUxhuB0ZTr3bfjpt4=</ds:DigestValue></ds:Reference><ds:Reference Id=\"Reference-ID-663917\" URI=\"#comprobante\"><ds:Transforms><ds:Transform Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"/>\r\n</ds:Transforms><ds:DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><ds:DigestValue>LHSrirFFUJeES9qv7qWNJuMs0RI=</ds:DigestValue></ds:Reference>\r\n</ds:SignedInfo><ds:SignatureValue Id=\"SignatureValue645183\">\r\nHhJ2MZHnQQQBoHuABIQ/yx+0L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bdQCSgfnMn+SLkSsJUPJY1r9fnxaOlQ2iHCA7Cr134Xf3O307cc1lVjmc+16RAcs\r\nlm7niAMC97tIZj88lJphmMYvAEyS4QOFjesbg3tyhdXJ3B2yapSphkYLpOQusWroF5I2jwSzIPa7\r\nAT8r25Usb0/QmjNb2pfNC8idtGdeAqL3YDd33DtMfVks5hXyoY1bimlHRgwzkiWfPVy7CtLm1mbX\r\nuaazrtSVSpyR2BNYcrGZuEzee/6EJFtpVv5QRHl29Qwzy5pmBrVScz3StH/qDLoJVZElm8oZw+Lv\r\nDq3K8NAfJwK1X0vH4A0WknMcgAi9w+oZW2rT3mRMh5Ffe1edpsxT9oyVGxbGGnFFrQ==\r\n</ds:X509Certificate></ds:X509Data><ds:KeyValue><ds:RSAKeyValue><ds:Modulus>\r\n5LGHfnNvuvZGgwHmGmiXsjeqKct9E01tYqat2C8XePiG8+ssF4qYAuQPMj17WSltljYQ0kXn4IOC\r\nzOFQv5OC74VXXAHo8d5aC2UDb2uUBFkMM/0uJuWoOu2d5XxXgfKNTyeF0yUbMU5Oa0HGn6TcOfzG\r\n+qOWFA+irqWLQawL6IXvTos71SE/EFv6QIcac1W59rawUi7Rylsgno1bNN3u833FjAqHPMf3CYXQ\r\nO0CBC+bJCEdkNN3uZj32oHl43JOsjBmjIMLnqaT/3/lYmbPKZu5UEtGD9xVog5ekvhZx6uIrDqH8\r\nnchjBmL2NUjq0z4ebhLc+dT7Ev5OhDwo5lm7Mw==\r\n</ds:Modulus><ds:Exponent>AQAB</ds:Exponent></ds:RSAKeyValue>\r\n</ds:KeyValue>\r\n</ds:KeyInfo><ds:Object Id=\"Signature866919-Object190561\"><etsi:QualifyingProperties Target=\"#Signature866919\"><etsi:SignedProperties Id=\"Signature866919-SignedProperties245922\"><etsi:SignedSignatureProperties><etsi:SigningTime>2023-05-03T20:06:28-05:00</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><ds:DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><ds:DigestValue>RRDPLX6yaYtJcW6yCXnrZODV/Rk=</ds:DigestValue></etsi:CertDigest><etsi:IssuerSerial><ds:X509IssuerName>CN=AUTORIDAD DE CERTIFICACION SUBCA-1 SECURITY DATA,OU=ENTIDAD DE CERTIFICACION DE INFORMACION,O=SECURITY DATA S.A. 1,C=EC</ds:X509IssuerName><ds:X509SerialNumber>476685485</ds:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate></etsi:SignedSignatureProperties><etsi:SignedDataObjectProperties><etsi:DataObjectFormat ObjectReference=\"#Reference-ID-663917\"><etsi:Description>contenido comprobante</etsi:Description><etsi:MimeType>text/xml</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></ds:Object></ds:Signature></factura>]]>\n</comprobante>\n<mensajes></mensajes>\n</Authorization>"}],"_postman_id":"711f676d-ae6d-4f23-a302-3cd909021beb"}],"id":"708c434d-8f6b-4aed-a424-b201e0fd0db1","_postman_id":"708c434d-8f6b-4aed-a424-b201e0fd0db1","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"79c3cb7a-4ffb-4721-a94a-cdf7b64dd766","id":"79c3cb7a-4ffb-4721-a94a-cdf7b64dd766","name":"API Documentation","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://farming-simulator.pstmn.io"}]}