{"info":{"_postman_id":"ec1124d2-96a1-4834-be94-b36ccfc88411","name":"API Gigstack Pro","description":"<html><head></head><body><p><strong>Automatiza</strong> las partes más importantes de tu negocio con la API de gigstack pro, para generar tus API Keys, puedes ir a los ajustes de tu cuenta en <a href=\"https://app.gigstack.pro/settings?subtab=api\">https://app.gigstack.pro/settings?subtab=api</a> y hacer click en \"Generar nuevas llaves\" para crear una API Key en test y una API Key en live mode.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"21022234","collectionId":"ec1124d2-96a1-4834-be94-b36ccfc88411","publishedId":"UyxnFQzk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"8666FF"},"publishDate":"2022-05-19T23:12:59.000Z"},"item":[{"name":"Español (es)","item":[{"name":"Pagos","item":[{"name":"/v1/payments/create","id":"b4aa0203-5173-40cf-86a2-9dec635e024d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\":{\n        \"name\":\"Nombre del cliente\",\n        \"email\":\"ejemplo@gigstack.io\"\n    },\n\t\"items\": [\n        {\n            \"name\":\"Nombre del producto\",\n            \"description\":\"Descripción del producto\",\n            \"quantity\":2,\n            \"total\":200,\n            \"taxes\":[\n                {\"rate\":0.16, \"factor\":\"Tasa\", \"withholding\":false,\"type\":\"IVA\", \"inclusive\": true}\n            ]\n        }\n    ],\n\t\"currency\": \"MXN\",\n    \"methodsTypesOptions\":[\"bank\"],\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/create","description":"<p><strong>Creación de Solicitud de Pago</strong></p>\n<p>Este potente endpoint te permite generar fácilmente solicitudes de pago, las cuales pueden ser enviadas opcionalmente a tus clientes para que realicen el pago utilizando los métodos de pago previamente registrados en sus cuentas.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Campo</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>methodsTypesOptions</td>\n<td>Métodos de pago que se mostrarán en el proceso de pago. \"bank\", \"card\", \"oxxo\" (mxn &lt;= 8000)</td>\n<td>Array (requerido)</td>\n</tr>\n<tr>\n<td>automateInvoiceOnComplete</td>\n<td>Crear automáticamente una factura cuando el pago esté completo, si se dispone de la información necesaria en ajustes y clientes</td>\n<td>Boolean (opcional)</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Moneda en la que se realizará el cargo (ISO)</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>addTransactionFee</td>\n<td>Incluir el costo de la pasarela de pago más costosa (Stripe) en tus servicios</td>\n<td>Boolean (opcional)</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID del cliente almacenado en gigstack, autocompletará el valor del cliente (opcional)</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Objeto con información del cliente (opcional)</td>\n<td>Objeto (opcional)</td>\n</tr>\n<tr>\n<td>client.name</td>\n<td>Nombre del cliente</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.email</td>\n<td>Correo electrónico del cliente</td>\n<td>String (email)</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>Identificador tributario del cliente</td>\n<td>String</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>Información adicional almacenada en el valor 'metadata' del objeto de pago para futuras referencias</td>\n<td>Object (opcional)</td>\n</tr>\n<tr>\n<td>metadata.clabe</td>\n<td>Clabe interbancaria para recibir el pago en una cuenta específica (opcional)</td>\n<td>String (no requerido)</td>\n</tr>\n<tr>\n<td>items</td>\n<td>Array de objetos a cobrar al cliente (requerido)</td>\n<td>Array (requerido)</td>\n</tr>\n<tr>\n<td>items[0].id</td>\n<td>ID del servicio (opcional). Si se proporciona, no es necesario agregar otros campos del servicio</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>items[0].name</td>\n<td>Nombre del ítem a cobrar</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[0].description</td>\n<td>Descripción del ítem a cobrar (opcional)</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>items[0].quantity</td>\n<td>Cantidad de ítems del mismo tipo (opcional, valor predeterminado 1)</td>\n<td>Integer (opcional)</td>\n</tr>\n<tr>\n<td>items[0].total</td>\n<td>Precio del ítem</td>\n<td>Double (requerido)</td>\n</tr>\n<tr>\n<td>items[0].taxes</td>\n<td>Agregar impuestos a los productos (opcional)</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].rate</td>\n<td>Tasa del impuesto (ejemplo: 0.16)</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].factor</td>\n<td>Tipo de factor del impuesto (ejemplo: Tasa)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].withholding</td>\n<td>Retener el impuesto o trasladarlo (opcional)</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].type</td>\n<td>Tipo de impuesto, ej: IVA (opcional)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].inclusive</td>\n<td>Indicar si el impuesto está incluido en el precio del ítem (opcional)</td>\n<td>Boolean (opcional)</td>\n</tr>\n<tr>\n<td>useClientBankAccont</td>\n<td>Clabe interbancaria para recibir el pago en una cuenta específica. Si se envía como true, se utilizará la que está definida dentro del cliente; de lo contrario, se usará la predeterminada en la cuenta. Si se proporciona dentro del objeto de pago, se dará prioridad a la clave del pago sobre la del cliente.</td>\n<td>Boolean (no requerido)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","payments","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"e1173b5f-2bc2-40c8-a995-42b40a986bc1","name":"Status 200 - Pago solicitado correctamente","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\":{\n        \"name\":\"Nombre del cliente\",\n        \"email\":\"ejemplo@gigstack.io\"\n    },\n\t\"items\": [\n        {\n            \"name\":\"Nombre del producto\",\n            \"description\":\"Descripción del producto\",\n            \"quantity\":2,\n            \"total\":200,\n            \"taxes\":[\n                {\"rate\":0.16, \"factor\":\"Tasa\", \"withholding\":false,\"type\":\"IVA\"}\n            ]\n        }\n    ],\n\t\"currency\": \"MXN\",\n    \"custom_method_types\":[\"bank\"],\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createPaymentLink"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"4e-RjNeHUpIit7t1+cboqxFu1S+6Dg\""},{"key":"function-execution-id","value":"mbuitwp5p3dv"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"b93d0b5ddc85acf4d2ac8b19eb96b1b5;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Thu, 09 Jun 2022 21:39:22 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"78"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Link de pago creado\",\n    \"url\": \"https://gigstack.xyz/mhvfbyFv96wnH0v\"\n}"}],"_postman_id":"b4aa0203-5173-40cf-86a2-9dec635e024d"},{"name":"/v1/payments/view","id":"0d9fd3dc-746f-4228-a86c-885e297478ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/view?id=PAYMENT_LINK_ID","description":"<p><strong>Visualización de Detalles de Pago</strong></p>\n<p>Este endpoint te permite mostrar en tu interfaz de usuario (UI) la información más reciente sobre tus enlaces de pago. Proporciona detalles esenciales para mantener un seguimiento preciso de las transacciones.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Identificador del enlace de pago a visualizar</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Ejemplo de Uso:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">GET https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/view?id=PAYMENT_LINK_ID\n\n</code></pre>\n<p>Esta solicitud devolverá la información actualizada del enlace de pago específico identificado por el parámetro <code>id</code>. Utiliza estos detalles para mejorar la experiencia del usuario al ofrecer información en tiempo real sobre el estado de los pagos.</p>\n<p>Dentro de la respuesta encontraremos \"amount\" el cual representa el valor en centavos, por ejemplo si cobramos $100 mxn veremos 10000.</p>\n","urlObject":{"protocol":"https","path":["v1","payments","view"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}],"variable":[]}},"response":[{"id":"ad0261b0-e2b5-4d80-9991-934f81c91d4a","name":"Falta autorización","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID\", error=\"invalid_token\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b91b2e8360eb6cc5c438272a9a20b891;o=1"},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:55 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections\",\n    \"code\": 401\n}"},{"id":"3558aa94-0a19-4321-906a-8ca146b6fe0f","name":"Status 200 - Detalles de la transacción","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"833-Asd6FcrFuHHLfNEnsgo396WlFoM\""},{"key":"function-execution-id","value":"uv6ynkezs45z"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"62fc207140bea59ea357a2beb3edef01;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2099"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"BntbVmVx7Fy1Ran\",\n    \"receipt_email\": \"ejemplo@gigstack.io\",\n    \"payment_intent\": null,\n    \"charges\": null,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXF1ZXN0ZXIiOiJoMW80UlM5ZHoxY1VlVUxZRlc2bVFXMFlmR1gyIiwicGF5bWVudCI6IkJudGJWbVZ4N0Z5MVJhbiIsImlhdCI6MTY1Njk2MzM2Mn0.Bti_cGdFljaRPd-aCuctp9S8y-oopElMGsb73wfmd1I\",\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"total\": 500,\n            \"taxes\": [\n                {\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\",\n                    \"withholding\": false\n                }\n            ],\n            \"description\": \"Descripción del producto\",\n            \"name\": \"Nombre del producto\"\n        }\n    ],\n    \"description\": \"\",\n    \"statement_descriptor\": \"\",\n    \"amount_capturable\": 0,\n    \"created\": 1656963362148,\n    \"fid\": \"BntbVmVx7Fy1Ran\",\n    \"invoices\": null,\n    \"proposals\": null,\n    \"review\": null,\n    \"status\": \"pending\",\n    \"discount\": 0,\n    \"capture_method\": \"automatic\",\n    \"shipping\": null,\n    \"timestamp\": 1656963362149,\n    \"customer\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"client\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"shortURL\": \"https://gigstack.xyz/BntbVmVx7Fy1Ran\",\n    \"payment_method_types\": [],\n    \"canceled_at\": null,\n    \"custom_method_types\": [\n        {\n            \"id\": \"bank\",\n            \"name\": \"Transferencia bancaria\",\n            \"manualConfirmation\": true,\n            \"details\": \"Pago con transferencia desde tu cuenta bancaria\",\n            \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/SPEI.svg\"\n        }\n    ],\n    \"lastViewed\": 1656964607652,\n    \"amount_received\": 0,\n    \"viewed\": 2,\n    \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n    \"automatic_payment_methods\": null,\n    \"clientID\": null,\n    \"next_action\": null,\n    \"currency\": \"MXN\",\n    \"application_fee_amount\": null,\n    \"livemode\": false,\n    \"metadata\": {\n        \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n        \"items\": 1,\n        \"externalID\": \"\",\n        \"internalID\": \"BntbVmVx7Fy1Ran\"\n    },\n    \"source\": \"API\",\n    \"on_behalf_of\": null,\n    \"internalStatus\": \"viewed\",\n    \"last_payment_error\": null,\n    \"application\": null,\n    \"v\": 2,\n    \"hasStripe\": false,\n    \"cancellation_reason\": null,\n    \"isManual\": false,\n    \"object\": \"manual_payment\",\n    \"amount\": 116000,\n    \"transfer_group\": null,\n    \"payment_method\": null,\n    \"confirmation_method\": \"\",\n    \"total\": 1160,\n    \"taxes\": 160,\n    \"retentions\": 0,\n    \"feeAdded\": 0,\n    \"canSend\": false,\n    \"feeAddedString\": \"$0.00\",\n    \"totalWithoutFeeString\": \"$1,160.00\",\n    \"totalWithoutFee\": 1160,\n    \"totalString\": \"$1,160.00\",\n    \"subtotalString\": \"$1,000.00\",\n    \"taxesString\": \"$160.00\",\n    \"retentionsString\": \"$0.00\"\n}"},{"id":"8f9c63cf-62d7-434b-ab32-530b8f1a2a7b","name":"/v1/payments/view","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/view?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","payments","view"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"9ff-ajkNZuLxAnQG2iVXCuftKP7ResM\""},{"key":"function-execution-id","value":"hyg0eb50ibhu"},{"key":"x-cloud-trace-context","value":"012b4cd4b741c0f33c20f3f895ec115b;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Fri, 05 Apr 2024 23:51:08 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2559"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"fid\": \"payment_3G05VpDT0g\",\n    \"automations\": [\n        {\n            \"ref\": \"payments\",\n            \"action\": \"create\",\n            \"from\": \"payments\",\n            \"type\": \"invoice\"\n        }\n    ],\n    \"clientID\": \"client_vEYdSuFHjA\",\n    \"livemode\": false,\n    \"payment_form\": \"01\",\n    \"payments\": null,\n    \"discount\": 0,\n    \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n    \"custom_method_types\": [],\n    \"relatedTo\": \"\",\n    \"invoices\": null,\n    \"client\": {\n        \"zip\": null,\n        \"country\": \"MEX\",\n        \"metadata\": {},\n        \"address\": {\n            \"zip\": null,\n            \"country\": \"MEX\",\n            \"street\": null\n        },\n        \"livemode\": false,\n        \"use\": null,\n        \"team\": \"team_c9NMyLkJzi4ITTp\",\n        \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n        \"tax_system\": null,\n        \"rfc\": null,\n        \"name\": \"Test incompleted\",\n        \"company\": null,\n        \"from\": \"manual\",\n        \"legal_name\": null,\n        \"id\": \"client_vEYdSuFHjA\",\n        \"email\": null,\n        \"timestamp\": 1710877189832\n    },\n    \"currency\": \"MXN\",\n    \"from\": \"manual\",\n    \"id\": \"payment_3G05VpDT0g\",\n    \"payment_method\": \"PUE\",\n    \"succeededTimestamp\": 1710877284617,\n    \"timestamp\": 1710877278021,\n    \"owner\": \"ZHNkAErrYzSgPsRhossewtyWHLE3\",\n    \"paidId\": \"01\",\n    \"amount\": 1300,\n    \"clientId\": \"client_vEYdSuFHjA\",\n    \"created\": 1710877284617,\n    \"internalItems\": [\n        {\n            \"unit_name\": null,\n            \"total\": 13,\n            \"quantity\": 1,\n            \"product_key\": null,\n            \"unit_key\": null,\n            \"name\": \"Test\",\n            \"taxes\": [],\n            \"id\": \"service_ThvvJK0rCv\",\n            \"paymentType\": {\n                \"label\": \"Precio fijo\",\n                \"value\": \"fixed\"\n            },\n            \"timestamp\": 1710524128015\n        }\n    ],\n    \"team\": \"team_c9NMyLkJzi4ITTp\",\n    \"processor\": \"manual\",\n    \"internalStatus\": \"succeeded\",\n    \"binnacle\": \"Payment created manually by Jahziel Cabrera Cabrera\",\n    \"v\": 2,\n    \"exchange\": 1,\n    \"items\": [\n        {\n            \"unit_name\": null,\n            \"total\": 13,\n            \"quantity\": 1,\n            \"product_key\": null,\n            \"unit_key\": null,\n            \"name\": \"Test\",\n            \"taxes\": [],\n            \"id\": \"service_ThvvJK0rCv\",\n            \"paymentType\": {\n                \"label\": \"Precio fijo\",\n                \"value\": \"fixed\"\n            },\n            \"timestamp\": 1710524128015\n        }\n    ],\n    \"createdAutomations\": [\n        \"aut_2RLhYHprmMAlaL4w\"\n    ],\n    \"translatedAmountToMXN\": 1300,\n    \"totalItemsAmounts\": {\n        \"taxesIncluded\": 0,\n        \"retentionsString\": \"$0.00\",\n        \"feeAddedString\": \"$0.00\",\n        \"totalWithoutFeeString\": \"$13.00\",\n        \"taxes\": 0,\n        \"totalWithoutFee\": 13,\n        \"taxesString\": \"$0.00\",\n        \"retentions\": 0,\n        \"total\": 13,\n        \"feeAdded\": 0,\n        \"subtotal\": 13,\n        \"subtotalString\": \"$13.00\",\n        \"masterDiscountString\": \"$0.00\",\n        \"masterDiscount\": 0,\n        \"canSend\": false,\n        \"totalString\": \"$13.00\"\n    },\n    \"updatedOnCreate\": 1710877286776,\n    \"realAmountPaid\": 13,\n    \"receiptsCount\": 1,\n    \"receipts\": [\n        \"receipt_wme0AUZ67y\"\n    ],\n    \"exchangeRateDate\": \"Tue, 19 Mar 2024 00:00:01 +0000\",\n    \"exchange_rate\": 1,\n    \"exchangeRate\": 1,\n    \"statusEdited\": 2,\n    \"forceStatus\": true,\n    \"status\": \"requires_payment_method\",\n    \"total\": 13,\n    \"taxes\": 0,\n    \"retentions\": 0,\n    \"feeAdded\": 0,\n    \"canSend\": false,\n    \"feeAddedString\": \"$0.00\",\n    \"totalWithoutFeeString\": \"$13.00\",\n    \"totalWithoutFee\": 13,\n    \"totalString\": \"$13.00\",\n    \"subtotalString\": \"$13.00\",\n    \"subtotal\": 13,\n    \"taxesString\": \"$0.00\",\n    \"retentionsString\": \"$0.00\",\n    \"masterDiscount\": 0,\n    \"taxesIncluded\": 0,\n    \"masterDiscountString\": \"$0.00\"\n}"}],"_postman_id":"0d9fd3dc-746f-4228-a86c-885e297478ed"},{"name":"/v1/payments/list","id":"8769030c-18fc-45cf-84ee-968cceb12daf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"","value":"Bearer API_KEY","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?limit=100&clientId=CLIENT_ID","description":"<p><strong>Visualización de Detalles de Pago</strong></p>\n<p>Este endpoint te permite mostrar en tu interfaz de usuario (UI) la información más reciente sobre los pagos asociados a un cliente.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId*</td>\n<td>Identificador del cliente</td>\n</tr>\n<tr>\n<td>limit*</td>\n<td>Límite de los resultados (Máximo 100)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Estado del pago</td>\n</tr>\n<tr>\n<td>clientCompanyId</td>\n<td>Identificador de la compañía del cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p>(*) Parámetros requeridos.</p>\n<p><strong>Ejemplo de Uso:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?limit=100&amp;status=succeeded&amp;clientId=CLIENT_ID&amp;clientCompanyId=COMPANY_ID\n\n</code></pre>\n<p>Esta solicitud devolverá la información actualizada de los pagos asociados a un cliente en específico basado en el <code>clientId</code> que se le envíe por los query params.</p>\n","urlObject":{"protocol":"https","path":["v1","payments","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>Máximo 100 resultados</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"key":"status","value":"succeeded"},{"key":"clientId","value":"CLIENT_ID"},{"disabled":true,"key":"clientCompanyId","value":"COMPANY_ID"}],"variable":[]}},"response":[{"id":"16361376-1590-49f4-982a-8c57374caea7","name":"Falta autorización","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID\", error=\"invalid_token\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b91b2e8360eb6cc5c438272a9a20b891;o=1"},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:55 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections\",\n    \"code\": 401\n}"},{"id":"0ed1828d-118c-4091-8458-4d80689f39c7","name":"Status 200 - Detalles de la transacción","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"833-Asd6FcrFuHHLfNEnsgo396WlFoM\""},{"key":"function-execution-id","value":"uv6ynkezs45z"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"62fc207140bea59ea357a2beb3edef01;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2099"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"BntbVmVx7Fy1Ran\",\n    \"receipt_email\": \"ejemplo@gigstack.io\",\n    \"payment_intent\": null,\n    \"charges\": null,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXF1ZXN0ZXIiOiJoMW80UlM5ZHoxY1VlVUxZRlc2bVFXMFlmR1gyIiwicGF5bWVudCI6IkJudGJWbVZ4N0Z5MVJhbiIsImlhdCI6MTY1Njk2MzM2Mn0.Bti_cGdFljaRPd-aCuctp9S8y-oopElMGsb73wfmd1I\",\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"total\": 500,\n            \"taxes\": [\n                {\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\",\n                    \"withholding\": false\n                }\n            ],\n            \"description\": \"Descripción del producto\",\n            \"name\": \"Nombre del producto\"\n        }\n    ],\n    \"description\": \"\",\n    \"statement_descriptor\": \"\",\n    \"amount_capturable\": 0,\n    \"created\": 1656963362148,\n    \"fid\": \"BntbVmVx7Fy1Ran\",\n    \"invoices\": null,\n    \"proposals\": null,\n    \"review\": null,\n    \"status\": \"pending\",\n    \"discount\": 0,\n    \"capture_method\": \"automatic\",\n    \"shipping\": null,\n    \"timestamp\": 1656963362149,\n    \"customer\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"client\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"shortURL\": \"https://gigstack.xyz/BntbVmVx7Fy1Ran\",\n    \"payment_method_types\": [],\n    \"canceled_at\": null,\n    \"custom_method_types\": [\n        {\n            \"id\": \"bank\",\n            \"name\": \"Transferencia bancaria\",\n            \"manualConfirmation\": true,\n            \"details\": \"Pago con transferencia desde tu cuenta bancaria\",\n            \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/SPEI.svg\"\n        }\n    ],\n    \"lastViewed\": 1656964607652,\n    \"amount_received\": 0,\n    \"viewed\": 2,\n    \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n    \"automatic_payment_methods\": null,\n    \"clientID\": null,\n    \"next_action\": null,\n    \"currency\": \"MXN\",\n    \"application_fee_amount\": null,\n    \"livemode\": false,\n    \"metadata\": {\n        \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n        \"items\": 1,\n        \"externalID\": \"\",\n        \"internalID\": \"BntbVmVx7Fy1Ran\"\n    },\n    \"source\": \"API\",\n    \"on_behalf_of\": null,\n    \"internalStatus\": \"viewed\",\n    \"last_payment_error\": null,\n    \"application\": null,\n    \"v\": 2,\n    \"hasStripe\": false,\n    \"cancellation_reason\": null,\n    \"isManual\": false,\n    \"object\": \"manual_payment\",\n    \"amount\": 116000,\n    \"transfer_group\": null,\n    \"payment_method\": null,\n    \"confirmation_method\": \"\",\n    \"total\": 1160,\n    \"taxes\": 160,\n    \"retentions\": 0,\n    \"feeAdded\": 0,\n    \"canSend\": false,\n    \"feeAddedString\": \"$0.00\",\n    \"totalWithoutFeeString\": \"$1,160.00\",\n    \"totalWithoutFee\": 1160,\n    \"totalString\": \"$1,160.00\",\n    \"subtotalString\": \"$1,000.00\",\n    \"taxesString\": \"$160.00\",\n    \"retentionsString\": \"$0.00\"\n}"},{"id":"41c65ae2-de2a-4506-855a-7ee9dd2cb4df","name":"/v1/payments/list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?limit=100&clientId=CLIENT_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","payments","list"],"query":[{"key":"limit","value":"100","description":"Máximo 100 resultados"},{"key":"status","value":"succeeded","disabled":true},{"key":"clientId","value":"CLIENT_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"975-E0coSeSG+sLAtLY3FOg/i5zN5SM\""},{"key":"function-execution-id","value":"hyg0ey0nptsm"},{"key":"x-cloud-trace-context","value":"6bcb8a4175dfc7a8ba846dee13b3724d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Fri, 05 Apr 2024 23:50:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2421"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"fid\": \"payment_3G05VpDT0g\",\n            \"automations\": [\n                {\n                    \"ref\": \"payments\",\n                    \"action\": \"create\",\n                    \"from\": \"payments\",\n                    \"type\": \"invoice\"\n                }\n            ],\n            \"clientID\": \"client_vEYdSuFHjA\",\n            \"livemode\": false,\n            \"payment_form\": \"01\",\n            \"payments\": null,\n            \"discount\": 0,\n            \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n            \"custom_method_types\": [],\n            \"relatedTo\": \"\",\n            \"invoices\": null,\n            \"client\": {\n                \"zip\": null,\n                \"country\": \"MEX\",\n                \"metadata\": {},\n                \"address\": {\n                    \"zip\": null,\n                    \"country\": \"MEX\",\n                    \"street\": null\n                },\n                \"livemode\": false,\n                \"use\": null,\n                \"team\": \"team_c9NMyLkJzi4ITTp\",\n                \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n                \"tax_system\": null,\n                \"rfc\": null,\n                \"name\": \"Test incompleted\",\n                \"company\": null,\n                \"from\": \"manual\",\n                \"legal_name\": null,\n                \"id\": \"client_vEYdSuFHjA\",\n                \"email\": null,\n                \"timestamp\": 1710877189832\n            },\n            \"currency\": \"MXN\",\n            \"from\": \"manual\",\n            \"id\": \"payment_3G05VpDT0g\",\n            \"payment_method\": \"PUE\",\n            \"succeededTimestamp\": 1710877284617,\n            \"timestamp\": 1710877278021,\n            \"owner\": \"ZHNkAErrYzSgPsRhossewtyWHLE3\",\n            \"paidId\": \"01\",\n            \"amount\": 1300,\n            \"clientId\": \"client_vEYdSuFHjA\",\n            \"created\": 1710877284617,\n            \"internalItems\": [\n                {\n                    \"unit_name\": null,\n                    \"total\": 13,\n                    \"quantity\": 1,\n                    \"product_key\": null,\n                    \"unit_key\": null,\n                    \"name\": \"Test\",\n                    \"taxes\": [],\n                    \"id\": \"service_ThvvJK0rCv\",\n                    \"paymentType\": {\n                        \"label\": \"Precio fijo\",\n                        \"value\": \"fixed\"\n                    },\n                    \"timestamp\": 1710524128015\n                }\n            ],\n            \"team\": \"team_c9NMyLkJzi4ITTp\",\n            \"processor\": \"manual\",\n            \"internalStatus\": \"succeeded\",\n            \"binnacle\": \"Payment created manually by Jahziel Cabrera Cabrera\",\n            \"v\": 2,\n            \"exchange\": 1,\n            \"items\": [\n                {\n                    \"unit_name\": null,\n                    \"total\": 13,\n                    \"quantity\": 1,\n                    \"product_key\": null,\n                    \"unit_key\": null,\n                    \"name\": \"Test\",\n                    \"taxes\": [],\n                    \"id\": \"service_ThvvJK0rCv\",\n                    \"paymentType\": {\n                        \"label\": \"Precio fijo\",\n                        \"value\": \"fixed\"\n                    },\n                    \"timestamp\": 1710524128015\n                }\n            ],\n            \"createdAutomations\": [\n                \"aut_2RLhYHprmMAlaL4w\"\n            ],\n            \"translatedAmountToMXN\": 1300,\n            \"totalItemsAmounts\": {\n                \"taxesIncluded\": 0,\n                \"retentionsString\": \"$0.00\",\n                \"feeAddedString\": \"$0.00\",\n                \"totalWithoutFeeString\": \"$13.00\",\n                \"taxes\": 0,\n                \"totalWithoutFee\": 13,\n                \"taxesString\": \"$0.00\",\n                \"retentions\": 0,\n                \"total\": 13,\n                \"feeAdded\": 0,\n                \"subtotal\": 13,\n                \"subtotalString\": \"$13.00\",\n                \"masterDiscountString\": \"$0.00\",\n                \"masterDiscount\": 0,\n                \"canSend\": false,\n                \"totalString\": \"$13.00\"\n            },\n            \"updatedOnCreate\": 1710877286776,\n            \"realAmountPaid\": 13,\n            \"receiptsCount\": 1,\n            \"receipts\": [\n                \"receipt_wme0AUZ67y\"\n            ],\n            \"exchangeRateDate\": \"Tue, 19 Mar 2024 00:00:01 +0000\",\n            \"exchange_rate\": 1,\n            \"exchangeRate\": 1,\n            \"statusEdited\": 2,\n            \"forceStatus\": true,\n            \"status\": \"requires_payment_method\"\n        }\n    ],\n    \"message\": \"Listing 1 payments\",\n    \"length\": 1,\n    \"nextUrl\": \"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?start=1710877278021&limit=100\",\n    \"next\": \"payment_3G05VpDT0g\"\n}"}],"_postman_id":"8769030c-18fc-45cf-84ee-968cceb12daf"},{"name":"/v1/payments/register","id":"b9b99580-a23e-482c-ad50-4ff96c13b328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]"}],"body":{"mode":"raw","raw":"{\n    \"paid\":true,\n    \"items\":[\n        {\n            \"description\": \"Venta de producto\",\n            \"discount\": 0,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Unidad de Servicio\",\n            \"taxes\": [\n                {\n                    \"factor\":\"Tasa\",\n                    \"inclusive\":true,\n                    \"rate\":0.16,\n                    \"type\":\"IVA\",\n                    \"withholding\":false\n                }\n            ],\n            \"quantity\": 1,\n            \"amount\": 10,\n            \"third_party\": {\n                \"legal_name\": \"\",\n                \"tax_id\": \"\",\n                \"tax_system\": \"\",\n                \"zip\": \"\"\n            }\n        }\n    ],\n    \"currency\":\"MXN\",\n    \"paymentMethod\":\"01\",\n    \"automateInvoiceOnComplete\":true,\n    \"clientId\":\"\",\n    \"email\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/register","description":"<p><strong>Registro de Pago en gigstack</strong></p>\n<p>La operación de registrar un pago en gigstack es esencial para activar las automatizaciones deseadas. Por ejemplo, al registrar un pago exitoso, desencadenamos eventos de automatización que permiten la emisión automática de facturas o la generación de un portal de auto-facturación en caso de que no dispongamos de la información fiscal del cliente final.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>items</td>\n<td>Una lista de elementos o productos de la venta.</td>\n</tr>\n<tr>\n<td>items.description</td>\n<td>Descripción del producto o servicio.</td>\n</tr>\n<tr>\n<td>items.discount</td>\n<td>Descuento aplicado al producto (monto).</td>\n</tr>\n<tr>\n<td>items.product_key</td>\n<td>Clave del producto SAT.</td>\n</tr>\n<tr>\n<td>items.unit_key</td>\n<td>Clave de la unidad de medida SAT.</td>\n</tr>\n<tr>\n<td>items.unit_name</td>\n<td>Nombre de la unidad de medida SAT.</td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td>Lista de impuestos aplicados al producto.</td>\n</tr>\n<tr>\n<td>items.taxes.factor</td>\n<td>Factor del impuesto (ej. \"Tasa\").</td>\n</tr>\n<tr>\n<td>items.taxes.inclusive</td>\n<td>Indica si el impuesto está incluido en el precio.</td>\n</tr>\n<tr>\n<td>items.taxes.rate</td>\n<td>Tasa de impuesto (número 0.16).</td>\n</tr>\n<tr>\n<td>items.taxes.type</td>\n<td>Tipo de impuesto (ej. \"IVA\").</td>\n</tr>\n<tr>\n<td>items.taxes.withholding</td>\n<td>Indica si el impuesto es de retención.</td>\n</tr>\n<tr>\n<td>items.quantity</td>\n<td>Cantidad de productos / servicios.</td>\n</tr>\n<tr>\n<td>items.amount</td>\n<td>Precio del producto por unidad.</td>\n</tr>\n<tr>\n<td>items.third_party</td>\n<td>Objeto con información del contribuyente tercero, a cuenta del que se realiza la operación.</td>\n</tr>\n<tr>\n<td>items.third_party.legal_name</td>\n<td>Nombre o razón social del tercero.</td>\n</tr>\n<tr>\n<td>items.third_party.tax_id</td>\n<td>RFC del tercero.</td>\n</tr>\n<tr>\n<td>items.third_party.tax_system</td>\n<td>Régimen fiscal del tercero.</td>\n</tr>\n<tr>\n<td>items.third_party.zip</td>\n<td>Código postal del tercero.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Moneda utilizada en la transacción.</td>\n</tr>\n<tr>\n<td>paymentMethod</td>\n<td>Método de pago utilizado SAT. (Consultar opciones disponibles en la imagen)</td>\n</tr>\n<tr>\n<td>automateInvoiceOnComplete</td>\n<td>Indica si se debe generar la factura automáticamente.</td>\n</tr>\n<tr>\n<td>automateIncomeInvoiceAndComplement</td>\n<td>Indica que se emitirá una factura de ingreso con forma de pago PPD y método de pago \"Por definir\", posteriormente cuando el pago se marque como pagado se emitirá un complemento de pago automático.  <br />  <br />** no se debe enviar el parámetro <code>automateInvoiceOnComplete,</code> ni el parámetro <code>paid</code></td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Cliente almacenado previamente en gigstack.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Email del cliente (obligatorio si no se proporciona clientId, se buscará en los clientes del equipo actual por correo electrónico).</td>\n</tr>\n<tr>\n<td>avoidEmail</td>\n<td>Ignorar el envio de correo. [El correo se envía solo en caso de que paid = false]</td>\n</tr>\n<tr>\n<td>paid</td>\n<td>Marca el pago como completo. (Activa la automatización si se envía automateInvoiceOnComplete)</td>\n</tr>\n<tr>\n<td>client.name</td>\n<td>Nombre del cliente (opcional)</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>RFC o Tax Id del cliente (opcional)</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>Régimen fiscal a 3 dígitos (consultar la lista para utilizar la clave correspondiente, ver imagen) (opcional)</td>\n</tr>\n<tr>\n<td>client.email</td>\n<td>Correo electrónico del cliente (opcional)</td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>Dirección del cliente, objeto (opcional)</td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>Código Postal de la dirección fiscal (opcional)</td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>País del cliente (en formato ISO 3166-1 alpha-3) (opcional)</td>\n</tr>\n<tr>\n<td>client.address.street</td>\n<td>Dirección fiscal del cliente (opcional)</td>\n</tr>\n</tbody>\n</table>\n</div><img src=\"https://content.pstmn.io/77bb2795-be54-4974-b23f-aa46a4b9b00f/aW1hZ2UucG5n\" alt=\"Opciones de paymentMethod\" />\n\n<p>Lista de claves para régimen fiscal:</p>\n<img src=\"https://content.pstmn.io/1a3473a7-ba58-4410-b1d5-b340fa57280e/aW1hZ2UucG5n\" alt=\"Lista para utilizar en régimen fiscal\" />\n\n<p>Este proceso te permite gestionar de manera eficiente los pagos recibidos por diferentes fuentes, desencadenando las acciones automáticas necesarias para optimizar tus procesos financieros en gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","payments","register"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"5be4aa1e-0dbf-412f-af5a-d376ece28aa9","name":"200 - Pago registrado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"paid\":true,\n    \"items\":[\n        {\n            \"description\": \"Venta de producto\",\n            \"discount\": 0,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Unidad de Servicio\",\n            \"taxes\": [\n                {\n                    \"factor\":\"Tasa\",\n                    \"inclusive\":true,\n                    \"rate\":0.16,\n                    \"type\":\"IVA\",\n                    \"withholding\":false\n                }\n            ],\n            \"quantity\": 1,\n            \"amount\": 10\n        }\n    ],\n    \"currency\":\"MXN\",\n    \"paymentMethod\":\"01\",\n    \"automateInvoiceOnComplete\":true,\n    \"clientId\":\"\",\n    \"email\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/register"},"status":"Ok","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"914-x87K9jjpAciowIdIoXE3B/b3Qss\""},{"key":"function-execution-id","value":"s3v155suuydd"},{"key":"x-cloud-trace-context","value":"103672867f8698f210beaac2774d95a0;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 16:53:07 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2324"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pago registrado correctamente\",\n    \"data\": {\n        \"livemode\": false,\n        \"metadata\": {\n            \"clabe\": null,\n            \"internalID\": null\n        },\n        \"exchangeRateDate\": \"2023-12-09T16:53:07.291Z\",\n        \"exchange_rate\": 1,\n        \"exchangeRate\": 1,\n        \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n        \"amount\": 1000,\n        \"status\": \"succeeded\",\n        \"internalStatus\": \"succeeded\",\n        \"internalItems\": [\n            {\n                \"hours\": null,\n                \"team\": \"team_RI2hpU84OLYHqmN\",\n                \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                \"total\": 10,\n                \"quantity\": 1,\n                \"id\": \"service_uRFHbvn3OT\",\n                \"timestamp\": 1702140787291,\n                \"name\": \"Venta de producto\",\n                \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n                \"product_key\": \"01010101\",\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\",\n                \"taxes\": [\n                    {\n                        \"factor\": \"Tasa\",\n                        \"inclusive\": true,\n                        \"rate\": 0.16,\n                        \"type\": \"IVA\",\n                        \"withholding\": false\n                    }\n                ],\n                \"currency\": \"MXN\",\n                \"paymentType\": {\n                    \"label\": \"Tarifa fija\",\n                    \"value\": \"fixed\"\n                },\n                \"from\": \"api\"\n            }\n        ],\n        \"items\": [\n            {\n                \"hours\": null,\n                \"team\": \"team_RI2hpU84OLYHqmN\",\n                \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                \"total\": 10,\n                \"quantity\": 1,\n                \"id\": \"service_uRFHbvn3OT\",\n                \"timestamp\": 1702140787291,\n                \"name\": \"Venta de producto\",\n                \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n                \"product_key\": \"01010101\",\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\",\n                \"taxes\": [\n                    {\n                        \"factor\": \"Tasa\",\n                        \"inclusive\": true,\n                        \"rate\": 0.16,\n                        \"type\": \"IVA\",\n                        \"withholding\": false\n                    }\n                ],\n                \"currency\": \"MXN\",\n                \"paymentType\": {\n                    \"label\": \"Tarifa fija\",\n                    \"value\": \"fixed\"\n                },\n                \"from\": \"api\"\n            }\n        ],\n        \"custom_method_types\": [],\n        \"exchange\": 1,\n        \"currency\": \"MXN\",\n        \"paidId\": \"Efectivo\",\n        \"id\": \"payment_FyXrLqlgcW\",\n        \"fid\": \"payment_FyXrLqlgcW\",\n        \"v\": 2,\n        \"from\": \"api\",\n        \"payment_form\": \"01\",\n        \"processor\": \"api\",\n        \"relatedTo\": null,\n        \"invoices\": null,\n        \"payments\": null,\n        \"team\": \"\",\n        \"billingAccount\": \"\",\n        \"client\": {\n            \"name\": null,\n            \"email\": \"\",\n            \"phone\": null,\n            \"rfc\": null,\n            \"team\": \"\",\n            \"billingAccount\": \"\",\n            \"from\": \"api\",\n            \"timestamp\": 1702140787290,\n            \"owner\": \"\",\n            \"address\": {\n                \"zip\": null,\n                \"country\": null,\n                \"street\": null\n            },\n            \"zip\": null\n        },\n        \"clientId\": null,\n        \"discount\": 0,\n        \"timestamp\": 1702140787295,\n        \"created\": 1702140787295,\n        \"shortURL\": null,\n        \"shortUrl\": null,\n        \"token\": null,\n        \"hasStripe\": null,\n        \"succeededTimestamp\": 1702140787295,\n        \"binnacle\": \"Created from APIManually set paid = true\\n\",\n        \"skc\": true,\n        \"recurringEventNumber\": 0,\n        \"conceptReference\": \"332627\",\n        \"paymentComplementData\": null,\n        \"transactionFeeInfo\": null,\n        \"addTransactionFee\": null,\n        \"paidIn\": \"manual\",\n        \"automations\": [\n            {\n                \"action\": \"create\",\n                \"ref\": \"payments\",\n                \"type\": \"invoice\",\n                \"from\": \"payments\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b9b99580-a23e-482c-ad50-4ff96c13b328"},{"name":"/v1/payments/markaspaid","id":"4c8725f4-6851-44c8-9dfa-5d05428d1f2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"ID_DEL_PAGO\",\n    \"paymentForm\": \"03\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/markaspaid","description":"<p><strong>Marcar Pago como Exitoso en gigstack</strong></p>\n<p>Este endpoint te permite confirmar la recepción de un pago generado previamente, marcándolo como exitoso en gigstack. Es una acción crucial para informar al sistema sobre la finalización exitosa de una transacción.</p>\n<p><strong>Precaución:</strong> Utiliza este endpoint con cuidado, ya que una vez marcado como exitoso, el cliente no podrá realizar el pago relacionado a esta transacción, y cualquier automatización configurada será ejecutada.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Identificador único del pago a marcar como exitoso.</td>\n</tr>\n<tr>\n<td>paymentForm</td>\n<td>Forma de pago expresada en dos caracteres, de acuerdo al catálogo del SAT. Consulta los valores posibles en la sección de Catálogos.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Ejemplo de Uso:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">POST https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/markaspaid\nCuerpo de la Solicitud:\n{\n  \"id\": \"ID_DEL_PAGO\",\n  \"paymentForm\": \"03\"\n}\n\n</code></pre>\n<p>Este ejemplo marca el pago con el identificador proporcionado como exitoso, utilizando la forma de pago según el catálogo del SAT. Asegúrate de utilizar este endpoint de manera precisa, ya que tiene implicaciones significativas en el proceso de pago y las automatizaciones asociadas.</p>\n<p>Opciones disponibles de paymentForm</p>\n<img src=\"https://content.pstmn.io/77bb2795-be54-4974-b23f-aa46a4b9b00f/aW1hZ2UucG5n\" />","urlObject":{"protocol":"https","path":["v1","payments","markaspaid"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"bd4bbe73-4353-44aa-a709-feecf8a7504d","name":"200 - Marcado como exitoso","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"ID_DEL_PAGO\",\n    \"paymentForm\": \"03\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/markaspaid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"31-v8/TdvvaU68M1TKnKr3t4n/2HqA\""},{"key":"function-execution-id","value":"s3v1grazbl0d"},{"key":"x-cloud-trace-context","value":"c373cb727dc9aa7fb937656ab25e4149;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 16:55:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"49"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"El pago ha sido marcado como pagado\"\n}"}],"_postman_id":"4c8725f4-6851-44c8-9dfa-5d05428d1f2f"}],"id":"ca379aa7-aa46-4aaa-9598-dff3d5ab3c72","description":"<p>Dentro de gigstack, ofrecemos una versátil categoría de pagos que te permite gestionar transacciones de manera eficiente. Aquí te presentamos dos opciones:</p>\n<ol>\n<li><p><strong>Registro de Pago Exitoso:</strong></p>\n<ul>\n<li><p><em>Descripción:</em> Registra un pago. Esta funcionalidad es valiosa para automatizar eventos relacionados con facturación y conciliación de transacciones provenientes de diversas fuentes.</p>\n</li>\n<li><p><em>Requisitos:</em> No se necesitan requerimientos previos. ¡Simplemente registra el pago y deja que gigstack se encargue de los detalles!</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Solicitud de Pago:</strong></p>\n<ul>\n<li><p><em>Descripción:</em> Solicita el pago de servicios o productos a tus clientes. Antes de utilizar esta funcionalidad, es necesario registrar un método de recepción de pago en tu cuenta de gigstack.</p>\n</li>\n<li><p><em>Proceso:</em> Nosotros nos encargamos de enviar el enlace de pago a tu cliente por correo electrónico, a menos que se especifique lo contrario mediante parámetros. Una vez que recibimos el pago, realizamos las automatizaciones correspondientes para una experiencia sin complicaciones.</p>\n</li>\n</ul>\n</li>\n</ol>\n<p>Estas opciones ofrecen flexibilidad y automatización para simplificar tu gestión financiera en gigstack. ¡Descubre cómo puedes aprovechar al máximo estas funciones para optimizar tus procesos de pago!</p>\n","_postman_id":"ca379aa7-aa46-4aaa-9598-dff3d5ab3c72"},{"name":"Facturas (CFDI 4.0)","item":[{"name":"/createInvoice [deprecated]","id":"458d33da-2033-41a9-829a-14267c371e8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer API_KEY"}],"body":{"mode":"raw","raw":"{\n\n    \"use\": \"S01\",\n    \"payment_form\": \"28\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"john@example.com\", \"jane@example.com\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"MXN\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    \"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"name\": \"Desarrollo de API\"\n        }\n    ],\n    \"client\": {\n        \"rfc\":\"XAXX010101000\",\n        \"legal_name\":\"PUBLICO EN GENERAL\",\n        \"tax_system\":{\n            \"label\":\"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\":\"616\"\n        },\n        \"bcc\": [\"boss@example.com\"],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    }\n}"},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice","description":"<p>[Deprecated] Por favor utiliza el endpoint /v1/invoices/create  </p>\n<p>Mediante el enpoint /invoice, podrás crear facturas CFDI 4.0.</p>\n<p>Cuando sea creada en ambiente live, será timbrada y enviada al SAT. (el ambiente se determina por el tipo de API key utilizada)</p>\n<h4 id=\"tipo-de-documento-ingreso\">Tipo de documento: Ingreso</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description (English)</strong></th>\n<th><strong>Description (Spanish)</strong></th>\n<th><strong>Options</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>folio_number</td>\n<td>number</td>\n<td>Folio number of the document</td>\n<td>Folio de la factura a crear</td>\n<td></td>\n</tr>\n<tr>\n<td>series</td>\n<td>string</td>\n<td>Series name</td>\n<td>Serie a utilizar para la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>use</td>\n<td>string</td>\n<td>Use code of the invoice</td>\n<td>Código de uso de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>string</td>\n<td>Payment form code</td>\n<td>Código de forma de pago</td>\n<td></td>\n</tr>\n<tr>\n<td>global</td>\n<td>object</td>\n<td>Global invoice information</td>\n<td>Información global de la factura</td>\n<td>*Objeto requerido al crear una factura global.*</td>\n</tr>\n<tr>\n<td>global.months</td>\n<td>string</td>\n<td>Month of the invoice</td>\n<td>Mes de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>global.year</td>\n<td>number</td>\n<td>Year of the invoice</td>\n<td>Año de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>global.periodicity</td>\n<td>string</td>\n<td>Periodicity of the invoice</td>\n<td>Periodicidad de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Invoice type code</td>\n<td>Código de tipo de factura</td>\n<td></td>\n</tr>\n<tr>\n<td>relation</td>\n<td>null</td>\n<td>Related invoice id</td>\n<td>ID de factura relacionada</td>\n<td></td>\n</tr>\n<tr>\n<td>emails</td>\n<td>array</td>\n<td>Array of email addresses to send the invoice to</td>\n<td>Array de direcciones de correo electrónico a las que enviar la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>related</td>\n<td>array</td>\n<td>Array of related invoice ids</td>\n<td>Array de IDs de facturas relacionadas</td>\n<td></td>\n</tr>\n<tr>\n<td>invoiceType</td>\n<td>string</td>\n<td>Invoice type</td>\n<td>Tipo de factura</td>\n<td>\"I\" : Ingreso  <br />\"P\": Pago  <br />\"E\" : Egreso</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Currency code of the invoice</td>\n<td>Código de moneda de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>export</td>\n<td>string</td>\n<td>Export code</td>\n<td>Indica si el comprobante ampara una operación de exportación</td>\n<td>01: No aplica  <br />02: Definitiva con clave A1  <br />03: Temporal  <br />04: Definitiva con clave distinta a A1 o cuando no existe enajenación en términos del CFF</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td>string</td>\n<td>Payment method code</td>\n<td>Código de método de pago</td>\n<td>PUE: Pago en Una sola Exhibición  <br />PPD: Pago en Parcialidades o Diferido</td>\n</tr>\n<tr>\n<td>items</td>\n<td>array</td>\n<td>Array of items included in the invoice</td>\n<td>Array de items incluidos en la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>items.quantity</td>\n<td>number</td>\n<td>Quantity of the item</td>\n<td>Cantidad del item</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td>array</td>\n<td>Array of taxes applied to the item</td>\n<td>Array de impuestos aplicados al item</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.withholding</td>\n<td>boolean</td>\n<td>Whether the tax is a withholding tax</td>\n<td>Si el impuesto es de retención</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.inclusive</td>\n<td>boolean</td>\n<td>Whether the tax is included in the item price</td>\n<td>Si el impuesto está incluido en el precio del item</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.rate</td>\n<td>string</td>\n<td>Tax rate in decimal fraction</td>\n<td>Tasa del impuesto en fracción decimal.</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.factor</td>\n<td>string</td>\n<td>Tax factor</td>\n<td>Factor de impuesto</td>\n<td>TASA  <br />CUOTA  <br />EXCENTO</td>\n</tr>\n<tr>\n<td>items.taxes.type</td>\n<td>string</td>\n<td>Tax type</td>\n<td>Tipo de impuesto</td>\n<td>IVA  <br />ISR  <br />IEPS</td>\n</tr>\n<tr>\n<td>items.unit_name</td>\n<td>string</td>\n<td>Unit name of the item</td>\n<td>Nombre de unidad del item</td>\n<td></td>\n</tr>\n<tr>\n<td>items.total</td>\n<td>number</td>\n<td>Price of the item</td>\n<td>Precio del item</td>\n<td></td>\n</tr>\n<tr>\n<td>items.product_key</td>\n<td>string</td>\n<td>Product key</td>\n<td>Clave de producto</td>\n<td><a href=\"https://www.sat.gob.mx/consultas/53693/catalogo-de-productos-y-servicios\">https://www.sat.gob.mx/consultas/53693/catalogo-de-productos-y-servicios</a></td>\n</tr>\n<tr>\n<td>items.unit_key</td>\n<td>string</td>\n<td>Unit key</td>\n<td>Clave de unidad</td>\n<td><a href=\"http://pys.sat.gob.mx/PyS/catUnidades.aspx\">http://pys.sat.gob.mx/PyS/catUnidades.aspx</a></td>\n</tr>\n<tr>\n<td>items.name</td>\n<td>string</td>\n<td>Name of the item</td>\n<td>Nombre del item</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>object</td>\n<td>Client information</td>\n<td>Información del cliente</td>\n<td></td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>string</td>\n<td>Tax identification number</td>\n<td>Registro Federal del contribuyente</td>\n<td>Si el cliente es extranjero es necesario poner el identificador de su país o dejarlo en blanco.</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>object</td>\n<td>Tax Regime</td>\n<td>Régimen físcal del receptor de la factura</td>\n<td>ej: {  <br />value:\"616\",  <br />label:\"Sin obligaciones fiscales\"  <br />}</td>\n</tr>\n<tr>\n<td>client.bcc</td>\n<td>array</td>\n<td>Array of email addresses to send a copy of the invoice to</td>\n<td>Array de direcciones de correo electrónico para enviar una copia de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>object</td>\n<td>Client address information</td>\n<td>Información de dirección del cliente</td>\n<td></td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>string</td>\n<td>Zip or postal code of the client</td>\n<td>Código postal del cliente</td>\n<td></td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>string</td>\n<td>Country code of the client (in ISO 3166-1 alpha-3 format)</td>\n<td>Código de país del cliente (en formato ISO 3166-1 alpha-3</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces</td>\n<td>object array (optional)</td>\n<td>If you were one of the Addenda, Complements, or items [] complement parameters and these include a special namespace, you must send the necessary information to include these namespaces in the XML of the invoice.</td>\n<td>Si icluiste uno de los parámetros addenda, complements, o items[].complement y éstos incluyen un namespace especial, debes enviar la información necesaria para incluir estos namespaces en el XML de la factura.</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces.prefix</td>\n<td></td>\n<td>Prefix or name of the Namespace.</td>\n<td>Prefijo o nombre del namespace.</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces.uri</td>\n<td></td>\n<td>Prefix or name of the Namespace.</td>\n<td>Dirección URL asociada al namespace.</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces.schema_location</td>\n<td></td>\n<td>URL address of the XSD validation scheme.</td>\n<td>Dirección URL del esquema de validación XSD.</td>\n<td></td>\n</tr>\n<tr>\n<td>addenda</td>\n<td>string (optional)</td>\n<td>XML Code with the Addenda.</td>\n<td>Código XML con la Addenda que se necesite agregar a la factura.</td>\n<td></td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>string (optional)</td>\n<td>External ID</td>\n<td>ID externo para ligar el recurso</td>\n<td></td>\n</tr>\n<tr>\n<td>conditions</td>\n<td>string (optional)</td>\n<td>Payment Conditions</td>\n<td>Condiciones de pago.</td>\n<td></td>\n</tr>\n<tr>\n<td>createPaymentRequest</td>\n<td>bool (opcional)</td>\n<td>Request a payment along the invoice</td>\n<td>Solicitar un pago junto con la factura, se enviará un correo al cliente solicitando un pago por el mismo monto.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"régimen-fiscal\">Régimen Fiscal</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>601</td>\n<td>General de Ley Personas Morales</td>\n</tr>\n<tr>\n<td>603</td>\n<td>Personas Morales con Fines no Lucrativos</td>\n</tr>\n<tr>\n<td>605</td>\n<td>Sueldos y Salarios e Ingresos Asimilados a Salarios</td>\n</tr>\n<tr>\n<td>606</td>\n<td>Arrendamiento</td>\n</tr>\n<tr>\n<td>608</td>\n<td>Demás ingresos</td>\n</tr>\n<tr>\n<td>609</td>\n<td>Consolidación</td>\n</tr>\n<tr>\n<td>610</td>\n<td>Residentes en el Extranjero sin Establecimiento Permanente en México</td>\n</tr>\n<tr>\n<td>611</td>\n<td>Ingresos por Dividendos (socios y accionistas)</td>\n</tr>\n<tr>\n<td>612</td>\n<td>Personas Físicas con Actividades Empresariales y Profesionales</td>\n</tr>\n<tr>\n<td>614</td>\n<td>Ingresos por intereses</td>\n</tr>\n<tr>\n<td>616</td>\n<td>Sin obligaciones fiscales</td>\n</tr>\n<tr>\n<td>620</td>\n<td>Sociedades Cooperativas de Producción que optan por diferir sus ingresos</td>\n</tr>\n<tr>\n<td>621</td>\n<td>Incorporación Fiscal</td>\n</tr>\n<tr>\n<td>622</td>\n<td>Actividades Agrícolas, Ganaderas, Silvícolas y Pesqueras</td>\n</tr>\n<tr>\n<td>623</td>\n<td>Opcional para Grupos de Sociedades</td>\n</tr>\n<tr>\n<td>624</td>\n<td>Coordinados</td>\n</tr>\n<tr>\n<td>628</td>\n<td>Hidrocarburos</td>\n</tr>\n<tr>\n<td>607</td>\n<td>Régimen de Enajenación o Adquisición de Bienes</td>\n</tr>\n<tr>\n<td>629</td>\n<td>De los Regímenes Fiscales Preferentes y de las Empresas Multinacionales</td>\n</tr>\n<tr>\n<td>630</td>\n<td>Enajenación de acciones en bolsa de valores</td>\n</tr>\n<tr>\n<td>615</td>\n<td>Régimen de los ingresos por obtención de premios</td>\n</tr>\n<tr>\n<td>625</td>\n<td>Régimen de las Actividades Empresariales con ingresos a través de Plataformas Tecnológicas</td>\n</tr>\n<tr>\n<td>626</td>\n<td>Régimen Simplificado de Confianza</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Opciones de uso de CFDI</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n<th>Disponible para el Régimen Fiscal</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>\"G01\"</td>\n<td>Adquisición de mercancías.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625,626</td>\n</tr>\n<tr>\n<td>\"G02\"</td>\n<td>Devoluciones, descuentos o bonificaciones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625,626</td>\n</tr>\n<tr>\n<td>\"G03\"</td>\n<td>Gastos en general.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I01\"</td>\n<td>Construcciones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I02\"</td>\n<td>Mobiliario y equipo de oficina por inversiones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I03\"</td>\n<td>Equipo de transporte.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I04\"</td>\n<td>Equipo de computo y accesorios.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I05\"</td>\n<td>Dados, troqueles, moldes, matrices y herramental.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I06\"</td>\n<td>Comunicaciones telefónicas.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I07\"</td>\n<td>Comunicaciones satelitales.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"I08\"</td>\n<td>Otra maquinaria y equipo.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>\"D01\"</td>\n<td>Honorarios médicos, dentales y gastos hospitalarios.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>\"D02\"</td>\n<td>Gastos médicos por incapacidad o discapacidad.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>\"D03\"</td>\n<td>Gastos funerales.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>\"D04\"</td>\n<td>Donativos.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>\"D05\"</td>\n<td>Intereses reales efectivamente pagados por créditos hipotecarios (casa habitación).</td>\n<td>605, 606</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","createInvoice"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"bbae80af-205c-4b8a-9182-4d35ca839565","name":"200 example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"use\": \"S01\",\n    \"payment_form\": \"28\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"john@example.com\", \"jane@example.com\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"MXN\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    \"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"name\": \"Desarrollo de API\"\n        }\n    ],\n    \"client\": {\n        \"rfc\":\"XAXX010101000\",\n        \"legal_name\":\"PUBLICO EN GENERAL\",\n        \"tax_system\":{\n            \"label\":\"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\":\"616\"\n        },\n        \"bcc\": [\"boss@example.com\"],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"d79-lYD6Y1wEIJlK6QDzCEInjzxWT5c\""},{"key":"function-execution-id","value":"3eqsfhohgcav"},{"key":"x-cloud-trace-context","value":"6ec24a489a1184383fb6dbc5a796c4cf;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Wed, 12 Apr 2023 14:24:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3449"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"use\": \"S01\",\n    \"payment_form\": \"28\",\n    \"type\": \"I\",\n    \"relation\": null,\n    \"emails\": [\n        \"john@example.com\",\n        \"jane@example.com\"\n    ],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"MXN\",\n    \"export\": \"01\",\n    \"payment_method\": \"PUE\",\n    \"folio_number\": 1,\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"discount\": 0,\n            \"product\": {\n                \"description\": \"Desarrollo de API\",\n                \"product_key\": \"01010101\",\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\",\n                \"price\": 21.21,\n                \"tax_included\": true,\n                \"taxes\": [\n                    {\n                        \"base\": null,\n                        \"rate\": 0.16,\n                        \"type\": \"IVA\",\n                        \"withholding\": false,\n                        \"factor\": \"Tasa\",\n                        \"ieps_mode\": \"sum_before_taxes\"\n                    }\n                ],\n                \"taxability\": \"02\"\n            }\n        }\n    ],\n    \"client\": {\n        \"rfc\": \"XAXX010101000\",\n        \"legal_name\": \"PUBLICO EN GENERAL\",\n        \"tax_system\": {\n            \"label\": \"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\": \"616\"\n        },\n        \"bcc\": [\n            \"boss@example.com\"\n        ],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    },\n    \"test\": true,\n    \"livemode\": false,\n    \"internalClient\": {\n        \"rfc\": \"XAXX010101000\",\n        \"legal_name\": \"PUBLICO EN GENERAL\",\n        \"tax_system\": {\n            \"label\": \"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\": \"616\"\n        },\n        \"bcc\": [\n            \"boss@example.com\"\n        ],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    },\n    \"fromApi\": true,\n    \"id\": \"6436bf26fd435917c887ad6d\",\n    \"created_at\": \"2023-04-12T14:24:38.412Z\",\n    \"cfdi_version\": 4,\n    \"organization\": \"_______\",\n    \"date\": \"2023-04-12T14:24:38.403Z\",\n    \"customer\": {\n        \"id\": \"6420cfc9da7406cd01063a82\",\n        \"legal_name\": \"PUBLICO EN GENERAL\",\n        \"tax_system\": \"616\",\n        \"tax_id\": \"XAXX010101000\",\n        \"address\": {\n            \"country\": \"MEX\",\n            \"zip\": \"10200\"\n        }\n    },\n    \"address\": {\n        \"street\": \"___\",\n        \"exterior\": \"96\",\n        \"interior\": \"\",\n        \"neighborhood\": \"____\",\n        \"city\": \"Mexico\",\n        \"municipality\": \"____\",\n        \"state\": \"Ciudad de México\",\n        \"country\": \"MEX\",\n        \"zip\": \"_____\"\n    },\n    \"verification_url\": \"https://verificacfdi.facturaelectronica.sat.gob.mx/default.aspx?id=1A69FA7A-5FC0-44A6-962D-9B067E825D67&re=CAHS960410BL4&rr=XAXX010101000&tt=42.420000&fe=nPJPTA==\",\n    \"status\": \"valid\",\n    \"cancellation_status\": \"none\",\n    \"total\": 42.42,\n    \"uuid\": \"1A69FA7A-5FC0-44A6-962D-9B067E825D67\",\n    \"exchange\": 1,\n    \"stamp\": {\n        \"date\": \"2023-04-12T08:24:38\",\n        \"sat_signature\": \"NvN5MCUA114rXXTT44SJOZEeKMlnLePk2QFJXhTFH5CGMiSCr0/RT3iYXRRpxzksz49h2NM+Xwcr3rj79WhaREmCb7joQGykun65dP4IM8pqTkegIu2CYKQQwwOyHcDcbawf7MIYWCkClorggszWK0XRFE2nCop7Tgpvx+mJ4GIAOmPQDy2Q3AUFhZZ/DuIrmIvG17OYcNbzBs8ebaMBSuR3l299m3ckhUJvgfXvTcvm4PxEYR4zDXXEK5RLbnhDmFDuuMVb26lgLNoo/fhGNHevMdF1jelkx04y857qbPQk9axJqxqpWGB61MLRFPBCJci9wYnfJhdy3jpYM0cmKw==\",\n        \"sat_cert_number\": \"30001000000400002495\",\n        \"signature\": \"cNN4Xodz/cyge5enrF8w/AawIcmFQLnjec0GoyayW46jyHES+DiRUvP/PiNruv/asmEgxNMyZOXJvy7RNY6XvJQFDg+eSg1CNqrZ/42vJOpU3t0gvVCy111N6+VRHEoehab1au5O774/6P9ttanwBlnrwakHtKKLtk04V0639corSG210mHjtUqeARWMH+VScZ8DEnuFF9q6tfGw5hVkLvtw2XFa2CaID5CDZbY2aqzoJxzKMh0fC77FYPp4h+e6ETkaZB7WwKD2IP6A2R7dqxs/GJ6bR7d6AjryPhIskXJWdG0KE8Iei8RuYvk8PWuXirjGggANnFvpj5+RnPJPTA==\",\n        \"complement_string\": \"||1.1|1A69FA7A-5FC0-44A6-962D-9B067E825D67|2023-04-12T08:24:38|cNN4Xodz/cyge5enrF8w/AawIcmFQLnjec0GoyayW46jyHES+DiRUvP/PiNruv/asmEgxNMyZOXJvy7RNY6XvJQFDg+eSg1CNqrZ/42vJOpU3t0gvVCy111N6+VRHEoehab1au5O774/6P9ttanwBlnrwakHtKKLtk04V0639corSG210mHjtUqeARWMH+VScZ8DEnuFF9q6tfGw5hVkLvtw2XFa2CaID5CDZbY2aqzoJxzKMh0fC77FYPp4h+e6ETkaZB7WwKD2IP6A2R7dqxs/GJ6bR7d6AjryPhIskXJWdG0KE8Iei8RuYvk8PWuXirjGggANnFvpj5+RnPJPTA==|30001000000400002495||\"\n    },\n    \"pdf_custom_section\": \"<p></p>\",\n    \"global\": {\n        \"periodicity\": \"day\",\n        \"months\": \"04\",\n        \"year\": 2023,\n        \"_id\": \"6436bf26fd435917c887ad6e\"\n    },\n    \"owner\": \"_______\",\n    \"timestamp\": 1681309478801,\n    \"pastInvoice\": null,\n    \"team\": \"team____\"\n}"},{"id":"67f5d868-e671-4e98-af91-cfb6b517e2b9","name":"401 example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"legal_name\": \"RAZON SOCIAL\",\n        \"email\": \"email@example.com\",\n        \"tax_id\": \"RFC\",\n        \"tax_system\": \"601\",\n        \"address\": {\n            \"zip\": \"01040\"\n        }\n    },\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"description\": \"Ukelele\",\n            \"product_key\": \"60131324\",\n            \"total\": 345.60,\n            \"discount\": 0,\n            \"tax_included\": false,\n            \"taxes\": [],\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Servicio\",\n            \"sku\": \"ABC123\"\n        }\n    ],\n    \"payment_form\": \"06\",\n    \"folio_number\": 914,\n    \"series\": \"F\",\n    \"use\": \"G01\",\n    \"currency\": \"MXN\",\n    \"exchange\": 1,\n    \"date\": \"now\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"ba9049848bb5e6696387af4be1afba42;o=1"},{"key":"Date","value":"Thu, 19 May 2022 20:34:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"40"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is missing\",\n    \"code\": 401\n}"},{"id":"54d8c046-4571-4a93-a38f-bba4a91f3381","name":"400 example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"legal_name\": \"RAZON SOCIAL\",\n        \"email\": \"email@example.com\",\n        \"tax_id\": \"RFC\",\n        \"tax_system\": \"601\",\n        \"address\": {\n            \"zip\": \"01040\"\n        }\n    },\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"description\": \"Ukelele\",\n            \"product_key\": \"60131324\",\n            \"total\": 345.60,\n            \"discount\": 0,\n            \"tax_included\": false,\n            \"taxes\": [],\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Servicio\",\n            \"sku\": \"ABC123\"\n        }\n    ],\n    \"payment_form\": \"06\",\n    \"folio_number\": 914,\n    \"series\": \"F\",\n    \"use\": \"G01\",\n    \"currency\": \"MXN\",\n    \"exchange\": 1,\n    \"date\": \"now\"\n}"},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-cloud-trace-context","value":"fe6037a2a8895ae76ede33e951854973/6431736295171828121;o=1"},{"key":"content-security-policy","value":"default-src 'self';font-src https:;img-src data: https:;script-src 'unsafe-inline' https:;style-src https: 'unsafe-inline';object-src 'none';connect-src https:;frame-src self *.stripe.com *.facebook.com;upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"access-control-allow-origin","value":"*"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"e9-E5Pdqh8RzH6L1bTHKYJp0udHXuU\""},{"key":"vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 17 May 2022 00:45:23 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"233"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validación de timbrado: Este RFC del receptor no existe en la lista de RFC inscritos no cancelados del SAT|La clave del campo RegimenFiscalReceptor debe corresponder con el tipo de persona (física o moral).\",\n    \"ok\": false\n}"},{"id":"9e5f14df-41e3-4e63-963c-26728efd9e6b","name":"400 example 2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"legal_name\": \"RAZON SOCIAL\",\n        \"email\": \"email@example.com\",\n        \"tax_id\": \"RFC\",\n        \"tax_system\": \"601\",\n        \"address\": {\n            \"zip\": \"01040\"\n        }\n    },\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"description\": \"Ukelele\",\n            \"product_key\": \"60131324\",\n            \"total\": 345.60,\n            \"discount\": 0,\n            \"tax_included\": false,\n            \"taxes\": [],\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Servicio\",\n            \"sku\": \"ABC123\"\n        }\n    ],\n    \"payment_form\": \"06\",\n    \"folio_number\": 914,\n    \"series\": \"F\",\n    \"use\": \"G01\",\n    \"currency\": \"MXN\",\n    \"exchange\": 1,\n    \"date\": \"now\"\n}"},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-cloud-trace-context","value":"32b86165c80acb254a09aca540077f7a/465834640223403725;o=1"},{"key":"content-security-policy","value":"default-src 'self';font-src https:;img-src data: https:;script-src 'unsafe-inline' https:;style-src https: 'unsafe-inline';object-src 'none';connect-src https:;frame-src self *.stripe.com *.facebook.com;upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"access-control-allow-origin","value":"*"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"118-Ayw9MfQ8GJ9aLITiDJbzCxMp294\""},{"key":"vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 17 May 2022 00:47:43 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"280"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validación de timbrado: El nombre o razón social del receptor no coincide con el RFC registrado en el SAT; recuerda que con CFDI 4.0, debe ingresarse en mayúsculas y sin acentos, además ya no debes incluir el régimen societario (ej. \\\"S.A. de C.V.\\\")\",\n    \"ok\": false\n}"}],"_postman_id":"458d33da-2033-41a9-829a-14267c371e8c"},{"name":"/v1/invoices/create","id":"f6ccf994-639f-4b96-ac20-96abafb3fb33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"returnFilesUrls\":true,\n    \"use\": \"G01\",\n    \"series\": \"q32\",\n    \"payment_form\": \"03\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"email@gigstack.io\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"USD\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    //\"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 1,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"H87\",\n            \"name\": \"Desarrollo de API\",\n            \"description\": \"Desarrollo de API\"\n        }\n    ],\n    \"metadata\":{\n        \"internalOrderId\":\"abcde\"\n    },\n    //\"clientId\":\"client___\"\n    \"client\": {\n        \"rfc\":\"EKU9003173C9\",\n        \"legal_name\":\"Escuela Kemper Ugarte\",\n        \"tax_system\":{\n            \"label\":\"General de Ley Personas Morales\",\n            \"value\":\"601\"\n        },\n        \"bcc\": [\"\"],\n        \"address\": {\n            \"zip\": \"10200\"\n            , \n            \"country\": \"MEX\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/create","description":"<h3 id=\"crear-factura-cfdi-40-en-gigstack\">Crear Factura CFDI 4.0 en gigstack</h3>\n<p>Utiliza el siguiente cuerpo de solicitud para generar una factura CFDI 4.0 en gigstack. Si estás utilizando las API Keys en modo de prueba, la factura generada será una factura sin timbrar conocida como factura en modo de prueba, pre-factura o factura sin timbrar.</p>\n<p><strong>Precaución:</strong> Si no dispones de la información fiscal completa de tu cliente, considera emitir un \"recibo de venta\", lo que automáticamente habilitará un portal de auto-facturación.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n<th>Tipo de Dato</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>returnFilesUrls</td>\n<td>Indica si se deben devolver URLs de archivos (PDF y XML) en BASE64 en la respuesta.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>use</td>\n<td>Uso del CFDI.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>series</td>\n<td>Serie del CFDI.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>Forma de pago del CFDI.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>relation</td>\n<td>Relación con otros CFDIs o null.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>emails</td>\n<td>Lista de correos electrónicos para enviar la factura. (Array de strings)</td>\n<td>Array (String)</td>\n</tr>\n<tr>\n<td>related</td>\n<td>Información relacionada.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>invoiceType</td>\n<td>Tipo de CFDI (ej. \"I\" para \"Ingreso\").</td>\n<td>String</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Moneda utilizada en el CFDI, en formato de 3 letras (ej: MXN). En caso de ser diferente a MXN y no enviar exchange_rate, se añadirá el tipo de cambio del día actual.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>exchange_rate</td>\n<td>Tipo de cambio a utilizar (ej: 1 USD = <strong>16.95</strong>).</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>export</td>\n<td>Información de exportación o null.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td>Método de pago utilizado.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>folio_number</td>\n<td>Número de folio del CFDI. En caso de estar vacío, se utilizará el último utilizado a nivel de cuenta e incrementará en 1.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items</td>\n<td>Lista de elementos o productos del CFDI.</td>\n<td>Array (Object)</td>\n</tr>\n<tr>\n<td>items.quantity</td>\n<td>Cantidad del producto o servicio.</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td>Lista de impuestos aplicados al producto.</td>\n<td>Array (Object)</td>\n</tr>\n<tr>\n<td>items.taxes.withholding</td>\n<td>Indica si el impuesto es de retención.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>items.taxes.inclusive</td>\n<td>Indica si el impuesto está incluido en el precio.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>items.taxes.rate</td>\n<td>Tasa de impuesto (porcentaje).</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>items.taxes.factor</td>\n<td>Factor del impuesto (ej. \"Tasa\").</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.taxes.type</td>\n<td>Tipo de impuesto (ej. \"IVA\").</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.unit_name</td>\n<td>Nombre de la unidad de medida.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.total</td>\n<td>Total del producto o servicio.</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>items.product_key</td>\n<td>Clave del producto o servicio del catálogo del SAT.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.unit_key</td>\n<td>Clave de la unidad de medida.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.name</td>\n<td>Nombre del producto o servicio.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.description</td>\n<td>Descripción del producto o servicio.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>Metadatos adicionales.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>metadata.internalOrderId</td>\n<td>ID interno del pedido.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Información del cliente o receptor del CFDI, requerido si no se envía clientId.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>RFC del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.legal_name</td>\n<td>Nombre legal del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>Clave del régimen fiscal a 3 dígitos. Consulta la clave en la sección de Catálogos.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.bcc</td>\n<td>Lista de correos electrónicos en copia oculta.</td>\n<td>Array (String)</td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>Información de dirección del cliente.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>Código postal del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>País del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.address</td>\n<td>Dirección del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID del cliente guardado en gigstack (opcional si se envía el objeto client).</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.metadata.internalId</td>\n<td>ID interno del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>global</td>\n<td>Objeto de factura global</td>\n<td>Object (Optional)</td>\n</tr>\n<tr>\n<td>global.months</td>\n<td>Clave que representa el mes de la facrura global. Consulta el apartado de catálogos para ver los posibles valores</td>\n<td>String</td>\n</tr>\n<tr>\n<td>global.year</td>\n<td>Año de la factura</td>\n<td>Number (Int)</td>\n</tr>\n<tr>\n<td>global.periodicity</td>\n<td>Periodicidad de la factura global.  <br />Posibles valores:  <br />\"day\", \"week\", \"month\", \"two_months\"</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>Consulta la sección de catalogos para los valores del SAT.</p>\n<p>¡Sigue estos parámetros para crear facturas de manera eficiente y personalizada en gigstack!</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"7294095e-e1f9-4c5d-b663-6ae9649594fb","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"returnFilesUrls\":true,\n    \"use\": \"G01\",\n    \"series\": \"q32\",\n    \"payment_form\": \"03\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"email@gigstack.io\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"USD\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    //\"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 1,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"H87\",\n            \"name\": \"Desarrollo de API\",\n            \"description\": \"Desarrollo de API\"\n        }\n    ],\n    \"metadata\":{\n        \"internalOrderId\":\"abcde\"\n    },\n    //\"clientId\":\"client___\"\n    \"client\": {\n        \"rfc\":\"EKU9003173C9\",\n        \"legal_name\":\"Escuela Kemper Ugarte\",\n        \"tax_system\":{\n            \"label\":\"General de Ley Personas Morales\",\n            \"value\":\"601\"\n        },\n        \"bcc\": [\"\"],\n        \"address\": {\n            \"zip\": \"\"\n            , \n            \"country\": \"MEX\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"22774-DBGnOIc6SbqHpb12GPHAPSsdznk\""},{"key":"function-execution-id","value":"5rjpx41cqydp"},{"key":"x-cloud-trace-context","value":"937a7f0e485f9c15bb5e12c24d65c7db;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 16 Jul 2023 03:31:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"141172"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Factura creada correctamente\",\n    \"data\": {\n        \"series\": \"Q32\",\n        \"use\": \"G01\",\n        \"payment_form\": \"03\",\n        \"type\": \"I\",\n        \"emails\": [\n            \"email@gigstack.io\"\n        ],\n        \"invoiceType\": \"I\",\n        \"currency\": \"USD\",\n        \"payment_method\": \"PUE\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"discount\": 0,\n                \"product\": {\n                    \"description\": \"Desarrollo de API\",\n                    \"product_key\": \"01010101\",\n                    \"unit_key\": \"H87\",\n                    \"unit_name\": \"Unidad de Servicio\",\n                    \"price\": 21.21,\n                    \"tax_included\": true,\n                    \"taxes\": [\n                        {\n                            \"base\": null,\n                            \"rate\": 0.16,\n                            \"type\": \"IVA\",\n                            \"withholding\": false,\n                            \"factor\": \"Tasa\",\n                            \"ieps_mode\": \"sum_before_taxes\"\n                        }\n                    ],\n                    \"taxability\": \"02\"\n                }\n            }\n        ],\n        \"client\": {\n            \"rfc\": \"EKU9003173C9\",\n            \"legal_name\": \"Escuela Kemper Ugarte\",\n            \"tax_system\": \"601\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"metadata\": {\n            \"internalOrderId\": \"abcde\"\n        },\n        \"folio_number\": 608,\n        \"livemode\": false,\n        \"test\": true,\n        \"internalClient\": {\n            \"rfc\": \"EKU9003173C9\",\n            \"legal_name\": \"Escuela Kemper Ugarte\",\n            \"tax_system\": \"601\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"fromApi\": true,\n        \"team\": \"\",\n        \"exchange_rate\": 16.78697330871244,\n        \"exchange\": 16.78697330871244,\n        \"id\": \"\",\n        \"created_at\": \"2023-07-16T03:31:52.123Z\",\n        \"cfdi_version\": 4,\n        \"organization\": \"\",\n        \"date\": \"2023-07-16T03:31:52.111Z\",\n        \"customer\": {\n            \"id\": \"\",\n            \"legal_name\": \"ESCUELA KEMPER UGARTE\",\n            \"tax_system\": \"601\",\n            \"tax_id\": \"EKU9003173C9\",\n            \"address\": {\n                \"country\": \"MEX\",\n                \"zip\": \"\"\n            }\n        },\n        \"address\": {\n            \"street\": \"\",\n            \"exterior\": \"\",\n            \"interior\": \"\",\n            \"neighborhood\": \"\",\n            \"city\": \"Mexico\",\n            \"municipality\": \"\",\n            \"state\": \"Ciudad de México\",\n            \"country\": \"MEX\",\n            \"zip\": \"\"\n        },\n        \"verification_url\": \"https://\",\n        \"status\": \"valid\",\n        \"cancellation_status\": \"none\",\n        \"total\": 21.21,\n        \"uuid\": \"2A____51E-8_89-424C-9_B8-D__EEFB6E49\",\n        \"stamp\": {\n            \"date\": \"2023-07-15T21:31:52\",\n            \"sat_signature\": \"\",\n            \"sat_cert_number\": \"\",\n            \"signature\": \"\",\n            \"complement_string\": \"\"\n        },\n        \"pdf_custom_section\": \"<p><p></p></p>\",\n        \"export\": \"01\",\n        \"relation\": null,\n        \"owner\": \"\",\n        \"timestamp\": 1689478314227,\n        \"pastInvoice\": null,\n        \"files\": [\n            {\n                \"content\": \"B64\",\n                \"filename\": \"prueba-factura-64b364a835330c8036269637.pdf\",\n                \"contentType\": \"application/pdf\"\n            },\n            {\n                \"content\": \"B64\",\n                \"filename\": \"prueba-factura-64b364a835330c8036269637.xml\",\n                \"contentType\": \"application/xml\"\n            }\n        ]\n    }\n}"}],"_postman_id":"f6ccf994-639f-4b96-ac20-96abafb3fb33"},{"name":"/v1/invoices/invoice","id":"1087d363-d69e-42fe-8f75-455bafb7ebab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/invoice?id=ID OR UUID","description":"<h3 id=\"obtener-información-de-factura-en-gigstack\">Obtener Información de Factura en gigstack</h3>\n<p>Utiliza este endpoint para recuperar la información actualizada de una factura emitida desde gigstack. Para acceder a la factura específica, proporciona el parámetro \"id\" en la consulta, que puede ser el ID de la factura o el folio fiscal (UUID).</p>\n<p><strong>Parámetros de Consulta:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID o folio fiscal (UUID) de la factura a recuperar.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Ejemplo de Uso:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/invoice?id=ID_DE_LA_FACTURA\n\n</code></pre><p>Este ejemplo recupera la información actualizada de la factura identificada por el ID o folio fiscal proporcionado. Utiliza este endpoint para obtener detalles precisos sobre una factura específica generada en gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","invoice"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"id","value":"ID OR UUID"}],"variable":[]}},"response":[{"id":"962223a8-5191-4e20-a651-1b52021c77cd","name":"200","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/invoice?id=359747FC-BFCE-444A-B3C5-FCAB8C86D3CF","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","invoices","invoice"],"query":[{"key":"id","value":"359747FC-BFCE-444A-B3C5-FCAB8C86D3CF"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"230b4-WlHwEzlSq8ceJk9N0WVTZHo4L64\""},{"key":"function-execution-id","value":"5rjptnq72lcx"},{"key":"x-cloud-trace-context","value":"a45cdd2961664392e315fe25cb390313;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 16 Jul 2023 03:43:04 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"143540"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Factura encontrada\",\n    \"data\": {\n        \"date\": \"2023-07-15T17:48:01.082Z\",\n        \"fid\": \"\",\n        \"automations\": null,\n        \"clientID\": \"\",\n        \"livemode\": false,\n        \"use\": \"G03\",\n        \"payment_form\": \"99\",\n        \"created_at\": \"2023-07-15T17:48:01.145Z\",\n        \"stamp\": {\n            \"date\": \"2023-07-15T11:48:01\",\n            \"sat_cert_number\": \"30001000000400002495\",\n            \"sat_signature\": \"\",\n            \"signature\": \"\",\n            \"complement_string\": \"\"\n        },\n        \"type\": \"I\",\n        \"billingAccount\": \"\",\n        \"pdf_custom_section\": \"<p><p></p></p>\",\n        \"pastInvoice\": \"\",\n        \"uuid\": \"\",\n        \"relation\": null,\n        \"emails\": [\n            \"\"\n        ],\n        \"total\": 11.6,\n        \"related\": [],\n        \"invoiceType\": \"I\",\n        \"client\": {\n            \"owner\": \"\",\n            \"zip\": \"\",\n            \"metadata\": {\n                \"stripeId\": \"\"\n            },\n            \"notes\": \"Importado desde stripe\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"line2\": \"\",\n                \"line1\": \"\"\n            },\n            \"paymentsCreated\": 2,\n            \"phones\": [\n                \"\"\n            ],\n            \"efos\": {\n                \"data\": {\n                    \"detalles\": [],\n                    \"mensaje\": \"\"\n                },\n                \"is_valid\": true\n            },\n            \"team\": \"\",\n            \"billingAccount\": \"\",\n            \"tax_system\": \"\",\n            \"tax_id\": \"\",\n            \"rfc\": \"\",\n            \"emailAddresses\": [\n                \"\"\n            ],\n            \"names\": [\n                \"\"\n            ],\n            \"phone\": \"\",\n            \"name\": \"\",\n            \"legal_name\": \"\",\n            \"id\": \"\",\n            \"RFCvalidated\": true,\n            \"email\": \"\",\n            \"timestamp\": 1675220032616\n        },\n        \"cfdi_version\": 4,\n        \"currency\": \"MXN\",\n        \"payment\": null,\n        \"cancellation_status\": \"none\",\n        \"id\": \"\",\n        \"export\": \"01\",\n        \"payment_method\": \"PPD\",\n        \"timestamp\": 1689443282818,\n        \"verification_url\": \"\",\n        \"owner\": \"\",\n        \"proposal\": null,\n        \"address\": {\n            \"zip\": \"\",\n            \"country\": \"MEX\",\n            \"city\": \"Mexico\",\n            \"street\": \"\",\n            \"exterior\": \"\",\n            \"municipality\": \"\",\n            \"neighborhood\": \"\",\n            \"state\": \"\",\n            \"interior\": \"\"\n        },\n        \"test\": true,\n        \"created\": 1689443280725,\n        \"internalItems\": [\n            {\n                \"owner\": \"\",\n                \"hours\": null,\n                \"quantity\": 1,\n                \"taxes\": [\n                    {\n                        \"withholding\": false,\n                        \"rate\": \"0.160000\",\n                        \"id\": \"tasa-traslado-iva-16\",\n                        \"type\": \"IVA\",\n                        \"factor\": \"Tasa\"\n                    }\n                ],\n                \"description\": \"\",\n                \"discount\": 0,\n                \"team\": \"\",\n                \"billingAccount\": \"\",\n                \"paymentType\": {\n                    \"label\": \"Precio fijo\",\n                    \"value\": \"fixed\"\n                },\n                \"total\": 10,\n                \"product_key\": \"71101501\",\n                \"feeInfo\": null,\n                \"name\": \"TESTING PRODUCT\",\n                \"id\": \"2BcbtGz4S7\",\n                \"timestamp\": 1674682058505\n            }\n        ],\n        \"team\": \"\",\n        \"internalClient\": {\n            \"owner\": \"\",\n            \"zip\": \"91380\",\n            \"metadata\": {\n                \"stripeId\": \"\"\n            },\n            \"notes\": \"Importado desde stripe\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"line2\": \"\",\n                \"line1\": \"\"\n            },\n            \"paymentsCreated\": 2,\n            \"phones\": [\n                \"\"\n            ],\n            \"efos\": {\n                \"data\": {\n                    \"detalles\": [],\n                    \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                },\n                \"is_valid\": true\n            },\n            \"team\": \"\",\n            \"billingAccount\": \"\",\n            \"tax_system\": \"\",\n            \"tax_id\": \"\",\n            \"rfc\": \"\",\n            \"emailAddresses\": [\n                \"\"\n            ],\n            \"names\": [\n                \"\"\n            ],\n            \"phone\": \"\",\n            \"name\": \"\",\n            \"legal_name\": \"\",\n            \"id\": \"\",\n            \"RFCvalidated\": true,\n            \"email\": \"\",\n            \"timestamp\": 1675220032616\n        },\n\n        \"folio_number\": 605,\n        \"series\": \"CDEV1.0\",\n        \"organization\": \"\",\n        \"exchange\": 1,\n        \"invoice\": null,\n        \"items\": [\n            {\n                \"product\": {\n                    \"unit_name\": \"Servicio\",\n                    \"product_key\": \"71101501\",\n                    \"price\": 10,\n                    \"unit_key\": \"E48\",\n                    \"description\": \"TESTING PRODUCT\",\n                    \"taxes\": [\n                        {\n                            \"withholding\": false,\n                            \"rate\": 0.16,\n                            \"type\": \"IVA\",\n                            \"factor\": \"Tasa\",\n                            \"ieps_mode\": \"sum_before_taxes\",\n                            \"base\": null\n                        }\n                    ],\n                    \"tax_included\": false,\n                    \"taxability\": \"02\",\n                    \"sku\": \"2BcbtGz4S7\"\n                },\n                \"quantity\": 1,\n                \"discount\": 0\n            }\n        ],\n        \"v4\": true,\n        \"customer\": {\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"MEX\"\n            },\n            \"id\": \"\",\n            \"legal_name\": \"\",\n            \"tax_system\": \"612\",\n            \"tax_id\": \"\"\n        },\n        \"status\": \"valid\",\n        \"discount\": 0,\n        \"lastEmail\": 1689443287965,\n        \"emailID\": [\n            \"\"\n        ],\n        \"files\": [\n            {\n                \"content\": \"\",\n                \"filename\": \"prueba-factura-64b2dbd10a.pdf\",\n                \"contentType\": \"application/pdf\"\n            },\n            {\n                \"content\": \"\",\n                \"filename\": \"prueba-factura-64b2dba.xml\",\n                \"contentType\": \"application/xml\"\n            }\n        ]\n    }\n}"}],"_postman_id":"1087d363-d69e-42fe-8f75-455bafb7ebab"},{"name":"/v1/invoices/list","id":"cb467a05-3b6d-4eab-b8c0-0f2a0eae0ebf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/list?limit=10&startAfter=1689196400000","description":"<h3 id=\"listar-facturas-emitidas-desde-gigstack\">Listar Facturas Emitidas desde gigstack</h3>\n<p>Este endpoint te proporcionará un listado de todas las facturas generadas desde gigstack para la cuenta en cuestión. Por defecto, se limitará a mostrar un máximo de 10 facturas ordenadas por fecha en orden descendente. El límite predeterminado es de 100 facturas.</p>\n<p>Adicionalmente, puedes utilizar el parámetro de consulta \"<a href=\"https://www.epochconverter.com/\">startAfter</a>\" para obtener facturas emitidas antes de una fecha específica en milisegundos. Por ejemplo, para obtener facturas emitidas antes de Julio 12, 2023, puedes pasar el parámetro \"startAfter=1689196400000\".</p>\n<p><strong>Parámetros de Consulta:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Número máximo de facturas a mostrar (por defecto, 10).</td>\n</tr>\n<tr>\n<td>startAfter</td>\n<td>Fecha de referencia en milisegundos para obtener facturas emitidas antes de esta fecha.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Ejemplo de Uso:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/list?limit=10&amp;startAfter=1689196400000\n\n</code></pre><p>Este ejemplo obtiene un máximo de 10 facturas emitidas antes de la fecha de referencia proporcionada. La respuesta incluirá un valor \"nextStartAfter\" para facilitar la obtención del siguiente lote de facturas.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"limit","value":"10"},{"key":"startAfter","value":"1689196400000"}],"variable":[]}},"response":[{"id":"dba379bb-98ef-491c-86c0-fde83a42bc4b","name":"200","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/list?limit=10","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","invoices","list"],"query":[{"key":"limit","value":"10"},{"key":"startAfter","value":"[timestamp]","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"18ffd-fW+LC5H+kfUavB2DxZJiNwFekZs\""},{"key":"function-execution-id","value":"akmqjv68crrc"},{"key":"x-cloud-trace-context","value":"52f078d0dd935afa7191bb107b0d89af;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 16 Jul 2023 15:14:45 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"102397"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Facturas encontradas\",\n    \"data\": [\n        //ALL THE INVOICES FOUND WITH THE QUERY\n    ],\n    \"nextStartAfter\": 1689097562588\n}"}],"_postman_id":"cb467a05-3b6d-4eab-b8c0-0f2a0eae0ebf"},{"name":"/v1/invoices/files","id":"fb82794a-c822-4edd-9484-e5f939ed10f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/files?id=65698465b443518be28ff515&filetype=pdf","description":"<h3 id=\"obtener-archivos-relacionados-a-una-factura-en-gigstack\">Obtener Archivos Relacionados a una Factura en gigstack</h3>\n<p>Este endpoint te permite obtener archivos relacionados a una factura emitida desde gigstack. Llamando a este endpoint, recibirás el archivo de la factura codificado en base64. Puedes recuperar el archivo en formato PDF o XML mediante el parámetro \"filetype\".</p>\n<p><strong>Parámetros de Consulta:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID o folio fiscal (UUID) de la factura para la cual deseas obtener archivos.</td>\n</tr>\n<tr>\n<td>filetype</td>\n<td>Tipo de archivo a recuperar, puede ser \"pdf\" o \"xml\".</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Ejemplo de Uso:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/files?id=e55b3081cd496&amp;filetype=pdf\n\n</code></pre><p>Este ejemplo recupera el archivo PDF relacionado a la factura identificada por el ID o folio fiscal proporcionado. Utiliza este endpoint para obtener los archivos necesarios en el formato deseado (PDF o XML) para tu gestión de facturas en gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","files"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"id","value":"65698465b443518be28ff515"},{"key":"filetype","value":"pdf"}],"variable":[]}},"response":[{"id":"7fcea193-2e71-4c43-a7db-12faf89738a2","name":"200 -  PDF File","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/files?id=65698465b443518be28ff515&filetype=pdf","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","invoices","files"],"query":[{"key":"id","value":"65698465b443518be28ff515"},{"key":"filetype","value":"pdf"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"2044a-m6d447RhDOdTpi/n0FSjxNfFs2s\""},{"key":"function-execution-id","value":"7y68froz9t4k"},{"key":"x-cloud-trace-context","value":"663f967f69084e60602d44501f37f37d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:45:31 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"132170"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Archivo descargado correctamente\",\n    \"data\": {\n        \"content\": \"BASE64 FORMAT\",\n        \"filename\": \"40717161-EAFF-4B5A-A01D-83173AC7CBAC.pdf\",\n        \"contentType\": \"application/pdf\"\n    }\n}"}],"_postman_id":"fb82794a-c822-4edd-9484-e5f939ed10f0"},{"name":"/v1/invoices/cancel","id":"fae19031-c1da-4a80-9940-9449969cb5bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {API_KEY}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uuid\":\"3fd44a6b\",\n    \"motive\":\"02\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/cancel","description":"<h3 id=\"cancel-invoice\">Cancel Invoice</h3>\n<p>This endpoint is used to cancel an invoice.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>uuid</code> (string): The UUID of the invoice to be cancelled.</p>\n</li>\n<li><p><code>motive</code> (string): The reason for cancelling the invoice.</p>\n</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"uuid\": \"3fd44a6b\",\n    \"motive\": \"02\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v1","invoices","cancel"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"fae19031-c1da-4a80-9940-9449969cb5bd"},{"name":"/v1/invoices/updateStatus","id":"ccfeeb71-717c-400c-8c5b-bfce018ecf47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uuid\":\"__\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/updateStatus","description":"<h3 id=\"update-invoice-status\">Update Invoice Status</h3>\n<p>This endpoint is used to update the status of an invoice.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>uuid</code> (string, required): The unique identifier of the invoice to be updated.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will include the updated status of the invoice.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","updateStatus"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"ccfeeb71-717c-400c-8c5b-bfce018ecf47"}],"id":"d12eed95-6710-4bde-87dd-aa8b83b87643","description":"<p><strong>¡Bienvenido a la Gestión de Facturas en gigstack!</strong></p>\n<p>En esta sección, te sumergirás en una descripción detallada de los diversos endpoints diseñados para facilitar la creación de facturas de manera sencilla y rápida. Explora las funcionalidades que gigstack ofrece para optimizar la gestión de tus facturas y agilizar tus procesos financieros.  </p>\n<p>Utilizamos la versión de CFDI 4.0</p>\n","_postman_id":"d12eed95-6710-4bde-87dd-aa8b83b87643"},{"name":"Eventos recurrentes","item":[{"name":"/v1/recurring/payment","id":"3c72f463-a709-4db3-a94a-cb981f70e5b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment\": {\n        \"client\": {\n            \"id\":\"cus_P4EsqnTFChrOBw_RI2hpU84OLYHqmN\"\n         \n        },\n        \"items\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n        \"methodsTypesOptions\":[\"card\"],\n        \"addTransactionFee\":false,\n        \"currency\": \"MXN\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"automateInvoiceOnComplete\":true\n    },\n    \"clientId\": \"\",\n    \"temporality\": \"weekly\",\n    \"onWeekday\": \"monday\",\n    \"onTime\": \"20:30\",\n    \"startDate\": 1702164626000,\n    \"endDate\": 1703885281000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment","description":"<h3 id=\"crear-evento-recurrente-de-pago\">Crear Evento Recurrente de Pago</h3>\n<p>Utiliza este endpoint para crear un evento recurrente de pago en gigstack. Especifica la información del pago, los detalles del cliente y la recurrencia deseada. Gigstack se encargará de generar automáticamente estos eventos según la temporalidad definida por el usuario.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Campo</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment</td>\n<td>Objeto con la información del pago</td>\n<td>Objeto (requerido)</td>\n</tr>\n<tr>\n<td>payment.client</td>\n<td>Objeto con la información del cliente (opcional si no se envía clientId a nivel del body)</td>\n<td>Objeto (opcional)</td>\n</tr>\n<tr>\n<td>payment.client.name</td>\n<td>Nombre del cliente</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>payment.client.email</td>\n<td>Correo del cliente (opcional, si no se envía clientId, se buscará un cliente asociado al correo proporcionado)</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>payment.items</td>\n<td>Array de objetos a cobrar al cliente</td>\n<td>Array (requerido)</td>\n</tr>\n<tr>\n<td>payment.items[0].name</td>\n<td>Nombre del item a cobrar</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>payment.items[0].description</td>\n<td>Descripción del item a cobrar</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>payment.items[0].quantity</td>\n<td>Cantidad de items del mismo tipo</td>\n<td>Integer (opcional, default 1)</td>\n</tr>\n<tr>\n<td>payment.items[0].total</td>\n<td>Precio del item</td>\n<td>Double (requerido)</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes</td>\n<td>Agregar impuestos a los productos</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].rate</td>\n<td>Valor al que el impuesto será tomado (ejemplo: 0.16)</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].factor</td>\n<td>Tipo de factor del impuesto (ejemplo: \"Tasa\")</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].inclusive</td>\n<td>Indica si el impuesto está incluido en el precio del producto</td>\n<td>Boolean (opcional)</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].withholding</td>\n<td>El impuesto es retenido o trasladado</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].type</td>\n<td>Tipo de impuesto (ejemplo: IVA)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment.methodsTypesOptions</td>\n<td>Selección de los métodos de pago disponibles: 'bank', 'card', 'oxxo'</td>\n<td>Array (requerido)</td>\n</tr>\n<tr>\n<td>payment.addTransactionFee</td>\n<td>Añade el costo de la pasarela de mayor costo (stripe) a tus servicios</td>\n<td>Boolean (opcional)</td>\n</tr>\n<tr>\n<td>payment.currency</td>\n<td>Moneda en la que se realizará el cargo (ISO)</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>payment.metadata</td>\n<td>Objeto para recibir cualquier par clave-valor para referencias internas (no utilizado por Gigstack)</td>\n<td>Object (no requerido)</td>\n</tr>\n<tr>\n<td>payment.metadata.clabe</td>\n<td>Clabe interbancaria para que el pago se reciba en una cuenta específica</td>\n<td>String (no requerido)</td>\n</tr>\n<tr>\n<td>payment.metadata.externalID **</td>\n<td>Ejemplo de un campo interno personalizado</td>\n<td>Any (no requerido)</td>\n</tr>\n<tr>\n<td>payment.automateInvoiceOnComplete</td>\n<td>Si se envía en true, agrega automatización de factura cuando el pago está completo</td>\n<td>Boolean (no requerido)</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID del cliente guardado en gigstack (opcional si se envía objeto client)</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>temporality</td>\n<td>Temporalidad con la que se envía la recurrencia al cliente: 'day', 'weekly' u 'monthly'</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>onWeekday</td>\n<td>En caso de que la recurrencia sea semanal, especifica el día de la semana que debe ser enviada:  <br />'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>onDay</td>\n<td>En caso de que la recurrencia sea mensual, especifica el día del mes que debe ser enviada (mayor a 1 y menor a 31)</td>\n<td>Number (opcional)</td>\n</tr>\n<tr>\n<td>onTime</td>\n<td>La hora en la que se va a enviar la recurrencia (formato \"00:00\", se tomará \"10:00\" por defecto si no se envía)</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td>La fecha en que inicia la recurrencia (en milisegundos y mayor al día actual)</td>\n<td>Number (requerido)</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>La fecha en que finaliza la recurrencia (en milisegundos, no puede ser menor a la fecha de inicio)</td>\n<td>Number (requerido)</td>\n</tr>\n<tr>\n<td>useClientBankAccount</td>\n<td>Clabe interbancaria para que el pago se reciba en una cuenta específica (Boolean, no requerido)</td>\n<td>Boolean (no requerido)</td>\n</tr>\n<tr>\n<td>monthlyInterval</td>\n<td>Intervalo de meses para recurrencias mensuales.  <br />  <br />Si requieres que la recurrencia se ejecute cada año, el inervalo de meses debe ser 12.</td>\n<td>Number[1:12]</td>\n</tr>\n</tbody>\n</table>\n</div><p>Cabe aclarar que al crearse una recurrencia, esta automáticamente se inicializa con el estado 'active'.</p>\n","urlObject":{"protocol":"https","path":["v1","recurring","payment"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"ca45e55e-0f3b-40f1-bf4d-46bf439bf2ed","name":"400 - Fecha inválida","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment\": {\n        \"client\": {\n            \"name\": \"\",\n            \"email\": \"santiago.carranca@gigstack.io\"\n        },\n        \"items\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n        \"methodsTypesOptions\":[\"card\"],\n        \"addTransactionFee\":false,\n        \"currency\": \"MXN\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"automateInvoiceOnComplete\":true\n    },\n    \"clientId\": \"\",\n    \"temporality\": \"weekly\",\n    \"onWeekday\": \"monday\",\n    \"onTime\": \"20:30\",\n    \"startDate\": 1701293281000,\n    \"endDate\": 1703885281000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"63-Zs6zlnQoU1TdkLTnhz+1cxw4bd0\""},{"key":"function-execution-id","value":"zi8a38w2lqko"},{"key":"x-cloud-trace-context","value":"6c0a4af2f949596b34ffb270072192c7;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:16:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"99"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"La fecha de inicio no puede ser menor a hoy\",\n    \"error\": \"Invalid start date\"\n}"},{"id":"2fcb90b6-750d-4e61-ae38-a30bbcd65af7","name":"200 - Evento Creado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment\": {\n        \"client\": {\n            \"id\":\"___\"\n         \n        },\n        \"items\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n        \"methodsTypesOptions\":[\"card\"],\n        \"addTransactionFee\":false,\n        \"currency\": \"MXN\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"automateInvoiceOnComplete\":true\n    },\n    \"clientId\": \"\",\n    \"temporality\": \"weekly\",\n    \"onWeekday\": \"monday\",\n    \"onTime\": \"20:30\",\n    \"startDate\": 1702164626000,\n    \"endDate\": 1703885281000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"12d0-XSuXygijklJMemldrbE4zsvWRZs\""},{"key":"function-execution-id","value":"zi8acxo9ogb1"},{"key":"x-cloud-trace-context","value":"c05f43e1a7d34e995b1a4407672a3310"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:18:50 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"4816"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pago recurrente creado correctamente\",\n    \"data\": {\n        \"id\": \"B1P7t1iQ6MgGMfF\",\n        \"team\": \"\",\n        \"owner\": \"\",\n        \"element\": {\n            \"client\": {\n                \"owner\": \"\",\n                \"metadata\": {\n                    \"stripeId\": \"\"\n                },\n                \"livemode\": false,\n                \"team\": \"\",\n                \"billingAccount\": \"\",\n                \"legalName\": \"PORTAL\",\n                \"phone\": \"\",\n                \"name\": \"Portal\",\n                \"from\": \"stripe\",\n                \"id\": \"\",\n                \"email\": \"example@gigstack.io\",\n                \"timestamp\": 1700859275334,\n                \"zip\": \"\",\n                \"country\": \"\",\n                \"note\": \"Actualizado desde recibo de venta\",\n                \"address\": {\n                    \"zip\": \"\",\n                    \"country\": \"\"\n                },\n                \"use\": \"G03\",\n                \"client\": {\n                    \"address\": {\n                        \"zip\": \"\",\n                        \"country\": \"\"\n                    },\n                    \"legal_name\": \"__\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"type\": \"create\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"tax_id\": \"\",\n                \"customer\": {\n                    \"address\": {\n                        \"zip\": \"\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"santiago+portalf@gigstack.io\"\n                },\n                \"efos\": {\n                    \"data\": {\n                        \"detalles\": [],\n                        \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                    },\n                    \"is_valid\": true\n                },\n                \"RFCvalidated\": true\n            },\n            \"items\": [\n                {\n                    \"name\": \"Nombre del producto\",\n                    \"description\": \"Descripción del producto\",\n                    \"quantity\": 2,\n                    \"total\": 200,\n                    \"taxes\": [\n                        {\n                            \"rate\": 0.16,\n                            \"factor\": \"Tasa\",\n                            \"withholding\": false,\n                            \"type\": \"IVA\",\n                            \"inclusive\": true\n                        }\n                    ]\n                }\n            ],\n            \"methodsTypesOptions\": [\n                \"card\"\n            ],\n            \"addTransactionFee\": false,\n            \"currency\": \"MXN\",\n            \"metadata\": {\n                \"externalID\": \"\"\n            },\n            \"automateInvoiceOnComplete\": true,\n            \"automations\": [\n                {\n                    \"type\": \"payment\",\n                    \"action\": \"create\",\n                    \"ref\": \"invoices\",\n                    \"from\": \"invoices\"\n                }\n            ],\n            \"custom_method_types\": [\n                {\n                    \"name\": \"Tarjeta de crédito o débito\",\n                    \"id\": \"card\",\n                    \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/Cards2.svg\",\n                    \"details\": \"Pago con tarjeta de crédito o débito\",\n                    \"manualConfirmation\": false,\n                    \"requiredKey\": \"paymentIntent\"\n                }\n            ],\n            \"team\": \"\",\n            \"owner\": \"\",\n            \"from\": \"api\",\n            \"customer\": {\n                \"owner\": \"\",\n                \"metadata\": {\n                    \"stripeId\": \"\"\n                },\n                \"livemode\": false,\n                \"team\": \"team_RI2hpU84OLYHqmN\",\n                \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                \"legalName\": \"PORTAL\",\n                \"phone\": \"\",\n                \"name\": \"Portal \",\n                \"from\": \"stripe\",\n                \"id\": \"\",\n                \"email\": \"\",\n                \"timestamp\": 1700859275334,\n                \"zip\": \"10200\",\n                \"country\": \"Mexico\",\n                \"note\": \"Actualizado desde recibo de venta\",\n                \"address\": {\n                    \"zip\": \"10200\",\n                    \"country\": \"Mexico\"\n                },\n                \"use\": \"G03\",\n                \"client\": {\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"type\": \"create\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"tax_id\": \"\",\n                \"customer\": {\n                    \"address\": {\n                        \"zip\": \"10200\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"efos\": {\n                    \"data\": {\n                        \"detalles\": [],\n                        \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                    },\n                    \"is_valid\": true\n                },\n                \"RFCvalidated\": true\n            },\n            \"clientID\": \"\",\n            \"clientId\": \"\",\n            \"billingAccount\": \"\"\n        },\n        \"billingAccount\": \"\",\n        \"timestamp\": 1702142329837,\n        \"startDate\": 1702164626000,\n        \"endDate\": 1703885281000,\n        \"client\": {\n            \"owner\": \"\",\n            \"metadata\": {\n                \"stripeId\": \"\"\n            },\n            \"livemode\": false,\n            \"team\": \"team_RI2hpU84OLYHqmN\",\n            \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n            \"legalName\": \"PORTAL \",\n            \"phone\": \"\",\n            \"name\": \"Portal \",\n            \"from\": \"stripe\",\n            \"id\": \"\",\n            \"email\": \"\",\n            \"timestamp\": 1700859275334,\n            \"zip\": \"10200\",\n            \"country\": \"Mexico\",\n            \"note\": \"Actualizado desde recibo de venta\",\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"\"\n            },\n            \"use\": \"G03\",\n            \"client\": {\n                \"address\": {\n                    \"zip\": \"\",\n                    \"country\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"email\": \"\"\n            },\n            \"legal_name\": \"\",\n            \"type\": \"create\",\n            \"tax_system\": \"\",\n            \"rfc\": \"\",\n            \"tax_id\": \"\",\n            \"customer\": {\n                \"address\": {\n                    \"zip\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"email\": \"\"\n            },\n            \"efos\": {\n                \"data\": {\n                    \"detalles\": [],\n                    \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                },\n                \"is_valid\": true\n            },\n            \"RFCvalidated\": true\n        },\n        \"clientId\": \"\",\n        \"onTime\": \"20:30\",\n        \"onDay\": null,\n        \"onWeekday\": 1,\n        \"status\": \"active\",\n        \"startDateUTC\": 1702164626000,\n        \"startDateString\": \"9 December 2023 23:30\",\n        \"endDateUTC\": 1703885281000,\n        \"endDateString\": \"29 December 2023 21:28\",\n        \"timestampUTC\": 1702142329839,\n        \"type\": \"payment\"\n    }\n}"}],"_postman_id":"3c72f463-a709-4db3-a94a-cb981f70e5b6"},{"name":"/v1/recurring/payment","id":"8866e4c0-6e06-476e-a35e-9cb7c444fa82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"HeWLgOg2Lb71peU\",\n    \"tempItems\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n    \"endDate\": 1708462694000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment","description":"<h3 id=\"actualizar-evento-recurrente-de-pago\">Actualizar Evento Recurrente de Pago</h3>\n<p>Utiliza este endpoint para actualizar un evento recurrente de pago en gigstack. Puedes actualizar la fecha de finalización, pausar el evento, y actualizar los <code>items</code></p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Campo</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment.items</td>\n<td>Array de objetos a cobrar al cliente</td>\n<td>Array (requerido)</td>\n</tr>\n<tr>\n<td>tempItems[0].name</td>\n<td>Nombre del item a cobrar</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>tempItems[0].description</td>\n<td>Descripción del item a cobrar</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>tempItems[0].quantity</td>\n<td>Cantidad de items del mismo tipo</td>\n<td>Integer (opcional, default 1)</td>\n</tr>\n<tr>\n<td>tempItems[0].total</td>\n<td>Precio del item</td>\n<td>Double (requerido)</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes</td>\n<td>Agregar impuestos a los productos</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].rate</td>\n<td>Valor al que el impuesto será tomado (ejemplo: 0.16)</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].factor</td>\n<td>Tipo de factor del impuesto (ejemplo: \"Tasa\")</td>\n<td>String</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].inclusive</td>\n<td>Indica si el impuesto está incluido en el precio del producto</td>\n<td>Boolean (opcional)</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].withholding</td>\n<td>El impuesto es retenido o trasladado</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].type</td>\n<td>Tipo de impuesto (ejemplo: IVA)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].temp</td>\n<td>Indica si es un item temporal</td>\n<td>Boolean (requerido)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Pausa o activa la recurrencia</td>\n<td>paused, active (requerido)</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>La fecha en que finaliza la recurrencia (en milisegundos, no puede ser menor a la fecha de inicio)</td>\n<td>Number (requerido)</td>\n</tr>\n<tr>\n<td>removeTempItems</td>\n<td>Elimina los items temporales</td>\n<td>Boolean (opcional)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","recurring","payment"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"8866e4c0-6e06-476e-a35e-9cb7c444fa82"},{"name":"/v1/recurring/status","id":"7321fc5e-5ebd-463b-b302-62b8872bad3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"id\": \"__\",\n   \"status\":\"paused\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/status","description":"<h3 id=\"cambiar-estado-de-recurrencia\">Cambiar Estado de Recurrencia</h3>\n<p>Utiliza este endpoint para cambiar el estado de una recurrencia en gigstack.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Campo</strong></th>\n<th><strong>Descripción</strong></th>\n<th>Tipo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID de la recurrencia que deseas editar</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Estado al que deseas cambiar la recurrencia ('active' o 'paused')</td>\n<td>String (requerido)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Este endpoint te permite actualizar el estado de una recurrencia específica en gigstack. Proporciona el ID de la recurrencia que deseas modificar y selecciona el nuevo estado ('active' para activar o 'paused' para pausar) que deseas asignarle.</p>\n","urlObject":{"protocol":"https","path":["v1","recurring","status"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"a67c675f-59f9-41b2-b8c2-bf3c52be7626","name":"200 - Actualizado","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"id\": \"B1P7t1iQ6MgGMfF\",\n   \"status\":\"paused\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"56-m5xfkkKSEGNO4F1dHfTo29IV/rE\""},{"key":"function-execution-id","value":"zi8ay46m1kju"},{"key":"x-cloud-trace-context","value":"4b123ede87918a2eab7de0f1e2a8090f;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:25:39 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"86"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Status de recurrencia actualizada correctamente\",\n    \"data\": \"B1P7t1iQ6MgGMfF\"\n}"}],"_postman_id":"7321fc5e-5ebd-463b-b302-62b8872bad3c"},{"name":"/v1/recurring/list","id":"1c8151ac-a0da-47fa-bfad-e2e0f19d44a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/list?limit=2&startAfter=8f8Fs49YKwKWHJh","description":"<h3 id=\"listar-eventos-recurrentes\">Listar Eventos Recurrentes</h3>\n<p>Utiliza este endpoint para obtener los datos de una recurrencia específica. Proporciona el ID de la recurrencia como parámetro para listar la información correspondiente. Puedes limitar la cantidad de resultados utilizando el parámetro 'limit', y también puedes especificar el último ID recuperado utilizando el parámetro 'startAfter'.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Campo</strong></th>\n<th><strong>Descripción</strong></th>\n<th>Tipo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID de la recurrencia que deseas listar</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Cantidad deseada de resultados (opcional, máximo 100)</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>startAfter</td>\n<td>Último ID recuperado para iniciar la lista (opcional)</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>Este endpoint te permite obtener información detallada de una recurrencia específica en gigstack. Proporciona el ID de la recurrencia que deseas listar, especifica la cantidad deseada de resultados utilizando el parámetro 'limit' (máximo 100), y opcionalmente, especifica el último ID recuperado utilizando el parámetro 'startAfter'.</p>\n","urlObject":{"protocol":"https","path":["v1","recurring","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"key":"id","value":"ID"},{"key":"limit","value":"2"},{"key":"startAfter","value":"8f8Fs49YKwKWHJh"}],"variable":[]}},"response":[{"id":"591fd4ef-dec3-475d-a0b8-b374cbc2136d","name":"200 - Listado","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/list?limit=1&startAfter=ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","recurring","list"],"query":[{"key":"id","value":"ID","disabled":true},{"key":"limit","value":"1"},{"key":"startAfter","value":"ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"2832-r3wHzeaQyLmhW5TAG22HClbC6co\""},{"key":"function-execution-id","value":"ezgef07ctti8"},{"key":"x-cloud-trace-context","value":"43364324845f736cd1c7b8a79ef11495;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:43:03 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"10290"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lista de limit recurrencias numero 2\",\n    \"data\": [\n        {\n            \"id\": \"\",\n            \"team\": \"\",\n            \"owner\": \"\",\n            \"element\": {\n                \"owner\": \"\",\n                \"metadata\": {\n                    \"externalID\": \"\"\n                },\n                \"automations\": [\n                    {\n                        \"ref\": \"invoices\",\n                        \"action\": \"create\",\n                        \"from\": \"invoices\",\n                        \"type\": \"payment\"\n                    }\n                ],\n  \n                \"clientId\": \"\",\n                \"automateInvoiceOnComplete\": true,\n                \"team\": \"\",\n                \"billingAccount\": \"\",\n                \"custom_method_types\": [\n                    {\n                        \"manualConfirmation\": false,\n                        \"requiredKey\": \"paymentIntent\",\n                        \"name\": \"Tarjeta de crédito o débito\",\n                        \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/Cards2.svg\",\n                        \"details\": \"Pago con tarjeta de crédito o débito\",\n                        \"id\": \"card\"\n                    }\n                ],\n                \"methodsTypesOptions\": [\n                    \"card\"\n                ],\n                \"client\": {\n                    \"country\": \"Mexico\",\n                    \"note\": \"Actualizado desde recibo de venta\",\n                    \"metadata\": {\n                        \"stripeId\": \"\"\n                    },\n                    \"livemode\": false,\n                    \"use\": \"G03\",\n                    \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                    \"type\": \"create\",\n                    \"tax_system\": \"612\",\n                    \"legalName\": \"PORTAL DE FACTURAS\",\n                    \"client\": {\n                        \"address\": {\n                            \"zip\": \"10200\",\n                            \"country\": \"Mexico\"\n                        },\n                        \"legal_name\": \"SANTIAGO CARRANCA HERNANDEZ\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"CAHS960410BL4\",\n                        \"email\": \"santiago+portalf@gigstack.io\"\n                    },\n                    \"from\": \"stripe\",\n                    \"id\": \"\",\n                    \"legal_name\": \"\",\n                    \"RFCvalidated\": true,\n                    \"email\": \"\",\n                    \"timestamp\": 1700859275334,\n                    \"owner\": \"\",\n                    \"zip\": \"10200\",\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"efos\": {\n                        \"data\": {\n                            \"detalles\": [],\n                            \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                        },\n                        \"is_valid\": true\n                    },\n                    \"team\": \"\",\n                    \"rfc\": \"\",\n                    \"tax_id\": \"\",\n                    \"phone\": \"\",\n                    \"name\": \"Portal De Facturas\",\n                    \"customer\": {\n                        \"address\": {\n                            \"zip\": \"10200\"\n                        },\n                        \"legal_name\": \"Z\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"CAHS960410BL4\",\n                        \"email\": \"\"\n                    }\n                },\n                \"addTransactionFee\": false,\n                \"currency\": \"MXN\",\n                \"from\": \"api\",\n                \"items\": [\n                    {\n                        \"total\": 200,\n                        \"quantity\": 2,\n                        \"name\": \"Nombre del producto\",\n                        \"description\": \"Descripción del producto\",\n                        \"taxes\": [\n                            {\n                                \"withholding\": false,\n                                \"inclusive\": true,\n                                \"rate\": 0.16,\n                                \"factor\": \"Tasa\",\n                                \"type\": \"IVA\"\n                            }\n                        ]\n                    }\n                ],\n                \"customer\": {\n                    \"country\": \"Mexico\",\n                    \"note\": \"Actualizado desde recibo de venta\",\n                    \"metadata\": {\n                        \"stripeId\": \"cus_P4EsqnTFChrOBw\"\n                    },\n                    \"livemode\": false,\n                    \"use\": \"G03\",\n                    \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                    \"type\": \"create\",\n                    \"tax_system\": \"612\",\n                    \"legalName\": \"PORTAL DE FACTURAS\",\n                    \"client\": {\n                        \"address\": {\n                            \"zip\": \"10200\",\n                            \"country\": \"Mexico\"\n                        },\n                        \"legal_name\": \"\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"\",\n                        \"email\": \"\"\n                    },\n                    \"from\": \"stripe\",\n                    \"id\": \"\",\n                    \"legal_name\": \"\",\n                    \"RFCvalidated\": true,\n                    \"email\": \"\",\n                    \"timestamp\": 1700859275334,\n                    \"owner\": \"\",\n                    \"zip\": \"\",\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"efos\": {\n                        \"data\": {\n                            \"detalles\": [],\n                            \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                        },\n                        \"is_valid\": true\n                    },\n                    \"team\": \"\",\n                    \"rfc\": \"\",\n                    \"tax_id\": \"\",\n                    \"phone\": \"\",\n                    \"name\": \"Portal De Facturas\",\n                    \"customer\": {\n                        \"address\": {\n                            \"zip\": \"10200\"\n                        },\n                        \"legal_name\": \"\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"\",\n                        \"email\": \"\"\n                    }\n                }\n            },\n            \"billingAccount\": \"\",\n            \"timestamp\": 1702142329837,\n            \"startDate\": 1702164626000,\n            \"endDate\": 1703885281000,\n            \"client\": {\n                \"country\": \"Mexico\",\n                \"note\": \"Actualizado desde recibo de venta\",\n                \"metadata\": {\n                    \"stripeId\": \"\"\n                },\n                \"livemode\": false,\n                \"use\": \"G03\",\n                \"billingAccount\": \"\",\n                \"type\": \"create\",\n                \"tax_system\": \"612\",\n                \"legalName\": \"PORTAL DE FACTURAS\",\n                \"client\": {\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"from\": \"stripe\",\n                \"id\": \"N\",\n                \"legal_name\": \"\",\n                \"RFCvalidated\": true,\n                \"email\": \"\",\n                \"timestamp\": 1700859275334,\n                \"owner\": \"\",\n                \"zip\": \"10200\",\n                \"address\": {\n                    \"zip\": \"10200\",\n                    \"country\": \"Mexico\"\n                },\n                \"efos\": {\n                    \"data\": {\n                        \"detalles\": [],\n                        \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                    },\n                    \"is_valid\": true\n                },\n                \"team\": \"\",\n                \"rfc\": \"\",\n                \"tax_id\": \"\",\n                \"phone\": \"\",\n                \"name\": \"Portal De Facturas\",\n                \"customer\": {\n                    \"address\": {\n                        \"zip\": \"10200\"\n                    },\n                    \"legal_name\": \" \",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                }\n            },\n            \"clientId\": \"\",\n            \"onTime\": \"20:30\",\n            \"onDay\": null,\n            \"onWeekday\": 1,\n            \"status\": \"paused\",\n            \"startDateUTC\": 1702164626000,\n            \"startDateString\": \"9 December 2023 23:30\",\n            \"endDateUTC\": 1703885281000,\n            \"endDateString\": \"29 December 2023 21:28\",\n            \"timestampUTC\": 1702142329839,\n            \"type\": \"payment\"\n        }\n    ],\n    \"totalEvents\": 20,\n    \"startAfter\": \"\"\n}"}],"_postman_id":"1c8151ac-a0da-47fa-bfad-e2e0f19d44a3"}],"id":"4ecea2d8-a59e-42a9-9072-ddaead6f1401","description":"<p><strong>¡Bienvenido a la Gestión de Eventos Recurrentes en gigstack!</strong></p>\n<p>En esta sección, explorarás una descripción detallada de los diferentes endpoints disponibles para crear eventos recurrentes, ya sean pagos o facturas, de manera fácil y rápida en gigstack. Aquí, los usuarios pueden especificar la recurrencia deseada, y gigstack se encargará de generar automáticamente estos recursos según la temporalidad definida. Descubre cómo gestionar eventos recurrentes, ya sean de pagos o facturas, de manera eficiente y sencilla con las herramientas disponibles en gigstack.</p>\n","_postman_id":"4ecea2d8-a59e-42a9-9072-ddaead6f1401"},{"name":"Clientes","item":[{"name":"/v1/clients/list","id":"685b243e-2dea-4164-a658-21ad08b6983d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/clients/list","description":"<h3 id=\"consultar-lista-de-clientes\">Consultar Lista de Clientes</h3>\n<p>Utiliza el siguiente endpoint para obtener una lista de clientes registrados en tu cuenta de Gigstack. Puedes filtrar la lista según diversos criterios, como RFC, correo electrónico, Stripe ID o ID interno, y también puedes limitar la cantidad de resultados devueltos. Además, puedes especificar un <code>startAfter</code> para obtener resultados a partir del último ID filtrado.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/clients/list\n\n</code></pre><p><strong>Parámetros Disponibles:</strong></p>\n<ul>\n<li><p><code>rfc</code> (Opcional): Filtra la lista por RFC del cliente.</p>\n</li>\n<li><p><code>email</code> (Opcional): Filtra la lista por correo electrónico del cliente.</p>\n</li>\n<li><p><code>stripeId</code> (Opcional): Filtra la lista por el ID del cliente en Stripe (comienza con \"cus_\").</p>\n</li>\n<li><p><code>id</code> (Opcional): Filtra la lista por el ID interno de Gigstack.</p>\n</li>\n<li><p><code>limit</code> (Opcional): Limita la cantidad de resultados devueltos (valor predeterminado: 10).</p>\n</li>\n<li><p><code>startAfter</code> (Opcional): ID del cliente a partir del cual se deben obtener los resultados.</p>\n</li>\n<li><p><code>company</code> (Opcional) Compañia del cliente</p>\n</li>\n</ul>\n<p><strong>Observaciones:</strong></p>\n<ul>\n<li>Los parámetros <code>id</code>, <code>rfc</code>, <code>email</code>, <code>stripeId</code> y <code>startAfter</code> no pueden utilizarse simultáneamente. Utiliza uno de ellos para cada solicitud.</li>\n</ul>\n<p><strong>Ejemplo:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>/v1/clients/list?rfc=XAXX010101000&amp;limit=20&amp;startAfter=12345\n\n</code></pre><p>Este endpoint te proporcionará una visión detallada de los clientes que cumplen con los criterios de filtrado especificados, limitando la cantidad de resultados devueltos y comenzando desde el ID especificado. Utiliza estos datos para gestionar y comprender mejor tus clientes dentro de Gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","clients","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"key":"id","value":""},{"disabled":true,"key":"email","value":""},{"disabled":true,"key":"rfc","value":""},{"disabled":true,"key":"stripeId","value":""},{"disabled":true,"key":"limit","value":"10"},{"disabled":true,"key":"company","value":null}],"variable":[]}},"response":[{"id":"c7d460e1-a90f-4e17-9d63-0a7dc35978b0","name":"200 - Listados","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/clients/list","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","clients","list"],"query":[{"key":"id","value":"","type":"text","disabled":true},{"key":"email","value":"sales@gigstack.io","disabled":true},{"key":"rfc","value":"","type":"text","disabled":true},{"key":"stripeId","value":"","type":"text","disabled":true},{"key":"limit","value":"10","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"358-fsZ0lo3uWazA9YrkKIpveR3WDro\""},{"key":"function-execution-id","value":"hopv90cglwcm"},{"key":"x-cloud-trace-context","value":"c0f342af928ef97d0fe6214860efd2b3;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:13:14 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"856"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Clientes obtenidos correctamente\",\n    \"total\": 208,\n    \"data\": [\n    {\n        \n    }\n    ],\n    \"startAfter\": null\n}"}],"_postman_id":"685b243e-2dea-4164-a658-21ad08b6983d"},{"name":"/v1/client","id":"469b7ade-3143-4d87-a955-ebe022cc8926","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","description":"<p>API KEY</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"cliente@example.com\",\n  \"rfc\": \"XAXX010101000\",\n  \"name\": \"Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Calle Principal\",\n    \"exterior\": \"123\",\n    \"neighborhood\": \"Colonia\",\n    \"city\": \"Ciudad\",\n    \"state\": \"Estado\",\n    \"country\": \"México\",\n    \"zip\": \"12345\"\n  },\n  \"phone\": \"1234567890\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium\"\n  },\n  \"enforceCheck\":false,\n  \"tax_system\": \"601\",\n  \"legal_name\": \"Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client","description":"<h4 id=\"crear-un-cliente\">Crear un cliente</h4>\n<p>Utiliza el siguiente endpoint para agregar un nuevo cliente a tu cuenta de Gigstack. Proporciona la información requerida según los valores disponibles.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client\n\n</code></pre><p><strong>Parámetros Disponibles:</strong></p>\n<ul>\n<li><p><code>rfc</code> (Opcional): Número de identificación fiscal (Registro Federal de Contribuyentes) en México o Identificador tributario del país en cuestión .</p>\n</li>\n<li><p><code>name</code> (Opcional): Nombre del cliente.</p>\n</li>\n<li><p><code>address</code> (Opcional): Objeto que incluye información detallada sobre la dirección del cliente.</p>\n<ul>\n<li><p><code>street</code> (Opcional): Calle.</p>\n</li>\n<li><p><code>exterior</code> (Opcional): Número exterior.</p>\n</li>\n<li><p><code>neighborhood</code> (Opcional): Delegación.</p>\n</li>\n<li><p><code>city</code> (Opcional): Ciudad.</p>\n</li>\n<li><p><code>state</code> (Opcional): Estado.</p>\n</li>\n<li><p><code>country</code> (Opcional): País.</p>\n</li>\n<li><p><code>zip</code> (Opcional): Código postal.</p>\n</li>\n</ul>\n</li>\n<li><p><code>phone</code> (Opcional): Número de teléfono del cliente.</p>\n</li>\n<li><p><code>metadata</code> (Opcional): Información adicional asociada al cliente.</p>\n</li>\n<li><p><code>tax_system</code> (Opcional): Clave del régimen fiscal a 3 dígitos (consulta la clave en la sección de Catálogos).</p>\n</li>\n<li><p><code>legal_name</code> (Opcional): Nombre fiscal del cliente.</p>\n</li>\n<li><p><code>bcc</code> (Opcional): Correos extra para añadir a la cuenta, enviaremos los correos al principal y a los correos en bcc!</p>\n</li>\n<li><p><code>enforceCheck</code> (Opcional): Forzar la validación fiscal del cliente previo a la creación!</p>\n</li>\n</ul>\n<p><strong>Ejemplo de Solicitud:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"cliente@example.com\",\n  \"rfc\": \"XAXX010101000\",\n  \"name\": \"Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Calle Principal\",\n    \"exterior\": \"123\",\n    \"neighborhood\": \"Colonia\",\n    \"city\": \"Ciudad\",\n    \"state\": \"Estado\",\n    \"country\": \"México\",\n    \"zip\": \"12345\"\n  },\n  \"phone\": \"1234567890\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium\"\n  },\n  \"tax_system\": \"601\",\n  \"legal_name\": \"Nombre Fiscal Cliente\"\n}\n\n</code></pre>\n<p>Este endpoint te permite incorporar nuevos clientes a tu sistema, proporcionando información detallada sobre su identidad, dirección y contacto. Utiliza esta función para gestionar eficientemente la información de tus clientes en Gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","client"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"6b7ab228-2d03-4a65-a0ff-8b7155e5452e","name":"200 - Creado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","description":"API KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"cliente@example.com\",\n  \"rfc\": \"XAXX010101000\",\n  \"name\": \"Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Calle Principal\",\n    \"exterior\": \"123\",\n    \"neighborhood\": \"Colonia\",\n    \"city\": \"Ciudad\",\n    \"state\": \"Estado\",\n    \"country\": \"México\",\n    \"zip\": \"12345\"\n  },\n  \"phone\": \"1234567890\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium\"\n  },\n  \"tax_system\": \"601\",\n  \"legal_name\": \"Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"1ea-lguuwW1Sjs7UPhghnZ24MKs/GlA\""},{"key":"function-execution-id","value":"hopvo1cdezt8"},{"key":"x-cloud-trace-context","value":"a33156b2bbc5805a1caf083ff3fb88e6;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:20:39 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"490"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cliente creado correctamente\",\n    \"client\": {\n        \"id\": \"client_od7VMxjJkz\",\n        \"tax_system\": \"601\",\n        \"tax_system_m\": {\n            \"value\": \"601\",\n            \"label\": \"Ley General de Personas Morales\"\n        },\n        \"email\": \"cliente@example.com\",\n        \"rfc\": \"XAXX010101000\",\n        \"name\": \"Nombre Cliente\",\n        \"address\": {\n            \"street\": \"Calle Principal\",\n            \"exterior\": \"123\",\n            \"neighborhood\": \"Colonia\",\n            \"city\": \"Ciudad\",\n            \"state\": \"Estado\",\n            \"country\": \"México\",\n            \"zip\": \"12345\"\n        },\n        \"phone\": \"1234567890\",\n        \"metadata\": {\n            \"tipo_cliente\": \"Premium\"\n        },\n        \"legal_name\": \"Nombre Fiscal Cliente\"\n    }\n}"}],"_postman_id":"469b7ade-3143-4d87-a955-ebe022cc8926"},{"name":"/v1/client","id":"0ee4fe40-7839-4927-9691-a13a53ae72fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"client_od7VMxjJkz\",\n  \"email\": \"nuevo_cliente@example.com\",\n  \"name\": \"Nuevo Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Nueva Calle\",\n    \"exterior\": \"456\",\n    \"neighborhood\": \"Nueva Colonia\",\n    \"city\": \"Nueva Ciudad\",\n    \"state\": \"Nuevo Estado\",\n    \"country\": \"México\",\n    \"zip\": \"54321\"\n  },\n  \"phone\": \"9876543210\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium Actualizado\"\n  },\n  \"tax_system\": \"603\",\n  \"legal_name\": \"Nuevo Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client","description":"<h4 id=\"actualizar-cliente\">Actualizar Cliente</h4>\n<p>Utiliza el siguiente endpoint para modificar la información de un cliente existente en tu cuenta de Gigstack. Debes proporcionar el <code>id</code> del cliente que deseas actualizar y los nuevos valores para los campos que deseas modificar.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>PUT https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client\n\n</code></pre><p><strong>Parámetros Disponibles:</strong></p>\n<ul>\n<li><p><code>id</code> (Obligatorio): ID del cliente que deseas actualizar.</p>\n</li>\n<li><p><code>email</code> (Opcional): Nuevo correo electrónico del cliente.</p>\n</li>\n<li><p><code>rfc</code> (Opcional): Nuevo número de identificación fiscal (Registro Federal de Contribuyentes) en México.</p>\n</li>\n<li><p><code>name</code> (Opcional): Nuevo nombre del cliente.</p>\n</li>\n<li><p><code>address</code> (Opcional): Nuevo objeto que incluye información detallada sobre la dirección del cliente.</p>\n<ul>\n<li><code>street</code> (Opcional): Nueva calle.</li>\n<li><code>exterior</code> (Opcional): Nuevo número exterior.</li>\n<li><code>neighborhood</code> (Opcional): Nueva delegación.</li>\n<li><code>city</code> (Opcional): Nueva ciudad.</li>\n<li><code>state</code> (Opcional): Nuevo estado.</li>\n<li><code>country</code> (Opcional): Nuevo país.</li>\n<li><code>zip</code> (Opcional): Nuevo código postal.</li>\n</ul>\n</li>\n<li><p><code>phone</code> (Opcional): Nuevo número de teléfono del cliente.</p>\n</li>\n<li><p><code>metadata</code> (Opcional): Nueva información adicional asociada al cliente.</p>\n</li>\n<li><p><code>tax_system</code> (Opcional): Nueva clave del régimen fiscal a 3 dígitos (consulta la clave en la sección de Catálogos).</p>\n</li>\n<li><p><code>legal_name</code> (Opcional): Nuevo nombre fiscal del cliente.</p>\n</li>\n<li><p><code>bcc</code> (Opcional): Correos extra para añadir a la cuenta, enviaremos los correos al principal y a los correos en bcc!</p>\n</li>\n</ul>\n<p><strong>Ejemplo de Solicitud:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"cliente_id_a_actualizar\",\n  \"email\": \"nuevo_cliente@example.com\",\n  \"name\": \"Nuevo Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Nueva Calle\",\n    \"exterior\": \"456\",\n    \"neighborhood\": \"Nueva Colonia\",\n    \"city\": \"Nueva Ciudad\",\n    \"state\": \"Nuevo Estado\",\n    \"country\": \"México\",\n    \"zip\": \"54321\"\n  },\n  \"bcc\":[\"correoextra1@test.com\",\"correoextra2@test.com\"],\n  \"phone\": \"9876543210\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium Actualizado\"\n  },\n  \"tax_system\": \"603\",\n  \"legal_name\": \"Nuevo Nombre Fiscal Cliente\"\n}\n\n</code></pre>\n<p>Este endpoint te permite actualizar la información de un cliente existente en tu sistema Gigstack. Utiliza esta función para mantener los detalles de tus clientes actualizados y precisos.</p>\n","urlObject":{"protocol":"https","path":["v1","client"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"32a51b06-2a7b-4735-9ac7-3d93907ef582","name":"200 - Actualizado","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"client_od7VMxjJkz\",\n  \"email\": \"nuevo_cliente@example.com\",\n  \"name\": \"Nuevo Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Nueva Calle\",\n    \"exterior\": \"456\",\n    \"neighborhood\": \"Nueva Colonia\",\n    \"city\": \"Nueva Ciudad\",\n    \"state\": \"Nuevo Estado\",\n    \"country\": \"México\",\n    \"zip\": \"54321\"\n  },\n  \"phone\": \"9876543210\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium Actualizado\"\n  },\n  \"tax_system\": \"603\",\n  \"legal_name\": \"Nuevo Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"2f6-BrVFEvZiCQOtNHzwK8Cw1Btk6gU\""},{"key":"function-execution-id","value":"hopvoaylg1sw"},{"key":"x-cloud-trace-context","value":"86893011f5a12686aae4153733159901;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:28:14 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"758"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cliente actualizado correctamente\",\n    \"client\": {\n        \"metadata\": {\n            \"tipo_cliente\": \"Premium Actualizado\"\n        },\n        \"address\": {\n            \"zip\": \"54321\",\n            \"country\": \"México\",\n            \"city\": \"Nueva Ciudad\",\n            \"street\": \"Nueva Calle\",\n            \"exterior\": \"456\",\n            \"neighborhood\": \"Nueva Colonia\",\n            \"state\": \"Nuevo Estado\"\n        },\n        \"team\": \"team_RI2hpU84OLYHqmN\",\n        \"tax_system\": \"603\",\n        \"rfc\": \"XAXX010101000\",\n        \"tax_system_m\": {\n            \"value\": \"603\",\n            \"label\": \"Personas Morales con Fines no Lucrativos\"\n        },\n        \"phone\": \"9876543210\",\n        \"name\": \"Nuevo Nombre Cliente\",\n        \"from\": \"api\",\n        \"legal_name\": \"Nuevo Nombre Fiscal Cliente\",\n        \"id\": \"client_od7VMxjJkz\",\n        \"email\": \"nuevo_cliente@example.com\",\n        \"timestamp\": 1702146039544,\n        \"efos\": {\n            \"data\": {\n                \"detalles\": [],\n                \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n            },\n            \"is_valid\": true\n        },\n        \"RFCvalidated\": true\n    }\n}"}],"_postman_id":"0ee4fe40-7839-4927-9691-a13a53ae72fb"},{"name":"/v1/client/validate","id":"fff0bf3f-8cb5-4d5b-981f-6ac9c5e50031","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\" : {\n        \"legal_name\": \"NOMBRE LEGAL\",\n        \"tax_system\": \"616\",\n        \"rfc\": \"XAXX010101000\",\n        \"address\": {\n            \"country\": \"MEX\",\n            \"zip\": \"10200\"\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client/validate","description":"<h3 id=\"validar-información-fiscal-del-cliente\">Validar información fiscal del cliente</h3>\n<p>Utiliza el siguiente endpoint para validar la información fiscal de un cliente.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n<th>Tipo de Dato</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client</td>\n<td>Información del cliente o receptor del CFDI, requerido si no se envía clientId.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>RFC del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.legal_name</td>\n<td>Nombre legal del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>Clave del régimen fiscal a 3 dígitos. Consulta la clave en la sección de Catálogos.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>Información de dirección del cliente.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>Código postal del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>País del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.address</td>\n<td>Dirección del cliente.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID del cliente guardado en gigstack (si no se envía el objeto client).</td>\n<td>String (opcional)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","client","validate"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"fff0bf3f-8cb5-4d5b-981f-6ac9c5e50031"}],"id":"979d861c-cf29-484a-911d-fbeb3fe256ec","description":"<h3 id=\"gestión-de-clientes-en-gigstack\">Gestión de Clientes en Gigstack</h3>\n<p>¡Bienvenido a la sección de gestión de clientes en Gigstack! Aquí encontrarás herramientas para crear, editar y listar clientes dentro de tu cuenta. Los clientes son fundamentales para organizar y administrar las transacciones y servicios que proporcionas a través de Gigstack. Sigue la documentación a continuación para aprovechar al máximo estas funcionalidades.</p>\n","_postman_id":"979d861c-cf29-484a-911d-fbeb3fe256ec"},{"name":"Services","item":[{"name":"/v1/services/get","id":"9ff6ecb7-f447-47af-8d25-c1f9bbb13899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/get?id=service_BEa4ySu13s","description":"<h4 id=\"consultar-servicio-por-id\">Consultar servicio por id</h4>\n<p>Con el endpoint /v1/services/get podrémos consultar un servicio buscando por id</p>\n","urlObject":{"protocol":"https","path":["v1","services","get"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>El id del servicio a recuperar</p>\n","type":"text/plain"},"key":"id","value":"service_BEa4ySu13s"}],"variable":[]}},"response":[],"_postman_id":"9ff6ecb7-f447-47af-8d25-c1f9bbb13899"},{"name":"/v1/services/list","id":"94b2042f-0adb-49dd-a54c-07dde4b82f4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/list?limit=2&startAfter=service_BEa4ySu13s","description":"<h4 id=\"listar-servicios\">Listar servicios</h4>\n<p>Con el endpoint /v1/services/list ser pueden recuperar los servicios dentro de tu cuenta.</p>\n<p>Limit debe ser un número entero entre 0 y 100 y startAfter debe ser el Id del servicio desde el cual se desea comenzar con la consulta.</p>\n","urlObject":{"protocol":"https","path":["v1","services","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>Número de servicios a consultar, debe ser un número entero entre 1 y 100</p>\n","type":"text/plain"},"key":"limit","value":"2"},{"description":{"content":"<p>Id del servicio desde el cual se desea comenzar, los resultados están ordenados por timestamp en orden descendiente</p>\n","type":"text/plain"},"key":"startAfter","value":"service_BEa4ySu13s"}],"variable":[]}},"response":[],"_postman_id":"94b2042f-0adb-49dd-a54c-07dde4b82f4e"},{"name":"/v1/services/create","id":"8557973a-338e-4cc6-9c75-f0a6a40c2b1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 1,\n    \"description\": \"Item\",\n    \"name\": \"Item\",\n    \"discount\": 0,\n    \"taxes\": [\n        {\n            \"withholding\": false,\n            \"inclusive\": true, \n            \"rate\": 0.16,\n            \"type\": \"IVA\",\n            \"factor\": \"Tasa\"\n        }\n    ],\n    \"unit_name\": \"Unidad de servicio\",\n    \"total\": 200,\n    \"product_key\": \"01010101\",\n    \"unit_key\": \"E48\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/create","description":"<h4 id=\"crear-servicio\">Crear servicio</h4>\n<p>Con el endpoint /v1/services/create podemos crear un servicio</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>quantity</td>\n<td>Cantidad de unidades del servicio</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Descripción del servicio</td>\n<td>String</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Nombre del servicio</td>\n<td>String</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>Discuento del servicio</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes</td>\n<td>Arrray de mpuestos aplicados</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>taxes[i].withholding</td>\n<td>Indica si el impuesto es retenido o no</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].inclusive</td>\n<td>Indica si el impuesto está incluido en el precio del servicio.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].rate</td>\n<td>Valor del impuesto, para iva 16% debe ser 0.16</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes[i].type</td>\n<td>Tipo de impuesto, EIPS, IVA, ISR</td>\n<td>String</td>\n</tr>\n<tr>\n<td>taxes[i].factor</td>\n<td>Factor del impuesto, para el caso del IVA el valor a utilizar es: Tasa</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_name</td>\n<td>Nombre de la unidad</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Precio de cada unidad del servicio</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>product_key</td>\n<td>Clave fiscal del producto o servicio</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_key</td>\n<td>Clave de la unidad</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","services","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"8557973a-338e-4cc6-9c75-f0a6a40c2b1c"},{"name":"/v1/services/update","id":"42a7d25f-011a-4f2b-87ba-0bb97878dcbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"service_IYReNc8wdU\",\n    \"quantity\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/update","description":"<h4 id=\"actualizar-servicio\">Actualizar servicio</h4>\n<p>Con el endpoint /v1/services/update podemos actualizar un servicio, el campo id dentro de body es obligatorio</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Id del servicio a actualizar</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Cantidad de unidades del servicio</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Descripción del servicio</td>\n<td>String</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Nombre del servicio</td>\n<td>String</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>Discuento del servicio</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes</td>\n<td>Arrray de mpuestos aplicados</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>taxes[i].withholding</td>\n<td>Indica si el impuesto es retenido o no</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].inclusive</td>\n<td>Indica si el impuesto está incluido en el precio del servicio.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].rate</td>\n<td>Valor del impuesto, para iva 16% debe ser 0.16</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes[i].type</td>\n<td>Tipo de impuesto, EIPS, IVA, ISR</td>\n<td>String</td>\n</tr>\n<tr>\n<td>taxes[i].factor</td>\n<td>Factor del impuesto, para el caso del IVA el valor a utilizar es: Tasa</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_name</td>\n<td>Nombre de la unidad</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Precio de cada unidad del servicio</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>product_key</td>\n<td>Clave fiscal del producto o servicio</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_key</td>\n<td>Clave de la unidad</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","services","update"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"42a7d25f-011a-4f2b-87ba-0bb97878dcbb"}],"id":"f7d9d228-f401-466e-bbe5-06d6e312d3f1","_postman_id":"f7d9d228-f401-466e-bbe5-06d6e312d3f1","description":""},{"name":"Users","item":[{"name":"/users/create","id":"f7e57db6-fa51-43a3-aadf-73035c1cc0c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"email\":\"example@gigtack.io\",\n        \"password\":\"123456789\",\n        \"reloadPassword\":true,\n        \"firstName\":\"FIRST NAME\",\n        \"lastName\":\"LAST NAME\",\n        \"integration\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/create","description":"<p>¡Entendido! Aquí tienes una versión mejorada de la documentación:</p>\n<hr />\n<h3 id=\"crear-un-nuevo-usuario\">Crear un nuevo usuario</h3>\n<p>Este endpoint te permite agregar un nuevo usuario a tu cuenta de facturación.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Correo electrónico del usuario. Se utilizará para el inicio de sesión en la cuenta.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Contraseña del usuario. Se recomienda solicitar al usuario que cambie la contraseña después del primer inicio de sesión.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>reloadPassword</td>\n<td>Envía un correo electrónico para restablecer la contraseña de la cuenta.</td>\n<td>bool</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>Nombre(s) del usuario.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>Apellido(s) del usuario.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>integration</td>\n<td><strong>*Agenda un espacio con el equipo para definir el parámetro.</strong></td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"protocol":"https","path":["v1","users","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7e57db6-fa51-43a3-aadf-73035c1cc0c0"},{"name":"/users/list","id":"59324984-1c2e-4ef9-9d8b-4ff9318e04db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/list","description":"<h3 id=\"listar-usuarios\">Listar Usuarios</h3>\n<p>Este endpoint te permite obtener una lista de usuarios asociados a la billing account actual, con la posibilidad de filtrar por correo electrónico, ID del equipo o ID único del usuario.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>Correo electrónico para filtrar resultados.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>teamId</td>\n<td>ID único del equipo para filtrar todos los usuarios del equipo.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>uid</td>\n<td>ID único del usuario.</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p>Importante tener en cuenta que para utilizar teamId, es necesario hacer la llamada desde un team con la misma billing account.</p>\n","urlObject":{"protocol":"https","path":["v1","users","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"description":{"content":"<p>String</p>\n","type":"text/plain"},"key":"email","value":null},{"disabled":true,"description":{"content":"<p>All users that are part of this team</p>\n","type":"text/plain"},"key":"teamId","value":null},{"disabled":true,"description":{"content":"<p>Unique identifier</p>\n","type":"text/plain"},"key":"uid","value":null}],"variable":[]}},"response":[{"id":"d71e31bf-7d4c-4079-9c3b-f853ba2dcd46","name":"/users/list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/list","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","users","list"],"query":[{"key":"email","value":null,"description":"String","type":"text","disabled":true},{"key":"teamId","value":null,"description":"All users that are part of this team","type":"text","disabled":true},{"key":"uid","value":null,"description":"Unique identifier","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"405-e6vuS52yza3ylITxb4eU4wVi5gA\""},{"key":"function-execution-id","value":"nu4elidn9in7"},{"key":"x-cloud-trace-context","value":"bbaec00ffb5465fc82e712ac0b84f62d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 21:14:42 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"1029"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Usuarios recuperados correctamente\",\n    \"data\": [\n        {\n            \"email\": \"____\",\n            \"firstName\": \"TEST API\",\n            \"lastName\": \"2\",\n            \"phoneNumber\": null,\n            \"name\": \"TEST API 2\",\n            \"timestamp\": 1684185282873,\n            \"uid\": \"____\",\n            \"teams\": []\n        },\n        {\n            \"email\": \"___\",\n            \"firstName\": \"General\",\n            \"lastName\": \"User\",\n            \"phoneNumber\": null,\n            \"name\": \"General User\",\n            \"timestamp\": 1684185282873,\n            \"uid\": \"_\",\n            \"teams\": [\n                \"___\"\n            ]\n        },\n        {\n            \"email\": \"____\",\n            \"firstName\": \"User\",\n            \"lastName\": \"2\",\n            \"phoneNumber\": null,\n            \"name\": \"User 2\",\n            \"timestamp\": 1684185282873,\n            \"uid\": \"__\",\n            \"teams\": [\n                \"______\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"59324984-1c2e-4ef9-9d8b-4ff9318e04db"},{"name":"/users/loginUrl","id":"95d7073a-c356-42da-a02c-fa2b5682a763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/loginUrl","description":"<h3 id=\"generar-enlace-de-inicio-de-sesión-único\">Generar Enlace de Inicio de Sesión Único</h3>\n<p>Este endpoint te permite generar un enlace de inicio de sesión único para los usuarios creados vía API Key. La URL generada permitirá iniciar sesión sin necesidad de proporcionar la contraseña.</p>\n<p><strong>Parámetros Disponibles:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>ID único del usuario para el cual se generará el enlace de inicio de sesión.</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"protocol":"https","path":["v1","users","loginUrl"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"95d7073a-c356-42da-a02c-fa2b5682a763"}],"id":"fc1a4cd6-311e-4301-897d-e1898258999d","description":"<h3 id=\"usuarios-en-gigstack\">Usuarios en Gigstack</h3>\n<p>Si te encuentras en el plan Growing o superior, tienes la posibilidad de gestionar los recursos de tu cuenta a través de nuestra API. Entre estos recursos, se incluye la capacidad de crear nuevos usuarios dentro de tu billing account. Estos usuarios pueden ser añadidos a uno o varios teams, permitiéndote organizar y gestionar eficientemente tus sucursales y equipos.</p>\n","_postman_id":"fc1a4cd6-311e-4301-897d-e1898258999d"},{"name":"Teams","item":[{"name":"/teams/addMember","id":"564fe954-9ead-479b-b49d-88078bdfcbef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"userId\": \"USER ID\",\n  \"role\":\"viewer\",\n  \"teamId\":\"TEAM ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember","description":"<h3 id=\"añadir-miembro-a-un-equipo\"><strong>Añadir Miembro a un Equipo</strong></h3>\n<p>El endpoint <code>/v1/teams/addMember</code> te permite incorporar un nuevo miembro a un equipo existente dentro de la misma cuenta de facturación asociada a la API Key utilizada para realizar la llamada al API.</p>\n<p>Para agregar un miembro al equipo, se requieren los siguientes tres parámetros:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>El ID del usuario que se añadirá al equipo.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>role</td>\n<td>El rol que se asignará al usuario en el equipo.  <br />- \"viewer\": Podrá ver los recursos del equipo.  <br />- \"editor\": Podrá crear recursos, pero no añadir ni eliminar miembros.  <br />- \"admin\": Tendrá permisos para realizar cualquier acción dentro del equipo.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>teamId</td>\n<td>El ID del equipo al que se incorporará el usuario.</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>Este endpoint facilita la gestión de miembros dentro de los equipos, asignando roles específicos según los requisitos de acceso y control.</p>\n","urlObject":{"protocol":"https","path":["v1","teams","addMember"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"ae2d44be-2f72-48ab-8aa1-cdca1ae70709","name":"200 [OK]","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"userId\": \"USER ID\",\n  \"role\":\"viewer\",\n  \"teamId\":\"TEAM ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"3b-RwfVA6bcG2/Y0UXsnfo3EMJ2B84\""},{"key":"function-execution-id","value":"fww9uynm5sws"},{"key":"x-cloud-trace-context","value":"31dee49480cd7e2db6630f00976e6123;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 17:07:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"59"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Usuario agregado correctamente a Krispy Kreme\"\n}"},{"id":"e6673ced-35af-466a-b58b-2e954cdbbd51","name":"401 [UNAUTHORIZED]","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"userId\": \"USER ID\",\n  \"role\":\"viewer\",\n  \"teamId\":\"TEAM ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember\", error=\"invalid_token\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"3335392dd55cc16354bda8445ba9d395;o=1"},{"key":"Date","value":"Mon, 15 May 2023 17:09:00 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections\",\n    \"code\": 401\n}"}],"_postman_id":"564fe954-9ead-479b-b49d-88078bdfcbef"},{"name":"/teams/create","id":"6f9ec12c-6c14-4696-9430-8ef98b5283e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"\n{\n  \"members\": [\"\"],\n  \"alias\": \"NOMBRE COMERCIAL\",\n  \"primaryColor\": \"#483bf7\",\n  \"logoUrl\": \"URL CON LOGO\",\n  \"legalName\": \"NOMBRE LEGAL SA DE CV\",\n  \"taxId\": \"RFC\",\n  \"address\": {\n      \"zip\":\"ZIP\"\n  },\n  \"contactEmails\": [\"CONTACTO@gigstack.io\"],\n  \"supportEmail\": \"SOPORTE@gigstack.io\",\n  \"taxSystem\": \"616\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create","description":"<h3 id=\"crear-un-nuevo-equipo-en-la-misma-cuenta-de-facturación\">Crear un Nuevo Equipo en la Misma Cuenta de Facturación</h3>\n<p>El endpoint <code>/v1/teams/create</code> te permite generar un nuevo equipo dentro de la misma cuenta de facturación asociada a la API Key utilizada. Ten en cuenta que este proceso conlleva un costo único de configuración de US$5 por cada nuevo equipo y no es posible utilizar el modo de prueba (API TEST MODE).</p>\n<p>A continuación, se detallan los parámetros necesarios para crear un nuevo equipo:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parámetro</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>members</td>\n<td>Una lista de IDs de los miembros que se agregarán al equipo.  <br />[\"ID1\",\"ID2\"]  <br />Se añadirá automáticamente al usuario principal de la cuenta de facturación.  <br />*En caso de no querer agregar usuarios, enviar un array vacío*</td>\n</tr>\n<tr>\n<td>alias</td>\n<td>Nombre comercial del equipo.  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>primaryColor</td>\n<td>El color primario del equipo en formato hexadecimal.  <br />e.g., #FAFBFD  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>logoUrl</td>\n<td>La URL del logotipo del equipo.  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>legalName</td>\n<td>El nombre legal o completo del equipo.  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>taxId</td>\n<td>El identificador de impuestos del equipo.  <br />(RFC)  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Un objeto que contiene información adicional de dirección.  <br />{zip:___}</td>\n</tr>\n<tr>\n<td>address.zip</td>\n<td>El código postal de la dirección.  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>contactEmails</td>\n<td>Una lista de direcciones de correo electrónico a las que se enviarán notificaciones.  <br />[\"email1\", \"email2\"]  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>supportEmail</td>\n<td>La dirección de correo electrónico de soporte que será visible para los clientes finales.  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>taxSystem</td>\n<td>El sistema de impuestos asociado al equipo.  <br />Opciones disponibles en la lista debajo.  <br />3 dígitos, e.g., \"601\"  <br />*Requerido*</td>\n</tr>\n<tr>\n<td>skipOnboarding</td>\n<td>Booleano, se usa para no mostrar la configuración inicial de la cuenta (opcional)</td>\n</tr>\n<tr>\n<td>blockedStripe</td>\n<td>Booleano, permite bloquear la integración con Stripe</td>\n</tr>\n<tr>\n<td>blockBank</td>\n<td>Booleano, permite bloquear la integración con SPEI</td>\n</tr>\n<tr>\n<td>blockHilos</td>\n<td>Booleano, permite bloquear la integración con Hilos</td>\n</tr>\n</tbody>\n</table>\n</div><p>[Opciones de taxSystem]</p>\n<img src=\"https://content.pstmn.io/57b44b6d-52c8-43b1-a36e-f1a49d9dd04f/aW1hZ2UucG5n\" alt=\"Opciones de taxSystem\" />","urlObject":{"protocol":"https","path":["v1","teams","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"fdee31ec-da57-4d3a-a71a-366e2bb583a8","name":"200 [Equipo creado]","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"\n{\n  \"members\": [\"1\"],\n  \"alias\": \"NOMBRE COMERCIAL\",\n  \"primaryColor\": \"#FAFBDD\",\n  \"logoUrl\": \"LOGO\",\n  \"legalName\": \"NOMBRE LEGAL SA DE CV\",\n  \"taxId\": \"RFC\",\n  \"address\": {\n      \"zip\":\"__\"\n  },\n  \"contactEmails\": [\"EJEMPLO@gigstack.io\"],\n  \"supportEmail\": \"EJEMPLO@gigstack.io\",\n  \"taxSystem\": \"616\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"4e8-L1RNY35DnoI1TuFE3O5FSM9qbLU\""},{"key":"function-execution-id","value":"gk6zsz3ve781"},{"key":"x-cloud-trace-context","value":"73b56fd391b0d98ef840322cfae7efd0;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 17:34:58 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"1256"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Se ha creado el equipo NOMBRE COMERCIAL y se ha añadido el cargo de configuración a la siguiente factura.\",\n    \"team\": {\n        \"brand\": {\n            \"alias\": \"NOMBRE COMERCIAL\",\n            \"primaryColor\": \"#FAFBFD\",\n            \"logo\": \"URL DEL LOGO\"\n        },\n        \"address\": {\n            \"zip\": \"___\"\n        },\n        \"id\": \"ID DEL TEAM\",\n        \"tax_system\": \"616\",\n        \"tax_system_m\": {\n            \"value\": \"616\",\n            \"label\": \"Sin obligaciones fiscales\"\n        },\n        \"legal_name\": \"NOMBRE SA DE CV\",\n        \"tax_id\": \"RFC DEL EQUOPO\",\n        \"rfc\": \"RFC DEL EQUIPO\",\n        \"membersIds\": [\n            \"id 1\",\n            \"id 2\"\n        ],\n        \"integrationsSetup\": [\n            \"stripeSetup\",\n            \"invoices\",\n            \"importStripeProducts\",\n            \"importStripePayments\",\n            \"bank\",\n            \"testInvoice\",\n            \"automaticInvoicing\",\n            \"setDefaults\"\n        ],\n        \"setupComplete\": false,\n        \"members\": [\n            {\n                \"id\": \"ID MIEMBRO 1\",\n                \"isSuperAdmin\": false,\n                \"rol\": \"admin\",\n                \"isAdmin\": true,\n                \"invoices\": \"editor\",\n                \"expenses\": \"editor\",\n                \"payments\": \"editor\",\n                \"services\": \"editor\",\n                \"email\": \"miembro_extra@gigstack.io\",\n                \"status\": \"active\"\n            },\n            {\n                \"id\": \"ID MIEMBRO DE BILLING ACCOUNT\",\n                \"isSuperAdmin\": true,\n                \"rol\": \"admin\",\n                \"isAdmin\": true,\n                \"invoices\": \"editor\",\n                \"expenses\": \"editor\",\n                \"payments\": \"editor\",\n                \"services\": \"editor\",\n                \"email\": \"miembro@gigstack.io\",\n                \"status\": \"active\"\n            }\n        ],\n        \"supportEmail\": \"correo_de_ejemplo@gigstack.io\",\n        \"contactEmails\": [\n            \"correo_de_ejemplo@gigstack.io\"\n        ],\n        \"billingAccount\": \"BILLING ACCOUNT ID\"\n    }\n}"}],"_postman_id":"6f9ec12c-6c14-4696-9430-8ef98b5283e8"},{"name":"/teams/list","id":"5d62c129-65dc-4aee-9b15-7d564496d6d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API TOKEN]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/list","description":"<h3 id=\"listar-equipos-en-la-cuenta-de-facturación\">Listar Equipos en la Cuenta de Facturación</h3>\n<p>El endpoint <code>/v1/teams/list</code> te permite recuperar todos los equipos que pertenecen a la cuenta de facturación actual asociada a la API Key. Puedes utilizar los siguientes parámetros para filtrar los resultados:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID del equipo a filtrar</td>\n</tr>\n<tr>\n<td>memberId</td>\n<td>ID de un usuario para recuperar todos los equipos a los que pertenece</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","teams","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"description":{"content":"<p>If you want to retrieve teams by a single ID</p>\n","type":"text/plain"},"key":"id","value":null},{"disabled":true,"description":{"content":"<p>String to retrieve all teams where this ID is member</p>\n","type":"text/plain"},"key":"memberId","value":null}],"variable":[]}},"response":[{"id":"948ff937-a2a2-400b-b92c-762fd279cdcc","name":"/teams/list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/list","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","teams","list"],"query":[{"key":"id","value":null,"description":"If you want to retrieve teams by a single ID","type":"text","disabled":true},{"key":"memberId","value":null,"description":"String to retrieve all teams where this ID is member","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"c80-SU6PQv51mxfsN6m6RM2KVmv8u8s\""},{"key":"function-execution-id","value":"1evrqp3bzixl"},{"key":"x-cloud-trace-context","value":"352d7c225956cdce9faa88d0d5a2d207;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 20:56:44 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3200"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Equipos recuperados correctamente\",\n    \"data\": [\n        {\n            \"id\": \"team____\",\n            \"supportEmail\": \"_____@gigstack.io\",\n            \"alias\": \"subaccount\",\n            \"brand\": {\n                \"alias\": \"Subaccount\",\n                \"logo\": null,\n                \"primaryColor\": \"#8666FF\"\n            },\n            \"address\": {\n                \"zip\": \"10250\"\n            },\n            \"membersIds\": [\n                \"____\"\n            ]\n        },\n        {\n            \"id\": \"team____\",\n            \"supportEmail\": \"____@gigstack.io\",\n            \"alias\": \"_____\",\n            \"brand\": {\n                \"alias\": \"_____\",\n                \"logo\": \"________\",\n                \"primaryColor\": \"#483bf7\"\n            },\n            \"address\": {\n                \"zip\": \"10250\"\n            },\n            \"membersIds\": [\n                \"1\",\n                \"2\"\n                \n            ]\n        }\n    ]\n}"}],"_postman_id":"5d62c129-65dc-4aee-9b15-7d564496d6d3"}],"id":"1d91909b-745f-433c-a662-c4a84efd1244","description":"<h4 id=\"equipos-en-gigstack-una-visión-general\">Equipos en gigstack: Una Visión General</h4>\n<p>En gigstack, los equipos representan subcuentas que coexisten dentro de una misma cuenta de facturación. Cada cuenta de facturación por defecto tiene al menos un equipo asociado.</p>\n<blockquote>\n<p>Importante: La creación de un nuevo equipo conlleva un costo único de configuración de US$5.</p>\n</blockquote>\n","_postman_id":"1d91909b-745f-433c-a662-c4a84efd1244"},{"name":"Recibo de venta (auto-factura)","item":[{"name":"/createReceipt [deprecated]","id":"b4285646-71c5-4f60-ac45-5c917a658431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt","description":"<h3 id=\"crear-recibo-de-venta-en-gigstack\">Crear Recibo de Venta en Gigstack</h3>\n<p>El endpoint <strong>/v1/createReceipt</strong> te permite generar Recibos de Venta en Gigstack, proporcionando una forma eficiente y personalizada para la facturación. Aquí están los detalles de los parámetros disponibles para la creación de un recibo:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Campo</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>items</td>\n<td>Conceptos a incluir en el recibo.</td>\n<td>Array de objetos (no requerido)</td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td></td>\n<td>Array de objetos (no requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.rate</td>\n<td>Tasa de impuesto aplicada al producto.</td>\n<td>Float (requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.withholding</td>\n<td>Tipo de impuesto (true = Retenido, false = trasladado).</td>\n<td>Boolean (requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.factor</td>\n<td>Factor del impuesto (Tasa, Cuota, Exento).</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.type</td>\n<td>Tipo de impuesto (IVA, ISR, IEPS).</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].total</td>\n<td>Precio por unidad del bien o servicio, incluido o excluido de IVA.</td>\n<td>Numérico (requerido)</td>\n</tr>\n<tr>\n<td>items[n].tax_included</td>\n<td>Indica si los impuestos están incluidos en el precio.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].name</td>\n<td>Nombre del producto o servicio.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].quantity</td>\n<td>Cantidad de unidades del mismo concepto.</td>\n<td>Entero (requerido)</td>\n</tr>\n<tr>\n<td>items[n].product_key</td>\n<td>Clave del producto/servicio del catálogo del SAT.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].description</td>\n<td>Descripción del producto o servicio.</td>\n<td>String (no requerido)</td>\n</tr>\n<tr>\n<td>items[n].discount</td>\n<td>Monto total de descuento aplicado al concepto.</td>\n<td>Numérico (no requerido)</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Código de la moneda según ISO 4217.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>exchange_rate</td>\n<td>Tipo de cambio conforme a la moneda utilizada.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>periodicity</td>\n<td>Periodicidad que abarca la factura global. (day, week, two_weeks, month, two_months)</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>Forma de pago, código según catálogo del SAT (2 caracteres).</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>Objeto para pares clave-valor para referencias internas.</td>\n<td>Objeto (no utilizado por Gigstack)</td>\n</tr>\n<tr>\n<td>metadata.externalID **</td>\n<td>Campo interno personalizado.</td>\n<td>Cualquier tipo (no requerido)</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Correo electrónico del cliente para enviar el recibo de venta.</td>\n<td>String (requerido si clientId es nulo)</td>\n</tr>\n<tr>\n<td>disallowInvoice</td>\n<td>Indica si solo es un recibo y no se permite la factura para el usuario final.</td>\n<td>Boolean (no requerido)</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID del cliente a utilizar para el recibo de venta.</td>\n<td>String (requerido si email es nulo)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Recuerda que los Recibos de Venta podrán ser autofacturables por tus clientes a través de un portal personalizado, y si no son facturados en el tiempo indicado, se generará automáticamente un recibo público con todos los recibos abiertos que venzan en la misma fecha. ¡Aprovecha esta herramienta para una facturación eficiente!</p>\n","urlObject":{"protocol":"https","path":["v1","createReceipt"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"bed03d63-cd3f-4bf2-b5f0-1d10eff3945b","name":"200 example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"153-AX+rFvIb6n//WkFws/1SbO9fqCo\""},{"key":"function-execution-id","value":"4t6uvjaz8o9m"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"73475b37e0dce9952fed89ab5797d6a6;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Thu, 19 May 2022 20:26:29 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"339"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ja6LNEe\",\n    \"qr\": \"\",\n    \"url\": \"https://beta.gigstack.pro/autofactura?id=ja6LNEe\",\n    \"timestamp\": 16522110012512022,\n    \"items\": [],\n    \"total\": 100,\n    \"currency\": \"MXN\",\n    \"exchange_rate\": 1,\n    \"created\": 16522110012542022,\n    \"validUntil\": 16524702012542022,\n    \"status\": \"pending\",\n    \"payment_form\": \"01\",\n    \"owner\": \"-\",\n    \"metadata\": {\n        \"externalID\": null\n    },\n    \"livemode\": false\n}"},{"id":"20993425-799d-498b-b34a-9548a8ef6922","name":"401 example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}"},"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt?Content-Type=application/json","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","createReceipt"],"query":[{"key":"Content-Type","value":"application/json"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"ac25c8e699425193d457ed837fe083ea;o=1"},{"key":"Date","value":"Thu, 19 May 2022 20:32:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"40"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"Jwt is missing\"\n}"}],"_postman_id":"b4285646-71c5-4f60-ac45-5c917a658431"},{"name":"/v1/receipts/create","id":"34226116-1df6-4c7e-bd46-e4333437d08c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/create","description":"<h3 id=\"crear-recibo-de-venta-en-gigstack\">Crear Recibo de Venta en Gigstack</h3>\n<p>El endpoint <strong>/v1/createReceipt</strong> te permite generar Recibos de Venta en Gigstack, proporcionando una forma eficiente y personalizada para la facturación. Aquí están los detalles de los parámetros disponibles para la creación de un recibo:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Campo</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>items</td>\n<td>Conceptos a incluir en el recibo.</td>\n<td>Array de objetos (no requerido)</td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td></td>\n<td>Array de objetos (no requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.rate</td>\n<td>Tasa de impuesto aplicada al producto.</td>\n<td>Float (requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.withholding</td>\n<td>Tipo de impuesto (true = Retenido, false = trasladado).</td>\n<td>Boolean (requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.factor</td>\n<td>Factor del impuesto (Tasa, Cuota, Exento).</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].taxes.type</td>\n<td>Tipo de impuesto (IVA, ISR, IEPS).</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].total</td>\n<td>Precio por unidad del bien o servicio, incluido o excluido de IVA.</td>\n<td>Numérico (requerido)</td>\n</tr>\n<tr>\n<td>items[n].tax_included</td>\n<td>Indica si los impuestos están incluidos en el precio.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].name</td>\n<td>Nombre del producto o servicio.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].quantity</td>\n<td>Cantidad de unidades del mismo concepto.</td>\n<td>Entero (requerido)</td>\n</tr>\n<tr>\n<td>items[n].product_key</td>\n<td>Clave del producto/servicio del catálogo del SAT.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>items[n].description</td>\n<td>Descripción del producto o servicio.</td>\n<td>String (no requerido)</td>\n</tr>\n<tr>\n<td>items[n].discount</td>\n<td>Monto total de descuento aplicado al concepto.</td>\n<td>Numérico (no requerido)</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Código de la moneda según ISO 4217.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>exchange_rate</td>\n<td>Tipo de cambio conforme a la moneda utilizada.</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>periodicity</td>\n<td>Periodicidad que abarca la factura global. (day, week, two_weeks, month, two_months)</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>Forma de pago, código según catálogo del SAT (2 caracteres).</td>\n<td>String (requerido)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>Objeto para pares clave-valor para referencias internas.</td>\n<td>Objeto (no utilizado por Gigstack)</td>\n</tr>\n<tr>\n<td>metadata.externalID **</td>\n<td>Campo interno personalizado.</td>\n<td>Cualquier tipo (no requerido)</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Correo electrónico del cliente para enviar el recibo de venta.</td>\n<td>String (requerido si clientId es nulo)</td>\n</tr>\n<tr>\n<td>disallowInvoice</td>\n<td>Indica si solo es un recibo y no se permite la factura para el usuario final.</td>\n<td>Boolean (no requerido)</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID del cliente a utilizar para el recibo de venta.</td>\n<td>String (requerido si email es nulo)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Recuerda que los Recibos de Venta podrán ser autofacturables por tus clientes a través de un portal personalizado, y si no son facturados en el tiempo indicado, se generará automáticamente un recibo público con todos los recibos abiertos que venzan en la misma fecha. ¡Aprovecha esta herramienta para una facturación eficiente!</p>\n","urlObject":{"protocol":"https","path":["v1","receipts","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"3847f9ee-41bc-4793-9c8b-941cf245fd5f","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"14d6-FwKm9mam5Qwbqe5WJdyJWT3VcO8\""},{"key":"function-execution-id","value":"8qdb031edvve"},{"key":"x-cloud-trace-context","value":"2078584741783925a4680a3d74beafe3;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 20:35:18 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"5334"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Recibo generado correctamente\",\n    \"data\": {\n        \"items\": [\n            {\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"withholding\": false,\n                        \"factor\": \"Tasa\",\n                        \"type\": \"IVA\"\n                    }\n                ],\n                \"total\": 100,\n                \"name\": \"Desarrollo de software\",\n                \"quantity\": 1,\n                \"product_key\": \"43232408\",\n                \"description\": \"\",\n                \"discount\": 0,\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\"\n            }\n        ],\n        \"currency\": \"MXN\",\n        \"exchange_rate\": 1,\n        \"periodicity\": \"day\",\n        \"payment_form\": \"01\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"disallowInvoice\": false,\n        \"test\": true,\n        \"livemode\": false,\n        \"client\": {},\n        \"team\": \"\",\n        \"billingAccount\": \"\",\n        \"id\": \"receipt_Vc3Rs3S6Xg\",\n        \"clientID\": null,\n        \"clientId\": null,\n        \"qr\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAAAklEQVR4AewaftIAAAqVSURBVO3BQY4kOxJDwedCHtuXvDentr4RIESkqn4Pzco/iIgrFhFxzSIirllExDWLiLhmERHXLCLimkVEXLOIiGsWEXHNIiKuWUTENYuIuGYREdcsIuKaRURcs4iIaxYRcc0iIq5ZRMQ1H97WxVUyR7p4RGari0HmSBeDzNDFlsyRLrZkhi4ekdnqYpAZurhK5k2LiLhmERHXLCLimg/fJvOqLo50sSUzdDHIDF0MMke6GGQGmS2ZV8kckdnqYpDZ6mKQOSLzqi6+aRER1ywi4ppFRFzz4bYujsgc6WJLZktm6OKIzCNdDDJDF1syQxeDzCNdbMkMXQwyX9XFEZmbFhFxzSIirllExDUf4ozMVhePyByRuUpm6OJVXQwy/5JFRFyziIhrFhFxzYd/jcxWF4PMV8kMXQxdPNLFlsyruhhktmSGLv6fLSLimkVEXLOIiGs+3Cbzp3SxJTN0sSUzdDHIbHUxyBzpYuhikNnqYktm6GJLZpD5Kpm/bBER1ywi4ppFRFzz4du6uKqLQWZLZujiiMzQxSAzdDHIHOlikNmSGboYZLZkhi4GmaGLrS4GmaGLQWari/+SRURcs4iIaxYRcc2Ht8n8KpmhiyMyQxeDzNDFILMl84jMkS4GmaGLr+riiMyWzH/ZIiKuWUTENYuIuObDb+tiS2boYktmS2ari60utrp4VRePyAxdDDJbXRyR+VO62JK5aRER1ywi4ppFRFzz4a+RGboYZIYutmSGLgaZV8kc6WKQ2eriVV0MMoPM0MXQxSCz1cVXyQwyQxe/aRER1ywi4ppFRFzz4bYuBpkjXRzpYpA5InOki0Fm6OKrZI7IHJEZutjqYktm6OKrZIYutmTetIiIaxYRcc0iIq758LYuBplBZquLQWari6GLR2QekRm6ONLFq7oYZLa6GGSGLgaZoYtBZujiiMyrutiS+aZFRFyziIhrFhFxzYdv6+KIzFYXg8zQxSNdDDJDF4/IDF0MMkMXg8wRmaGLQWari0HmEZmhi0Fm6GJLZuhikPlLFhFxzSIirllExDUfvk3mkS4Gma+S2ZIZutiS2ZIZujjSxZbMVhdHutiSGboYZLa6GGSGLh6RGbq4aRER1ywi4ppFRFzz4du6GGS2utjqYpB5pItBZuhikBlkhi6GLo7IbHWxJbMls9XFILPVxa/q4kgXg8xNi4i4ZhER1ywi4pryD76piy2ZrS4GmaGLLZmtLrZkhi6OyGx18SqZrS4GmSNdbMlsdTHIDF0MMkMXg8xWF0dkvmkREdcsIuKaRURc8+HbZLa6GGQGmaGLLZmhi0FmS2boYpAZuhhkhi4GmSMyj3QxyHxVF4PMVheDzNDFIHNEZquLmxYRcc0iIq5ZRMQ1H76tiy2ZIzKPdDHIHOliq4tBZkvmVV0c6eIRma0utmSGLh7pYpAZuhhkhi4GmTctIuKaRURcs4iIaz68rYtB5kgXR2SGLrZkHpE50sUgM3QxyAxdPCIzdDHIDF0MMkMXQxdbMo/IvErmNy0i4ppFRFyziIhryj/4pi4GmaGLQeZIF4PMVhdbMltdDDKPdLElM3SxJfOqLgaZR7oYZIYuBpmtLl4l802LiLhmERHXLCLimvIP3tTFnyLzSBeDzFYXWzJDF18lM3QxyFzVxSAzdPEqmSNdDDJvWkTENYuIuGYREdd8eJvMkS62ZI50sdXFq7o40sURmSNdHOniiMzQxSNdbMkc6WKri0FmkPmmRURcs4iIaxYRcc2H27oYZIYutroYZLa62JI50sUgM3QxyGx1caSLQeaIzFYXW10ckRm6eKSLQeaRLrZk3rSIiGsWEXHNIiKu+fBtXQwyQxdHZB6RGbrYkhlkhi4GmaGLQeYRmSNdbMlsyQxdbMkMXbxK5r9sERHXLCLimkVEXFP+wTd1sSUzdPEqmUe6eETmSBevkhm6GGSGLl4ls9XFV8lsdTHIfNMiIq5ZRMQ1i4i45sN/jczQxSAzdLElc0Rm6GKQGbrYknlEZuhiS2boYpAZutiSGbp4lcxWF4PM0MWWzE2LiLhmERHXLCLimvIP3tTFIDN0Mcgc6WKQ2epikBm6eERm6OIRma0uBpmtLo7IDF0ckRm6OCLzVV1syXzTIiKuWUTENYuIuObD22SGLgaZI10MMkMXWzJDF4PM0MUgM3TxKpmhi0FmkBm6GGSOyLyqiy2ZV3WxJfOXLCLimkVEXLOIiGs+vK2LI10c6WJLZktm6GKQOdLFEZktmaGLQWaQGboYZIYutrp4lczQxatkhi62ZLa6GGTetIiIaxYRcc0iIq758DaZIzKv6uKIzNDFILMlM3QxyAxdbMkMMkMXg8xXyTzSxZbMVheDzNDFVhdbMjctIuKaRURcs4iIaz68rYsjMltdPCKz1cUgsyUzdHFEZquLLZmhi0Fm6OKRLgaZrS62ZIYutmSGLh6R+U2LiLhmERHXLCLimvIP3tTFIDN0cUTmVV0ckRm62JI50sUgM3TxiMxWF4PMV3WxJTN0McgMXQwyQxdbMjctIuKaRURcs4iIaz7cJjN0MchsdfGIzFYXQxePdDHIDDJDF4PMVhdHuvhVMq+SOSKz1cUg86ZFRFyziIhrFhFxzYfbujjSxSCz1cVWF0dkhi4GmaGLQWbo4pEujnQxyAxdPNLFlszQxVd1sdXFIDPIfNMiIq5ZRMQ1i4i45sPbZLZktroYZIYuHpEZutjqYpA50sUg8yqZoYutLra62JI50sUjMkMXg8yruhhk3rSIiGsWEXHNIiKu+fBtXbxKZquLIzJDF4PMIzJbXWzJDDKPyAxdDDJbXbxKZquLR2SGLoYublpExDWLiLhmERHXfHhbF4PMVhdHuvhVXWzJbHVxpItHZIYuBpmtLrZkhi6OdPFIF0dkftMiIq5ZRMQ1i4i4pvyDf0kXg8wjXQwyW10MMke6GGSOdLEls9XFIDN0sSUzdDHIbHUxyBzpYpDZ6mKQ+aZFRFyziIhrFhFxzYe3dXGVzJEuHulikBlkhi4GmaGLI10MMq+SGbrYkhm6GGS2ujjSxSCz1cVfsoiIaxYRcc0iIq758G0yr+piS2boYpAZuhhkhi4GmaGLLZmhi0Fm6GJL5ojMq2S2ZLa6eETmq7oYZN60iIhrFhFxzSIirvlwWxdHZI50McgMXTzSxSCz1cUgc6SLV3UxyAxdDDJbXRyRGbrY6uJVMltdfNMiIq5ZRMQ1i4i45sO/rotBZuhi6GKQ2epikDnSxSAzdPFIF4PMkS62ZIYutrrYkjnSxSCz1cVvWkTENYuIuGYREdd8+NfIDF1syQxdDF0MMoPM0MUgM3Sx1cWWzFYXg8zQxSBzRGboYkvmSBeDzJbM0MUg85csIuKaRURcs4iIaz7cJnOVzFYXg8wjMkdkHuniiMzQxSCz1cWRLrZktro4IjN08ZcsIuKaRURcs4iIaz58Wxe/qouv6mJLZpAZutiSGbp4pItBZuhikNmSGbrYkhm62JIZuhhkjsj8pkVEXLOIiGsWEXFN+QcRccUiIq5ZRMQ1i4i4ZhER1ywi4ppFRFyziIhrFhFxzSIirllExDWLiLhmERHXLCLimkVEXLOIiGsWEXHNIiKuWUTENYuIuOZ/ji67rI/zdaYAAAAASUVORK5CYII=\",\n        \"url\": \"https://beta.gigstack.pro/autofactura?id=receipt_Vc3Rs3S6Xg\",\n        \"timestamp\": 1702154114453,\n        \"total\": 116,\n        \"itemsAmounts\": {\n            \"total\": 116,\n            \"taxes\": 16,\n            \"retentions\": 0,\n            \"feeAdded\": 0,\n            \"canSend\": true,\n            \"feeAddedString\": \"$0.00\",\n            \"totalWithoutFeeString\": \"$116.00\",\n            \"totalWithoutFee\": 116,\n            \"totalString\": \"$116.00\",\n            \"subtotalString\": \"$100.00\",\n            \"taxesString\": \"$16.00\",\n            \"retentionsString\": \"$0.00\",\n            \"masterDiscount\": 0,\n            \"taxesIncluded\": 0,\n            \"masterDiscountString\": \"$0.00\"\n        },\n        \"created\": 1702154114459,\n        \"validUntil\": 1702187999999,\n        \"status\": \"pending\",\n        \"owner\": \"\",\n        \"token\": \"\",\n        \"pdf\": \"https://storage.googleapis.com/gigstackpro.appspot.com/teams%2Fteam_RI2hpU84OLYHqmN%2Ffiles%2Freceipt_Vc3Rs3S6Xg.pdf\",\n        \"path\": \"\",\n        \"PDFGeneratedAt\": 1702154118105,\n        \"PDFExpiresAt\": 1723235718105\n    }\n}"}],"_postman_id":"34226116-1df6-4c7e-bd46-e4333437d08c"},{"name":"/v1/receipts/list","id":"a8b6c10f-c90f-43e6-8f05-7aabb9badb46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/list?limit=1","description":"<h3 id=\"listar-recibos-de-venta-en-gigstack\">Listar Recibos de Venta en Gigstack</h3>\n<p>El endpoint <strong>/v1/receipts/list</strong> te permite recuperar información detallada sobre los Recibos de Venta generados en Gigstack. A continuación, se detallan los parámetros disponibles para realizar esta consulta:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Descripción</strong></th>\n<th><strong>Tipo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>startAfter</td>\n<td>ID del último recibo obtenido para iniciar la recuperación de la siguiente página.</td>\n<td>String (opcional)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Número de recibos de venta a recuperar (entre 10 y 100).</td>\n<td>Número (requerido)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Este endpoint es útil para obtener información detallada sobre los Recibos de Venta en Gigstack, proporcionando un control eficiente mediante el uso de <code>startAfter</code> para iniciar la recuperación desde el último recibo obtenido y <code>limit</code> para especificar la cantidad de recibos a recuperar en una sola llamada.</p>\n<p>¡Aprovecha esta funcionalidad para gestionar y obtener información detallada sobre tus Recibos de Venta de manera eficiente!</p>\n","urlObject":{"protocol":"https","path":["v1","receipts","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"limit","value":"1"},{"disabled":true,"key":"startAfter","value":"receipt"}],"variable":[]}},"response":[{"id":"6479abcb-f1c3-4234-8ad6-d788d8bed63e","name":"200 - Listed","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/list?limit=1&startAfter=receipt_Vc3Rs3S6Xg","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","receipts","list"],"query":[{"key":"limit","value":"1"},{"key":"startAfter","value":"receipt_Vc3Rs3S6Xg"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"14f9-/9Pi246VnO7/JPMlk7JaHwY1QwQ\""},{"key":"function-execution-id","value":"rlj3lg8zjg1p"},{"key":"x-cloud-trace-context","value":"bfd1268015545c6145a195d7792508d5"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 22:03:22 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"5369"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Recibos encontrados\",\n    \"data\": [\n     \n    ],\n    \"startAfter\": \"receipt_\"\n}"}],"_postman_id":"a8b6c10f-c90f-43e6-8f05-7aabb9badb46"}],"id":"9732b7aa-260f-4348-af48-0d5f12eee86f","description":"<h3 id=\"sección-de-recibos-de-venta-en-gigstack\">Sección de Recibos de Venta en Gigstack</h3>\n<p>Bienvenido a la sección de Recibos de Venta en Gigstack. Aquí encontrarás detalles y documentación sobre los diferentes endpoints disponibles para la creación de Recibos de Venta. Estos recibos no solo generan un PDF personalizado con el logo de tu empresa, sino que también ofrecen la posibilidad de ser autofacturados, siempre y cuando tengas configurados los sellos y la información fiscal correspondiente.</p>\n<p>Para habilitar la función de autofacturación, puedes dirigirte a la página de configuración en <a href=\"https://app.gigstack.pro/settings?subtab=integrations\">https://app.gigstack.pro/settings?subtab=integrations</a> y seleccionar la opción \"Contabilidad -&gt; Emitir facturas\".</p>\n<p>A continuación, te proporcionaremos información detallada sobre los distintos endpoints disponibles para la creación y gestión de Recibos de Venta en Gigstack. ¡Vamos a explorarlos juntos!</p>\n","_postman_id":"9732b7aa-260f-4348-af48-0d5f12eee86f"},{"name":"Customer Portal","item":[{"name":"/v1/customerportal/auth/generate","id":"e0d76c8d-545a-49e0-bac9-d44f9b158dbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"customer@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/customerportal/auth/generate","description":"<h3 id=\"generar-autenticación-para-el-portal-de-cliente\">Generar Autenticación para el Portal de Cliente</h3>\n<p>Este endpoint te permite generar una sesión de autenticación para el portal de cliente.</p>\n<h4 id=\"cuerpo-de-la-solicitud\">Cuerpo de la Solicitud</h4>\n<ul>\n<li><code>email</code> (string, requerido): El correo electrónico del usuario para la autenticación.</li>\n</ul>\n<h4 id=\"respuesta\">Respuesta</h4>\n<ul>\n<li><code>message</code> (string): Un mensaje que indica el estado de la generación de la sesión.</li>\n<li><code>sessionId</code> (string): El identificador único de la sesión generada.</li>\n<li><code>code</code> (string): Un código relacionado con la generación de la sesión.</li>\n<li><code>url</code> (string): La URL para acceder al portal de cliente con la sesión generada.</li>\n</ul>\n<h4 id=\"ejemplo-de-respuesta\">Ejemplo de Respuesta</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Sesión generada de forma correcta\",\n    \"sessionId\": \"_______\",\n    \"code\": \"______\",\n    \"url\": \"https://portal.gigstack.pro/PORTALID?sessionId=otpcustomerportal_ytF7x&amp;c=272\"\n}\n\n</code></pre>\n<p>Este endpoint facilita la generación de sesiones de autenticación para el portal de cliente, proporcionando la información necesaria para acceder al portal con la sesión generada.</p>\n","urlObject":{"protocol":"https","path":["v1","customerportal","auth","generate"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"1cae3f53-0285-475b-aece-f084eb982515","name":"200 - Id generado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"customer@correo.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/customerportal/auth/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"cd-W5KhY/n9Lb8c1Mq1nDSD7DeK1Ps\""},{"key":"function-execution-id","value":"k0id2wtpcew3"},{"key":"x-cloud-trace-context","value":"8a75bdcb8b403c2eca2bdbe9d8d67a3f;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Wed, 13 Dec 2023 05:46:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"205"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Sesión generada de forma correcta\",\n    \"sessionId\": \"_______\",\n    \"code\": \"______\",\n    \"url\": \"https://portal.gigstack.pro/PORTALID?sessionId=otpcustomerportal_ytF7x&c=272\"\n}"},{"id":"9dd5b950-c43f-4601-bf01-b735b01f7d47","name":"400 - Falta correo","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/customerportal/auth/generate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"35-TNfWBIpjENYPAP5XfZ98fCNQzLo\""},{"key":"function-execution-id","value":"k0idvsauj8z9"},{"key":"x-cloud-trace-context","value":"7e367d2bf2e2008488e8dca599db357f;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Wed, 13 Dec 2023 05:45:06 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"53"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"message\": \"El correo es requerido\"\n}"}],"_postman_id":"e0d76c8d-545a-49e0-bac9-d44f9b158dbe"}],"id":"1f4b743e-0aeb-4be1-b0f3-505cc07210f9","description":"<p>Customer Portal es una funcionalidad que hemos agregado en gigstack para mejorar la comunicación con el cliente final, ahora podremos generar los códigos de acceso vía API para hacer un proceso híper personalizado con nuestros clientes.</p>\n<p>En los siguientes endpoints encontrarás las información necesaria.</p>\n","_postman_id":"1f4b743e-0aeb-4be1-b0f3-505cc07210f9"},{"name":"Webhooks","item":[{"name":"Objecto Payment","item":[],"id":"c9c99554-ccb8-4fbc-89d0-074856e70e15","description":"<p>El objeto Payment tiene las siguientes propiedades:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que el pago está en modo producción</td>\n</tr>\n<tr>\n<td>total</td>\n<td>number</td>\n<td>Total</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Moneda</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Estado</td>\n</tr>\n<tr>\n<td>items</td>\n<td>InternalItem[]</td>\n<td>Arreglo de elementos internos</td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>ID</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Equipo</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Client</td>\n<td>Cliente</td>\n</tr>\n<tr>\n<td>receipts?</td>\n<td>string[]</td>\n<td>Arreglo de recibos (opcional)</td>\n</tr>\n<tr>\n<td>invoices?</td>\n<td>string[]</td>\n<td>Arreglo de facturas (opcional)</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>number</td>\n<td>Marca de tiempo</td>\n</tr>\n<tr>\n<td>shortURL?</td>\n<td>string</td>\n<td>URL corta (opcional)</td>\n</tr>\n<tr>\n<td>paidIn?</td>\n<td>string</td>\n<td>Pagado en (opcional)</td>\n</tr>\n<tr>\n<td>discount?</td>\n<td>number</td>\n<td>null</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c9c99554-ccb8-4fbc-89d0-074856e70e15"},{"name":"Objeto Invoice","item":[],"id":"db0e2e76-cc8d-4204-8f9a-632cb0f69cc8","description":"<p>El objeto Invoice tiene las siguientes propiedades</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id?</td>\n<td>string</td>\n<td>ID opcional del objeto</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td>Objeto que representa al cliente</td>\n</tr>\n<tr>\n<td>items</td>\n<td>InvoiceItem[]</td>\n<td>Array de items de la factura</td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>PaymentForm</td>\n<td>Forma de pago de la factura</td>\n</tr>\n<tr>\n<td>type</td>\n<td>InvoiceType</td>\n<td>Tipo de factura</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td>PaymentMethod</td>\n<td>Método de pago de la factura</td>\n</tr>\n<tr>\n<td>use</td>\n<td>InvoiceUse</td>\n<td>Uso de la factura</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Moneda de la factura</td>\n</tr>\n<tr>\n<td>exchange</td>\n<td>number</td>\n<td>Tasa de cambio</td>\n</tr>\n<tr>\n<td>conditions?</td>\n<td>string</td>\n<td>Condiciones de la factura (opcional)</td>\n</tr>\n<tr>\n<td>related_documents?</td>\n<td>object[]</td>\n<td>Documentos relacionados (opcional)</td>\n</tr>\n<tr>\n<td>global?</td>\n<td>Global</td>\n<td>null</td>\n</tr>\n<tr>\n<td>export?</td>\n<td>Export</td>\n<td>Objeto de exportación (opcional)</td>\n</tr>\n<tr>\n<td>complements?</td>\n<td>object[]</td>\n<td>Complementos de la factura (opcional)</td>\n</tr>\n<tr>\n<td>date</td>\n<td>string</td>\n<td>Fecha de la factura</td>\n</tr>\n<tr>\n<td>address?</td>\n<td>Address</td>\n<td>Dirección (opcional)</td>\n</tr>\n<tr>\n<td>external_id?</td>\n<td>string</td>\n<td>ID externo (opcional)</td>\n</tr>\n<tr>\n<td>folio_number</td>\n<td>number</td>\n<td>Número de folio de la factura</td>\n</tr>\n<tr>\n<td>series</td>\n<td>string</td>\n<td>Serie de la factura</td>\n</tr>\n<tr>\n<td>pdf_custom_section?</td>\n<td>string</td>\n<td>Sección personalizada en PDF (opcional)</td>\n</tr>\n<tr>\n<td>addenda?</td>\n<td>string</td>\n<td>Addenda de la factura (opcional)</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Equipo responsable de la factura</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Estado de la factura</td>\n</tr>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que la factura está en modo producción</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"db0e2e76-cc8d-4204-8f9a-632cb0f69cc8"},{"name":"Objeto Receipt","item":[],"id":"948c8148-a430-47f9-ae65-83feb6d8e714","description":"<p>El objeto Receipt tiene los siguientes valores:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>ID</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>number</td>\n<td>Fecha de creación del recibo</td>\n</tr>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que el recibo está en modo producción.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Estado</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Id de la marca</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Client</td>\n<td>Información del cliente</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Moneda del recibo</td>\n</tr>\n<tr>\n<td>exchange</td>\n<td>number</td>\n<td>Tasa de cambio</td>\n</tr>\n<tr>\n<td>invoices?</td>\n<td>string[]</td>\n<td>Array de facturas (opcional)</td>\n</tr>\n<tr>\n<td>payments?</td>\n<td>string[]</td>\n<td>Array de pagos (opcional)</td>\n</tr>\n<tr>\n<td>items</td>\n<td>PaymentItem[]</td>\n<td>Arreglo de elementos de pago</td>\n</tr>\n<tr>\n<td>total</td>\n<td>number</td>\n<td>Total de la compra</td>\n</tr>\n<tr>\n<td>discount?</td>\n<td>number</td>\n<td>Descuento (opcional)</td>\n</tr>\n<tr>\n<td>validUntil</td>\n<td>number</td>\n<td>Fecha límite para que el cliente realice la factura</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"948c8148-a430-47f9-ae65-83feb6d8e714"},{"name":"Objeto Cliente","item":[],"id":"bdcc1726-339c-47be-a0aa-67cf35dad8d5","description":"<p>El objeto Cliente tiene los siguientes valores:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>RFCValidated</td>\n<td>boolean</td>\n<td>Indica si el RFC ha sido validado</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Address</td>\n<td>Dirección del cliente</td>\n</tr>\n<tr>\n<td>efos</td>\n<td>string</td>\n<td>object</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Correo electrónico del cliente</td>\n</tr>\n<tr>\n<td>from</td>\n<td>string</td>\n<td>Procedencia del cliente</td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>ID del cliente</td>\n</tr>\n<tr>\n<td>legalName</td>\n<td>string</td>\n<td>Nombre legal del cliente</td>\n</tr>\n<tr>\n<td>legal_name</td>\n<td>string</td>\n<td>Nombre legal del cliente</td>\n</tr>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que el cliente fue creado en modo producción</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>object</td>\n<td>Metadatos asociados al cliente</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Nombre del cliente</td>\n</tr>\n<tr>\n<td>note</td>\n<td>string</td>\n<td>Nota asociada al cliente</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>string</td>\n<td>Propietario del cliente</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>Número de teléfono del cliente</td>\n</tr>\n<tr>\n<td>rfc</td>\n<td>string</td>\n<td>RFC del cliente</td>\n</tr>\n<tr>\n<td>tax_id</td>\n<td>string</td>\n<td>ID fiscal del cliente</td>\n</tr>\n<tr>\n<td>tax_system</td>\n<td>string</td>\n<td>Sistema de impuestos del cliente</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Equipo asociado al cliente</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>number</td>\n<td>Fecha de creación del cliente</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"bdcc1726-339c-47be-a0aa-67cf35dad8d5"}],"id":"e0411532-eb9d-4ceb-aaf0-081b21416eba","description":"<p>Lo eventos se envían cuando en Gigstack ocurre una acción sobre un elemento. Para recibir estos eventos puedes agregar una URL desde <a href=\"https://app.gigstack.pro/settings?subtab=api\">https://app.gigstack.pro/settings?subtab=api</a> y suscribirte a los eventos que desees recibir.</p>\n<p>Tenemos habilitados los siguiente eventos:</p>\n<h3 id=\"pagos\">Pagos</h3>\n<ul>\n<li><p><code>payment.created</code></p>\n</li>\n<li><p><code>payment.updated</code></p>\n</li>\n<li><p><code>payment.succeeded</code></p>\n</li>\n<li><p><code>payment.canceled</code></p>\n</li>\n<li><p><code>payment.deleted</code></p>\n</li>\n<li><p><code>payment.upcoming_due_date</code></p>\n</li>\n</ul>\n<p>Ejemplo de la solicitud enviada a tu endpoint:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": PaymentObject, // Objeto del pago\n  \"team\": \"SXztwsWPvX7Fcv\", // Id de la cuenta dónde se creó el recurso\n  \"webhook\": \"wh_6ZCY9e4\", // Id del webhook\n  \"event\": \"payment.succeeded\",\n  \"livemode\": true // True indica que el recurso fue creado en modo producción\n}\n\n</code></pre>\n<h3 id=\"facturas\">Facturas</h3>\n<ul>\n<li><code>invoice.created</code></li>\n<li><code>invoice.canceled</code></li>\n</ul>\n<p>Ejemplo de la solicitud enviada a tu endpoint:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": InvoiceObject, // Objeto de la factura\n  \"team\": \"SXztwsWPvX7Fcv\", // Id de la cuenta dónde se creó el recurso\n  \"webhook\": \"wh_6ZCY9e4\", // Id del webhook\n  \"event\": \"invoice.created\",\n  \"livemode\": true // True indica que el recurso fue creado en modo producción\n}\n\n</code></pre>\n<ul>\n<li><code>invoice.failed</code></li>\n</ul>\n<p>Ejemplo de la solicitud enviada a tu endpoint en el evento invoice.failed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"id\": \"receipt_f2tFjxyfv2v\",\n    \"url\": \"https://beta.gigstack.pro/autofactura?id=receipt_f2tFjxyfv2v\",\n    \"invoiceError\": \"Tu cliente no cuenta con la información fiscal necesaria para generar la factura. Datos faltantes: Nombre legal, RFC\",\n    \"timestamp\": 1698423428674,\n    \"livemode\": true,\n    \"team\": \"SXztwsWPvX34dc\",\n    \"validUntil\": 1701410399999,\n    \"payments\": [\n      \"payment_84ncvlsgide\"\n    ],\n    \"clientId\": \"client_vjfdb7yoz\",\n    \"clientEmail\": \"prueba@gigstack.io\"\n   },\n  \"team\": \"SXztwsWPvX7Fcv\", // Id de la cuenta dónde se creó el recurso\n  \"webhook\": \"wh_6ZCY9e4\", // Id del webhook\n  \"event\": \"invoice.failed\",\n  \"livemode\": true // True indica que el recurso fue creado en modo producción\n}\n\n</code></pre>\n<h3 id=\"recibos-de-autofactura\">Recibos de autofactura</h3>\n<ul>\n<li><code>receipt.created</code></li>\n<li><code>receipt.updated</code></li>\n<li><code>receipt.canceled</code></li>\n<li><code>receipt.deleted</code></li>\n</ul>\n<p>Ejemplo de la solicitud enviada a tu endpoint:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": ReceiptObject, // Objeto del recibo de autofactura\n  \"team\": \"SXztwsWPvX7Fcv\", // Id de la cuenta dónde se creó el recurso\n  \"webhook\": \"wh_6ZCY9e4\", // Id del webhook\n  \"event\": \"receipr.created\",\n  \"livemode\": true // True indica que el recurso fue creado en modo producción\n}\n\n</code></pre>\n<h3 id=\"clientes\">Clientes</h3>\n<ul>\n<li><code>client.created</code></li>\n<li><code>client.updated</code></li>\n<li><code>client.deleted</code></li>\n</ul>\n<p>Ejemplo de la solicitud enviada a tu endpoint:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": ClientObject, // Objeto del cliente\n  \"team\": \"SXztwsWPvX7Fcv\", // Id de la cuenta dónde se creó el recurso\n  \"webhook\": \"wh_6ZCY9e4\", // Id del webhook\n  \"event\": \"receipr.created\",\n  \"livemode\": true // True indica que el recurso fue creado en modo producción\n}\n\n</code></pre>\n","_postman_id":"e0411532-eb9d-4ceb-aaf0-081b21416eba"},{"name":"Catálogos","item":[],"id":"c577f519-9421-4a7b-9c45-c94c169e9d3e","description":"<p>Catálogos más imporantes del SAT, puedes consultar estos y otros catálogos en el sitio oficial del SAT: <a href=\"http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm\">http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm</a></p>\n<h3 id=\"formas-de-pago\">Formas de pago</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>01</td>\n<td>Efectivo</td>\n</tr>\n<tr>\n<td>02</td>\n<td>Cheque nominativo</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Transferencia electrónica de fondos</td>\n</tr>\n<tr>\n<td>04</td>\n<td>Tarjeta de crédito</td>\n</tr>\n<tr>\n<td>05</td>\n<td>Monedero electrónico</td>\n</tr>\n<tr>\n<td>06</td>\n<td>Dinero electrónico</td>\n</tr>\n<tr>\n<td>08</td>\n<td>Vales de despensa</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Dación en pago</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Pago por subrogación</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Pago por consignación</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Condonación</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Compensación</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Novación</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Confusión</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Remisión de deuda</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Prescripción o caducidad</td>\n</tr>\n<tr>\n<td>27</td>\n<td>A satisfacción del acreedor</td>\n</tr>\n<tr>\n<td>28</td>\n<td>Tarjeta de débito</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Tarjeta de servicios</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Aplicación de anticipos</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Intermediario pagos</td>\n</tr>\n<tr>\n<td>99</td>\n<td>Por definir</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"método-de-pago\">Método de pago</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PUE</td>\n<td>Pago en una sola exhibición (de contado).</td>\n</tr>\n<tr>\n<td>PPD</td>\n<td>Pago en parcialidades o diferido (total o parcialmente a crédito).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"usos-cfdi\">Usos CFDI</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n<th>Régimen Fiscal</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>G01</td>\n<td>Adquisición de mercancías.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>G02</td>\n<td>Devoluciones, descuentos o bonificaciones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>G03</td>\n<td>Gastos en general.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I01</td>\n<td>Construcciones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I02</td>\n<td>Mobiliario y equipo de oficina por inversiones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I03</td>\n<td>Equipo de transporte.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I04</td>\n<td>Equipo de computo y accesorios.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I05</td>\n<td>Dados, troqueles, moldes, matrices y herramental.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I06</td>\n<td>Comunicaciones telefónicas.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I07</td>\n<td>Comunicaciones satelitales.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I08</td>\n<td>Otra maquinaria y equipo.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>D01</td>\n<td>Honorarios médicos, dentales y gastos hospitalarios.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D02</td>\n<td>Gastos médicos por incapacidad o discapacidad.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D03</td>\n<td>Gastos funerales.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D04</td>\n<td>Donativos.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D05</td>\n<td>Intereses reales efectivamente pagados por créditos hipotecarios (casa habitación).</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D06</td>\n<td>Aportaciones voluntarias al SAR.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D07</td>\n<td>Primas por seguros de gastos médicos.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D08</td>\n<td>Gastos de transportación escolar obligatoria.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D09</td>\n<td>Depósitos en cuentas para el ahorro, primas que tengan como base planes de pensiones.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D10</td>\n<td>Pagos por servicios educativos (colegiaturas).</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>S01</td>\n<td>Sin efectos fiscales.</td>\n<td>601, 603, 605, 606, 608, 610, 611, 612, 614, 616, 620, 621, 622, 623, 624, 607, 615, 625, 626</td>\n</tr>\n<tr>\n<td>CP01</td>\n<td>Pagos.</td>\n<td>601, 603, 605, 606, 608, 610, 611, 612, 614, 616, 620, 621, 622, 623, 624, 607, 615, 625, 626</td>\n</tr>\n<tr>\n<td>CN01</td>\n<td>Nómina.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"régimen-fiscal\">Régimen Fiscal</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>601</td>\n<td>General de Ley Personas Morales</td>\n</tr>\n<tr>\n<td>603</td>\n<td>Personas Morales con Fines no Lucrativos</td>\n</tr>\n<tr>\n<td>605</td>\n<td>Sueldos y Salarios e Ingresos Asimilados a Salarios</td>\n</tr>\n<tr>\n<td>606</td>\n<td>Arrendamiento</td>\n</tr>\n<tr>\n<td>608</td>\n<td>Demás ingresos</td>\n</tr>\n<tr>\n<td>609</td>\n<td>Consolidación</td>\n</tr>\n<tr>\n<td>610</td>\n<td>Residentes en el Extranjero sin Establecimiento Permanente en México</td>\n</tr>\n<tr>\n<td>611</td>\n<td>Ingresos por Dividendos (socios y accionistas)</td>\n</tr>\n<tr>\n<td>612</td>\n<td>Personas Físicas con Actividades Empresariales y Profesionales</td>\n</tr>\n<tr>\n<td>614</td>\n<td>Ingresos por intereses</td>\n</tr>\n<tr>\n<td>616</td>\n<td>Sin obligaciones fiscales</td>\n</tr>\n<tr>\n<td>620</td>\n<td>Sociedades Cooperativas de Producción que optan por diferir sus ingresos</td>\n</tr>\n<tr>\n<td>621</td>\n<td>Incorporación Fiscal</td>\n</tr>\n<tr>\n<td>622</td>\n<td>Actividades Agrícolas, Ganaderas, Silvícolas y Pesqueras</td>\n</tr>\n<tr>\n<td>623</td>\n<td>Opcional para Grupos de Sociedades</td>\n</tr>\n<tr>\n<td>624</td>\n<td>Coordinados</td>\n</tr>\n<tr>\n<td>628</td>\n<td>Hidrocarburos</td>\n</tr>\n<tr>\n<td>607</td>\n<td>Régimen de Enajenación o Adquisición de Bienes</td>\n</tr>\n<tr>\n<td>629</td>\n<td>De los Regímenes Fiscales Preferentes y de las Empresas Multinacionales</td>\n</tr>\n<tr>\n<td>630</td>\n<td>Enajenación de acciones en bolsa de valores</td>\n</tr>\n<tr>\n<td>615</td>\n<td>Régimen de los ingresos por obtención de premios</td>\n</tr>\n<tr>\n<td>625</td>\n<td>Régimen de las Actividades Empresariales con ingresos a través de Plataformas Tecnológicas</td>\n</tr>\n<tr>\n<td>626</td>\n<td>Régimen Simplificado de Confianza</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"meses-y-bimestres\">Meses y bimestres</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>01</td>\n<td>Enero</td>\n</tr>\n<tr>\n<td>02</td>\n<td>Febrero</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Marzo</td>\n</tr>\n<tr>\n<td>04</td>\n<td>Abril</td>\n</tr>\n<tr>\n<td>05</td>\n<td>Mayo</td>\n</tr>\n<tr>\n<td>06</td>\n<td>Junio</td>\n</tr>\n<tr>\n<td>07</td>\n<td>Julio</td>\n</tr>\n<tr>\n<td>08</td>\n<td>Agosto</td>\n</tr>\n<tr>\n<td>09</td>\n<td>Septiembre</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Octubre</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Noviembre</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Diciembre</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Enero-Febrero</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Marzo-Abril</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Mayo-Junio</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Julio-Agosto</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Septiembre-Octubre</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Noviembre-Diciembre</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c577f519-9421-4a7b-9c45-c94c169e9d3e"},{"name":"Retenciones","item":[{"name":"/v1/retentions/create","id":"a9a5616f-061c-4051-9328-243093af4321","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"period\": {\n        \"start\": 7,\n        \"end\": 7,\n        \"year\": 2024\n    },\n    \"totals\": {\n        \"totalOperation\": 1000,\n        \"totalExcempt\": 200,\n        \"taxRetained\": [{\n            \"amount\":137.9310,\n            \"paymentType\":\"01\",\n            \"base\":1000,\n            \"type\":\"IVA\"\n\n        }]\n    },\n    \"retentionKey\": \"01\",\n    \"clientId\":\"JPTFQS6hAX\",\n    \"folio_number\": 1,\n    \"externalId\": \"abc123\",\n    \"idempotency_key\": \"unique_key_1234\",\n    \"invoicePDFExtra\": \"Additional info\",\n    \"retentionDescription\":\"SOMETHING\",\n    \"complements\":[]\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/create","description":"<h1 id=\"create-retention\">Create Retention</h1>\n<p>Este endpoint permite crear un nuevo registro de retención en el sistema.<br />Acepta una solicitud <strong>POST</strong> a la URL:</p>\n<p><code>https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/create</code></p>\n<hr />\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>El cuerpo de la solicitud debe enviarse en formato <strong>JSON</strong> e incluir los siguientes parámetros:</p>\n<ul>\n<li><p><strong>period</strong>: Objeto que contiene el período de la retención.</p>\n<ul>\n<li><p><strong>start</strong> (integer): Mes de inicio del período de retención.</p>\n</li>\n<li><p><strong>end</strong> (integer): Mes de fin del período de retención.</p>\n</li>\n<li><p><strong>year</strong> (integer): Año del período de retención.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>totals</strong>: Objeto que contiene los montos totales relacionados con la retención.</p>\n<ul>\n<li><p><strong>totalOperation</strong> (number): Monto total de la operación.</p>\n</li>\n<li><p><strong>totalExcempt</strong> (number): Monto total exento.</p>\n</li>\n<li><p><strong>taxRetained</strong> (array): Arreglo de objetos con el detalle de los impuestos retenidos.</p>\n<ul>\n<li><p><strong>amount</strong> (number): Monto del impuesto retenido.</p>\n</li>\n<li><p><strong>paymentType</strong> (string): Tipo de pago.</p>\n</li>\n<li><p><strong>base</strong> (number): Monto base para el impuesto.</p>\n</li>\n<li><p><strong>type</strong> (string): Tipo de impuesto.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>retentionKey</strong> (string): Llave que identifica el tipo de retención.</p>\n</li>\n<li><p><strong>clientId</strong> (string): ID del cliente asociado a la retención.</p>\n</li>\n<li><p><strong>folio_number</strong> (integer): Número de folio de la retención.</p>\n</li>\n<li><p><strong>externalId</strong> (string): Identificador externo de la retención.</p>\n</li>\n<li><p><strong>idempotency_key</strong> (string): Llave única para asegurar la idempotencia de la solicitud.</p>\n</li>\n<li><p><strong>invoicePDFExtra</strong> (string): Información adicional relacionada con el PDF de la factura.</p>\n</li>\n<li><p><strong>retentionDescription</strong> (string): Descripción de la retención.</p>\n</li>\n</ul>\n<hr />\n<p>Este endpoint es esencial para gestionar de forma efectiva los registros de retenciones y garantiza que se capture toda la información necesaria para su procesamiento.</p>\n","urlObject":{"protocol":"https","path":["v1","retentions","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"6e4c0a7e-993e-444b-b73e-9e0b3986207d","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"period\": {\n        \"start\": 7,\n        \"end\": 7,\n        \"year\": 2024\n    },\n    \"totals\": {\n        \"totalOperation\": 1000,\n        \"totalExcempt\": 200,\n        \"taxRetained\": [{\n            \"amount\":137.9310,\n            \"paymentType\":\"01\",\n            \"base\":1000,\n            \"type\":\"IVA\"\n\n        }]\n    },\n    \"retentionKey\": \"01\",\n    \"clientId\":\"JPTFQS6hAX\",\n    \"folio_number\": 1,\n    \"externalId\": \"abc123\",\n    \"idempotency_key\": \"unique_key_1234\",\n    \"invoicePDFExtra\": \"Additional info\",\n    \"retentionDescription\":\"SOMETHING\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"d80-Z2Xc/+2K6UuU7ZDV7PCoIzU7pY8\""},{"key":"function-execution-id","value":"sszbj262dbcx"},{"key":"x-cloud-trace-context","value":"9fad8a53df240815bfe4266821930c70;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 14 Jul 2024 21:18:21 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3456"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Retención creada correctamente\",\n    \"retention\": {\n        \"period\": {\n            \"start\": 7,\n            \"end\": 7,\n            \"year\": 2024\n        },\n        \"totals\": {\n            \"totalOperation\": 1000,\n            \"totalExcempt\": 200,\n            \"taxRetained\": [\n                {\n                    \"amount\": 137.931,\n                    \"paymentType\": \"01\",\n                    \"base\": 1000,\n                    \"type\": \"IVA\"\n                }\n            ]\n        },\n        \"retentionKey\": \"01\",\n        \"clientId\": \"JPTFQS6hAX\",\n        \"folio_number\": 1,\n        \"externalId\": \"abc123\",\n        \"idempotency_key\": \"unique_key_1234\",\n        \"invoicePDFExtra\": \"Additional info\",\n        \"retentionDescription\": \"SOMETHING\",\n        \"test\": true,\n        \"livemode\": false,\n        \"client\": {\n            \"phoneNumbers\": [],\n            \"names\": [\n                {\n                    \"displayName\": \"DISPLAY NAME\"\n                }\n            ],\n            \"emailAddresses\": [\n                {\n                    \"value\": \"client@email.com\"\n                }\n            ],\n            \"name\": \"DISPLAY NAME\",\n            \"id\": \"JPTFQS6hAX\",\n            \"email\": \"client@email.com\",\n            \"timestamp\": 1675384854936,\n            \"RFCvalidated\": true,\n            \"team\": \"team_\",\n            \"billingAccount\": \"ba_\",\n            \"metadata\": {},\n            \"RFCValidated\": null,\n            \"legalName\": \"CLIENT LEGAL NAME\",\n            \"phone\": \"\",\n            \"from\": \"manual\",\n            \"legal_name\": \"CLIENT LEGAL NAME\",\n            \"country\": \"MEX\",\n            \"rfc\": \"RFC\",\n            \"efos\": \"\",\n            \"zip\": \"10200\",\n            \"use\": \"G03\",\n            \"client\": {\n                \"address\": {\n                    \"zip\": \"10200\",\n                    \"country\": \"MEX\"\n                },\n                \"legal_name\": \"CLIENT LEGAL NAME\",\n                \"tax_system\": \"612\",\n                \"rfc\": \"RFC\",\n                \"email\": \"client@email.com\"\n            },\n            \"tax_system\": \"612\",\n            \"customer\": {\n                \"address\": {\n                    \"zip\": \"10200\"\n                },\n                \"legal_name\": \"CLIENT LEGAL NAME\",\n                \"tax_system\": \"612\",\n                \"rfc\": \"RFC\",\n                \"email\": \"client@email.com\"\n            },\n            \"payment_form\": \"01\",\n            \"type\": null,\n            \"tax_id\": \"\",\n            \"company\": \"Café Valdez\",\n            \"bcc\": [\n                \"EMAIL1\",\n                \"EMAIL2\"\n            ],\n            \"livemode\": false,\n            \"lastEdited\": {\n                \"by\": \"8U___\",\n                \"timestamp\": 1720454915628\n            },\n            \"owner\": \"8U___\",\n            \"note\": \"Actualizado desde recibo de venta\",\n            \"address\": {\n                \"zip\": \"10200\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"type\": \"Retención\",\n        \"fromApi\": true,\n        \"id\": \"6694409d22f8aeecd096db31\",\n        \"organization\": \"62f3e360996fae001b780ebb\",\n        \"created_at\": \"2024-07-14T21:18:21.389Z\",\n        \"status\": \"valid\",\n        \"verification_url\": \"https://verificacfdi.facturaelectronica.sat.gob.mx/default.aspx?id=44c19563-16e0-4077-be3c-1849a9d958e5&re=CAHS960410BL4&rr=CAHS960410BL4&tt=1000.000000&fe=QZIRJQ==\",\n        \"customer\": {\n            \"id\": \"65957ee200__\",\n            \"legal_name\": \"CLIENT LEGAL NAME\",\n            \"tax_id\": \"RFC\",\n            \"tax_system\": \"612\",\n            \"address\": {\n                \"zip\": \"10200\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"uuid\": \"44c19563-16e0-4077-be3c-1849a9d958e5\",\n        \"fecha_exp\": \"2024-07-14T21:18:21.389Z\",\n        \"cve_retenc\": \"01\",\n        \"folio_int\": \"1\",\n        \"periodo\": {\n            \"mes_ini\": 7,\n            \"mes_fin\": 7,\n            \"ejerc\": 2024\n        },\n        \"totales\": {\n            \"monto_tot_exent\": 200,\n            \"monto_tot_operacion\": 1000,\n            \"imp_retenidos\": [\n                {\n                    \"base_ret\": 1000,\n                    \"impuesto\": \"IVA\",\n                    \"tipo_pago_ret\": \"01\",\n                    \"monto_ret\": 137.931,\n                    \"pago_provisional\": false\n                }\n            ],\n            \"monto_tot_grav\": 800,\n            \"monto_tot_ret\": 137.931\n        },\n        \"stamp\": {\n            \"date\": \"2024-07-14T15:18:21\",\n            \"sat_signature\": \"GDT3BMEcpY72RP1K3/Ury2WAn08=\",\n            \"sat_cert_number\": \"20001000000300022323\",\n            \"signature\": \"Iryc1Ei35V89Ga3SGDqWLm/KvSl3bncugNsoT+UKyf35OYgFiZqyZYoplUM2Pli4eRGP7nTBuYYspSQSDfwIzdPiteYaKyuhYp3hNL6+FnF2tUxDhiDP0q9sYwlZi+5zAA/ZL3OIGOit6DjzvCcHP3sOw2yh/NXlwmUmfN6YXd83SmpLFUUOEHg7bg6VKs5/z0tlM6b25yQTbBdwjPBc/pzlRnOzCpK8N5RBEXRfxco8sowTCa0Ne2OmO42TlfeipS6ZZ7p2JxVVNo6tey258aA/UrpT74yOVQNkwfWbtEzeZnUzymWsX4OTuv0tY5j5YkmRaSNvIOqSCNw6QZIRJQ==\"\n        },\n        \"external_id\": \"abc123\",\n        \"namespaces\": [],\n        \"complements\": [],\n        \"addenda\": [],\n        \"pdf_custom_section\": \"<p>Additional info</p>\",\n        \"relation\": null,\n        \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n        \"timestamp\": 1720991901513,\n        \"team\": \"team_RI2hpU84OLYHqmN\"\n    }\n}"}],"_postman_id":"a9a5616f-061c-4051-9328-243093af4321"},{"name":"/v1/retentions/list","id":"0394b2f1-ae30-4188-a47d-79d185a5e821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/list?limit=1","urlObject":{"protocol":"https","path":["v1","retentions","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>Number between 1 and 100</p>\n","type":"text/plain"},"key":"limit","value":"1"},{"disabled":true,"description":{"content":"<p>Integer to follow the next batch of retentions</p>\n","type":"text/plain"},"key":"next","value":null},{"disabled":true,"description":{"content":"<p>Id of the client to list</p>\n","type":"text/plain"},"key":"clientId","value":null}],"variable":[]}},"response":[{"id":"5ddab553-3599-45a4-b7e0-b5f23174abb4","name":"200","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/list?limit=1","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","retentions","list"],"query":[{"key":"limit","value":"1","description":"Number between 1 and 100"},{"key":"next","value":null,"description":"Integer to follow the next batch of retentions","type":"text","disabled":true},{"key":"clientId","value":null,"description":"Id of the client to list","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"d8a-gybxyngxdUncWiRi+YITUbA0ZWY\""},{"key":"function-execution-id","value":"89ilcacbimdt"},{"key":"x-cloud-trace-context","value":"1262fe430c9bae838f08d02cf7b89648;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 14 Jul 2024 22:55:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3466"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Retenciones encontradas\",\n    \"data\": [\n        {\n            \n        }\n    ],\n    \"next\": 1720991901513\n}"}],"_postman_id":"0394b2f1-ae30-4188-a47d-79d185a5e821"}],"id":"58097f47-cf01-4f74-b5d8-078ee8a8a1aa","description":"<p>Algunas empresas necesitan crear CFDI's de retenciones, así que hemos agregado la opción para consumir desde el API de gigstack.</p>\n<p>*Estaremos actualizando los endpoint de las retenciones constantemente*</p>\n<p>Lista de claves de retención</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>\"01\"</td>\n<td>Servicios profesionales.</td>\n</tr>\n<tr>\n<td>\"02\"</td>\n<td>Regalías por derechos de autor.</td>\n</tr>\n<tr>\n<td>\"03\"</td>\n<td>Autotransporte terrestre de carga.</td>\n</tr>\n<tr>\n<td>\"04\"</td>\n<td>Servicios prestados por comisionistas.</td>\n</tr>\n<tr>\n<td>\"05\"</td>\n<td>Arrendamiento.</td>\n</tr>\n<tr>\n<td>\"06\"</td>\n<td>Enajenación de acciones.</td>\n</tr>\n<tr>\n<td>\"07\"</td>\n<td>Enajenación de bienes objeto de la LIEPS, a través de mediadores, agentes, representantes, corredores, consignatarios o distribuidores.</td>\n</tr>\n<tr>\n<td>\"08\"</td>\n<td>Enajenación de bienes inmuebles consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"09\"</td>\n<td>Enajenación de otros bienes, no consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"10\"</td>\n<td>Adquisición de desperdicios industriales.</td>\n</tr>\n<tr>\n<td>\"11\"</td>\n<td>Adquisición de bienes consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"12\"</td>\n<td>Adquisición de otros bienes, no consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"13\"</td>\n<td>Otros retiros de AFORE.</td>\n</tr>\n<tr>\n<td>\"14\"</td>\n<td>Dividendos o utilidades distribuidas.</td>\n</tr>\n<tr>\n<td>\"15\"</td>\n<td>Remanente distribuible.</td>\n</tr>\n<tr>\n<td>\"16\"</td>\n<td>Intereses.</td>\n</tr>\n<tr>\n<td>\"17\"</td>\n<td>Arrendamiento en fideicomiso.</td>\n</tr>\n<tr>\n<td>\"18\"</td>\n<td>Pagos realizados a favor de residentes en el extranjero.</td>\n</tr>\n<tr>\n<td>\"19\"</td>\n<td>Enajenación de acciones u operaciones en bolsa de valores.</td>\n</tr>\n<tr>\n<td>\"20\"</td>\n<td>Obtención de premios.</td>\n</tr>\n<tr>\n<td>\"21\"</td>\n<td>Fideicomisos que no realizan actividades empresariales.</td>\n</tr>\n<tr>\n<td>\"22\"</td>\n<td>Planes personales de retiro.</td>\n</tr>\n<tr>\n<td>\"23\"</td>\n<td>Intereses reales deducibles por créditos hipotecarios.</td>\n</tr>\n<tr>\n<td>\"24\"</td>\n<td>Operaciones Financieras Derivadas de Capital.</td>\n</tr>\n<tr>\n<td>\"25\"</td>\n<td>Otro tipo de retenciones.</td>\n</tr>\n<tr>\n<td>\"26\"</td>\n<td>Servicios mediante Plataformas Tecnológicas</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"58097f47-cf01-4f74-b5d8-078ee8a8a1aa"},{"name":"gigstack connect","item":[{"name":"v1/teams/create","id":"c109471e-ea5b-446b-b0f4-3c4572f968f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"members\":[],\n  \"alias\":\"My Connected Account 1\",\n  \"primaryColor\":\"#FAFBDD\",\n  \"logoUrl\":\"https://gigstack.pro/images/gigstack_1-p-500.png\",\n  \"legalName\":\"Connected Account Legal Name\",\n  \"taxId\":\"EKU9003173C9\"\n  ,\"address\":{\"zip\":\"10200\"},\n  \"contactEmails\":[\"connectedaccountcontact@email.com\"],\n  \"supportEmail\":\"connectedaccountsupport@email.com\",\n  \"taxSystem\":\"612\",\n  \"generatePublicOnboarding\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create","description":"<p>This endpoint allows you to create a connected account. The request should be sent as an HTTP POST to the specified URL. The request body should include the following parameters:</p>\n<ul>\n<li><p><code>members</code>: An array of team ids of previously generated uses in gigstack members, is not required.</p>\n</li>\n<li><p><code>alias</code>: The alias for the connected account.</p>\n</li>\n<li><p><code>primaryColor</code>: The primary color for the connected account.</p>\n</li>\n<li><p><code>logoUrl</code>: The URL for the connected account logo.</p>\n</li>\n<li><p><code>legalName</code>: The legal name of the connected account.</p>\n</li>\n<li><p><code>taxId</code>: The tax ID | RFC of the connected account.</p>\n</li>\n<li><p><code>address</code>: An object containing the connected account address details, including the <code>zip</code> code.</p>\n</li>\n<li><p><code>contactEmails</code>: An array of contact emails for the connected account.</p>\n</li>\n<li><p><code>supportEmail</code>: The support email for the connected account.</p>\n</li>\n<li><p><code>taxSystem</code>: The tax system for the connected account, please refer to our catalogs and use 3-digit code.</p>\n</li>\n<li><p><code>generatePublicOnboarding</code>: Send this as true to generate an onboarding link.</p>\n</li>\n</ul>\n<p>The response to this request will contain the details of the newly created team + the URL of the onboarding.</p>\n","urlObject":{"protocol":"https","path":["v1","teams","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"635f3d65-f7e7-4855-9240-52548cc8ec38","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"members\":[],\n  \"alias\":\"My Connected Account 1\",\n  \"primaryColor\":\"#FAFBDD\",\n  \"logoUrl\":\"https://gigstack.pro/images/gigstack_1-p-500.png\",\n  \"legalName\":\"Connected Account Legal Name\",\n  \"taxId\":\"EKU9003173C9\"\n  ,\"address\":{\"zip\":\"10200\"},\n  \"contactEmails\":[\"connectedaccountcontact@email.com\"],\n  \"supportEmail\":\"connectedaccountsupport@email.com\",\n  \"taxSystem\":\"612\",\n  \"generatePublicOnboarding\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"50a-xypEGcmd26WCv+i/vZC7BM+J5hw\""},{"key":"function-execution-id","value":"wvoyp0jl4083"},{"key":"x-cloud-trace-context","value":"9ddbb719c7ff3d210893ff2dc0fef4b5;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 Jul 2024 20:01:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"1290"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Se ha creado el equipo My Connected Account 1 y se ha añadido el cargo de configuración a la siguiente factura.\",\n    \"team\": {\n        \"brand\": {\n            \"alias\": \"My Connected Account 1\",\n            \"primaryColor\": \"#FAFBDD\",\n            \"logo\": \"https://gigstack.pro/images/gigstack_1-p-500.png\"\n        },\n        \"address\": {\n            \"zip\": \"10200\"\n        },\n        \"id\": \"team_rX1bTfUf74\",\n        \"tax_system\": \"612\",\n        \"tax_system_m\": {\n            \"value\": \"612\",\n            \"label\": \"Personas Físicas con Actividades Empresariales y Profesionales\"\n        },\n        \"legal_name\": \"Connected Account Legal Name\",\n        \"tax_id\": \"EKU9003173C9\",\n        \"rfc\": \"EKU9003173C9\",\n        \"membersIds\": [\n            \"___\"\n        ],\n        \"integrationsSetup\": [\n            \"stripeSetup\",\n            \"invoices\",\n            \"importStripeProducts\",\n            \"importStripePayments\",\n            \"bank\",\n            \"testInvoice\",\n            \"automaticInvoicing\",\n            \"setDefaults\"\n        ],\n        \"setupComplete\": false,\n        \"members\": [\n            {\n                \"id\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n                \"isSuperAdmin\": true,\n                \"rol\": \"admin\",\n                \"isAdmin\": true,\n                \"invoices\": \"editor\",\n                \"expenses\": \"editor\",\n                \"payments\": \"editor\",\n                \"services\": \"editor\",\n                \"email\": \"santiago.carranca@gigstack.io\",\n                \"status\": \"active\"\n            }\n        ],\n        \"supportEmail\": \"connectedaccountsupport@email.com\",\n        \"contactEmails\": [\n            \"connectedaccountcontact@email.com\"\n        ],\n        \"setupAt\": 1721073676047,\n        \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n        \"onboardingUrl\": \"https://embeded.gigstack.pro/?sessionId=otpOnboarding_code\",\n        \"integrationsBlocked\": [],\n        \"timestamp\": 1721073676048\n    }\n}"},{"id":"9c9c85f1-85e6-40db-b3b1-05ba5df751a1","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [token]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"members\":[],\n  \"alias\":\"My Connected Account 1\",\n  \"primaryColor\":\"#FAFBDD\",\n  \"logoUrl\":\"\",\n  \"legalName\":\"Connected Account Legal Name\",\n  \"taxId\":\"EKU9003173C9\"\n  ,\"address\":{\"zip\":\"10200\"},\n  \"contactEmails\":[\"connectedaccountcontact@email.com\"],\n  \"supportEmail\":\"connectedaccountsupport@email.com\",\n  \"taxSystem\":\"612\",\n  \"generatePublicOnboarding\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"45-+mFxowooPbiu+UoLxkBg2mSe/+Q\""},{"key":"function-execution-id","value":"wvoyzvzh3dqp"},{"key":"x-cloud-trace-context","value":"824899ba1c45db4da45eb9a6d2ae587d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 Jul 2024 20:00:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"69"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Faltan datos para crear el equipo\",\n    \"missing\": [\n        \"logoUrl\"\n    ]\n}"}],"_postman_id":"c109471e-ea5b-446b-b0f4-3c4572f968f7"}],"id":"9a059798-bb22-4636-97c3-bb41c0fd4f32","description":"<p>gigstack connect es la forma más sencilla para controlar la adminstracion financiera de subcuentas, gigstack connect es perfecto para empresas tipo marketplace, o empresas que busquen automatizar la facturación de sus proveedores.  </p>\n<p>Con un proceso sencillo de onboarding puedes solicitar la información de conexión de tus usuarios y automatizar todos sus procesos.</p>\n","_postman_id":"9a059798-bb22-4636-97c3-bb41c0fd4f32"}],"id":"542ef4ac-1d09-448f-b23f-1acbfaf52a4c","description":"<p>¡Bienvenid@s a la documentación de gigstack.pro, donde automatizar eventos financieros es tan sencillo como nunca antes! Aquí encontrarás todos los detalles sobre los endpoints disponibles para crear, actualizar y eliminar recursos mediante nuestra API.</p>\n<p>Es fundamental destacar que el acceso a la API requiere contar con una suscripción a alguno de nuestros planes que incluyen este privilegio. ¡Explora y descubre cómo gigstack.pro puede simplificar y potenciar tu gestión financiera!</p>\n","_postman_id":"542ef4ac-1d09-448f-b23f-1acbfaf52a4c"},{"name":"English (en)","item":[{"name":"Payments","item":[{"name":"/v1/payments/create","id":"f4f8d455-d9b5-4cc4-b6b6-1dc70c5ceb7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\":{\n        \"name\":\"Nombre del cliente\",\n        \"email\":\"ejemplo@gigstack.io\"\n    },\n\t\"items\": [\n        {\n            \"name\":\"Nombre del producto\",\n            \"description\":\"Descripción del producto\",\n            \"quantity\":2,\n            \"total\":200,\n            \"taxes\":[\n                {\"rate\":0.16, \"factor\":\"Tasa\", \"withholding\":false,\"type\":\"IVA\", \"inclusive\": true}\n            ]\n        }\n    ],\n\t\"currency\": \"MXN\",\n    \"methodsTypesOptions\":[\"bank\"],\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/create","description":"<p><strong>Create Payment Request</strong></p>\n<p>This powerful endpoint allows you to easily generate payment requests, which can optionally be sent to your clients so they can complete the payment using the previously registered payment methods in their accounts.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>methodsTypesOptions</td>\n<td>Payment methods shown during the checkout process. Options: \"bank\", \"card\", \"oxxo\" (MXN ≤ 8000)</td>\n<td>Array (required)</td>\n</tr>\n<tr>\n<td>automateInvoiceOnComplete</td>\n<td>Automatically create an invoice once the payment is completed, if the required info is available in settings and client data</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Currency used for the charge (ISO code)</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>addTransactionFee</td>\n<td>Include the highest payment gateway fee (e.g. Stripe) in your service charge</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID of the client stored in gigstack. Will auto-fill client info if provided</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Object with client information</td>\n<td>Object (optional)</td>\n</tr>\n<tr>\n<td>client.name</td>\n<td>Client’s name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.email</td>\n<td>Client’s email</td>\n<td>String (email)</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>Client’s tax identification number</td>\n<td>String</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>Additional information stored in the <code>metadata</code> field of the payment object for future reference</td>\n<td>Object (optional)</td>\n</tr>\n<tr>\n<td>metadata.clabe</td>\n<td>Bank account CLABE to receive the payment (optional)</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>items</td>\n<td>Array of items to be charged to the client</td>\n<td>Array (required)</td>\n</tr>\n<tr>\n<td>items[0].id</td>\n<td>Service ID (optional). If provided, no other item fields are required</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>items[0].name</td>\n<td>Name of the item to be charged</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>items[0].description</td>\n<td>Description of the item (optional)</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>items[0].quantity</td>\n<td>Quantity of items of the same type (optional, default is 1)</td>\n<td>Integer (optional)</td>\n</tr>\n<tr>\n<td>items[0].total</td>\n<td>Price of the item</td>\n<td>Double (required)</td>\n</tr>\n<tr>\n<td>items[0].taxes</td>\n<td>Add taxes to the items (optional)</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].rate</td>\n<td>Tax rate (e.g. 0.16)</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].factor</td>\n<td>Tax factor type (e.g. \"Tasa\")</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].withholding</td>\n<td>Whether the tax is withheld or transferred (optional)</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].type</td>\n<td>Type of tax, e.g. IVA (optional)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items[0].taxes[0].inclusive</td>\n<td>Indicates if the tax is included in the item price (optional)</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>useClientBankAccont</td>\n<td>CLABE to receive payment in a specific bank account. If true, uses the CLABE defined for the client; otherwise, uses the default account CLABE. If a CLABE is provided in the payment object, it will override the client’s.</td>\n<td>Boolean (optional)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","payments","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"90ecf3c0-75ff-4801-91c9-c74518ee357a","name":"Status 200 - Pago solicitado correctamente","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\":{\n        \"name\":\"Nombre del cliente\",\n        \"email\":\"ejemplo@gigstack.io\"\n    },\n\t\"items\": [\n        {\n            \"name\":\"Nombre del producto\",\n            \"description\":\"Descripción del producto\",\n            \"quantity\":2,\n            \"total\":200,\n            \"taxes\":[\n                {\"rate\":0.16, \"factor\":\"Tasa\", \"withholding\":false,\"type\":\"IVA\"}\n            ]\n        }\n    ],\n\t\"currency\": \"MXN\",\n    \"custom_method_types\":[\"bank\"],\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createPaymentLink"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"4e-RjNeHUpIit7t1+cboqxFu1S+6Dg\""},{"key":"function-execution-id","value":"mbuitwp5p3dv"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"b93d0b5ddc85acf4d2ac8b19eb96b1b5;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Thu, 09 Jun 2022 21:39:22 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"78"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Link de pago creado\",\n    \"url\": \"https://gigstack.xyz/mhvfbyFv96wnH0v\"\n}"}],"_postman_id":"f4f8d455-d9b5-4cc4-b6b6-1dc70c5ceb7c"},{"name":"/v1/payments/view","id":"f3cec379-d1a2-43e1-9679-a7cd4cfaaba9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/view?id=PAYMENT_LINK_ID","description":"<p><strong>View Payment Details</strong></p>\n<p>This endpoint allows you to display the latest information about your payment links within your user interface (UI). It provides essential details to help you accurately track transactions.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Identifier of the payment link to be viewed</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example Usage:</strong></p>\n<p>```bash\nGET <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/view?id=PAYMENT_LINK_ID\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/view?id=PAYMENT_LINK_ID</a></p>\n<p>This request will return the most up-to-date information for the specific payment link identified by the id parameter. Use these details to enhance your user experience by providing real-time visibility into payment status.</p>\n<p>In the response, you’ll find an amount field representing the value in cents. For example, if you charge $100 MXN, the value will appear as 10000.</p>\n","urlObject":{"protocol":"https","path":["v1","payments","view"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}],"variable":[]}},"response":[{"id":"0e9dfdf0-f50d-4e9f-af14-37cb7d4fdefc","name":"Falta autorización","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID\", error=\"invalid_token\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b91b2e8360eb6cc5c438272a9a20b891;o=1"},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:55 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections\",\n    \"code\": 401\n}"},{"id":"3ef56b37-6bdb-47af-b143-8718cd8e20b4","name":"Status 200 - Detalles de la transacción","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"833-Asd6FcrFuHHLfNEnsgo396WlFoM\""},{"key":"function-execution-id","value":"uv6ynkezs45z"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"62fc207140bea59ea357a2beb3edef01;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2099"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"BntbVmVx7Fy1Ran\",\n    \"receipt_email\": \"ejemplo@gigstack.io\",\n    \"payment_intent\": null,\n    \"charges\": null,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXF1ZXN0ZXIiOiJoMW80UlM5ZHoxY1VlVUxZRlc2bVFXMFlmR1gyIiwicGF5bWVudCI6IkJudGJWbVZ4N0Z5MVJhbiIsImlhdCI6MTY1Njk2MzM2Mn0.Bti_cGdFljaRPd-aCuctp9S8y-oopElMGsb73wfmd1I\",\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"total\": 500,\n            \"taxes\": [\n                {\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\",\n                    \"withholding\": false\n                }\n            ],\n            \"description\": \"Descripción del producto\",\n            \"name\": \"Nombre del producto\"\n        }\n    ],\n    \"description\": \"\",\n    \"statement_descriptor\": \"\",\n    \"amount_capturable\": 0,\n    \"created\": 1656963362148,\n    \"fid\": \"BntbVmVx7Fy1Ran\",\n    \"invoices\": null,\n    \"proposals\": null,\n    \"review\": null,\n    \"status\": \"pending\",\n    \"discount\": 0,\n    \"capture_method\": \"automatic\",\n    \"shipping\": null,\n    \"timestamp\": 1656963362149,\n    \"customer\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"client\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"shortURL\": \"https://gigstack.xyz/BntbVmVx7Fy1Ran\",\n    \"payment_method_types\": [],\n    \"canceled_at\": null,\n    \"custom_method_types\": [\n        {\n            \"id\": \"bank\",\n            \"name\": \"Transferencia bancaria\",\n            \"manualConfirmation\": true,\n            \"details\": \"Pago con transferencia desde tu cuenta bancaria\",\n            \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/SPEI.svg\"\n        }\n    ],\n    \"lastViewed\": 1656964607652,\n    \"amount_received\": 0,\n    \"viewed\": 2,\n    \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n    \"automatic_payment_methods\": null,\n    \"clientID\": null,\n    \"next_action\": null,\n    \"currency\": \"MXN\",\n    \"application_fee_amount\": null,\n    \"livemode\": false,\n    \"metadata\": {\n        \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n        \"items\": 1,\n        \"externalID\": \"\",\n        \"internalID\": \"BntbVmVx7Fy1Ran\"\n    },\n    \"source\": \"API\",\n    \"on_behalf_of\": null,\n    \"internalStatus\": \"viewed\",\n    \"last_payment_error\": null,\n    \"application\": null,\n    \"v\": 2,\n    \"hasStripe\": false,\n    \"cancellation_reason\": null,\n    \"isManual\": false,\n    \"object\": \"manual_payment\",\n    \"amount\": 116000,\n    \"transfer_group\": null,\n    \"payment_method\": null,\n    \"confirmation_method\": \"\",\n    \"total\": 1160,\n    \"taxes\": 160,\n    \"retentions\": 0,\n    \"feeAdded\": 0,\n    \"canSend\": false,\n    \"feeAddedString\": \"$0.00\",\n    \"totalWithoutFeeString\": \"$1,160.00\",\n    \"totalWithoutFee\": 1160,\n    \"totalString\": \"$1,160.00\",\n    \"subtotalString\": \"$1,000.00\",\n    \"taxesString\": \"$160.00\",\n    \"retentionsString\": \"$0.00\"\n}"},{"id":"2f85945a-2866-4874-bdb3-33832ae2024d","name":"/v1/payments/view","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/view?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","payments","view"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"9ff-ajkNZuLxAnQG2iVXCuftKP7ResM\""},{"key":"function-execution-id","value":"hyg0eb50ibhu"},{"key":"x-cloud-trace-context","value":"012b4cd4b741c0f33c20f3f895ec115b;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Fri, 05 Apr 2024 23:51:08 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2559"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"fid\": \"payment_3G05VpDT0g\",\n    \"automations\": [\n        {\n            \"ref\": \"payments\",\n            \"action\": \"create\",\n            \"from\": \"payments\",\n            \"type\": \"invoice\"\n        }\n    ],\n    \"clientID\": \"client_vEYdSuFHjA\",\n    \"livemode\": false,\n    \"payment_form\": \"01\",\n    \"payments\": null,\n    \"discount\": 0,\n    \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n    \"custom_method_types\": [],\n    \"relatedTo\": \"\",\n    \"invoices\": null,\n    \"client\": {\n        \"zip\": null,\n        \"country\": \"MEX\",\n        \"metadata\": {},\n        \"address\": {\n            \"zip\": null,\n            \"country\": \"MEX\",\n            \"street\": null\n        },\n        \"livemode\": false,\n        \"use\": null,\n        \"team\": \"team_c9NMyLkJzi4ITTp\",\n        \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n        \"tax_system\": null,\n        \"rfc\": null,\n        \"name\": \"Test incompleted\",\n        \"company\": null,\n        \"from\": \"manual\",\n        \"legal_name\": null,\n        \"id\": \"client_vEYdSuFHjA\",\n        \"email\": null,\n        \"timestamp\": 1710877189832\n    },\n    \"currency\": \"MXN\",\n    \"from\": \"manual\",\n    \"id\": \"payment_3G05VpDT0g\",\n    \"payment_method\": \"PUE\",\n    \"succeededTimestamp\": 1710877284617,\n    \"timestamp\": 1710877278021,\n    \"owner\": \"ZHNkAErrYzSgPsRhossewtyWHLE3\",\n    \"paidId\": \"01\",\n    \"amount\": 1300,\n    \"clientId\": \"client_vEYdSuFHjA\",\n    \"created\": 1710877284617,\n    \"internalItems\": [\n        {\n            \"unit_name\": null,\n            \"total\": 13,\n            \"quantity\": 1,\n            \"product_key\": null,\n            \"unit_key\": null,\n            \"name\": \"Test\",\n            \"taxes\": [],\n            \"id\": \"service_ThvvJK0rCv\",\n            \"paymentType\": {\n                \"label\": \"Precio fijo\",\n                \"value\": \"fixed\"\n            },\n            \"timestamp\": 1710524128015\n        }\n    ],\n    \"team\": \"team_c9NMyLkJzi4ITTp\",\n    \"processor\": \"manual\",\n    \"internalStatus\": \"succeeded\",\n    \"binnacle\": \"Payment created manually by Jahziel Cabrera Cabrera\",\n    \"v\": 2,\n    \"exchange\": 1,\n    \"items\": [\n        {\n            \"unit_name\": null,\n            \"total\": 13,\n            \"quantity\": 1,\n            \"product_key\": null,\n            \"unit_key\": null,\n            \"name\": \"Test\",\n            \"taxes\": [],\n            \"id\": \"service_ThvvJK0rCv\",\n            \"paymentType\": {\n                \"label\": \"Precio fijo\",\n                \"value\": \"fixed\"\n            },\n            \"timestamp\": 1710524128015\n        }\n    ],\n    \"createdAutomations\": [\n        \"aut_2RLhYHprmMAlaL4w\"\n    ],\n    \"translatedAmountToMXN\": 1300,\n    \"totalItemsAmounts\": {\n        \"taxesIncluded\": 0,\n        \"retentionsString\": \"$0.00\",\n        \"feeAddedString\": \"$0.00\",\n        \"totalWithoutFeeString\": \"$13.00\",\n        \"taxes\": 0,\n        \"totalWithoutFee\": 13,\n        \"taxesString\": \"$0.00\",\n        \"retentions\": 0,\n        \"total\": 13,\n        \"feeAdded\": 0,\n        \"subtotal\": 13,\n        \"subtotalString\": \"$13.00\",\n        \"masterDiscountString\": \"$0.00\",\n        \"masterDiscount\": 0,\n        \"canSend\": false,\n        \"totalString\": \"$13.00\"\n    },\n    \"updatedOnCreate\": 1710877286776,\n    \"realAmountPaid\": 13,\n    \"receiptsCount\": 1,\n    \"receipts\": [\n        \"receipt_wme0AUZ67y\"\n    ],\n    \"exchangeRateDate\": \"Tue, 19 Mar 2024 00:00:01 +0000\",\n    \"exchange_rate\": 1,\n    \"exchangeRate\": 1,\n    \"statusEdited\": 2,\n    \"forceStatus\": true,\n    \"status\": \"requires_payment_method\",\n    \"total\": 13,\n    \"taxes\": 0,\n    \"retentions\": 0,\n    \"feeAdded\": 0,\n    \"canSend\": false,\n    \"feeAddedString\": \"$0.00\",\n    \"totalWithoutFeeString\": \"$13.00\",\n    \"totalWithoutFee\": 13,\n    \"totalString\": \"$13.00\",\n    \"subtotalString\": \"$13.00\",\n    \"subtotal\": 13,\n    \"taxesString\": \"$0.00\",\n    \"retentionsString\": \"$0.00\",\n    \"masterDiscount\": 0,\n    \"taxesIncluded\": 0,\n    \"masterDiscountString\": \"$0.00\"\n}"}],"_postman_id":"f3cec379-d1a2-43e1-9679-a7cd4cfaaba9"},{"name":"/v1/payments/list","id":"f05e76c5-e8fe-4c25-9a31-0b38c60eba53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"","value":"Bearer API_KEY","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?limit=100&clientId=CLIENT_ID","description":"<p><strong>View Payment Details by Client</strong></p>\n<p>This endpoint allows you to display the most recent payment information associated with a specific client in your user interface (UI).</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId*</td>\n<td>Identifier of the client</td>\n</tr>\n<tr>\n<td>limit*</td>\n<td>Limit of results (Maximum 100)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Status of the payment</td>\n</tr>\n<tr>\n<td>clientCompanyId</td>\n<td>Identifier of the client's company</td>\n</tr>\n</tbody>\n</table>\n</div><p>(*) Required parameters.</p>\n<p><strong>Example Usage:</strong></p>\n<p>```bash\n<a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?limit=100&amp;status=succeeded&amp;clientId=CLIENT_ID&amp;clientCompanyId=COMPANY_ID\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?limit=100&amp;status=succeeded&amp;clientId=CLIENT_ID&amp;clientCompanyId=COMPANY_ID</a></p>\n<p>This request will return the most up-to-date payment information associated with a specific client, based on the clientId provided in the query parameters.</p>\n","urlObject":{"protocol":"https","path":["v1","payments","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>Máximo 100 resultados</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"key":"status","value":"succeeded"},{"key":"clientId","value":"CLIENT_ID"},{"disabled":true,"key":"clientCompanyId","value":"COMPANY_ID"}],"variable":[]}},"response":[{"id":"841dd7d4-b972-4094-9652-c26eacfd6a39","name":"Falta autorización","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID\", error=\"invalid_token\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"b91b2e8360eb6cc5c438272a9a20b891;o=1"},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:55 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections\",\n    \"code\": 401\n}"},{"id":"a915bc9f-9e6a-40af-9c09-e3b61d3732ab","name":"Status 200 - Detalles de la transacción","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/viewPayment?id=PAYMENT_LINK_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","viewPayment"],"query":[{"key":"id","value":"PAYMENT_LINK_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"833-Asd6FcrFuHHLfNEnsgo396WlFoM\""},{"key":"function-execution-id","value":"uv6ynkezs45z"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"62fc207140bea59ea357a2beb3edef01;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Mon, 04 Jul 2022 22:09:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2099"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"BntbVmVx7Fy1Ran\",\n    \"receipt_email\": \"ejemplo@gigstack.io\",\n    \"payment_intent\": null,\n    \"charges\": null,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXF1ZXN0ZXIiOiJoMW80UlM5ZHoxY1VlVUxZRlc2bVFXMFlmR1gyIiwicGF5bWVudCI6IkJudGJWbVZ4N0Z5MVJhbiIsImlhdCI6MTY1Njk2MzM2Mn0.Bti_cGdFljaRPd-aCuctp9S8y-oopElMGsb73wfmd1I\",\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"total\": 500,\n            \"taxes\": [\n                {\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\",\n                    \"withholding\": false\n                }\n            ],\n            \"description\": \"Descripción del producto\",\n            \"name\": \"Nombre del producto\"\n        }\n    ],\n    \"description\": \"\",\n    \"statement_descriptor\": \"\",\n    \"amount_capturable\": 0,\n    \"created\": 1656963362148,\n    \"fid\": \"BntbVmVx7Fy1Ran\",\n    \"invoices\": null,\n    \"proposals\": null,\n    \"review\": null,\n    \"status\": \"pending\",\n    \"discount\": 0,\n    \"capture_method\": \"automatic\",\n    \"shipping\": null,\n    \"timestamp\": 1656963362149,\n    \"customer\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"client\": {\n        \"email\": \"ejemplo@gigstack.io\",\n        \"name\": \"Nombre del cliente\"\n    },\n    \"shortURL\": \"https://gigstack.xyz/BntbVmVx7Fy1Ran\",\n    \"payment_method_types\": [],\n    \"canceled_at\": null,\n    \"custom_method_types\": [\n        {\n            \"id\": \"bank\",\n            \"name\": \"Transferencia bancaria\",\n            \"manualConfirmation\": true,\n            \"details\": \"Pago con transferencia desde tu cuenta bancaria\",\n            \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/SPEI.svg\"\n        }\n    ],\n    \"lastViewed\": 1656964607652,\n    \"amount_received\": 0,\n    \"viewed\": 2,\n    \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n    \"automatic_payment_methods\": null,\n    \"clientID\": null,\n    \"next_action\": null,\n    \"currency\": \"MXN\",\n    \"application_fee_amount\": null,\n    \"livemode\": false,\n    \"metadata\": {\n        \"owner\": \"h1o4RS9dz1cUeULYFW6mQW0YfGX2\",\n        \"items\": 1,\n        \"externalID\": \"\",\n        \"internalID\": \"BntbVmVx7Fy1Ran\"\n    },\n    \"source\": \"API\",\n    \"on_behalf_of\": null,\n    \"internalStatus\": \"viewed\",\n    \"last_payment_error\": null,\n    \"application\": null,\n    \"v\": 2,\n    \"hasStripe\": false,\n    \"cancellation_reason\": null,\n    \"isManual\": false,\n    \"object\": \"manual_payment\",\n    \"amount\": 116000,\n    \"transfer_group\": null,\n    \"payment_method\": null,\n    \"confirmation_method\": \"\",\n    \"total\": 1160,\n    \"taxes\": 160,\n    \"retentions\": 0,\n    \"feeAdded\": 0,\n    \"canSend\": false,\n    \"feeAddedString\": \"$0.00\",\n    \"totalWithoutFeeString\": \"$1,160.00\",\n    \"totalWithoutFee\": 1160,\n    \"totalString\": \"$1,160.00\",\n    \"subtotalString\": \"$1,000.00\",\n    \"taxesString\": \"$160.00\",\n    \"retentionsString\": \"$0.00\"\n}"},{"id":"379abf00-1955-4705-83d2-e7eebc24d81e","name":"/v1/payments/list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?limit=100&clientId=CLIENT_ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","payments","list"],"query":[{"key":"limit","value":"100","description":"Máximo 100 resultados"},{"key":"status","value":"succeeded","disabled":true},{"key":"clientId","value":"CLIENT_ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"975-E0coSeSG+sLAtLY3FOg/i5zN5SM\""},{"key":"function-execution-id","value":"hyg0ey0nptsm"},{"key":"x-cloud-trace-context","value":"6bcb8a4175dfc7a8ba846dee13b3724d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Fri, 05 Apr 2024 23:50:05 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2421"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"fid\": \"payment_3G05VpDT0g\",\n            \"automations\": [\n                {\n                    \"ref\": \"payments\",\n                    \"action\": \"create\",\n                    \"from\": \"payments\",\n                    \"type\": \"invoice\"\n                }\n            ],\n            \"clientID\": \"client_vEYdSuFHjA\",\n            \"livemode\": false,\n            \"payment_form\": \"01\",\n            \"payments\": null,\n            \"discount\": 0,\n            \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n            \"custom_method_types\": [],\n            \"relatedTo\": \"\",\n            \"invoices\": null,\n            \"client\": {\n                \"zip\": null,\n                \"country\": \"MEX\",\n                \"metadata\": {},\n                \"address\": {\n                    \"zip\": null,\n                    \"country\": \"MEX\",\n                    \"street\": null\n                },\n                \"livemode\": false,\n                \"use\": null,\n                \"team\": \"team_c9NMyLkJzi4ITTp\",\n                \"billingAccount\": \"ba_C7f26iLwC90hujk\",\n                \"tax_system\": null,\n                \"rfc\": null,\n                \"name\": \"Test incompleted\",\n                \"company\": null,\n                \"from\": \"manual\",\n                \"legal_name\": null,\n                \"id\": \"client_vEYdSuFHjA\",\n                \"email\": null,\n                \"timestamp\": 1710877189832\n            },\n            \"currency\": \"MXN\",\n            \"from\": \"manual\",\n            \"id\": \"payment_3G05VpDT0g\",\n            \"payment_method\": \"PUE\",\n            \"succeededTimestamp\": 1710877284617,\n            \"timestamp\": 1710877278021,\n            \"owner\": \"ZHNkAErrYzSgPsRhossewtyWHLE3\",\n            \"paidId\": \"01\",\n            \"amount\": 1300,\n            \"clientId\": \"client_vEYdSuFHjA\",\n            \"created\": 1710877284617,\n            \"internalItems\": [\n                {\n                    \"unit_name\": null,\n                    \"total\": 13,\n                    \"quantity\": 1,\n                    \"product_key\": null,\n                    \"unit_key\": null,\n                    \"name\": \"Test\",\n                    \"taxes\": [],\n                    \"id\": \"service_ThvvJK0rCv\",\n                    \"paymentType\": {\n                        \"label\": \"Precio fijo\",\n                        \"value\": \"fixed\"\n                    },\n                    \"timestamp\": 1710524128015\n                }\n            ],\n            \"team\": \"team_c9NMyLkJzi4ITTp\",\n            \"processor\": \"manual\",\n            \"internalStatus\": \"succeeded\",\n            \"binnacle\": \"Payment created manually by Jahziel Cabrera Cabrera\",\n            \"v\": 2,\n            \"exchange\": 1,\n            \"items\": [\n                {\n                    \"unit_name\": null,\n                    \"total\": 13,\n                    \"quantity\": 1,\n                    \"product_key\": null,\n                    \"unit_key\": null,\n                    \"name\": \"Test\",\n                    \"taxes\": [],\n                    \"id\": \"service_ThvvJK0rCv\",\n                    \"paymentType\": {\n                        \"label\": \"Precio fijo\",\n                        \"value\": \"fixed\"\n                    },\n                    \"timestamp\": 1710524128015\n                }\n            ],\n            \"createdAutomations\": [\n                \"aut_2RLhYHprmMAlaL4w\"\n            ],\n            \"translatedAmountToMXN\": 1300,\n            \"totalItemsAmounts\": {\n                \"taxesIncluded\": 0,\n                \"retentionsString\": \"$0.00\",\n                \"feeAddedString\": \"$0.00\",\n                \"totalWithoutFeeString\": \"$13.00\",\n                \"taxes\": 0,\n                \"totalWithoutFee\": 13,\n                \"taxesString\": \"$0.00\",\n                \"retentions\": 0,\n                \"total\": 13,\n                \"feeAdded\": 0,\n                \"subtotal\": 13,\n                \"subtotalString\": \"$13.00\",\n                \"masterDiscountString\": \"$0.00\",\n                \"masterDiscount\": 0,\n                \"canSend\": false,\n                \"totalString\": \"$13.00\"\n            },\n            \"updatedOnCreate\": 1710877286776,\n            \"realAmountPaid\": 13,\n            \"receiptsCount\": 1,\n            \"receipts\": [\n                \"receipt_wme0AUZ67y\"\n            ],\n            \"exchangeRateDate\": \"Tue, 19 Mar 2024 00:00:01 +0000\",\n            \"exchange_rate\": 1,\n            \"exchangeRate\": 1,\n            \"statusEdited\": 2,\n            \"forceStatus\": true,\n            \"status\": \"requires_payment_method\"\n        }\n    ],\n    \"message\": \"Listing 1 payments\",\n    \"length\": 1,\n    \"nextUrl\": \"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/list?start=1710877278021&limit=100\",\n    \"next\": \"payment_3G05VpDT0g\"\n}"}],"_postman_id":"f05e76c5-e8fe-4c25-9a31-0b38c60eba53"},{"name":"/v1/payments/register","id":"39a5bc2f-11f1-4b9b-b1db-15be4baf254a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]"}],"body":{"mode":"raw","raw":"{\n    \"paid\":true,\n    \"items\":[\n        {\n            \"description\": \"Venta de producto\",\n            \"discount\": 0,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Unidad de Servicio\",\n            \"taxes\": [\n                {\n                    \"factor\":\"Tasa\",\n                    \"inclusive\":true,\n                    \"rate\":0.16,\n                    \"type\":\"IVA\",\n                    \"withholding\":false\n                }\n            ],\n            \"quantity\": 1,\n            \"amount\": 10,\n            \"third_party\": {\n                \"legal_name\": \"\",\n                \"tax_id\": \"\",\n                \"tax_system\": \"\",\n                \"zip\": \"\"\n            }\n        }\n    ],\n    \"currency\":\"MXN\",\n    \"paymentMethod\":\"01\",\n    \"automateInvoiceOnComplete\":true,\n    \"clientId\":\"\",\n    \"email\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/register","description":"<p><strong>Register a Payment in gigstack</strong></p>\n<p>Registering a payment in gigstack is essential to trigger the desired automation flows. For example, recording a successful payment can initiate automated invoice generation or the creation of a self-invoicing portal in case the final client's fiscal information is not available.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>items</td>\n<td>A list of products or services in the transaction.</td>\n</tr>\n<tr>\n<td>items.description</td>\n<td>Description of the product or service.</td>\n</tr>\n<tr>\n<td>items.discount</td>\n<td>Discount applied to the product (amount).</td>\n</tr>\n<tr>\n<td>items.product_key</td>\n<td>SAT product key.</td>\n</tr>\n<tr>\n<td>items.unit_key</td>\n<td>SAT unit of measurement key.</td>\n</tr>\n<tr>\n<td>items.unit_name</td>\n<td>Name of the SAT measurement unit.</td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td>List of taxes applied to the product.</td>\n</tr>\n<tr>\n<td>items.taxes.factor</td>\n<td>Tax factor (e.g., \"Tasa\").</td>\n</tr>\n<tr>\n<td>items.taxes.inclusive</td>\n<td>Indicates whether the tax is included in the price.</td>\n</tr>\n<tr>\n<td>items.taxes.rate</td>\n<td>Tax rate (e.g., 0.16).</td>\n</tr>\n<tr>\n<td>items.taxes.type</td>\n<td>Type of tax (e.g., \"IVA\").</td>\n</tr>\n<tr>\n<td>items.taxes.withholding</td>\n<td>Indicates whether the tax is a withholding tax.</td>\n</tr>\n<tr>\n<td>items.quantity</td>\n<td>Quantity of products or services.</td>\n</tr>\n<tr>\n<td>items.amount</td>\n<td>Unit price of the product.</td>\n</tr>\n<tr>\n<td>items.third_party</td>\n<td>Object containing third-party taxpayer information (on behalf of whom the transaction is made).</td>\n</tr>\n<tr>\n<td>items.third_party.legal_name</td>\n<td>Legal name of the third party.</td>\n</tr>\n<tr>\n<td>items.third_party.tax_id</td>\n<td>RFC of the third party.</td>\n</tr>\n<tr>\n<td>items.third_party.tax_system</td>\n<td>Fiscal regime of the third party.</td>\n</tr>\n<tr>\n<td>items.third_party.zip</td>\n<td>Zip code of the third party.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Currency used in the transaction.</td>\n</tr>\n<tr>\n<td>paymentMethod</td>\n<td>SAT payment method used (see options in the image below).</td>\n</tr>\n<tr>\n<td>automateInvoiceOnComplete</td>\n<td>Indicates if an invoice should be automatically generated.</td>\n</tr>\n<tr>\n<td>automateIncomeInvoiceAndComplement</td>\n<td>Triggers the emission of an income invoice with payment form \"PPD\" and method \"Por definir\". Once the payment is marked as paid, a payment complement will be issued automatically.</td>\n</tr>\n<tr>\n<td><br /><br />**Do not include <code>automateInvoiceOnComplete</code> or <code>paid</code> when using this option.</td>\n<td></td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID of a previously stored client in gigstack.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Client’s email address (required if <code>clientId</code> is not provided — will search within your current team’s clients).</td>\n</tr>\n<tr>\n<td>avoidEmail</td>\n<td>Avoid sending the confirmation email. [Email is only sent when <code>paid = false</code>]</td>\n</tr>\n<tr>\n<td>paid</td>\n<td>Marks the payment as completed. (Activates automation if <code>automateInvoiceOnComplete</code> is included)</td>\n</tr>\n<tr>\n<td>client.name</td>\n<td>Client's name (optional)</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>Client's RFC or Tax ID (optional)</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>Client’s tax regime (3-digit code — see list in image below) (optional)</td>\n</tr>\n<tr>\n<td>client.email</td>\n<td>Client’s email (optional)</td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>Client’s address object (optional)</td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>Client’s fiscal zip code (optional)</td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>Client’s country (ISO 3166-1 alpha-3 format) (optional)</td>\n</tr>\n<tr>\n<td>client.address.street</td>\n<td>Client’s fiscal street address (optional)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>SAT Payment Method Options:</strong><br /><img src=\"https://content.pstmn.io/77bb2795-be54-4974-b23f-aa46a4b9b00f/aW1hZ2UucG5n\" alt=\"SAT Payment Methods\" /></p>\n<p><strong>SAT Fiscal Regime Code List:</strong><br /><img src=\"https://content.pstmn.io/1a3473a7-ba58-4410-b1d5-b340fa57280e/aW1hZ2UucG5n\" alt=\"SAT Fiscal Regime List\" /></p>\n<p>This process allows you to efficiently manage payments received from different sources, triggering the necessary automations to optimize your financial operations in gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","payments","register"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"1f732af0-72ff-435b-bff4-8ce60129832e","name":"200 - Pago registrado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"paid\":true,\n    \"items\":[\n        {\n            \"description\": \"Venta de producto\",\n            \"discount\": 0,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Unidad de Servicio\",\n            \"taxes\": [\n                {\n                    \"factor\":\"Tasa\",\n                    \"inclusive\":true,\n                    \"rate\":0.16,\n                    \"type\":\"IVA\",\n                    \"withholding\":false\n                }\n            ],\n            \"quantity\": 1,\n            \"amount\": 10\n        }\n    ],\n    \"currency\":\"MXN\",\n    \"paymentMethod\":\"01\",\n    \"automateInvoiceOnComplete\":true,\n    \"clientId\":\"\",\n    \"email\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/register"},"status":"Ok","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"914-x87K9jjpAciowIdIoXE3B/b3Qss\""},{"key":"function-execution-id","value":"s3v155suuydd"},{"key":"x-cloud-trace-context","value":"103672867f8698f210beaac2774d95a0;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 16:53:07 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"2324"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pago registrado correctamente\",\n    \"data\": {\n        \"livemode\": false,\n        \"metadata\": {\n            \"clabe\": null,\n            \"internalID\": null\n        },\n        \"exchangeRateDate\": \"2023-12-09T16:53:07.291Z\",\n        \"exchange_rate\": 1,\n        \"exchangeRate\": 1,\n        \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n        \"amount\": 1000,\n        \"status\": \"succeeded\",\n        \"internalStatus\": \"succeeded\",\n        \"internalItems\": [\n            {\n                \"hours\": null,\n                \"team\": \"team_RI2hpU84OLYHqmN\",\n                \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                \"total\": 10,\n                \"quantity\": 1,\n                \"id\": \"service_uRFHbvn3OT\",\n                \"timestamp\": 1702140787291,\n                \"name\": \"Venta de producto\",\n                \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n                \"product_key\": \"01010101\",\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\",\n                \"taxes\": [\n                    {\n                        \"factor\": \"Tasa\",\n                        \"inclusive\": true,\n                        \"rate\": 0.16,\n                        \"type\": \"IVA\",\n                        \"withholding\": false\n                    }\n                ],\n                \"currency\": \"MXN\",\n                \"paymentType\": {\n                    \"label\": \"Tarifa fija\",\n                    \"value\": \"fixed\"\n                },\n                \"from\": \"api\"\n            }\n        ],\n        \"items\": [\n            {\n                \"hours\": null,\n                \"team\": \"team_RI2hpU84OLYHqmN\",\n                \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                \"total\": 10,\n                \"quantity\": 1,\n                \"id\": \"service_uRFHbvn3OT\",\n                \"timestamp\": 1702140787291,\n                \"name\": \"Venta de producto\",\n                \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n                \"product_key\": \"01010101\",\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\",\n                \"taxes\": [\n                    {\n                        \"factor\": \"Tasa\",\n                        \"inclusive\": true,\n                        \"rate\": 0.16,\n                        \"type\": \"IVA\",\n                        \"withholding\": false\n                    }\n                ],\n                \"currency\": \"MXN\",\n                \"paymentType\": {\n                    \"label\": \"Tarifa fija\",\n                    \"value\": \"fixed\"\n                },\n                \"from\": \"api\"\n            }\n        ],\n        \"custom_method_types\": [],\n        \"exchange\": 1,\n        \"currency\": \"MXN\",\n        \"paidId\": \"Efectivo\",\n        \"id\": \"payment_FyXrLqlgcW\",\n        \"fid\": \"payment_FyXrLqlgcW\",\n        \"v\": 2,\n        \"from\": \"api\",\n        \"payment_form\": \"01\",\n        \"processor\": \"api\",\n        \"relatedTo\": null,\n        \"invoices\": null,\n        \"payments\": null,\n        \"team\": \"\",\n        \"billingAccount\": \"\",\n        \"client\": {\n            \"name\": null,\n            \"email\": \"\",\n            \"phone\": null,\n            \"rfc\": null,\n            \"team\": \"\",\n            \"billingAccount\": \"\",\n            \"from\": \"api\",\n            \"timestamp\": 1702140787290,\n            \"owner\": \"\",\n            \"address\": {\n                \"zip\": null,\n                \"country\": null,\n                \"street\": null\n            },\n            \"zip\": null\n        },\n        \"clientId\": null,\n        \"discount\": 0,\n        \"timestamp\": 1702140787295,\n        \"created\": 1702140787295,\n        \"shortURL\": null,\n        \"shortUrl\": null,\n        \"token\": null,\n        \"hasStripe\": null,\n        \"succeededTimestamp\": 1702140787295,\n        \"binnacle\": \"Created from APIManually set paid = true\\n\",\n        \"skc\": true,\n        \"recurringEventNumber\": 0,\n        \"conceptReference\": \"332627\",\n        \"paymentComplementData\": null,\n        \"transactionFeeInfo\": null,\n        \"addTransactionFee\": null,\n        \"paidIn\": \"manual\",\n        \"automations\": [\n            {\n                \"action\": \"create\",\n                \"ref\": \"payments\",\n                \"type\": \"invoice\",\n                \"from\": \"payments\"\n            }\n        ]\n    }\n}"}],"_postman_id":"39a5bc2f-11f1-4b9b-b1db-15be4baf254a"},{"name":"/v1/payments/markaspaid","id":"f3e1ae97-ed91-47e5-bba3-9cc803633ee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"ID_DEL_PAGO\",\n    \"paymentForm\": \"03\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/markaspaid","description":"<p><strong>Mark Payment as Successful in gigstack</strong></p>\n<p>This endpoint allows you to confirm the receipt of a previously generated payment by marking it as successful in gigstack. It's a crucial action to notify the system that the transaction has been completed.</p>\n<p><strong>⚠️ Caution:</strong> Use this endpoint carefully. Once marked as successful, the client will no longer be able to make a payment for this transaction, and any configured automation will be triggered.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Unique identifier of the payment to mark as successful.</td>\n</tr>\n<tr>\n<td>paymentForm</td>\n<td>Payment form expressed as a two-character string, based on the SAT catalog. See the Catalogs section for possible values.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example Usage:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">POST https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/markaspaid\n\nRequest Body:\n{\n  \"id\": \"PAYMENT_ID\",\n  \"paymentForm\": \"03\"\n}\n\nThis example marks the payment with the given identifier as successful, using the payment form according to the SAT catalog. Be sure to use this endpoint carefully, as it has significant implications for the payment process and any associated automations.\n</code></pre>\n","urlObject":{"protocol":"https","path":["v1","payments","markaspaid"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"7f182031-b873-49d3-abaf-043d5cdbd453","name":"200 - Marcado como exitoso","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"ID_DEL_PAGO\",\n    \"paymentForm\": \"03\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/payments/markaspaid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"31-v8/TdvvaU68M1TKnKr3t4n/2HqA\""},{"key":"function-execution-id","value":"s3v1grazbl0d"},{"key":"x-cloud-trace-context","value":"c373cb727dc9aa7fb937656ab25e4149;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 16:55:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"49"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"El pago ha sido marcado como pagado\"\n}"}],"_postman_id":"f3e1ae97-ed91-47e5-bba3-9cc803633ee7"}],"id":"2059568f-96ab-43d3-b074-5fa3b86c1c3a","description":"<p>Within gigstack, we offer a versatile <strong>Payments</strong> category that allows you to manage transactions efficiently. Here are two available options:</p>\n<h3 id=\"successful-payment-registration\"><strong>Successful Payment Registration</strong></h3>\n<p><strong>Description:</strong> Records a payment. This feature is especially useful for automating billing and reconciliation processes from various sources.</p>\n<p><strong>Requirements:</strong> No prior setup is needed. Just register the payment and let gigstack handle the rest.</p>\n<h3 id=\"payment-request\"><strong>Payment Request</strong></h3>\n<p><strong>Description:</strong> Request payment for services or products from your clients. Before using this feature, you must register a payment receiving method in your gigstack account.</p>\n<p><strong>Process:</strong> We’ll send the payment link to your client via email unless specified otherwise through parameters. Once the payment is received, we trigger the corresponding automations for a seamless experience.</p>\n<hr />\n<p>These options provide flexibility and automation to simplify your financial management in gigstack.</p>\n<p><strong>Discover how to make the most of these features to optimize your payment processes.</strong></p>\n","_postman_id":"2059568f-96ab-43d3-b074-5fa3b86c1c3a"},{"name":"Invoices (CFDI 4.0)","item":[{"name":"/createInvoice [deprecated]","id":"b092dab7-dbbc-480a-9030-dd1967a87ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer API_KEY"}],"body":{"mode":"raw","raw":"{\n\n    \"use\": \"S01\",\n    \"payment_form\": \"28\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"john@example.com\", \"jane@example.com\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"MXN\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    \"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"name\": \"Desarrollo de API\"\n        }\n    ],\n    \"client\": {\n        \"rfc\":\"XAXX010101000\",\n        \"legal_name\":\"PUBLICO EN GENERAL\",\n        \"tax_system\":{\n            \"label\":\"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\":\"616\"\n        },\n        \"bcc\": [\"boss@example.com\"],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    }\n}"},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice","description":"<blockquote>\n<p><strong>[Deprecated] Please use the <code>/v1/invoices/create</code> endpoint</strong></p>\n</blockquote>\n<p>Through the <code>/invoice</code> endpoint, you can create CFDI 4.0 invoices.</p>\n<p>When used in the <strong>live</strong> environment, the invoice will be stamped and sent to the SAT.<br />(The environment is determined by the type of API key used.)</p>\n<h4 id=\"document-type-ingreso\">Document Type: Ingreso</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description (English)</strong></th>\n<th><strong>Description (Spanish)</strong></th>\n<th><strong>Options</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>folio_number</td>\n<td>number</td>\n<td>Folio number of the document</td>\n<td>Folio de la factura a crear</td>\n<td></td>\n</tr>\n<tr>\n<td>series</td>\n<td>string</td>\n<td>Series name</td>\n<td>Serie a utilizar para la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>use</td>\n<td>string</td>\n<td>Use code of the invoice</td>\n<td>Código de uso de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>string</td>\n<td>Payment form code</td>\n<td>Código de forma de pago</td>\n<td></td>\n</tr>\n<tr>\n<td>global</td>\n<td>object</td>\n<td>Global invoice information</td>\n<td>Información global de la factura</td>\n<td><em>Required when creating a global invoice</em></td>\n</tr>\n<tr>\n<td>global.months</td>\n<td>string</td>\n<td>Month of the invoice</td>\n<td>Mes de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>global.year</td>\n<td>number</td>\n<td>Year of the invoice</td>\n<td>Año de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>global.periodicity</td>\n<td>string</td>\n<td>Periodicity of the invoice</td>\n<td>Periodicidad de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Invoice type code</td>\n<td>Código de tipo de factura</td>\n<td></td>\n</tr>\n<tr>\n<td>relation</td>\n<td>null</td>\n<td>Related invoice ID</td>\n<td>ID de factura relacionada</td>\n<td></td>\n</tr>\n<tr>\n<td>emails</td>\n<td>array</td>\n<td>Email addresses to send the invoice</td>\n<td>Correos electrónicos a los que se enviará la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>related</td>\n<td>array</td>\n<td>Related invoice IDs</td>\n<td>IDs de facturas relacionadas</td>\n<td></td>\n</tr>\n<tr>\n<td>invoiceType</td>\n<td>string</td>\n<td>Type of invoice</td>\n<td>Tipo de factura</td>\n<td>\"I\" = Ingreso<br />\"P\" = Pago<br />\"E\" = Egreso</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Invoice currency code</td>\n<td>Código de moneda</td>\n<td></td>\n</tr>\n<tr>\n<td>export</td>\n<td>string</td>\n<td>Export code</td>\n<td>Indicates if the invoice covers an export operation</td>\n<td>01, 02, 03, 04</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td>string</td>\n<td>Payment method code</td>\n<td>Código de método de pago</td>\n<td>PUE = Single payment<br />PPD = Partial or deferred</td>\n</tr>\n<tr>\n<td>items</td>\n<td>array</td>\n<td>Invoice items</td>\n<td>Items de la factura</td>\n<td></td>\n</tr>\n<tr>\n<td>items.quantity</td>\n<td>number</td>\n<td>Quantity</td>\n<td>Cantidad del item</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td>array</td>\n<td>Taxes</td>\n<td>Impuestos aplicados</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.withholding</td>\n<td>boolean</td>\n<td>Is it a withholding tax</td>\n<td>¿Es retención?</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.inclusive</td>\n<td>boolean</td>\n<td>Is tax included in price</td>\n<td>¿Incluido en el precio?</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.rate</td>\n<td>string</td>\n<td>Tax rate</td>\n<td>Tasa del impuesto</td>\n<td></td>\n</tr>\n<tr>\n<td>items.taxes.factor</td>\n<td>string</td>\n<td>Tax factor</td>\n<td>Factor del impuesto</td>\n<td>TASA, CUOTA, EXENTO</td>\n</tr>\n<tr>\n<td>items.taxes.type</td>\n<td>string</td>\n<td>Tax type</td>\n<td>Tipo de impuesto</td>\n<td>IVA, ISR, IEPS</td>\n</tr>\n<tr>\n<td>items.unit_name</td>\n<td>string</td>\n<td>Unit name</td>\n<td>Nombre de unidad</td>\n<td></td>\n</tr>\n<tr>\n<td>items.total</td>\n<td>number</td>\n<td>Item total price</td>\n<td>Precio total del item</td>\n<td></td>\n</tr>\n<tr>\n<td>items.product_key</td>\n<td>string</td>\n<td>Product key</td>\n<td>Clave del producto</td>\n<td><a href=\"https://www.sat.gob.mx/consultas/53693/catalogo-de-productos-y-servicios\">SAT Product Key</a></td>\n</tr>\n<tr>\n<td>items.unit_key</td>\n<td>string</td>\n<td>Unit key</td>\n<td>Clave de unidad</td>\n<td><a href=\"http://pys.sat.gob.mx/PyS/catUnidades.aspx\">SAT Unit Key</a></td>\n</tr>\n<tr>\n<td>items.name</td>\n<td>string</td>\n<td>Item name</td>\n<td>Nombre del item</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>object</td>\n<td>Client information</td>\n<td>Información del cliente</td>\n<td></td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>string</td>\n<td>Tax ID</td>\n<td>RFC del cliente</td>\n<td>Leave blank or add foreign ID if not Mexican</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>object</td>\n<td>Tax regime</td>\n<td>Régimen fiscal</td>\n<td>Example: { \"value\":\"616\", \"label\":\"Sin obligaciones fiscales\" }</td>\n</tr>\n<tr>\n<td>client.bcc</td>\n<td>array</td>\n<td>Additional email recipients (BCC)</td>\n<td>Correos electrónicos adicionales</td>\n<td></td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>object</td>\n<td>Client address</td>\n<td>Dirección del cliente</td>\n<td></td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>string</td>\n<td>Zip code</td>\n<td>Código postal</td>\n<td></td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>string</td>\n<td>Country code (ISO 3166-1 alpha-3)</td>\n<td>Código de país</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces</td>\n<td>object[] (optional)</td>\n<td>Namespaces required for Addenda or Complements</td>\n<td>Namespaces para addendas o complementos</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces.prefix</td>\n<td>string</td>\n<td>Namespace prefix</td>\n<td>Prefijo del namespace</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces.uri</td>\n<td>string</td>\n<td>Namespace URI</td>\n<td>Dirección del namespace</td>\n<td></td>\n</tr>\n<tr>\n<td>namespaces.schema_location</td>\n<td>string</td>\n<td>Schema location URL</td>\n<td>URL del esquema XSD</td>\n<td></td>\n</tr>\n<tr>\n<td>addenda</td>\n<td>string (optional)</td>\n<td>Addenda XML code</td>\n<td>Código XML de addenda</td>\n<td></td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>string (optional)</td>\n<td>External ID</td>\n<td>ID externo para ligas</td>\n<td></td>\n</tr>\n<tr>\n<td>conditions</td>\n<td>string (optional)</td>\n<td>Payment conditions</td>\n<td>Condiciones de pago</td>\n<td></td>\n</tr>\n<tr>\n<td>createPaymentRequest</td>\n<td>boolean (optional)</td>\n<td>Generate payment request with invoice</td>\n<td>Genera solicitud de pago junto con la factura</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"sat-fiscal-regime-codes\">SAT Fiscal Regime Codes</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>601</td>\n<td>General Regime for Corporations</td>\n</tr>\n<tr>\n<td>603</td>\n<td>Nonprofit Corporations</td>\n</tr>\n<tr>\n<td>605</td>\n<td>Salaries and Wages</td>\n</tr>\n<tr>\n<td>606</td>\n<td>Leasing</td>\n</tr>\n<tr>\n<td>608</td>\n<td>Other Income</td>\n</tr>\n<tr>\n<td>609</td>\n<td>Consolidation</td>\n</tr>\n<tr>\n<td>610</td>\n<td>Foreign Residents Without Permanent Establishment</td>\n</tr>\n<tr>\n<td>611</td>\n<td>Dividends</td>\n</tr>\n<tr>\n<td>612</td>\n<td>Individuals with Business and Professional Activities</td>\n</tr>\n<tr>\n<td>614</td>\n<td>Interest Income</td>\n</tr>\n<tr>\n<td>616</td>\n<td>Without Tax Obligations</td>\n</tr>\n<tr>\n<td>620</td>\n<td>Cooperatives Opting to Defer Income</td>\n</tr>\n<tr>\n<td>621</td>\n<td>Fiscal Incorporation</td>\n</tr>\n<tr>\n<td>622</td>\n<td>Agricultural, Livestock, Forestry, and Fishing Activities</td>\n</tr>\n<tr>\n<td>623</td>\n<td>Optional for Corporate Groups</td>\n</tr>\n<tr>\n<td>624</td>\n<td>Coordinated Regime</td>\n</tr>\n<tr>\n<td>628</td>\n<td>Hydrocarbons</td>\n</tr>\n<tr>\n<td>607</td>\n<td>Sale/Acquisition of Goods</td>\n</tr>\n<tr>\n<td>629</td>\n<td>Preferential Tax Regimes / Multinational Enterprises</td>\n</tr>\n<tr>\n<td>630</td>\n<td>Sale of Stock in Stock Market</td>\n</tr>\n<tr>\n<td>615</td>\n<td>Prize Income</td>\n</tr>\n<tr>\n<td>625</td>\n<td>Tech Platform Business Income</td>\n</tr>\n<tr>\n<td>626</td>\n<td>Simplified Trust Regime</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"cfdi-use-options\">CFDI Use Options</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Applicable Fiscal Regimes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>G01</td>\n<td>Purchase of goods</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>G02</td>\n<td>Returns, discounts, or rebates</td>\n<td>same as above</td>\n</tr>\n<tr>\n<td>G03</td>\n<td>General expenses</td>\n<td>same as above</td>\n</tr>\n<tr>\n<td>I01–I08</td>\n<td>Investments (buildings, machinery, etc.)</td>\n<td>same as above</td>\n</tr>\n<tr>\n<td>D01–D05</td>\n<td>Personal expenses (medical, funerals, donations)</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","createInvoice"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"dc81af4f-b45e-47ba-8755-a0e0b0b81cef","name":"200 example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"use\": \"S01\",\n    \"payment_form\": \"28\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"john@example.com\", \"jane@example.com\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"MXN\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    \"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"E48\",\n            \"name\": \"Desarrollo de API\"\n        }\n    ],\n    \"client\": {\n        \"rfc\":\"XAXX010101000\",\n        \"legal_name\":\"PUBLICO EN GENERAL\",\n        \"tax_system\":{\n            \"label\":\"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\":\"616\"\n        },\n        \"bcc\": [\"boss@example.com\"],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"d79-lYD6Y1wEIJlK6QDzCEInjzxWT5c\""},{"key":"function-execution-id","value":"3eqsfhohgcav"},{"key":"x-cloud-trace-context","value":"6ec24a489a1184383fb6dbc5a796c4cf;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Wed, 12 Apr 2023 14:24:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3449"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"use\": \"S01\",\n    \"payment_form\": \"28\",\n    \"type\": \"I\",\n    \"relation\": null,\n    \"emails\": [\n        \"john@example.com\",\n        \"jane@example.com\"\n    ],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"MXN\",\n    \"export\": \"01\",\n    \"payment_method\": \"PUE\",\n    \"folio_number\": 1,\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"discount\": 0,\n            \"product\": {\n                \"description\": \"Desarrollo de API\",\n                \"product_key\": \"01010101\",\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\",\n                \"price\": 21.21,\n                \"tax_included\": true,\n                \"taxes\": [\n                    {\n                        \"base\": null,\n                        \"rate\": 0.16,\n                        \"type\": \"IVA\",\n                        \"withholding\": false,\n                        \"factor\": \"Tasa\",\n                        \"ieps_mode\": \"sum_before_taxes\"\n                    }\n                ],\n                \"taxability\": \"02\"\n            }\n        }\n    ],\n    \"client\": {\n        \"rfc\": \"XAXX010101000\",\n        \"legal_name\": \"PUBLICO EN GENERAL\",\n        \"tax_system\": {\n            \"label\": \"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\": \"616\"\n        },\n        \"bcc\": [\n            \"boss@example.com\"\n        ],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    },\n    \"test\": true,\n    \"livemode\": false,\n    \"internalClient\": {\n        \"rfc\": \"XAXX010101000\",\n        \"legal_name\": \"PUBLICO EN GENERAL\",\n        \"tax_system\": {\n            \"label\": \"Personas Físicas con Actividades Empresariales y Profesionales\",\n            \"value\": \"616\"\n        },\n        \"bcc\": [\n            \"boss@example.com\"\n        ],\n        \"address\": {\n            \"zip\": \"10200\",\n            \"country\": \"MEX\"\n        }\n    },\n    \"fromApi\": true,\n    \"id\": \"6436bf26fd435917c887ad6d\",\n    \"created_at\": \"2023-04-12T14:24:38.412Z\",\n    \"cfdi_version\": 4,\n    \"organization\": \"_______\",\n    \"date\": \"2023-04-12T14:24:38.403Z\",\n    \"customer\": {\n        \"id\": \"6420cfc9da7406cd01063a82\",\n        \"legal_name\": \"PUBLICO EN GENERAL\",\n        \"tax_system\": \"616\",\n        \"tax_id\": \"XAXX010101000\",\n        \"address\": {\n            \"country\": \"MEX\",\n            \"zip\": \"10200\"\n        }\n    },\n    \"address\": {\n        \"street\": \"___\",\n        \"exterior\": \"96\",\n        \"interior\": \"\",\n        \"neighborhood\": \"____\",\n        \"city\": \"Mexico\",\n        \"municipality\": \"____\",\n        \"state\": \"Ciudad de México\",\n        \"country\": \"MEX\",\n        \"zip\": \"_____\"\n    },\n    \"verification_url\": \"https://verificacfdi.facturaelectronica.sat.gob.mx/default.aspx?id=1A69FA7A-5FC0-44A6-962D-9B067E825D67&re=CAHS960410BL4&rr=XAXX010101000&tt=42.420000&fe=nPJPTA==\",\n    \"status\": \"valid\",\n    \"cancellation_status\": \"none\",\n    \"total\": 42.42,\n    \"uuid\": \"1A69FA7A-5FC0-44A6-962D-9B067E825D67\",\n    \"exchange\": 1,\n    \"stamp\": {\n        \"date\": \"2023-04-12T08:24:38\",\n        \"sat_signature\": \"NvN5MCUA114rXXTT44SJOZEeKMlnLePk2QFJXhTFH5CGMiSCr0/RT3iYXRRpxzksz49h2NM+Xwcr3rj79WhaREmCb7joQGykun65dP4IM8pqTkegIu2CYKQQwwOyHcDcbawf7MIYWCkClorggszWK0XRFE2nCop7Tgpvx+mJ4GIAOmPQDy2Q3AUFhZZ/DuIrmIvG17OYcNbzBs8ebaMBSuR3l299m3ckhUJvgfXvTcvm4PxEYR4zDXXEK5RLbnhDmFDuuMVb26lgLNoo/fhGNHevMdF1jelkx04y857qbPQk9axJqxqpWGB61MLRFPBCJci9wYnfJhdy3jpYM0cmKw==\",\n        \"sat_cert_number\": \"30001000000400002495\",\n        \"signature\": \"cNN4Xodz/cyge5enrF8w/AawIcmFQLnjec0GoyayW46jyHES+DiRUvP/PiNruv/asmEgxNMyZOXJvy7RNY6XvJQFDg+eSg1CNqrZ/42vJOpU3t0gvVCy111N6+VRHEoehab1au5O774/6P9ttanwBlnrwakHtKKLtk04V0639corSG210mHjtUqeARWMH+VScZ8DEnuFF9q6tfGw5hVkLvtw2XFa2CaID5CDZbY2aqzoJxzKMh0fC77FYPp4h+e6ETkaZB7WwKD2IP6A2R7dqxs/GJ6bR7d6AjryPhIskXJWdG0KE8Iei8RuYvk8PWuXirjGggANnFvpj5+RnPJPTA==\",\n        \"complement_string\": \"||1.1|1A69FA7A-5FC0-44A6-962D-9B067E825D67|2023-04-12T08:24:38|cNN4Xodz/cyge5enrF8w/AawIcmFQLnjec0GoyayW46jyHES+DiRUvP/PiNruv/asmEgxNMyZOXJvy7RNY6XvJQFDg+eSg1CNqrZ/42vJOpU3t0gvVCy111N6+VRHEoehab1au5O774/6P9ttanwBlnrwakHtKKLtk04V0639corSG210mHjtUqeARWMH+VScZ8DEnuFF9q6tfGw5hVkLvtw2XFa2CaID5CDZbY2aqzoJxzKMh0fC77FYPp4h+e6ETkaZB7WwKD2IP6A2R7dqxs/GJ6bR7d6AjryPhIskXJWdG0KE8Iei8RuYvk8PWuXirjGggANnFvpj5+RnPJPTA==|30001000000400002495||\"\n    },\n    \"pdf_custom_section\": \"<p></p>\",\n    \"global\": {\n        \"periodicity\": \"day\",\n        \"months\": \"04\",\n        \"year\": 2023,\n        \"_id\": \"6436bf26fd435917c887ad6e\"\n    },\n    \"owner\": \"_______\",\n    \"timestamp\": 1681309478801,\n    \"pastInvoice\": null,\n    \"team\": \"team____\"\n}"},{"id":"40e44700-0964-4532-a004-3e3d0a0e52f0","name":"401 example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"legal_name\": \"RAZON SOCIAL\",\n        \"email\": \"email@example.com\",\n        \"tax_id\": \"RFC\",\n        \"tax_system\": \"601\",\n        \"address\": {\n            \"zip\": \"01040\"\n        }\n    },\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"description\": \"Ukelele\",\n            \"product_key\": \"60131324\",\n            \"total\": 345.60,\n            \"discount\": 0,\n            \"tax_included\": false,\n            \"taxes\": [],\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Servicio\",\n            \"sku\": \"ABC123\"\n        }\n    ],\n    \"payment_form\": \"06\",\n    \"folio_number\": 914,\n    \"series\": \"F\",\n    \"use\": \"G01\",\n    \"currency\": \"MXN\",\n    \"exchange\": 1,\n    \"date\": \"now\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"ba9049848bb5e6696387af4be1afba42;o=1"},{"key":"Date","value":"Thu, 19 May 2022 20:34:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"40"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is missing\",\n    \"code\": 401\n}"},{"id":"cb91df84-6392-4215-86bb-b04b0a95d8d0","name":"400 example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"legal_name\": \"RAZON SOCIAL\",\n        \"email\": \"email@example.com\",\n        \"tax_id\": \"RFC\",\n        \"tax_system\": \"601\",\n        \"address\": {\n            \"zip\": \"01040\"\n        }\n    },\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"description\": \"Ukelele\",\n            \"product_key\": \"60131324\",\n            \"total\": 345.60,\n            \"discount\": 0,\n            \"tax_included\": false,\n            \"taxes\": [],\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Servicio\",\n            \"sku\": \"ABC123\"\n        }\n    ],\n    \"payment_form\": \"06\",\n    \"folio_number\": 914,\n    \"series\": \"F\",\n    \"use\": \"G01\",\n    \"currency\": \"MXN\",\n    \"exchange\": 1,\n    \"date\": \"now\"\n}"},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-cloud-trace-context","value":"fe6037a2a8895ae76ede33e951854973/6431736295171828121;o=1"},{"key":"content-security-policy","value":"default-src 'self';font-src https:;img-src data: https:;script-src 'unsafe-inline' https:;style-src https: 'unsafe-inline';object-src 'none';connect-src https:;frame-src self *.stripe.com *.facebook.com;upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"access-control-allow-origin","value":"*"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"e9-E5Pdqh8RzH6L1bTHKYJp0udHXuU\""},{"key":"vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 17 May 2022 00:45:23 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"233"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validación de timbrado: Este RFC del receptor no existe en la lista de RFC inscritos no cancelados del SAT|La clave del campo RegimenFiscalReceptor debe corresponder con el tipo de persona (física o moral).\",\n    \"ok\": false\n}"},{"id":"d73001c9-b232-4e12-af61-1675235b22d9","name":"400 example 2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"legal_name\": \"RAZON SOCIAL\",\n        \"email\": \"email@example.com\",\n        \"tax_id\": \"RFC\",\n        \"tax_system\": \"601\",\n        \"address\": {\n            \"zip\": \"01040\"\n        }\n    },\n    \"items\": [\n        {\n            \"quantity\": 2,\n            \"description\": \"Ukelele\",\n            \"product_key\": \"60131324\",\n            \"total\": 345.60,\n            \"discount\": 0,\n            \"tax_included\": false,\n            \"taxes\": [],\n            \"unit_key\": \"E48\",\n            \"unit_name\": \"Servicio\",\n            \"sku\": \"ABC123\"\n        }\n    ],\n    \"payment_form\": \"06\",\n    \"folio_number\": 914,\n    \"series\": \"F\",\n    \"use\": \"G01\",\n    \"currency\": \"MXN\",\n    \"exchange\": 1,\n    \"date\": \"now\"\n}"},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createInvoice"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-cloud-trace-context","value":"32b86165c80acb254a09aca540077f7a/465834640223403725;o=1"},{"key":"content-security-policy","value":"default-src 'self';font-src https:;img-src data: https:;script-src 'unsafe-inline' https:;style-src https: 'unsafe-inline';object-src 'none';connect-src https:;frame-src self *.stripe.com *.facebook.com;upgrade-insecure-requests"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"expect-ct","value":"max-age=0"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"x-download-options","value":"noopen"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-xss-protection","value":"0"},{"key":"access-control-allow-origin","value":"*"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"118-Ayw9MfQ8GJ9aLITiDJbzCxMp294\""},{"key":"vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 17 May 2022 00:47:43 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"280"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validación de timbrado: El nombre o razón social del receptor no coincide con el RFC registrado en el SAT; recuerda que con CFDI 4.0, debe ingresarse en mayúsculas y sin acentos, además ya no debes incluir el régimen societario (ej. \\\"S.A. de C.V.\\\")\",\n    \"ok\": false\n}"}],"_postman_id":"b092dab7-dbbc-480a-9030-dd1967a87ea2"},{"name":"/v1/invoices/create","id":"2c90c5b7-a896-41f4-af2e-61f0ef680a53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"returnFilesUrls\":true,\n    \"use\": \"G01\",\n    \"series\": \"q32\",\n    \"payment_form\": \"03\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"email@gigstack.io\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"USD\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    //\"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 1,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"H87\",\n            \"name\": \"Desarrollo de API\",\n            \"description\": \"Desarrollo de API\"\n        }\n    ],\n    \"metadata\":{\n        \"internalOrderId\":\"abcde\"\n    },\n    //\"clientId\":\"client___\"\n    \"client\": {\n        \"rfc\":\"EKU9003173C9\",\n        \"legal_name\":\"Escuela Kemper Ugarte\",\n        \"tax_system\":{\n            \"label\":\"General de Ley Personas Morales\",\n            \"value\":\"601\"\n        },\n        \"bcc\": [\"\"],\n        \"address\": {\n            \"zip\": \"10200\"\n            , \n            \"country\": \"MEX\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/create","description":"<h3 id=\"create-cfdi-40-invoice-in-gigstack\">Create CFDI 4.0 Invoice in gigstack</h3>\n<p>Use the following request body to generate a CFDI 4.0 invoice in gigstack.<br />If you're using test-mode API Keys, the generated invoice will be an unstamped version (also known as test invoice, draft invoice, or prefactura).</p>\n<p><strong>Caution:</strong> If you don’t have the client’s complete fiscal information, consider issuing a <strong>sales receipt</strong>, which will automatically activate a self-invoicing portal.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Data Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>returnFilesUrls</td>\n<td>Indicates whether to return PDF and XML file URLs (in BASE64) in the response.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>use</td>\n<td>CFDI use code.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>series</td>\n<td>CFDI series.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>Payment form for the CFDI.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>relation</td>\n<td>Relation to other CFDIs or null.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>emails</td>\n<td>List of email addresses to send the invoice.</td>\n<td>Array (String)</td>\n</tr>\n<tr>\n<td>related</td>\n<td>Related CFDI information.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>invoiceType</td>\n<td>Type of CFDI (e.g., \"I\" for \"Ingreso\").</td>\n<td>String</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Currency used in the CFDI (3-letter ISO format, e.g., MXN). If not MXN and <code>exchange_rate</code> is not provided, the current exchange rate will be used.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>exchange_rate</td>\n<td>Exchange rate to apply (e.g., 1 USD = <strong>16.95</strong>).</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>export</td>\n<td>Export information or null.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td>Payment method used.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>folio_number</td>\n<td>CFDI folio number. If left empty, the next available number will be auto-assigned.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items</td>\n<td>List of products or services included in the CFDI.</td>\n<td>Array (Object)</td>\n</tr>\n<tr>\n<td>items.quantity</td>\n<td>Quantity of product or service.</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>items.taxes</td>\n<td>List of taxes applied.</td>\n<td>Array (Object)</td>\n</tr>\n<tr>\n<td>items.taxes.withholding</td>\n<td>Whether the tax is a withholding tax.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>items.taxes.inclusive</td>\n<td>Whether tax is included in the price.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>items.taxes.rate</td>\n<td>Tax rate (as a percentage).</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>items.taxes.factor</td>\n<td>Tax factor (e.g., \"Tasa\").</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.taxes.type</td>\n<td>Type of tax (e.g., \"IVA\").</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.unit_name</td>\n<td>Unit name.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.total</td>\n<td>Total amount of the product or service.</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>items.product_key</td>\n<td>SAT product/service code.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.unit_key</td>\n<td>SAT unit code.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.name</td>\n<td>Name of the product or service.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>items.description</td>\n<td>Description of the product or service.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>Additional metadata.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>metadata.internalOrderId</td>\n<td>Internal order ID.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Client or receiver information. Required if <code>clientId</code> is not provided.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>Client’s RFC (Tax ID).</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.legal_name</td>\n<td>Client’s legal name.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>Client’s tax regime code (3 digits). Refer to SAT catalogs.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.bcc</td>\n<td>List of BCC email addresses.</td>\n<td>Array (String)</td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>Client’s address information.</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>Postal code.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>Country code.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.address</td>\n<td>Street address.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID of a saved client in gigstack (optional if <code>client</code> object is provided).</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.metadata.internalId</td>\n<td>Internal ID of the client.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>global</td>\n<td>Global invoice object.</td>\n<td>Object (Optional)</td>\n</tr>\n<tr>\n<td>global.months</td>\n<td>Month code for the global invoice. Refer to SAT catalogs.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>global.year</td>\n<td>Year of the invoice.</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>global.periodicity</td>\n<td>Periodicity of the global invoice. <br /> Possible values: <br /> \"day\", \"week\", \"month\", \"two_months\"</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>Refer to the <strong>SAT Catalogs</strong> section for valid values.</p>\n<p>Follow these parameters to generate CFDI invoices efficiently and with full customization inside gigstack!</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"dc1fbd33-59b2-46c4-a70d-3489b7342ed2","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"returnFilesUrls\":true,\n    \"use\": \"G01\",\n    \"series\": \"q32\",\n    \"payment_form\": \"03\",\n    \"type\": \"create_invoice\",\n    \"relation\": null,\n    \"emails\": [\"email@gigstack.io\"],\n    \"related\": null,\n    \"invoiceType\": \"I\",\n    \"currency\": \"USD\",\n    \"export\": null,\n    \"payment_method\": \"PUE\",\n    //\"folio_number\":1,\n    \"items\": [\n        {\n            \"quantity\": 1,\n            \"taxes\": [\n                {\n                    \"withholding\": false,\n                    \"inclusive\": true,\n                    \"rate\": 0.16,\n                    \"factor\": \"Tasa\",\n                    \"type\": \"IVA\"\n                }\n            ],\n            \"unit_name\": \"Unidad de Servicio\",\n            \"total\": 21.21,\n            \"product_key\": \"01010101\",\n            \"unit_key\": \"H87\",\n            \"name\": \"Desarrollo de API\",\n            \"description\": \"Desarrollo de API\"\n        }\n    ],\n    \"metadata\":{\n        \"internalOrderId\":\"abcde\"\n    },\n    //\"clientId\":\"client___\"\n    \"client\": {\n        \"rfc\":\"EKU9003173C9\",\n        \"legal_name\":\"Escuela Kemper Ugarte\",\n        \"tax_system\":{\n            \"label\":\"General de Ley Personas Morales\",\n            \"value\":\"601\"\n        },\n        \"bcc\": [\"\"],\n        \"address\": {\n            \"zip\": \"\"\n            , \n            \"country\": \"MEX\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"22774-DBGnOIc6SbqHpb12GPHAPSsdznk\""},{"key":"function-execution-id","value":"5rjpx41cqydp"},{"key":"x-cloud-trace-context","value":"937a7f0e485f9c15bb5e12c24d65c7db;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 16 Jul 2023 03:31:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"141172"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Factura creada correctamente\",\n    \"data\": {\n        \"series\": \"Q32\",\n        \"use\": \"G01\",\n        \"payment_form\": \"03\",\n        \"type\": \"I\",\n        \"emails\": [\n            \"email@gigstack.io\"\n        ],\n        \"invoiceType\": \"I\",\n        \"currency\": \"USD\",\n        \"payment_method\": \"PUE\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"discount\": 0,\n                \"product\": {\n                    \"description\": \"Desarrollo de API\",\n                    \"product_key\": \"01010101\",\n                    \"unit_key\": \"H87\",\n                    \"unit_name\": \"Unidad de Servicio\",\n                    \"price\": 21.21,\n                    \"tax_included\": true,\n                    \"taxes\": [\n                        {\n                            \"base\": null,\n                            \"rate\": 0.16,\n                            \"type\": \"IVA\",\n                            \"withholding\": false,\n                            \"factor\": \"Tasa\",\n                            \"ieps_mode\": \"sum_before_taxes\"\n                        }\n                    ],\n                    \"taxability\": \"02\"\n                }\n            }\n        ],\n        \"client\": {\n            \"rfc\": \"EKU9003173C9\",\n            \"legal_name\": \"Escuela Kemper Ugarte\",\n            \"tax_system\": \"601\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"metadata\": {\n            \"internalOrderId\": \"abcde\"\n        },\n        \"folio_number\": 608,\n        \"livemode\": false,\n        \"test\": true,\n        \"internalClient\": {\n            \"rfc\": \"EKU9003173C9\",\n            \"legal_name\": \"Escuela Kemper Ugarte\",\n            \"tax_system\": \"601\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"fromApi\": true,\n        \"team\": \"\",\n        \"exchange_rate\": 16.78697330871244,\n        \"exchange\": 16.78697330871244,\n        \"id\": \"\",\n        \"created_at\": \"2023-07-16T03:31:52.123Z\",\n        \"cfdi_version\": 4,\n        \"organization\": \"\",\n        \"date\": \"2023-07-16T03:31:52.111Z\",\n        \"customer\": {\n            \"id\": \"\",\n            \"legal_name\": \"ESCUELA KEMPER UGARTE\",\n            \"tax_system\": \"601\",\n            \"tax_id\": \"EKU9003173C9\",\n            \"address\": {\n                \"country\": \"MEX\",\n                \"zip\": \"\"\n            }\n        },\n        \"address\": {\n            \"street\": \"\",\n            \"exterior\": \"\",\n            \"interior\": \"\",\n            \"neighborhood\": \"\",\n            \"city\": \"Mexico\",\n            \"municipality\": \"\",\n            \"state\": \"Ciudad de México\",\n            \"country\": \"MEX\",\n            \"zip\": \"\"\n        },\n        \"verification_url\": \"https://\",\n        \"status\": \"valid\",\n        \"cancellation_status\": \"none\",\n        \"total\": 21.21,\n        \"uuid\": \"2A____51E-8_89-424C-9_B8-D__EEFB6E49\",\n        \"stamp\": {\n            \"date\": \"2023-07-15T21:31:52\",\n            \"sat_signature\": \"\",\n            \"sat_cert_number\": \"\",\n            \"signature\": \"\",\n            \"complement_string\": \"\"\n        },\n        \"pdf_custom_section\": \"<p><p></p></p>\",\n        \"export\": \"01\",\n        \"relation\": null,\n        \"owner\": \"\",\n        \"timestamp\": 1689478314227,\n        \"pastInvoice\": null,\n        \"files\": [\n            {\n                \"content\": \"B64\",\n                \"filename\": \"prueba-factura-64b364a835330c8036269637.pdf\",\n                \"contentType\": \"application/pdf\"\n            },\n            {\n                \"content\": \"B64\",\n                \"filename\": \"prueba-factura-64b364a835330c8036269637.xml\",\n                \"contentType\": \"application/xml\"\n            }\n        ]\n    }\n}"}],"_postman_id":"2c90c5b7-a896-41f4-af2e-61f0ef680a53"},{"name":"/v1/invoices/invoice","id":"9b9b91bd-cbe2-40fe-9f05-d71e8a3d15fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/invoice?id=ID OR UUID","description":"<h3 id=\"retrieve-invoice-information-in-gigstack\">Retrieve Invoice Information in gigstack</h3>\n<p>Use this endpoint to fetch the latest details of an invoice issued through gigstack.<br />To access a specific invoice, provide the <code>id</code> query parameter, which can be either the invoice ID or the fiscal folio (UUID).</p>\n<p><strong>Query Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Invoice ID or fiscal folio (UUID) to retrieve.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example Usage:</strong>\nGET <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/invoice?id=INVOICE_ID\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/invoice?id=INVOICE_ID</a></p>\n<p>This request retrieves the most up-to-date information for the invoice identified by the provided ID or fiscal folio.<br />Use this endpoint to obtain accurate details about a specific invoice generated in gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","invoice"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"id","value":"ID OR UUID"}],"variable":[]}},"response":[{"id":"43413107-357a-4b2e-9f54-860612d6ec20","name":"200","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/invoice?id=359747FC-BFCE-444A-B3C5-FCAB8C86D3CF","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","invoices","invoice"],"query":[{"key":"id","value":"359747FC-BFCE-444A-B3C5-FCAB8C86D3CF"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"230b4-WlHwEzlSq8ceJk9N0WVTZHo4L64\""},{"key":"function-execution-id","value":"5rjptnq72lcx"},{"key":"x-cloud-trace-context","value":"a45cdd2961664392e315fe25cb390313;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 16 Jul 2023 03:43:04 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"143540"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Factura encontrada\",\n    \"data\": {\n        \"date\": \"2023-07-15T17:48:01.082Z\",\n        \"fid\": \"\",\n        \"automations\": null,\n        \"clientID\": \"\",\n        \"livemode\": false,\n        \"use\": \"G03\",\n        \"payment_form\": \"99\",\n        \"created_at\": \"2023-07-15T17:48:01.145Z\",\n        \"stamp\": {\n            \"date\": \"2023-07-15T11:48:01\",\n            \"sat_cert_number\": \"30001000000400002495\",\n            \"sat_signature\": \"\",\n            \"signature\": \"\",\n            \"complement_string\": \"\"\n        },\n        \"type\": \"I\",\n        \"billingAccount\": \"\",\n        \"pdf_custom_section\": \"<p><p></p></p>\",\n        \"pastInvoice\": \"\",\n        \"uuid\": \"\",\n        \"relation\": null,\n        \"emails\": [\n            \"\"\n        ],\n        \"total\": 11.6,\n        \"related\": [],\n        \"invoiceType\": \"I\",\n        \"client\": {\n            \"owner\": \"\",\n            \"zip\": \"\",\n            \"metadata\": {\n                \"stripeId\": \"\"\n            },\n            \"notes\": \"Importado desde stripe\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"line2\": \"\",\n                \"line1\": \"\"\n            },\n            \"paymentsCreated\": 2,\n            \"phones\": [\n                \"\"\n            ],\n            \"efos\": {\n                \"data\": {\n                    \"detalles\": [],\n                    \"mensaje\": \"\"\n                },\n                \"is_valid\": true\n            },\n            \"team\": \"\",\n            \"billingAccount\": \"\",\n            \"tax_system\": \"\",\n            \"tax_id\": \"\",\n            \"rfc\": \"\",\n            \"emailAddresses\": [\n                \"\"\n            ],\n            \"names\": [\n                \"\"\n            ],\n            \"phone\": \"\",\n            \"name\": \"\",\n            \"legal_name\": \"\",\n            \"id\": \"\",\n            \"RFCvalidated\": true,\n            \"email\": \"\",\n            \"timestamp\": 1675220032616\n        },\n        \"cfdi_version\": 4,\n        \"currency\": \"MXN\",\n        \"payment\": null,\n        \"cancellation_status\": \"none\",\n        \"id\": \"\",\n        \"export\": \"01\",\n        \"payment_method\": \"PPD\",\n        \"timestamp\": 1689443282818,\n        \"verification_url\": \"\",\n        \"owner\": \"\",\n        \"proposal\": null,\n        \"address\": {\n            \"zip\": \"\",\n            \"country\": \"MEX\",\n            \"city\": \"Mexico\",\n            \"street\": \"\",\n            \"exterior\": \"\",\n            \"municipality\": \"\",\n            \"neighborhood\": \"\",\n            \"state\": \"\",\n            \"interior\": \"\"\n        },\n        \"test\": true,\n        \"created\": 1689443280725,\n        \"internalItems\": [\n            {\n                \"owner\": \"\",\n                \"hours\": null,\n                \"quantity\": 1,\n                \"taxes\": [\n                    {\n                        \"withholding\": false,\n                        \"rate\": \"0.160000\",\n                        \"id\": \"tasa-traslado-iva-16\",\n                        \"type\": \"IVA\",\n                        \"factor\": \"Tasa\"\n                    }\n                ],\n                \"description\": \"\",\n                \"discount\": 0,\n                \"team\": \"\",\n                \"billingAccount\": \"\",\n                \"paymentType\": {\n                    \"label\": \"Precio fijo\",\n                    \"value\": \"fixed\"\n                },\n                \"total\": 10,\n                \"product_key\": \"71101501\",\n                \"feeInfo\": null,\n                \"name\": \"TESTING PRODUCT\",\n                \"id\": \"2BcbtGz4S7\",\n                \"timestamp\": 1674682058505\n            }\n        ],\n        \"team\": \"\",\n        \"internalClient\": {\n            \"owner\": \"\",\n            \"zip\": \"91380\",\n            \"metadata\": {\n                \"stripeId\": \"\"\n            },\n            \"notes\": \"Importado desde stripe\",\n            \"bcc\": [\n                \"\"\n            ],\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"line2\": \"\",\n                \"line1\": \"\"\n            },\n            \"paymentsCreated\": 2,\n            \"phones\": [\n                \"\"\n            ],\n            \"efos\": {\n                \"data\": {\n                    \"detalles\": [],\n                    \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                },\n                \"is_valid\": true\n            },\n            \"team\": \"\",\n            \"billingAccount\": \"\",\n            \"tax_system\": \"\",\n            \"tax_id\": \"\",\n            \"rfc\": \"\",\n            \"emailAddresses\": [\n                \"\"\n            ],\n            \"names\": [\n                \"\"\n            ],\n            \"phone\": \"\",\n            \"name\": \"\",\n            \"legal_name\": \"\",\n            \"id\": \"\",\n            \"RFCvalidated\": true,\n            \"email\": \"\",\n            \"timestamp\": 1675220032616\n        },\n\n        \"folio_number\": 605,\n        \"series\": \"CDEV1.0\",\n        \"organization\": \"\",\n        \"exchange\": 1,\n        \"invoice\": null,\n        \"items\": [\n            {\n                \"product\": {\n                    \"unit_name\": \"Servicio\",\n                    \"product_key\": \"71101501\",\n                    \"price\": 10,\n                    \"unit_key\": \"E48\",\n                    \"description\": \"TESTING PRODUCT\",\n                    \"taxes\": [\n                        {\n                            \"withholding\": false,\n                            \"rate\": 0.16,\n                            \"type\": \"IVA\",\n                            \"factor\": \"Tasa\",\n                            \"ieps_mode\": \"sum_before_taxes\",\n                            \"base\": null\n                        }\n                    ],\n                    \"tax_included\": false,\n                    \"taxability\": \"02\",\n                    \"sku\": \"2BcbtGz4S7\"\n                },\n                \"quantity\": 1,\n                \"discount\": 0\n            }\n        ],\n        \"v4\": true,\n        \"customer\": {\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"MEX\"\n            },\n            \"id\": \"\",\n            \"legal_name\": \"\",\n            \"tax_system\": \"612\",\n            \"tax_id\": \"\"\n        },\n        \"status\": \"valid\",\n        \"discount\": 0,\n        \"lastEmail\": 1689443287965,\n        \"emailID\": [\n            \"\"\n        ],\n        \"files\": [\n            {\n                \"content\": \"\",\n                \"filename\": \"prueba-factura-64b2dbd10a.pdf\",\n                \"contentType\": \"application/pdf\"\n            },\n            {\n                \"content\": \"\",\n                \"filename\": \"prueba-factura-64b2dba.xml\",\n                \"contentType\": \"application/xml\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9b9b91bd-cbe2-40fe-9f05-d71e8a3d15fc"},{"name":"/v1/invoices/list","id":"6d335b18-8939-40fb-9e6d-94a95808a7b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/list?limit=10&startAfter=1689196400000","description":"<h3 id=\"list-issued-invoices-from-gigstack\">List Issued Invoices from gigstack</h3>\n<p>This endpoint provides a list of all invoices generated from gigstack for the current account.<br />By default, it returns a maximum of 10 invoices, sorted by date in descending order. The maximum limit is 100 invoices.</p>\n<p>Additionally, you can use the query parameter <a href=\"https://www.epochconverter.com/\"><code>startAfter</code></a> to retrieve invoices issued before a specific date (in milliseconds).<br />For example, to fetch invoices issued before July 12, 2023, you can pass the parameter <code>startAfter=1689196400000</code>.</p>\n<p><strong>Query Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Maximum number of invoices to return (default is 10).</td>\n</tr>\n<tr>\n<td>startAfter</td>\n<td>Reference timestamp (in milliseconds) to fetch invoices issued before that date.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example Usage:</strong>\nGET <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/list?limit=10&amp;startAfter=1689196400000\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/list?limit=10&amp;startAfter=1689196400000</a></p>\n<p>This example fetches up to 10 invoices issued before the provided timestamp.<br />The response will include a <code>nextStartAfter</code> value to help you retrieve the next batch of invoices.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"limit","value":"10"},{"key":"startAfter","value":"1689196400000"}],"variable":[]}},"response":[{"id":"90c7b278-c2cd-4058-9ba6-11e2c8274397","name":"200","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/list?limit=10","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","invoices","list"],"query":[{"key":"limit","value":"10"},{"key":"startAfter","value":"[timestamp]","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"18ffd-fW+LC5H+kfUavB2DxZJiNwFekZs\""},{"key":"function-execution-id","value":"akmqjv68crrc"},{"key":"x-cloud-trace-context","value":"52f078d0dd935afa7191bb107b0d89af;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 16 Jul 2023 15:14:45 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"102397"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Facturas encontradas\",\n    \"data\": [\n        //ALL THE INVOICES FOUND WITH THE QUERY\n    ],\n    \"nextStartAfter\": 1689097562588\n}"}],"_postman_id":"6d335b18-8939-40fb-9e6d-94a95808a7b5"},{"name":"/v1/invoices/files","id":"c5c61208-1db9-4435-98d1-401cf5ef8a9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/files?id=65698465b443518be28ff515&filetype=pdf","description":"<h3 id=\"retrieve-invoice-files-in-gigstack\">Retrieve Invoice Files in gigstack</h3>\n<p>This endpoint allows you to obtain files related to an invoice issued through gigstack.<br />When calling this endpoint, you’ll receive the invoice file encoded in base64.<br />You can retrieve the file in either PDF or XML format using the <code>filetype</code> parameter.</p>\n<p><strong>Query Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Invoice ID or fiscal folio (UUID) for which you want to retrieve files.</td>\n</tr>\n<tr>\n<td>filetype</td>\n<td>Type of file to retrieve: either <code>\"pdf\"</code> or <code>\"xml\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example Usage:</strong>\nGET <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/files?id=e55b3081cd496&amp;filetype=pdf\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/files?id=e55b3081cd496&amp;filetype=pdf</a>\nThis example retrieves the PDF file related to the invoice identified by the provided ID or fiscal folio.<br />Use this endpoint to get the required files in your preferred format (PDF or XML) for managing invoices in gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","files"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"id","value":"65698465b443518be28ff515"},{"key":"filetype","value":"pdf"}],"variable":[]}},"response":[{"id":"59d68e32-79be-4c5a-859f-df5a8deaadf5","name":"200 -  PDF File","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/files?id=65698465b443518be28ff515&filetype=pdf","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","invoices","files"],"query":[{"key":"id","value":"65698465b443518be28ff515"},{"key":"filetype","value":"pdf"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"2044a-m6d447RhDOdTpi/n0FSjxNfFs2s\""},{"key":"function-execution-id","value":"7y68froz9t4k"},{"key":"x-cloud-trace-context","value":"663f967f69084e60602d44501f37f37d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:45:31 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"132170"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Archivo descargado correctamente\",\n    \"data\": {\n        \"content\": \"BASE64 FORMAT\",\n        \"filename\": \"40717161-EAFF-4B5A-A01D-83173AC7CBAC.pdf\",\n        \"contentType\": \"application/pdf\"\n    }\n}"}],"_postman_id":"c5c61208-1db9-4435-98d1-401cf5ef8a9f"},{"name":"/v1/invoices/cancel","id":"ccaf62a7-1262-4c89-ab36-99703185be70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {API_KEY}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uuid\":\"3fd44a6b\",\n    \"motive\":\"02\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/cancel","description":"<h3 id=\"cancel-invoice\">Cancel Invoice</h3>\n<p>This endpoint is used to cancel an invoice.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>uuid</code></td>\n<td>UUID of the invoice to be cancelled.</td>\n</tr>\n<tr>\n<td><code>motive</code></td>\n<td>Reason code for cancellation (e.g., \"02\"). Refer to SAT cancellation motives.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"example\">Example:</h4>\n<p>```json\n{\n  \"uuid\": \"3fd44a6b\",\n  \"motive\": \"02\"\n}</p>\n<p>Make sure to use the correct motive code based on the SAT cancellation catalog.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","cancel"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"ccaf62a7-1262-4c89-ab36-99703185be70"},{"name":"/v1/invoices/updateStatus","id":"c92aa69b-d896-4aba-9c65-03b7d40ee6ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uuid\":\"__\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/invoices/updateStatus","description":"<h3 id=\"update-invoice-status\">Update Invoice Status</h3>\n<p>This endpoint is used to update the status of an invoice.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>uuid</code> (string, required): The unique identifier of the invoice to be updated.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will include the updated status of the invoice.</p>\n","urlObject":{"protocol":"https","path":["v1","invoices","updateStatus"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"c92aa69b-d896-4aba-9c65-03b7d40ee6ef"}],"id":"14f16392-0538-4505-b8c3-4b2bc2edfa75","description":"<p><strong>Welcome to Invoice Management in gigstack!</strong></p>\n<p>In this section, you'll find a detailed overview of the various endpoints designed to help you create invoices easily and efficiently.<br />Explore the features gigstack offers to streamline your invoicing and accelerate your financial processes.</p>\n<p>We use <strong>CFDI version 4.0</strong>.</p>\n","_postman_id":"14f16392-0538-4505-b8c3-4b2bc2edfa75"},{"name":"Recurring Events","item":[{"name":"/v1/recurring/payment","id":"8ffccc96-addd-41a8-99e8-9318c9ed4b23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment\": {\n        \"client\": {\n            \"id\":\"cus_P4EsqnTFChrOBw_RI2hpU84OLYHqmN\"\n         \n        },\n        \"items\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n        \"methodsTypesOptions\":[\"card\"],\n        \"addTransactionFee\":false,\n        \"currency\": \"MXN\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"automateInvoiceOnComplete\":true\n    },\n    \"clientId\": \"\",\n    \"temporality\": \"weekly\",\n    \"onWeekday\": \"monday\",\n    \"onTime\": \"20:30\",\n    \"startDate\": 1702164626000,\n    \"endDate\": 1703885281000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment","description":"<h3 id=\"create-recurring-payment-event\">Create Recurring Payment Event</h3>\n<p>Use this endpoint to create a recurring payment event in gigstack.<br />You can define the payment details, client information, and desired frequency.<br />Gigstack will automatically generate the payment events based on the recurrence defined by the user.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment</td>\n<td>Object containing payment details</td>\n<td>Object (required)</td>\n</tr>\n<tr>\n<td>payment.client</td>\n<td>Object with client information (optional if <code>clientId</code> is provided)</td>\n<td>Object (optional)</td>\n</tr>\n<tr>\n<td>payment.client.name</td>\n<td>Client’s name</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>payment.client.email</td>\n<td>Client’s email (optional – if no <code>clientId</code>, it will search by this email)</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>payment.items</td>\n<td>Array of items to charge the client</td>\n<td>Array (required)</td>\n</tr>\n<tr>\n<td>payment.items[0].name</td>\n<td>Name of the item to charge</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>payment.items[0].description</td>\n<td>Description of the item</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>payment.items[0].quantity</td>\n<td>Quantity of the item</td>\n<td>Integer (optional, default: 1)</td>\n</tr>\n<tr>\n<td>payment.items[0].total</td>\n<td>Price of the item</td>\n<td>Double (required)</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes</td>\n<td>Taxes applied to the item</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].rate</td>\n<td>Tax rate (e.g., 0.16)</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].factor</td>\n<td>Tax factor (e.g., \"Tasa\")</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].inclusive</td>\n<td>Indicates if the tax is included in the price</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].withholding</td>\n<td>Whether the tax is withheld or transferred</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>payment.items[0].taxes[0].type</td>\n<td>Type of tax (e.g., IVA)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment.methodsTypesOptions</td>\n<td>Payment method options: 'bank', 'card', 'oxxo'</td>\n<td>Array (required)</td>\n</tr>\n<tr>\n<td>payment.addTransactionFee</td>\n<td>Include the highest gateway fee (Stripe) in the total</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>payment.currency</td>\n<td>Currency of the charge (ISO format)</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>payment.metadata</td>\n<td>Custom key-value metadata for internal use (not processed by gigstack)</td>\n<td>Object (optional)</td>\n</tr>\n<tr>\n<td>payment.metadata.clabe</td>\n<td>CLABE to receive payment in a specific account</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>payment.metadata.externalID</td>\n<td>Example of a custom internal field</td>\n<td>Any (optional)</td>\n</tr>\n<tr>\n<td>payment.automateInvoiceOnComplete</td>\n<td>If <code>true</code>, will trigger invoice automation when payment is completed</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID of the client in gigstack (optional if <code>client</code> object is provided)</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>temporality</td>\n<td>Frequency of the recurrence: 'day', 'weekly', or 'monthly'</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>onWeekday</td>\n<td>If <code>weekly</code>, specify day of week: 'monday', 'tuesday', etc.</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>onDay</td>\n<td>If <code>monthly</code>, specify day of the month (between 1 and 31)</td>\n<td>Number (optional)</td>\n</tr>\n<tr>\n<td>onTime</td>\n<td>Time of day to trigger the event (format \"HH:MM\", defaults to \"10:00\")</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>startDate</td>\n<td>Start date of the recurrence (timestamp in ms, must be in the future)</td>\n<td>Number (required)</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>End date of the recurrence (timestamp in ms, must be after startDate)</td>\n<td>Number (required)</td>\n</tr>\n<tr>\n<td>useClientBankAccount</td>\n<td>Use client’s specific CLABE account</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>monthlyInterval</td>\n<td>Interval (in months) for monthly recurrences. <br />To run yearly, set interval to 12.</td>\n<td>Number [1–12]</td>\n</tr>\n</tbody>\n</table>\n</div><p>ℹ️ When a recurrence is created, it is automatically initialized with the status <code>\"active\"</code>.</p>\n","urlObject":{"protocol":"https","path":["v1","recurring","payment"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"b08ae9a2-150e-454e-8449-b52ae6f09cea","name":"400 - Fecha inválida","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment\": {\n        \"client\": {\n            \"name\": \"\",\n            \"email\": \"santiago.carranca@gigstack.io\"\n        },\n        \"items\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n        \"methodsTypesOptions\":[\"card\"],\n        \"addTransactionFee\":false,\n        \"currency\": \"MXN\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"automateInvoiceOnComplete\":true\n    },\n    \"clientId\": \"\",\n    \"temporality\": \"weekly\",\n    \"onWeekday\": \"monday\",\n    \"onTime\": \"20:30\",\n    \"startDate\": 1701293281000,\n    \"endDate\": 1703885281000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"63-Zs6zlnQoU1TdkLTnhz+1cxw4bd0\""},{"key":"function-execution-id","value":"zi8a38w2lqko"},{"key":"x-cloud-trace-context","value":"6c0a4af2f949596b34ffb270072192c7;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:16:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"99"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"La fecha de inicio no puede ser menor a hoy\",\n    \"error\": \"Invalid start date\"\n}"},{"id":"4c5ec1e8-4169-43bf-b862-530c3e5f6cf6","name":"200 - Evento Creado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment\": {\n        \"client\": {\n            \"id\":\"___\"\n         \n        },\n        \"items\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n        \"methodsTypesOptions\":[\"card\"],\n        \"addTransactionFee\":false,\n        \"currency\": \"MXN\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"automateInvoiceOnComplete\":true\n    },\n    \"clientId\": \"\",\n    \"temporality\": \"weekly\",\n    \"onWeekday\": \"monday\",\n    \"onTime\": \"20:30\",\n    \"startDate\": 1702164626000,\n    \"endDate\": 1703885281000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"12d0-XSuXygijklJMemldrbE4zsvWRZs\""},{"key":"function-execution-id","value":"zi8acxo9ogb1"},{"key":"x-cloud-trace-context","value":"c05f43e1a7d34e995b1a4407672a3310"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:18:50 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"4816"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pago recurrente creado correctamente\",\n    \"data\": {\n        \"id\": \"B1P7t1iQ6MgGMfF\",\n        \"team\": \"\",\n        \"owner\": \"\",\n        \"element\": {\n            \"client\": {\n                \"owner\": \"\",\n                \"metadata\": {\n                    \"stripeId\": \"\"\n                },\n                \"livemode\": false,\n                \"team\": \"\",\n                \"billingAccount\": \"\",\n                \"legalName\": \"PORTAL\",\n                \"phone\": \"\",\n                \"name\": \"Portal\",\n                \"from\": \"stripe\",\n                \"id\": \"\",\n                \"email\": \"example@gigstack.io\",\n                \"timestamp\": 1700859275334,\n                \"zip\": \"\",\n                \"country\": \"\",\n                \"note\": \"Actualizado desde recibo de venta\",\n                \"address\": {\n                    \"zip\": \"\",\n                    \"country\": \"\"\n                },\n                \"use\": \"G03\",\n                \"client\": {\n                    \"address\": {\n                        \"zip\": \"\",\n                        \"country\": \"\"\n                    },\n                    \"legal_name\": \"__\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"type\": \"create\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"tax_id\": \"\",\n                \"customer\": {\n                    \"address\": {\n                        \"zip\": \"\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"santiago+portalf@gigstack.io\"\n                },\n                \"efos\": {\n                    \"data\": {\n                        \"detalles\": [],\n                        \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                    },\n                    \"is_valid\": true\n                },\n                \"RFCvalidated\": true\n            },\n            \"items\": [\n                {\n                    \"name\": \"Nombre del producto\",\n                    \"description\": \"Descripción del producto\",\n                    \"quantity\": 2,\n                    \"total\": 200,\n                    \"taxes\": [\n                        {\n                            \"rate\": 0.16,\n                            \"factor\": \"Tasa\",\n                            \"withholding\": false,\n                            \"type\": \"IVA\",\n                            \"inclusive\": true\n                        }\n                    ]\n                }\n            ],\n            \"methodsTypesOptions\": [\n                \"card\"\n            ],\n            \"addTransactionFee\": false,\n            \"currency\": \"MXN\",\n            \"metadata\": {\n                \"externalID\": \"\"\n            },\n            \"automateInvoiceOnComplete\": true,\n            \"automations\": [\n                {\n                    \"type\": \"payment\",\n                    \"action\": \"create\",\n                    \"ref\": \"invoices\",\n                    \"from\": \"invoices\"\n                }\n            ],\n            \"custom_method_types\": [\n                {\n                    \"name\": \"Tarjeta de crédito o débito\",\n                    \"id\": \"card\",\n                    \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/Cards2.svg\",\n                    \"details\": \"Pago con tarjeta de crédito o débito\",\n                    \"manualConfirmation\": false,\n                    \"requiredKey\": \"paymentIntent\"\n                }\n            ],\n            \"team\": \"\",\n            \"owner\": \"\",\n            \"from\": \"api\",\n            \"customer\": {\n                \"owner\": \"\",\n                \"metadata\": {\n                    \"stripeId\": \"\"\n                },\n                \"livemode\": false,\n                \"team\": \"team_RI2hpU84OLYHqmN\",\n                \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                \"legalName\": \"PORTAL\",\n                \"phone\": \"\",\n                \"name\": \"Portal \",\n                \"from\": \"stripe\",\n                \"id\": \"\",\n                \"email\": \"\",\n                \"timestamp\": 1700859275334,\n                \"zip\": \"10200\",\n                \"country\": \"Mexico\",\n                \"note\": \"Actualizado desde recibo de venta\",\n                \"address\": {\n                    \"zip\": \"10200\",\n                    \"country\": \"Mexico\"\n                },\n                \"use\": \"G03\",\n                \"client\": {\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"type\": \"create\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"tax_id\": \"\",\n                \"customer\": {\n                    \"address\": {\n                        \"zip\": \"10200\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"efos\": {\n                    \"data\": {\n                        \"detalles\": [],\n                        \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                    },\n                    \"is_valid\": true\n                },\n                \"RFCvalidated\": true\n            },\n            \"clientID\": \"\",\n            \"clientId\": \"\",\n            \"billingAccount\": \"\"\n        },\n        \"billingAccount\": \"\",\n        \"timestamp\": 1702142329837,\n        \"startDate\": 1702164626000,\n        \"endDate\": 1703885281000,\n        \"client\": {\n            \"owner\": \"\",\n            \"metadata\": {\n                \"stripeId\": \"\"\n            },\n            \"livemode\": false,\n            \"team\": \"team_RI2hpU84OLYHqmN\",\n            \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n            \"legalName\": \"PORTAL \",\n            \"phone\": \"\",\n            \"name\": \"Portal \",\n            \"from\": \"stripe\",\n            \"id\": \"\",\n            \"email\": \"\",\n            \"timestamp\": 1700859275334,\n            \"zip\": \"10200\",\n            \"country\": \"Mexico\",\n            \"note\": \"Actualizado desde recibo de venta\",\n            \"address\": {\n                \"zip\": \"\",\n                \"country\": \"\"\n            },\n            \"use\": \"G03\",\n            \"client\": {\n                \"address\": {\n                    \"zip\": \"\",\n                    \"country\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"email\": \"\"\n            },\n            \"legal_name\": \"\",\n            \"type\": \"create\",\n            \"tax_system\": \"\",\n            \"rfc\": \"\",\n            \"tax_id\": \"\",\n            \"customer\": {\n                \"address\": {\n                    \"zip\": \"\"\n                },\n                \"legal_name\": \"\",\n                \"tax_system\": \"\",\n                \"rfc\": \"\",\n                \"email\": \"\"\n            },\n            \"efos\": {\n                \"data\": {\n                    \"detalles\": [],\n                    \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                },\n                \"is_valid\": true\n            },\n            \"RFCvalidated\": true\n        },\n        \"clientId\": \"\",\n        \"onTime\": \"20:30\",\n        \"onDay\": null,\n        \"onWeekday\": 1,\n        \"status\": \"active\",\n        \"startDateUTC\": 1702164626000,\n        \"startDateString\": \"9 December 2023 23:30\",\n        \"endDateUTC\": 1703885281000,\n        \"endDateString\": \"29 December 2023 21:28\",\n        \"timestampUTC\": 1702142329839,\n        \"type\": \"payment\"\n    }\n}"}],"_postman_id":"8ffccc96-addd-41a8-99e8-9318c9ed4b23"},{"name":"/v1/recurring/payment","id":"81a617e0-3467-4b8b-8dc7-4b859256d968","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"HeWLgOg2Lb71peU\",\n    \"tempItems\": [\n            {\n                \"name\": \"Nombre del producto\",\n                \"description\": \"Descripción del producto\",\n                \"quantity\": 2,\n                \"total\": 200,\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"factor\": \"Tasa\",\n                        \"withholding\": false,\n                        \"type\": \"IVA\",\n                        \"inclusive\": true\n                    }\n                ]\n            }\n        ],\n    \"endDate\": 1708462694000\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/payment","description":"<h3 id=\"update-recurring-payment-event\">Update Recurring Payment Event</h3>\n<p>Use this endpoint to update a recurring payment event in gigstack.<br />You can update the end date, pause or activate the event, and modify the <code>items</code>.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment.items</td>\n<td>Array of items to charge the client</td>\n<td>Array (required)</td>\n</tr>\n<tr>\n<td>tempItems[0].name</td>\n<td>Name of the item to charge</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>tempItems[0].description</td>\n<td>Description of the item</td>\n<td>String (optional)</td>\n</tr>\n<tr>\n<td>tempItems[0].quantity</td>\n<td>Quantity of the item</td>\n<td>Integer (optional, default: 1)</td>\n</tr>\n<tr>\n<td>tempItems[0].total</td>\n<td>Price of the item</td>\n<td>Double (required)</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes</td>\n<td>Taxes applied to the item</td>\n<td>Array</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].rate</td>\n<td>Tax rate (e.g., 0.16)</td>\n<td>Double</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].factor</td>\n<td>Tax factor type (e.g., \"Tasa\")</td>\n<td>String</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].inclusive</td>\n<td>Whether the tax is included in the item price</td>\n<td>Boolean (optional)</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].withholding</td>\n<td>Whether the tax is withheld or transferred</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].type</td>\n<td>Type of tax (e.g., IVA)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>tempItems[0].taxes[0].temp</td>\n<td>Indicates if the item is temporary</td>\n<td>Boolean (required)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Pauses or activates the recurrence</td>\n<td><code>\"paused\"</code> or <code>\"active\"</code> (required)</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>End date of the recurrence (in milliseconds, must be greater than start date)</td>\n<td>Number (required)</td>\n</tr>\n<tr>\n<td>removeTempItems</td>\n<td>Removes temporary items</td>\n<td>Boolean (optional)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","recurring","payment"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"81a617e0-3467-4b8b-8dc7-4b859256d968"},{"name":"/v1/recurring/status","id":"fc964095-fab0-4ef3-be90-d650d69d71e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"id\": \"__\",\n   \"status\":\"paused\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/status","description":"<h3 id=\"change-recurrence-status\">Change Recurrence Status</h3>\n<p>Use this endpoint to change the status of a recurrence in gigstack.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID of the recurrence you want to update</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>New status for the recurrence (<code>\"active\"</code> or <code>\"paused\"</code>)</td>\n<td>String (required)</td>\n</tr>\n</tbody>\n</table>\n</div><p>This endpoint allows you to update the status of a specific recurrence in gigstack.<br />Provide the ID of the recurrence you want to modify and set the desired status (<code>\"active\"</code> to enable or <code>\"paused\"</code> to suspend).</p>\n","urlObject":{"protocol":"https","path":["v1","recurring","status"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"119dee88-2129-400a-ac38-065e2d674447","name":"200 - Actualizado","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"id\": \"B1P7t1iQ6MgGMfF\",\n   \"status\":\"paused\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"56-m5xfkkKSEGNO4F1dHfTo29IV/rE\""},{"key":"function-execution-id","value":"zi8ay46m1kju"},{"key":"x-cloud-trace-context","value":"4b123ede87918a2eab7de0f1e2a8090f;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:25:39 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"86"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Status de recurrencia actualizada correctamente\",\n    \"data\": \"B1P7t1iQ6MgGMfF\"\n}"}],"_postman_id":"fc964095-fab0-4ef3-be90-d650d69d71e3"},{"name":"/v1/recurring/list","id":"80c0a62b-524d-40ea-9f4a-5bd98cfb8c98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/list?limit=2&startAfter=8f8Fs49YKwKWHJh","description":"<h3 id=\"list-recurring-events\">List Recurring Events</h3>\n<p>Use this endpoint to retrieve the data of a specific recurrence in gigstack.<br />Provide the recurrence <code>id</code> as a parameter to list its associated information.<br />You can also limit the number of results using the <code>limit</code> parameter and paginate using the <code>startAfter</code> parameter.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID of the recurrence you want to list</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Number of results to return (optional, maximum: 100)</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>startAfter</td>\n<td>Last retrieved ID to start the list from (optional)</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>This endpoint allows you to retrieve detailed information about a specific recurrence in gigstack.<br />Provide the recurrence <code>id</code>, specify the desired number of results using <code>limit</code> (max 100), and optionally use <code>startAfter</code> to paginate results.</p>\n","urlObject":{"protocol":"https","path":["v1","recurring","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"key":"id","value":"ID"},{"key":"limit","value":"2"},{"key":"startAfter","value":"8f8Fs49YKwKWHJh"}],"variable":[]}},"response":[{"id":"308111ff-afa1-467d-bcc4-e232f1028428","name":"200 - Listado","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/recurring/list?limit=1&startAfter=ID","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","recurring","list"],"query":[{"key":"id","value":"ID","disabled":true},{"key":"limit","value":"1"},{"key":"startAfter","value":"ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"2832-r3wHzeaQyLmhW5TAG22HClbC6co\""},{"key":"function-execution-id","value":"ezgef07ctti8"},{"key":"x-cloud-trace-context","value":"43364324845f736cd1c7b8a79ef11495;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 17:43:03 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"10290"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Lista de limit recurrencias numero 2\",\n    \"data\": [\n        {\n            \"id\": \"\",\n            \"team\": \"\",\n            \"owner\": \"\",\n            \"element\": {\n                \"owner\": \"\",\n                \"metadata\": {\n                    \"externalID\": \"\"\n                },\n                \"automations\": [\n                    {\n                        \"ref\": \"invoices\",\n                        \"action\": \"create\",\n                        \"from\": \"invoices\",\n                        \"type\": \"payment\"\n                    }\n                ],\n  \n                \"clientId\": \"\",\n                \"automateInvoiceOnComplete\": true,\n                \"team\": \"\",\n                \"billingAccount\": \"\",\n                \"custom_method_types\": [\n                    {\n                        \"manualConfirmation\": false,\n                        \"requiredKey\": \"paymentIntent\",\n                        \"name\": \"Tarjeta de crédito o débito\",\n                        \"logo\": \"https://pro-gigstack.s3.us-east-2.amazonaws.com/icons/Cards2.svg\",\n                        \"details\": \"Pago con tarjeta de crédito o débito\",\n                        \"id\": \"card\"\n                    }\n                ],\n                \"methodsTypesOptions\": [\n                    \"card\"\n                ],\n                \"client\": {\n                    \"country\": \"Mexico\",\n                    \"note\": \"Actualizado desde recibo de venta\",\n                    \"metadata\": {\n                        \"stripeId\": \"\"\n                    },\n                    \"livemode\": false,\n                    \"use\": \"G03\",\n                    \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                    \"type\": \"create\",\n                    \"tax_system\": \"612\",\n                    \"legalName\": \"PORTAL DE FACTURAS\",\n                    \"client\": {\n                        \"address\": {\n                            \"zip\": \"10200\",\n                            \"country\": \"Mexico\"\n                        },\n                        \"legal_name\": \"SANTIAGO CARRANCA HERNANDEZ\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"CAHS960410BL4\",\n                        \"email\": \"santiago+portalf@gigstack.io\"\n                    },\n                    \"from\": \"stripe\",\n                    \"id\": \"\",\n                    \"legal_name\": \"\",\n                    \"RFCvalidated\": true,\n                    \"email\": \"\",\n                    \"timestamp\": 1700859275334,\n                    \"owner\": \"\",\n                    \"zip\": \"10200\",\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"efos\": {\n                        \"data\": {\n                            \"detalles\": [],\n                            \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                        },\n                        \"is_valid\": true\n                    },\n                    \"team\": \"\",\n                    \"rfc\": \"\",\n                    \"tax_id\": \"\",\n                    \"phone\": \"\",\n                    \"name\": \"Portal De Facturas\",\n                    \"customer\": {\n                        \"address\": {\n                            \"zip\": \"10200\"\n                        },\n                        \"legal_name\": \"Z\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"CAHS960410BL4\",\n                        \"email\": \"\"\n                    }\n                },\n                \"addTransactionFee\": false,\n                \"currency\": \"MXN\",\n                \"from\": \"api\",\n                \"items\": [\n                    {\n                        \"total\": 200,\n                        \"quantity\": 2,\n                        \"name\": \"Nombre del producto\",\n                        \"description\": \"Descripción del producto\",\n                        \"taxes\": [\n                            {\n                                \"withholding\": false,\n                                \"inclusive\": true,\n                                \"rate\": 0.16,\n                                \"factor\": \"Tasa\",\n                                \"type\": \"IVA\"\n                            }\n                        ]\n                    }\n                ],\n                \"customer\": {\n                    \"country\": \"Mexico\",\n                    \"note\": \"Actualizado desde recibo de venta\",\n                    \"metadata\": {\n                        \"stripeId\": \"cus_P4EsqnTFChrOBw\"\n                    },\n                    \"livemode\": false,\n                    \"use\": \"G03\",\n                    \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n                    \"type\": \"create\",\n                    \"tax_system\": \"612\",\n                    \"legalName\": \"PORTAL DE FACTURAS\",\n                    \"client\": {\n                        \"address\": {\n                            \"zip\": \"10200\",\n                            \"country\": \"Mexico\"\n                        },\n                        \"legal_name\": \"\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"\",\n                        \"email\": \"\"\n                    },\n                    \"from\": \"stripe\",\n                    \"id\": \"\",\n                    \"legal_name\": \"\",\n                    \"RFCvalidated\": true,\n                    \"email\": \"\",\n                    \"timestamp\": 1700859275334,\n                    \"owner\": \"\",\n                    \"zip\": \"\",\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"efos\": {\n                        \"data\": {\n                            \"detalles\": [],\n                            \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                        },\n                        \"is_valid\": true\n                    },\n                    \"team\": \"\",\n                    \"rfc\": \"\",\n                    \"tax_id\": \"\",\n                    \"phone\": \"\",\n                    \"name\": \"Portal De Facturas\",\n                    \"customer\": {\n                        \"address\": {\n                            \"zip\": \"10200\"\n                        },\n                        \"legal_name\": \"\",\n                        \"tax_system\": \"612\",\n                        \"rfc\": \"\",\n                        \"email\": \"\"\n                    }\n                }\n            },\n            \"billingAccount\": \"\",\n            \"timestamp\": 1702142329837,\n            \"startDate\": 1702164626000,\n            \"endDate\": 1703885281000,\n            \"client\": {\n                \"country\": \"Mexico\",\n                \"note\": \"Actualizado desde recibo de venta\",\n                \"metadata\": {\n                    \"stripeId\": \"\"\n                },\n                \"livemode\": false,\n                \"use\": \"G03\",\n                \"billingAccount\": \"\",\n                \"type\": \"create\",\n                \"tax_system\": \"612\",\n                \"legalName\": \"PORTAL DE FACTURAS\",\n                \"client\": {\n                    \"address\": {\n                        \"zip\": \"10200\",\n                        \"country\": \"Mexico\"\n                    },\n                    \"legal_name\": \"\",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                },\n                \"from\": \"stripe\",\n                \"id\": \"N\",\n                \"legal_name\": \"\",\n                \"RFCvalidated\": true,\n                \"email\": \"\",\n                \"timestamp\": 1700859275334,\n                \"owner\": \"\",\n                \"zip\": \"10200\",\n                \"address\": {\n                    \"zip\": \"10200\",\n                    \"country\": \"Mexico\"\n                },\n                \"efos\": {\n                    \"data\": {\n                        \"detalles\": [],\n                        \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n                    },\n                    \"is_valid\": true\n                },\n                \"team\": \"\",\n                \"rfc\": \"\",\n                \"tax_id\": \"\",\n                \"phone\": \"\",\n                \"name\": \"Portal De Facturas\",\n                \"customer\": {\n                    \"address\": {\n                        \"zip\": \"10200\"\n                    },\n                    \"legal_name\": \" \",\n                    \"tax_system\": \"612\",\n                    \"rfc\": \"\",\n                    \"email\": \"\"\n                }\n            },\n            \"clientId\": \"\",\n            \"onTime\": \"20:30\",\n            \"onDay\": null,\n            \"onWeekday\": 1,\n            \"status\": \"paused\",\n            \"startDateUTC\": 1702164626000,\n            \"startDateString\": \"9 December 2023 23:30\",\n            \"endDateUTC\": 1703885281000,\n            \"endDateString\": \"29 December 2023 21:28\",\n            \"timestampUTC\": 1702142329839,\n            \"type\": \"payment\"\n        }\n    ],\n    \"totalEvents\": 20,\n    \"startAfter\": \"\"\n}"}],"_postman_id":"80c0a62b-524d-40ea-9f4a-5bd98cfb8c98"}],"id":"803ba56d-f78a-4cda-a497-e7d44773b42a","description":"<p><strong>Welcome to Recurring Events Management in gigstack!</strong></p>\n<p>In this section, you'll find a detailed overview of the various endpoints available for creating recurring events—whether payments or invoices—quickly and easily in gigstack.</p>\n<p>Users can specify the desired recurrence, and gigstack will automatically generate the corresponding resources based on the defined frequency.</p>\n<p>Discover how to manage recurring events—both payments and invoices—efficiently and effortlessly using the tools provided by gigstack.</p>\n","_postman_id":"803ba56d-f78a-4cda-a497-e7d44773b42a"},{"name":"Clients","item":[{"name":"/v1/clients/list","id":"35515c47-b11c-4ad1-b881-08995fa0d630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/clients/list","description":"<h3 id=\"retrieve-client-list\">Retrieve Client List</h3>\n<p>Use this endpoint to fetch a list of clients registered in your Gigstack account.<br />You can filter the list using various criteria such as RFC, email, Stripe ID, or internal ID.<br />You can also limit the number of results returned and paginate using the <code>startAfter</code> parameter.</p>\n<p><strong>Endpoint:</strong>\nGET <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/clients/list\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/clients/list</a></p>\n<p><strong>Available Query Parameters:</strong></p>\n<ul>\n<li><code>rfc</code> (Optional): Filter clients by RFC.</li>\n<li><code>email</code> (Optional): Filter clients by email address.</li>\n<li><code>stripeId</code> (Optional): Filter clients by their Stripe customer ID (starts with <code>cus_</code>).</li>\n<li><code>id</code> (Optional): Filter clients by internal Gigstack ID.</li>\n<li><code>limit</code> (Optional): Limit the number of results returned (default: 10).</li>\n<li><code>startAfter</code> (Optional): ID after which results should begin.</li>\n<li><code>company</code> (Optional): Filter by client’s company.</li>\n</ul>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>Parameters <code>id</code>, <code>rfc</code>, <code>email</code>, <code>stripeId</code>, and <code>startAfter</code> cannot be used simultaneously. Use only one filter per request.</li>\n</ul>\n<p><strong>Example:</strong>\n/v1/clients/list?rfc=XAXX010101000&amp;limit=20&amp;startAfter=12345</p>\n<p>This endpoint provides a detailed view of the clients matching your filters.<br />It helps you manage and understand your client base more effectively within Gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","clients","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"key":"id","value":""},{"disabled":true,"key":"email","value":""},{"disabled":true,"key":"rfc","value":""},{"disabled":true,"key":"stripeId","value":""},{"disabled":true,"key":"limit","value":"10"},{"disabled":true,"key":"company","value":null}],"variable":[]}},"response":[{"id":"e9d4ca29-046e-4735-bdec-dc08fe009bad","name":"200 - Listados","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/clients/list","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","clients","list"],"query":[{"key":"id","value":"","type":"text","disabled":true},{"key":"email","value":"sales@gigstack.io","disabled":true},{"key":"rfc","value":"","type":"text","disabled":true},{"key":"stripeId","value":"","type":"text","disabled":true},{"key":"limit","value":"10","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"358-fsZ0lo3uWazA9YrkKIpveR3WDro\""},{"key":"function-execution-id","value":"hopv90cglwcm"},{"key":"x-cloud-trace-context","value":"c0f342af928ef97d0fe6214860efd2b3;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:13:14 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"856"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Clientes obtenidos correctamente\",\n    \"total\": 208,\n    \"data\": [\n    {\n        \n    }\n    ],\n    \"startAfter\": null\n}"}],"_postman_id":"35515c47-b11c-4ad1-b881-08995fa0d630"},{"name":"/v1/client","id":"4f5f5dc5-069c-4560-824b-5f512121d5e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","description":"<p>API KEY</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"cliente@example.com\",\n  \"rfc\": \"XAXX010101000\",\n  \"name\": \"Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Calle Principal\",\n    \"exterior\": \"123\",\n    \"neighborhood\": \"Colonia\",\n    \"city\": \"Ciudad\",\n    \"state\": \"Estado\",\n    \"country\": \"México\",\n    \"zip\": \"12345\"\n  },\n  \"phone\": \"1234567890\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium\"\n  },\n  \"enforceCheck\":false,\n  \"tax_system\": \"601\",\n  \"legal_name\": \"Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client","description":"<h4 id=\"create-a-client\">Create a Client</h4>\n<p>Use this endpoint to add a new client to your Gigstack account.<br />Provide the necessary information based on the available parameters.</p>\n<p><strong>Endpoint:</strong>\nPOST <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client</a></p>\n<p><strong>Available Parameters:</strong></p>\n<ul>\n<li><code>rfc</code> (Optional): Tax identification number (RFC in Mexico or equivalent in other countries).</li>\n<li><code>name</code> (Optional): Client’s name.</li>\n<li><code>address</code> (Optional): Object containing the client's address details.<ul>\n<li><code>street</code> (Optional): Street name.</li>\n<li><code>exterior</code> (Optional): External number.</li>\n<li><code>neighborhood</code> (Optional): Neighborhood or district.</li>\n<li><code>city</code> (Optional): City.</li>\n<li><code>state</code> (Optional): State.</li>\n<li><code>country</code> (Optional): Country.</li>\n<li><code>zip</code> (Optional): Postal code.</li>\n</ul>\n</li>\n<li><code>phone</code> (Optional): Client’s phone number.</li>\n<li><code>metadata</code> (Optional): Additional information associated with the client.</li>\n<li><code>tax_system</code> (Optional): 3-digit tax regime code (refer to the catalog section).</li>\n<li><code>legal_name</code> (Optional): Client’s legal/fiscal name.</li>\n<li><code>bcc</code> (Optional): Additional emails to include as BCC—emails will be sent to both the primary and BCC recipients.</li>\n<li><code>enforceCheck</code> (Optional): Force fiscal validation before creating the client.</li>\n</ul>\n<p><strong>Example Request:</strong></p>\n<p>```json\n{\n  \"email\": \"<a href=\"mailto:cliente@example.com\">cliente@example.com</a>\",\n  \"rfc\": \"XAXX010101000\",\n  \"name\": \"Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Calle Principal\",\n    \"exterior\": \"123\",\n    \"neighborhood\": \"Colonia\",\n    \"city\": \"Ciudad\",\n    \"state\": \"Estado\",\n    \"country\": \"México\",\n    \"zip\": \"12345\"\n  },\n  \"phone\": \"1234567890\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium\"\n  },\n  \"tax_system\": \"601\",\n  \"legal_name\": \"Nombre Fiscal Cliente\"\n}</p>\n<p>This endpoint allows you to register new clients in your system by providing detailed identity, address, and contact information.\nUse this feature to efficiently manage your customer base in Gigstack.</p>\n","urlObject":{"protocol":"https","path":["v1","client"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"4eabe098-9eec-4aa3-bf8c-bac4346cb952","name":"200 - Creado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","description":"API KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"cliente@example.com\",\n  \"rfc\": \"XAXX010101000\",\n  \"name\": \"Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Calle Principal\",\n    \"exterior\": \"123\",\n    \"neighborhood\": \"Colonia\",\n    \"city\": \"Ciudad\",\n    \"state\": \"Estado\",\n    \"country\": \"México\",\n    \"zip\": \"12345\"\n  },\n  \"phone\": \"1234567890\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium\"\n  },\n  \"tax_system\": \"601\",\n  \"legal_name\": \"Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"1ea-lguuwW1Sjs7UPhghnZ24MKs/GlA\""},{"key":"function-execution-id","value":"hopvo1cdezt8"},{"key":"x-cloud-trace-context","value":"a33156b2bbc5805a1caf083ff3fb88e6;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:20:39 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"490"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cliente creado correctamente\",\n    \"client\": {\n        \"id\": \"client_od7VMxjJkz\",\n        \"tax_system\": \"601\",\n        \"tax_system_m\": {\n            \"value\": \"601\",\n            \"label\": \"Ley General de Personas Morales\"\n        },\n        \"email\": \"cliente@example.com\",\n        \"rfc\": \"XAXX010101000\",\n        \"name\": \"Nombre Cliente\",\n        \"address\": {\n            \"street\": \"Calle Principal\",\n            \"exterior\": \"123\",\n            \"neighborhood\": \"Colonia\",\n            \"city\": \"Ciudad\",\n            \"state\": \"Estado\",\n            \"country\": \"México\",\n            \"zip\": \"12345\"\n        },\n        \"phone\": \"1234567890\",\n        \"metadata\": {\n            \"tipo_cliente\": \"Premium\"\n        },\n        \"legal_name\": \"Nombre Fiscal Cliente\"\n    }\n}"}],"_postman_id":"4f5f5dc5-069c-4560-824b-5f512121d5e4"},{"name":"/v1/client","id":"653ed59b-9713-4b72-a639-927ab240c209","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"client_od7VMxjJkz\",\n  \"email\": \"nuevo_cliente@example.com\",\n  \"name\": \"Nuevo Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Nueva Calle\",\n    \"exterior\": \"456\",\n    \"neighborhood\": \"Nueva Colonia\",\n    \"city\": \"Nueva Ciudad\",\n    \"state\": \"Nuevo Estado\",\n    \"country\": \"México\",\n    \"zip\": \"54321\"\n  },\n  \"phone\": \"9876543210\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium Actualizado\"\n  },\n  \"tax_system\": \"603\",\n  \"legal_name\": \"Nuevo Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client","description":"<h4 id=\"update-client\">Update Client</h4>\n<p>Use this endpoint to modify the information of an existing client in your Gigstack account.<br />You must provide the <code>id</code> of the client you wish to update and include the fields you want to modify.</p>\n<p><strong>Endpoint:</strong></p>\n<p>PUT <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client</a></p>\n<p><strong>Available Parameters:</strong></p>\n<ul>\n<li><code>id</code> (Required): ID of the client you want to update.</li>\n<li><code>email</code> (Optional): New email address of the client.</li>\n<li><code>rfc</code> (Optional): New tax identification number (RFC in Mexico).</li>\n<li><code>name</code> (Optional): New name of the client.</li>\n<li><code>address</code> (Optional): Object containing updated address details:<ul>\n<li><code>street</code> (Optional): New street name.</li>\n<li><code>exterior</code> (Optional): New exterior number.</li>\n<li><code>neighborhood</code> (Optional): New neighborhood or district.</li>\n<li><code>city</code> (Optional): New city.</li>\n<li><code>state</code> (Optional): New state.</li>\n<li><code>country</code> (Optional): New country.</li>\n<li><code>zip</code> (Optional): New postal code.</li>\n</ul>\n</li>\n<li><code>phone</code> (Optional): New phone number of the client.</li>\n<li><code>metadata</code> (Optional): Updated additional metadata associated with the client.</li>\n<li><code>tax_system</code> (Optional): New 3-digit tax regime code (see Catalogs section).</li>\n<li><code>legal_name</code> (Optional): Updated legal or fiscal name of the client.</li>\n<li><code>bcc</code> (Optional): Additional email addresses to include as BCC. Emails will be sent to both the primary and BCC recipients.</li>\n</ul>\n<p><strong>Example Request:</strong></p>\n<p>```json\n{\n  \"id\": \"cliente_id_a_actualizar\",\n  \"email\": \"<a href=\"mailto:nuevo_cliente@example.com\">nuevo_cliente@example.com</a>\",\n  \"name\": \"Nuevo Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Nueva Calle\",\n    \"exterior\": \"456\",\n    \"neighborhood\": \"Nueva Colonia\",\n    \"city\": \"Nueva Ciudad\",\n    \"state\": \"Nuevo Estado\",\n    \"country\": \"México\",\n    \"zip\": \"54321\"\n  },\n  \"bcc\": [\"<a href=\"mailto:correoextra1@test.com\">correoextra1@test.com</a>\", \"<a href=\"mailto:correoextra2@test.com\">correoextra2@test.com</a>\"],\n  \"phone\": \"9876543210\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium Actualizado\"\n  },\n  \"tax_system\": \"603\",\n  \"legal_name\": \"Nuevo Nombre Fiscal Cliente\"\n}\nThis endpoint allows you to update the information of an existing client in your Gigstack system.\nUse it to keep your client records accurate and up to date.</p>\n","urlObject":{"protocol":"https","path":["v1","client"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"ebf5940e-91e0-41ec-9d7c-289ca69b7355","name":"200 - Actualizado","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"client_od7VMxjJkz\",\n  \"email\": \"nuevo_cliente@example.com\",\n  \"name\": \"Nuevo Nombre Cliente\",\n  \"address\": {\n    \"street\": \"Nueva Calle\",\n    \"exterior\": \"456\",\n    \"neighborhood\": \"Nueva Colonia\",\n    \"city\": \"Nueva Ciudad\",\n    \"state\": \"Nuevo Estado\",\n    \"country\": \"México\",\n    \"zip\": \"54321\"\n  },\n  \"phone\": \"9876543210\",\n  \"metadata\": {\n    \"tipo_cliente\": \"Premium Actualizado\"\n  },\n  \"tax_system\": \"603\",\n  \"legal_name\": \"Nuevo Nombre Fiscal Cliente\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"2f6-BrVFEvZiCQOtNHzwK8Cw1Btk6gU\""},{"key":"function-execution-id","value":"hopvoaylg1sw"},{"key":"x-cloud-trace-context","value":"86893011f5a12686aae4153733159901;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 18:28:14 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"758"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cliente actualizado correctamente\",\n    \"client\": {\n        \"metadata\": {\n            \"tipo_cliente\": \"Premium Actualizado\"\n        },\n        \"address\": {\n            \"zip\": \"54321\",\n            \"country\": \"México\",\n            \"city\": \"Nueva Ciudad\",\n            \"street\": \"Nueva Calle\",\n            \"exterior\": \"456\",\n            \"neighborhood\": \"Nueva Colonia\",\n            \"state\": \"Nuevo Estado\"\n        },\n        \"team\": \"team_RI2hpU84OLYHqmN\",\n        \"tax_system\": \"603\",\n        \"rfc\": \"XAXX010101000\",\n        \"tax_system_m\": {\n            \"value\": \"603\",\n            \"label\": \"Personas Morales con Fines no Lucrativos\"\n        },\n        \"phone\": \"9876543210\",\n        \"name\": \"Nuevo Nombre Cliente\",\n        \"from\": \"api\",\n        \"legal_name\": \"Nuevo Nombre Fiscal Cliente\",\n        \"id\": \"client_od7VMxjJkz\",\n        \"email\": \"nuevo_cliente@example.com\",\n        \"timestamp\": 1702146039544,\n        \"efos\": {\n            \"data\": {\n                \"detalles\": [],\n                \"mensaje\": \"La consulta para el rfc especificado no devolvió resultados\"\n            },\n            \"is_valid\": true\n        },\n        \"RFCvalidated\": true\n    }\n}"}],"_postman_id":"653ed59b-9713-4b72-a639-927ab240c209"},{"name":"/v1/client/validate","id":"d554f1cf-c8f3-4d8d-98cf-6d1255ad5d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\" : {\n        \"legal_name\": \"NOMBRE LEGAL\",\n        \"tax_system\": \"616\",\n        \"rfc\": \"XAXX010101000\",\n        \"address\": {\n            \"country\": \"MEX\",\n            \"zip\": \"10200\"\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/client/validate","description":"<h3 id=\"validate-client-fiscal-information\">Validate Client Fiscal Information</h3>\n<p>Use this endpoint to validate a client's fiscal (tax) information.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Data Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client</td>\n<td>Client or receiver information (required if <code>clientId</code> is not provided)</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.rfc</td>\n<td>Client's RFC (tax identification number)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.legal_name</td>\n<td>Client's legal name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.tax_system</td>\n<td>3-digit tax regime code. Refer to the Catalogs section for valid values.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address</td>\n<td>Client's address information</td>\n<td>Object</td>\n</tr>\n<tr>\n<td>client.address.zip</td>\n<td>Client’s postal code</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.country</td>\n<td>Client’s country</td>\n<td>String</td>\n</tr>\n<tr>\n<td>client.address.address</td>\n<td>Client’s street address</td>\n<td>String</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>ID of the client saved in Gigstack (optional if <code>client</code> object is provided)</td>\n<td>String (optional)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","client","validate"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"d554f1cf-c8f3-4d8d-98cf-6d1255ad5d23"}],"id":"68e08a03-a038-4120-94e1-8ec085dfca94","description":"<h2 id=\"client-management-in-gigstack\">Client Management in Gigstack</h2>\n<p><strong>Welcome to the Client Management section in Gigstack!</strong><br />Here you’ll find tools to create, edit, and list clients within your account.<br />Clients are essential for organizing and managing the transactions and services you provide through Gigstack.</p>\n<p>Follow the documentation below to make the most of these features.</p>\n","_postman_id":"68e08a03-a038-4120-94e1-8ec085dfca94"},{"name":"Services","item":[{"name":"/v1/services/get","id":"8bd199b5-c687-4eb6-bc14-16a76ddee29a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/get?id=service_BEa4ySu13s","description":"<h3 id=\"get-service-by-id\">Get Service by ID</h3>\n<p>Use the <code>/v1/services/get</code> endpoint to retrieve a service by its ID.</p>\n<p><strong>Endpoint:</strong>\nGET /v1/services/get</p>\n","urlObject":{"protocol":"https","path":["v1","services","get"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>El id del servicio a recuperar</p>\n","type":"text/plain"},"key":"id","value":"service_BEa4ySu13s"}],"variable":[]}},"response":[],"_postman_id":"8bd199b5-c687-4eb6-bc14-16a76ddee29a"},{"name":"/v1/services/list","id":"e12ff482-2caf-46c2-94d2-a6d9aad12669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/list?limit=2&startAfter=service_BEa4ySu13s","description":"<h4 id=\"list-services\">List Services</h4>\n<p>Use the <code>/v1/services/list</code> endpoint to retrieve the list of services in your account.</p>\n<p><strong>Endpoint:</strong>\nGET <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/list\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/list</a></p>\n<p><strong>Query Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>Maximum number of services to return (must be an integer between 0 and 100)</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>startAfter</td>\n<td>ID of the service after which to start the query</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>This endpoint allows you to retrieve the list of services registered in your Gigstack account.<br />Use <code>limit</code> to control the number of results and <code>startAfter</code> for pagination based on service ID.</p>\n","urlObject":{"protocol":"https","path":["v1","services","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>Número de servicios a consultar, debe ser un número entero entre 1 y 100</p>\n","type":"text/plain"},"key":"limit","value":"2"},{"description":{"content":"<p>Id del servicio desde el cual se desea comenzar, los resultados están ordenados por timestamp en orden descendiente</p>\n","type":"text/plain"},"key":"startAfter","value":"service_BEa4ySu13s"}],"variable":[]}},"response":[],"_postman_id":"e12ff482-2caf-46c2-94d2-a6d9aad12669"},{"name":"/v1/services/create","id":"4625157f-063b-4253-97ae-bd9f17b1895b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 1,\n    \"description\": \"Item\",\n    \"name\": \"Item\",\n    \"discount\": 0,\n    \"taxes\": [\n        {\n            \"withholding\": false,\n            \"inclusive\": true, \n            \"rate\": 0.16,\n            \"type\": \"IVA\",\n            \"factor\": \"Tasa\"\n        }\n    ],\n    \"unit_name\": \"Unidad de servicio\",\n    \"total\": 200,\n    \"product_key\": \"01010101\",\n    \"unit_key\": \"E48\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/create","description":"<h4 id=\"create-service\">Create Service</h4>\n<p>Use the <code>/v1/services/create</code> endpoint to create a new service.</p>\n<p><strong>Endpoint:</strong>\nPOST <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/create\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/create</a></p>\n<p><strong>Request Body Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>quantity</td>\n<td>Number of service units</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Description of the service</td>\n<td>String</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Name of the service</td>\n<td>String</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>Discount applied to the service</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes</td>\n<td>Array of taxes applied</td>\n<td>Object[]</td>\n</tr>\n<tr>\n<td>taxes[i].withholding</td>\n<td>Indicates whether the tax is withheld</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].inclusive</td>\n<td>Indicates whether the tax is included in the service price</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].rate</td>\n<td>Tax rate value (e.g., 0.16 for 16% VAT)</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes[i].type</td>\n<td>Type of tax (e.g., IVA, ISR, IEPS)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>taxes[i].factor</td>\n<td>Tax factor (e.g., \"Tasa\" for VAT)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_name</td>\n<td>Name of the unit of measure</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Price per unit of the service</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>product_key</td>\n<td>SAT product/service code</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_key</td>\n<td>SAT unit code</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>This endpoint allows you to register a reusable service template in Gigstack that can be used across invoices or recurring charges.</p>\n","urlObject":{"protocol":"https","path":["v1","services","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"4625157f-063b-4253-97ae-bd9f17b1895b"},{"name":"/v1/services/update","id":"f32fd0d0-7ef4-484c-be55-acb10639a587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [API_KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"service_IYReNc8wdU\",\n    \"quantity\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/update","description":"<h4 id=\"update-service\">Update Service</h4>\n<p>Use the <code>/v1/services/update</code> endpoint to update an existing service. The <code>id</code> field in the request body is required.</p>\n<p><strong>Endpoint:</strong>\nPUT <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/update\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/services/update</a></p>\n<p><strong>Request Body Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID of the service to be updated</td>\n<td>String (required)</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Number of service units</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Description of the service</td>\n<td>String</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Name of the service</td>\n<td>String</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>Discount applied to the service</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes</td>\n<td>Array of applied taxes</td>\n<td>Object[]</td>\n</tr>\n<tr>\n<td>taxes[i].withholding</td>\n<td>Indicates if the tax is withheld</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].inclusive</td>\n<td>Indicates if the tax is included in the service price</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>taxes[i].rate</td>\n<td>Tax rate value (e.g., 0.16 for 16% VAT)</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>taxes[i].type</td>\n<td>Type of tax (e.g., IVA, ISR, IEPS)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>taxes[i].factor</td>\n<td>Tax factor (e.g., \"Tasa\" for VAT)</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_name</td>\n<td>Name of the unit of measure</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Price per unit of the service</td>\n<td>Number</td>\n</tr>\n<tr>\n<td>product_key</td>\n<td>SAT product/service code</td>\n<td>String</td>\n</tr>\n<tr>\n<td>unit_key</td>\n<td>SAT unit code</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>This endpoint allows you to update any registered service in Gigstack with new details or corrections.</p>\n","urlObject":{"protocol":"https","path":["v1","services","update"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"f32fd0d0-7ef4-484c-be55-acb10639a587"}],"id":"e27d6506-bb3f-447b-a0e3-376d9df1aa07","_postman_id":"e27d6506-bb3f-447b-a0e3-376d9df1aa07","description":""},{"name":"Users","item":[{"name":"/users/create","id":"6db3e0a3-0694-43b0-9cf6-6ec2a83dd9be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n        \"email\":\"example@gigtack.io\",\n        \"password\":\"123456789\",\n        \"reloadPassword\":true,\n        \"firstName\":\"FIRST NAME\",\n        \"lastName\":\"LAST NAME\",\n        \"integration\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/create","description":"<hr />\n<h3 id=\"create-a-new-user\">Create a New User</h3>\n<p>This endpoint allows you to add a new user to your billing account.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>User's email address. It will be used to log into the account.</td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>User's password. It is recommended to ask the user to change it after their first login.</td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>reloadPassword</code></td>\n<td>Sends an email to reset the account password.</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td><code>firstName</code></td>\n<td>User's first name(s).</td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>lastName</code></td>\n<td>User's last name(s).</td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>integration</code></td>\n<td><em>Schedule a meeting with the team to define this parameter.</em></td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"protocol":"https","path":["v1","users","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"6db3e0a3-0694-43b0-9cf6-6ec2a83dd9be"},{"name":"/users/list","id":"a3709d10-4a13-4dee-9b76-50ffde98ed65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/list","description":"<h3 id=\"list-users\">List Users</h3>\n<p>This endpoint allows you to retrieve a list of users associated with the current billing account. You can filter the results by email, team ID, or user UID.</p>\n<p><strong>Endpoint:</strong>\nGET <a href=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users\">https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users</a></p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>Email address to filter results.</td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>teamId</code></td>\n<td>Unique team ID to filter all users belonging to a specific team.</td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>uid</code></td>\n<td>Unique user ID.</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>⚠️ <strong>Note:</strong> To use <code>teamId</code>, the request must be made from a team under the same billing account.</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["v1","users","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"description":{"content":"<p>String</p>\n","type":"text/plain"},"key":"email","value":null},{"disabled":true,"description":{"content":"<p>All users that are part of this team</p>\n","type":"text/plain"},"key":"teamId","value":null},{"disabled":true,"description":{"content":"<p>Unique identifier</p>\n","type":"text/plain"},"key":"uid","value":null}],"variable":[]}},"response":[{"id":"3a73b5a2-bf75-4a39-a414-346671466212","name":"/users/list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/list","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","users","list"],"query":[{"key":"email","value":null,"description":"String","type":"text","disabled":true},{"key":"teamId","value":null,"description":"All users that are part of this team","type":"text","disabled":true},{"key":"uid","value":null,"description":"Unique identifier","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"405-e6vuS52yza3ylITxb4eU4wVi5gA\""},{"key":"function-execution-id","value":"nu4elidn9in7"},{"key":"x-cloud-trace-context","value":"bbaec00ffb5465fc82e712ac0b84f62d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 21:14:42 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"1029"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Usuarios recuperados correctamente\",\n    \"data\": [\n        {\n            \"email\": \"____\",\n            \"firstName\": \"TEST API\",\n            \"lastName\": \"2\",\n            \"phoneNumber\": null,\n            \"name\": \"TEST API 2\",\n            \"timestamp\": 1684185282873,\n            \"uid\": \"____\",\n            \"teams\": []\n        },\n        {\n            \"email\": \"___\",\n            \"firstName\": \"General\",\n            \"lastName\": \"User\",\n            \"phoneNumber\": null,\n            \"name\": \"General User\",\n            \"timestamp\": 1684185282873,\n            \"uid\": \"_\",\n            \"teams\": [\n                \"___\"\n            ]\n        },\n        {\n            \"email\": \"____\",\n            \"firstName\": \"User\",\n            \"lastName\": \"2\",\n            \"phoneNumber\": null,\n            \"name\": \"User 2\",\n            \"timestamp\": 1684185282873,\n            \"uid\": \"__\",\n            \"teams\": [\n                \"______\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"a3709d10-4a13-4dee-9b76-50ffde98ed65"},{"name":"/users/loginUrl","id":"74528181-798c-4c10-bd31-d31d6a17a6e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/users/loginUrl","description":"<hr />\n<h3 id=\"generate-unique-login-link\">Generate Unique Login Link</h3>\n<p>This endpoint allows you to generate a unique login link for users created via API Key. The generated URL enables the user to log in without needing to enter a password.</p>\n<p><strong>Available Parameters:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>userId</code></td>\n<td>Unique ID of the user for whom the login link will be generated.</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"protocol":"https","path":["v1","users","loginUrl"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"74528181-798c-4c10-bd31-d31d6a17a6e2"}],"id":"2f3f0b35-ec32-4e4f-a8af-fc11e06c4527","description":"<h2 id=\"users-in-gigstack\">Users in Gigstack</h2>\n<p>If you are on the <strong>Growing</strong> plan or higher, you have the ability to manage your account resources through our API. Among these resources is the capability to create new users within your billing account.</p>\n<p>These users can be added to one or more teams, allowing you to efficiently organize and manage your branches and teams.</p>\n","_postman_id":"2f3f0b35-ec32-4e4f-a8af-fc11e06c4527"},{"name":"Teams","item":[{"name":"/teams/addMember","id":"e08964d7-185b-4335-89bf-c5afc86011dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"userId\": \"USER ID\",\n  \"role\":\"viewer\",\n  \"teamId\":\"TEAM ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember","description":"<h3 id=\"add-member-to-a-team\"><strong>Add Member to a Team</strong></h3>\n<p>The <code>/v1/teams/addMember</code> endpoint allows you to add a new member to an existing team within the same billing account associated with the API Key used to make the request.</p>\n<p>To add a member to the team, the following three parameters are required:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>userId</td>\n<td>The ID of the user to be added to the team.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>role</td>\n<td>The role to assign to the user in the team. <br /> - \"viewer\": Can view team resources. <br /> - \"editor\": Can create resources but cannot add or remove members. <br /> - \"admin\": Has permission to perform any action within the team.</td>\n<td>String</td>\n</tr>\n<tr>\n<td>teamId</td>\n<td>The ID of the team to which the user will be added.</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><p>This endpoint facilitates team member management by assigning specific roles according to access and control requirements.</p>\n","urlObject":{"protocol":"https","path":["v1","teams","addMember"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"496914c6-e081-48df-8cc5-43ed46b120e7","name":"200 [OK]","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"userId\": \"USER ID\",\n  \"role\":\"viewer\",\n  \"teamId\":\"TEAM ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"3b-RwfVA6bcG2/Y0UXsnfo3EMJ2B84\""},{"key":"function-execution-id","value":"fww9uynm5sws"},{"key":"x-cloud-trace-context","value":"31dee49480cd7e2db6630f00976e6123;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 17:07:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"59"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Usuario agregado correctamente a Krispy Kreme\"\n}"},{"id":"700d687e-9caf-471a-ae50-add4425ffb8f","name":"401 [UNAUTHORIZED]","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"userId\": \"USER ID\",\n  \"role\":\"viewer\",\n  \"teamId\":\"TEAM ID\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/addMember\", error=\"invalid_token\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"3335392dd55cc16354bda8445ba9d395;o=1"},{"key":"Date","value":"Mon, 15 May 2023 17:09:00 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"105"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections\",\n    \"code\": 401\n}"}],"_postman_id":"e08964d7-185b-4335-89bf-c5afc86011dc"},{"name":"/teams/create","id":"ef8d51c3-4f39-496e-851c-d89700f2a05b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"\n{\n  \"members\": [\"\"],\n  \"alias\": \"NOMBRE COMERCIAL\",\n  \"primaryColor\": \"#483bf7\",\n  \"logoUrl\": \"URL CON LOGO\",\n  \"legalName\": \"NOMBRE LEGAL SA DE CV\",\n  \"taxId\": \"RFC\",\n  \"address\": {\n      \"zip\":\"ZIP\"\n  },\n  \"contactEmails\": [\"CONTACTO@gigstack.io\"],\n  \"supportEmail\": \"SOPORTE@gigstack.io\",\n  \"taxSystem\": \"616\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create","description":"<h3 id=\"create-a-new-team-within-the-same-billing-account\">Create a New Team Within the Same Billing Account</h3>\n<p>The <code>/v1/teams/create</code> endpoint allows you to create a new team within the same billing account associated with the API Key used for the request. Please note that this action incurs a one-time setup fee of US$5 per team and <strong>cannot be used in API TEST MODE</strong>.</p>\n<p>Below are the parameters required to create a new team:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>members</td>\n<td>A list of user IDs to be added to the team. <br /> [\"ID1\", \"ID2\"] <br /> The main billing account user will be added automatically. <br /> *Send an empty array if no users should be added initially*</td>\n</tr>\n<tr>\n<td>alias</td>\n<td>Commercial name of the team. <br /> *Required*</td>\n</tr>\n<tr>\n<td>primaryColor</td>\n<td>Primary color of the team in hexadecimal format. <br /> e.g., #FAFBFD <br /> *Required*</td>\n</tr>\n<tr>\n<td>logoUrl</td>\n<td>URL of the team's logo. <br /> *Required*</td>\n</tr>\n<tr>\n<td>legalName</td>\n<td>Legal or full name of the team. <br /> *Required*</td>\n</tr>\n<tr>\n<td>taxId</td>\n<td>Tax identifier of the team. <br /> (RFC) <br /> *Required*</td>\n</tr>\n<tr>\n<td>address</td>\n<td>An object containing additional address information. <br /> <code>{ zip: \"____\" }</code></td>\n</tr>\n<tr>\n<td>address.zip</td>\n<td>Zip code of the address. <br /> *Required*</td>\n</tr>\n<tr>\n<td>contactEmails</td>\n<td>A list of email addresses to receive notifications. <br /> [\"email1\", \"email2\"] <br /> *Required*</td>\n</tr>\n<tr>\n<td>supportEmail</td>\n<td>Support email address to be displayed to end customers. <br /> *Required*</td>\n</tr>\n<tr>\n<td>taxSystem</td>\n<td>Tax system key associated with the team. <br /> Available options listed below. <br /> 3-digit code, e.g., \"601\" <br /> *Required*</td>\n</tr>\n<tr>\n<td>skipOnboarding</td>\n<td>Boolean to skip the initial account setup screen (optional)</td>\n</tr>\n<tr>\n<td>blockedStripe</td>\n<td>Boolean to block integration with Stripe</td>\n</tr>\n<tr>\n<td>blockBank</td>\n<td>Boolean to block SPEI bank integration</td>\n</tr>\n<tr>\n<td>blockHilos</td>\n<td>Boolean to block integration with Hilos</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>[Tax System Options]</strong></p>\n<img src=\"https://content.pstmn.io/57b44b6d-52c8-43b1-a36e-f1a49d9dd04f/aW1hZ2UucG5n\" alt=\"Tax System Options\" />","urlObject":{"protocol":"https","path":["v1","teams","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"66cbabc4-260b-42b0-bad9-155ea873a155","name":"200 [Equipo creado]","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"\n{\n  \"members\": [\"1\"],\n  \"alias\": \"NOMBRE COMERCIAL\",\n  \"primaryColor\": \"#FAFBDD\",\n  \"logoUrl\": \"LOGO\",\n  \"legalName\": \"NOMBRE LEGAL SA DE CV\",\n  \"taxId\": \"RFC\",\n  \"address\": {\n      \"zip\":\"__\"\n  },\n  \"contactEmails\": [\"EJEMPLO@gigstack.io\"],\n  \"supportEmail\": \"EJEMPLO@gigstack.io\",\n  \"taxSystem\": \"616\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"4e8-L1RNY35DnoI1TuFE3O5FSM9qbLU\""},{"key":"function-execution-id","value":"gk6zsz3ve781"},{"key":"x-cloud-trace-context","value":"73b56fd391b0d98ef840322cfae7efd0;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 17:34:58 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"1256"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Se ha creado el equipo NOMBRE COMERCIAL y se ha añadido el cargo de configuración a la siguiente factura.\",\n    \"team\": {\n        \"brand\": {\n            \"alias\": \"NOMBRE COMERCIAL\",\n            \"primaryColor\": \"#FAFBFD\",\n            \"logo\": \"URL DEL LOGO\"\n        },\n        \"address\": {\n            \"zip\": \"___\"\n        },\n        \"id\": \"ID DEL TEAM\",\n        \"tax_system\": \"616\",\n        \"tax_system_m\": {\n            \"value\": \"616\",\n            \"label\": \"Sin obligaciones fiscales\"\n        },\n        \"legal_name\": \"NOMBRE SA DE CV\",\n        \"tax_id\": \"RFC DEL EQUOPO\",\n        \"rfc\": \"RFC DEL EQUIPO\",\n        \"membersIds\": [\n            \"id 1\",\n            \"id 2\"\n        ],\n        \"integrationsSetup\": [\n            \"stripeSetup\",\n            \"invoices\",\n            \"importStripeProducts\",\n            \"importStripePayments\",\n            \"bank\",\n            \"testInvoice\",\n            \"automaticInvoicing\",\n            \"setDefaults\"\n        ],\n        \"setupComplete\": false,\n        \"members\": [\n            {\n                \"id\": \"ID MIEMBRO 1\",\n                \"isSuperAdmin\": false,\n                \"rol\": \"admin\",\n                \"isAdmin\": true,\n                \"invoices\": \"editor\",\n                \"expenses\": \"editor\",\n                \"payments\": \"editor\",\n                \"services\": \"editor\",\n                \"email\": \"miembro_extra@gigstack.io\",\n                \"status\": \"active\"\n            },\n            {\n                \"id\": \"ID MIEMBRO DE BILLING ACCOUNT\",\n                \"isSuperAdmin\": true,\n                \"rol\": \"admin\",\n                \"isAdmin\": true,\n                \"invoices\": \"editor\",\n                \"expenses\": \"editor\",\n                \"payments\": \"editor\",\n                \"services\": \"editor\",\n                \"email\": \"miembro@gigstack.io\",\n                \"status\": \"active\"\n            }\n        ],\n        \"supportEmail\": \"correo_de_ejemplo@gigstack.io\",\n        \"contactEmails\": [\n            \"correo_de_ejemplo@gigstack.io\"\n        ],\n        \"billingAccount\": \"BILLING ACCOUNT ID\"\n    }\n}"}],"_postman_id":"ef8d51c3-4f39-496e-851c-d89700f2a05b"},{"name":"/teams/list","id":"910f27ac-2c19-457d-836e-fceca9627e0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API TOKEN]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/list","description":"<h3 id=\"list-teams-in-the-billing-account\">List Teams in the Billing Account</h3>\n<p>The <code>/v1/teams/list</code> endpoint allows you to retrieve all teams associated with the current billing account linked to the API Key. You can use the following parameters to filter the results:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Filter by the team's ID</td>\n</tr>\n<tr>\n<td>memberId</td>\n<td>Filter by a user's ID to retrieve all teams they belong to</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","teams","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"disabled":true,"description":{"content":"<p>If you want to retrieve teams by a single ID</p>\n","type":"text/plain"},"key":"id","value":null},{"disabled":true,"description":{"content":"<p>String to retrieve all teams where this ID is member</p>\n","type":"text/plain"},"key":"memberId","value":null}],"variable":[]}},"response":[{"id":"44e52713-0b3d-40c4-8eb4-43dec5c8dd4f","name":"/teams/list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/list","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","teams","list"],"query":[{"key":"id","value":null,"description":"If you want to retrieve teams by a single ID","type":"text","disabled":true},{"key":"memberId","value":null,"description":"String to retrieve all teams where this ID is member","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"c80-SU6PQv51mxfsN6m6RM2KVmv8u8s\""},{"key":"function-execution-id","value":"1evrqp3bzixl"},{"key":"x-cloud-trace-context","value":"352d7c225956cdce9faa88d0d5a2d207;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 May 2023 20:56:44 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3200"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Equipos recuperados correctamente\",\n    \"data\": [\n        {\n            \"id\": \"team____\",\n            \"supportEmail\": \"_____@gigstack.io\",\n            \"alias\": \"subaccount\",\n            \"brand\": {\n                \"alias\": \"Subaccount\",\n                \"logo\": null,\n                \"primaryColor\": \"#8666FF\"\n            },\n            \"address\": {\n                \"zip\": \"10250\"\n            },\n            \"membersIds\": [\n                \"____\"\n            ]\n        },\n        {\n            \"id\": \"team____\",\n            \"supportEmail\": \"____@gigstack.io\",\n            \"alias\": \"_____\",\n            \"brand\": {\n                \"alias\": \"_____\",\n                \"logo\": \"________\",\n                \"primaryColor\": \"#483bf7\"\n            },\n            \"address\": {\n                \"zip\": \"10250\"\n            },\n            \"membersIds\": [\n                \"1\",\n                \"2\"\n                \n            ]\n        }\n    ]\n}"}],"_postman_id":"910f27ac-2c19-457d-836e-fceca9627e0c"}],"id":"a8ca0ed3-8fe5-46d6-9252-7c350827b045","description":"<hr />\n<h3 id=\"teams-in-gigstack-an-overview\">Teams in gigstack: An Overview</h3>\n<p>In gigstack, teams represent sub-accounts that coexist within the same billing account. By default, each billing account has at least one associated team.</p>\n<p><strong>Important:</strong> Creating a new team incurs a one-time setup cost of <strong>US$5</strong>.</p>\n<hr />\n","_postman_id":"a8ca0ed3-8fe5-46d6-9252-7c350827b045"},{"name":"Self-Serve invoice portals","item":[{"name":"/createReceipt [deprecated]","id":"73f82282-58ec-41ed-a4bc-eb01d6200f54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt","description":"<h3 id=\"create-sales-receipt-in-gigstack\">Create Sales Receipt in Gigstack</h3>\n<p>The <strong><code>/v1/createReceipt</code></strong> endpoint allows you to generate Sales Receipts in Gigstack, providing an efficient and personalized way to handle billing.</p>\n<h4 id=\"available-parameters\">Available Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>List of concepts included in the receipt.</td>\n<td>Array of objects <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes</code></td>\n<td>Taxes applied to the item.</td>\n<td>Array of objects <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.rate</code></td>\n<td>Tax rate applied to the item.</td>\n<td>Float <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.withholding</code></td>\n<td>Whether the tax is withheld (<code>true</code>) or transferred (<code>false</code>).</td>\n<td>Boolean <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.factor</code></td>\n<td>Tax factor (<code>Tasa</code>, <code>Cuota</code>, <code>Exento</code>).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.type</code></td>\n<td>Tax type (<code>IVA</code>, <code>ISR</code>, <code>IEPS</code>).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].total</code></td>\n<td>Unit price of the item (tax-included or excluded).</td>\n<td>Numeric <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].tax_included</code></td>\n<td>Whether taxes are included in the price.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].name</code></td>\n<td>Name of the product or service.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].quantity</code></td>\n<td>Quantity of the item.</td>\n<td>Integer <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].product_key</code></td>\n<td>SAT product/service code.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].description</code></td>\n<td>Description of the item.</td>\n<td>String <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>items[n].discount</code></td>\n<td>Discount amount applied to the item.</td>\n<td>Numeric <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>Currency code (ISO 4217).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>exchange_rate</code></td>\n<td>Exchange rate used for the currency.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>periodicity</code></td>\n<td>Period covered by the global invoice (<code>day</code>, <code>week</code>, <code>two_weeks</code>, <code>month</code>, <code>two_months</code>).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>payment_form</code></td>\n<td>Payment method (SAT catalog code, 2 digits).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td>Custom key-value metadata (not used by Gigstack).</td>\n<td>Object <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>metadata.externalID</code></td>\n<td>Internal reference or custom field.</td>\n<td>Any <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>Email to send the receipt to (required if <code>clientId</code> is not provided).</td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>disallowInvoice</code></td>\n<td>If <code>true</code>, the receipt cannot be invoiced by the end customer.</td>\n<td>Boolean <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>clientId</code></td>\n<td>ID of the client in Gigstack (required if <code>email</code> is not provided).</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p>Receipts created with this endpoint can be self-invoiced by customers through a branded portal. If not invoiced before the due date, a <strong>public receipt</strong> will be automatically generated combining all open receipts due on the same day.</p>\n<p>Use this feature to streamline your billing process and enhance customer experience.</p>\n","urlObject":{"protocol":"https","path":["v1","createReceipt"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"27eef94d-dd9e-48cd-b0dd-78c26d0f68db","name":"200 example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer API_KEY","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"153-AX+rFvIb6n//WkFws/1SbO9fqCo\""},{"key":"function-execution-id","value":"4t6uvjaz8o9m"},{"key":"vary","value":"Origin"},{"key":"x-cloud-trace-context","value":"73475b37e0dce9952fed89ab5797d6a6;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""},{"key":"Date","value":"Thu, 19 May 2022 20:26:29 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"339"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ja6LNEe\",\n    \"qr\": \"\",\n    \"url\": \"https://beta.gigstack.pro/autofactura?id=ja6LNEe\",\n    \"timestamp\": 16522110012512022,\n    \"items\": [],\n    \"total\": 100,\n    \"currency\": \"MXN\",\n    \"exchange_rate\": 1,\n    \"created\": 16522110012542022,\n    \"validUntil\": 16524702012542022,\n    \"status\": \"pending\",\n    \"payment_form\": \"01\",\n    \"owner\": \"-\",\n    \"metadata\": {\n        \"externalID\": null\n    },\n    \"livemode\": false\n}"},{"id":"4c036700-bc48-4611-b256-b5593a41ec6b","name":"401 example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}"},"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt?Content-Type=application/json","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","createReceipt"],"query":[{"key":"Content-Type","value":"application/json"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"www-authenticate","value":"Bearer realm=\"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/createReceipt\""},{"key":"content-type","value":"application/json"},{"key":"X-Cloud-Trace-Context","value":"ac25c8e699425193d457ed837fe083ea;o=1"},{"key":"Date","value":"Thu, 19 May 2022 20:32:54 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"40"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"Jwt is missing\"\n}"}],"_postman_id":"73f82282-58ec-41ed-a4bc-eb01d6200f54"},{"name":"/v1/receipts/create","id":"37eccd4b-05eb-40a3-862a-2bb32711fbff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/create","description":"<h3 id=\"create-sales-receipt-in-gigstack\">Create Sales Receipt in Gigstack</h3>\n<p>The <strong><code>/v1/createReceipt</code></strong> endpoint allows you to generate Sales Receipts in Gigstack, providing an efficient and personalized way to handle billing.</p>\n<h4 id=\"available-parameters\">Available Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>List of items to include in the receipt.</td>\n<td>Array of objects <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes</code></td>\n<td>List of taxes applied to the item.</td>\n<td>Array of objects <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.rate</code></td>\n<td>Tax rate applied to the product.</td>\n<td>Float <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.withholding</code></td>\n<td>Whether the tax is withheld (<code>true</code>) or transferred (<code>false</code>).</td>\n<td>Boolean <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.factor</code></td>\n<td>Tax factor (<code>Tasa</code>, <code>Cuota</code>, <code>Exento</code>).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].taxes.type</code></td>\n<td>Tax type (<code>IVA</code>, <code>ISR</code>, <code>IEPS</code>).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].total</code></td>\n<td>Unit price of the product or service (including or excluding tax).</td>\n<td>Numeric <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].tax_included</code></td>\n<td>Indicates whether taxes are included in the price.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].name</code></td>\n<td>Name of the product or service.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].quantity</code></td>\n<td>Quantity of the item.</td>\n<td>Integer <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].product_key</code></td>\n<td>Product/Service key from SAT catalog.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>items[n].description</code></td>\n<td>Description of the item.</td>\n<td>String <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>items[n].discount</code></td>\n<td>Discount amount applied to the item.</td>\n<td>Numeric <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>Currency code (ISO 4217 format).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>exchange_rate</code></td>\n<td>Exchange rate based on the currency used.</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>periodicity</code></td>\n<td>Period covered by the global invoice (<code>day</code>, <code>week</code>, <code>two_weeks</code>, <code>month</code>, <code>two_months</code>).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>payment_form</code></td>\n<td>Payment method code (SAT catalog, 2 characters).</td>\n<td>String <em>(required)</em></td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td>Object with key-value pairs for internal references. <em>(Not used by Gigstack)</em></td>\n<td>Object <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>metadata.externalID</code></td>\n<td>Internal custom field.</td>\n<td>Any <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>Customer email to send the receipt. <em>(Required if <code>clientId</code> is not provided)</em></td>\n<td>String</td>\n</tr>\n<tr>\n<td><code>disallowInvoice</code></td>\n<td>If <code>true</code>, the receipt cannot be invoiced by the customer.</td>\n<td>Boolean <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>clientId</code></td>\n<td>ID of the customer in Gigstack. <em>(Required if <code>email</code> is not provided)</em></td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p>Sales Receipts can be self-invoiced by customers through a branded portal. If not invoiced within the configured period, a <strong>public receipt</strong> will automatically be generated with all open receipts that are due on the same date.</p>\n<p>Take advantage of this feature for seamless and efficient billing!</p>\n","urlObject":{"protocol":"https","path":["v1","receipts","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"7c0c0832-ca20-4a9a-8216-1238a256acd7","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [{\n\t\t\"taxes\": [{\n\t\t\t\"rate\": 0.160000,\n\t\t\t\"withholding\": false,\n\t\t\t\"factor\": \"Tasa\",\n\t\t\t\"type\": \"IVA\"\n\t\t}],\n\t\t\"total\": 100,\n\t\t\"name\": \"Desarrollo de software\",\n\t\t\"quantity\": 1,\n\t\t\"product_key\": \"43232408\",\n\t\t\"description\": \"\",\n\t\t\"discount\": 0\n\t}],\n\t\"currency\": \"MXN\",\n\t\"exchange_rate\": 1,\n\t\"periodicity\": \"day\",\n\t\"payment_form\": \"01\",\n\t\"metadata\": {\n\t\t\"externalID\": \"\"\n\t},\n\t\"disallowInvoice\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"14d6-FwKm9mam5Qwbqe5WJdyJWT3VcO8\""},{"key":"function-execution-id","value":"8qdb031edvve"},{"key":"x-cloud-trace-context","value":"2078584741783925a4680a3d74beafe3;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 20:35:18 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"5334"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Recibo generado correctamente\",\n    \"data\": {\n        \"items\": [\n            {\n                \"taxes\": [\n                    {\n                        \"rate\": 0.16,\n                        \"withholding\": false,\n                        \"factor\": \"Tasa\",\n                        \"type\": \"IVA\"\n                    }\n                ],\n                \"total\": 100,\n                \"name\": \"Desarrollo de software\",\n                \"quantity\": 1,\n                \"product_key\": \"43232408\",\n                \"description\": \"\",\n                \"discount\": 0,\n                \"unit_key\": \"E48\",\n                \"unit_name\": \"Unidad de Servicio\"\n            }\n        ],\n        \"currency\": \"MXN\",\n        \"exchange_rate\": 1,\n        \"periodicity\": \"day\",\n        \"payment_form\": \"01\",\n        \"metadata\": {\n            \"externalID\": \"\"\n        },\n        \"disallowInvoice\": false,\n        \"test\": true,\n        \"livemode\": false,\n        \"client\": {},\n        \"team\": \"\",\n        \"billingAccount\": \"\",\n        \"id\": \"receipt_Vc3Rs3S6Xg\",\n        \"clientID\": null,\n        \"clientId\": null,\n        \"qr\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAAAklEQVR4AewaftIAAAqVSURBVO3BQY4kOxJDwedCHtuXvDentr4RIESkqn4Pzco/iIgrFhFxzSIirllExDWLiLhmERHXLCLimkVEXLOIiGsWEXHNIiKuWUTENYuIuGYREdcsIuKaRURcs4iIaxYRcc0iIq5ZRMQ1H97WxVUyR7p4RGari0HmSBeDzNDFlsyRLrZkhi4ekdnqYpAZurhK5k2LiLhmERHXLCLimg/fJvOqLo50sSUzdDHIDF0MMke6GGQGmS2ZV8kckdnqYpDZ6mKQOSLzqi6+aRER1ywi4ppFRFzz4bYujsgc6WJLZktm6OKIzCNdDDJDF1syQxeDzCNdbMkMXQwyX9XFEZmbFhFxzSIirllExDUf4ozMVhePyByRuUpm6OJVXQwy/5JFRFyziIhrFhFxzYd/jcxWF4PMV8kMXQxdPNLFlsyruhhktmSGLv6fLSLimkVEXLOIiGs+3Cbzp3SxJTN0sSUzdDHIbHUxyBzpYuhikNnqYktm6GJLZpD5Kpm/bBER1ywi4ppFRFzz4du6uKqLQWZLZujiiMzQxSAzdDHIHOlikNmSGboYZLZkhi4GmaGLrS4GmaGLQWari/+SRURcs4iIaxYRcc2Ht8n8KpmhiyMyQxeDzNDFILMl84jMkS4GmaGLr+riiMyWzH/ZIiKuWUTENYuIuObDb+tiS2boYktmS2ari60utrp4VRePyAxdDDJbXRyR+VO62JK5aRER1ywi4ppFRFzz4a+RGboYZIYutmSGLgaZV8kc6WKQ2eriVV0MMoPM0MXQxSCz1cVXyQwyQxe/aRER1ywi4ppFRFzz4bYuBpkjXRzpYpA5InOki0Fm6OKrZI7IHJEZutjqYktm6OKrZIYutmTetIiIaxYRcc0iIq758LYuBplBZquLQWari6GLR2QekRm6ONLFq7oYZLa6GGSGLgaZoYtBZujiiMyrutiS+aZFRFyziIhrFhFxzYdv6+KIzFYXg8zQxSNdDDJDF4/IDF0MMkMXg8wRmaGLQWari0HmEZmhi0Fm6GJLZuhikPlLFhFxzSIirllExDUfvk3mkS4Gma+S2ZIZutiS2ZIZujjSxZbMVhdHutiSGboYZLa6GGSGLh6RGbq4aRER1ywi4ppFRFzz4du6GGS2utjqYpB5pItBZuhikBlkhi6GLo7IbHWxJbMls9XFILPVxa/q4kgXg8xNi4i4ZhER1ywi4pryD76piy2ZrS4GmaGLLZmtLrZkhi6OyGx18SqZrS4GmSNdbMlsdTHIDF0MMkMXg8xWF0dkvmkREdcsIuKaRURc8+HbZLa6GGQGmaGLLZmhi0FmS2boYpAZuhhkhi4GmSMyj3QxyHxVF4PMVheDzNDFIHNEZquLmxYRcc0iIq5ZRMQ1H76tiy2ZIzKPdDHIHOliq4tBZkvmVV0c6eIRma0utmSGLh7pYpAZuhhkhi4GmTctIuKaRURcs4iIaz68rYtB5kgXR2SGLrZkHpE50sUgM3QxyAxdPCIzdDHIDF0MMkMXQxdbMo/IvErmNy0i4ppFRFyziIhryj/4pi4GmaGLQeZIF4PMVhdbMltdDDKPdLElM3SxJfOqLgaZR7oYZIYuBpmtLl4l802LiLhmERHXLCLimvIP3tTFnyLzSBeDzFYXWzJDF18lM3QxyFzVxSAzdPEqmSNdDDJvWkTENYuIuGYREdd8eJvMkS62ZI50sdXFq7o40sURmSNdHOniiMzQxSNdbMkc6WKri0FmkPmmRURcs4iIaxYRcc2H27oYZIYutroYZLa62JI50sUgM3QxyGx1caSLQeaIzFYXW10ckRm6eKSLQeaRLrZk3rSIiGsWEXHNIiKu+fBtXQwyQxdHZB6RGbrYkhlkhi4GmaGLQeYRmSNdbMlsyQxdbMkMXbxK5r9sERHXLCLimkVEXFP+wTd1sSUzdPEqmUe6eETmSBevkhm6GGSGLl4ls9XFV8lsdTHIfNMiIq5ZRMQ1i4i45sN/jczQxSAzdLElc0Rm6GKQGbrYknlEZuhiS2boYpAZutiSGbp4lcxWF4PM0MWWzE2LiLhmERHXLCLimvIP3tTFIDN0Mcgc6WKQ2epikBm6eERm6OIRma0uBpmtLo7IDF0ckRm6OCLzVV1syXzTIiKuWUTENYuIuObD22SGLgaZI10MMkMXWzJDF4PM0MUgM3TxKpmhi0FmkBm6GGSOyLyqiy2ZV3WxJfOXLCLimkVEXLOIiGs+vK2LI10c6WJLZktm6GKQOdLFEZktmaGLQWaQGboYZIYutrp4lczQxatkhi62ZLa6GGTetIiIaxYRcc0iIq758DaZIzKv6uKIzNDFILMlM3QxyAxdbMkMMkMXg8xXyTzSxZbMVheDzNDFVhdbMjctIuKaRURcs4iIaz68rYsjMltdPCKz1cUgsyUzdHFEZquLLZmhi0Fm6OKRLgaZrS62ZIYutmSGLh6R+U2LiLhmERHXLCLimvIP3tTFIDN0cUTmVV0ckRm62JI50sUgM3TxiMxWF4PMV3WxJTN0McgMXQwyQxdbMjctIuKaRURcs4iIaz7cJjN0MchsdfGIzFYXQxePdDHIDDJDF4PMVhdHuvhVMq+SOSKz1cUg86ZFRFyziIhrFhFxzYfbujjSxSCz1cVWF0dkhi4GmaGLQWbo4pEujnQxyAxdPNLFlszQxVd1sdXFIDPIfNMiIq5ZRMQ1i4i45sPbZLZktroYZIYuHpEZutjqYpA50sUg8yqZoYutLra62JI50sUjMkMXg8yruhhk3rSIiGsWEXHNIiKu+fBtXbxKZquLIzJDF4PMIzJbXWzJDDKPyAxdDDJbXbxKZquLR2SGLoYublpExDWLiLhmERHXfHhbF4PMVhdHuvhVXWzJbHVxpItHZIYuBpmtLrZkhi6OdPFIF0dkftMiIq5ZRMQ1i4i4pvyDf0kXg8wjXQwyW10MMke6GGSOdLEls9XFIDN0sSUzdDHIbHUxyBzpYpDZ6mKQ+aZFRFyziIhrFhFxzYe3dXGVzJEuHulikBlkhi4GmaGLI10MMq+SGbrYkhm6GGS2ujjSxSCz1cVfsoiIaxYRcc0iIq758G0yr+piS2boYpAZuhhkhi4GmaGLLZmhi0Fm6GJL5ojMq2S2ZLa6eETmq7oYZN60iIhrFhFxzSIirvlwWxdHZI50McgMXTzSxSCz1cUgc6SLV3UxyAxdDDJbXRyRGbrY6uJVMltdfNMiIq5ZRMQ1i4i45sO/rotBZuhi6GKQ2epikDnSxSAzdPFIF4PMkS62ZIYutrrYkjnSxSCz1cVvWkTENYuIuGYREdd8+NfIDF1syQxdDF0MMoPM0MUgM3Sx1cWWzFYXg8zQxSBzRGboYkvmSBeDzJbM0MUg85csIuKaRURcs4iIaz7cJnOVzFYXg8wjMkdkHuniiMzQxSCz1cWRLrZktro4IjN08ZcsIuKaRURcs4iIaz58Wxe/qouv6mJLZpAZutiSGbp4pItBZuhikNmSGbrYkhm62JIZuhhkjsj8pkVEXLOIiGsWEXFN+QcRccUiIq5ZRMQ1i4i4ZhER1ywi4ppFRFyziIhrFhFxzSIirllExDWLiLhmERHXLCLimkVEXLOIiGsWEXHNIiKuWUTENYuIuOZ/ji67rI/zdaYAAAAASUVORK5CYII=\",\n        \"url\": \"https://beta.gigstack.pro/autofactura?id=receipt_Vc3Rs3S6Xg\",\n        \"timestamp\": 1702154114453,\n        \"total\": 116,\n        \"itemsAmounts\": {\n            \"total\": 116,\n            \"taxes\": 16,\n            \"retentions\": 0,\n            \"feeAdded\": 0,\n            \"canSend\": true,\n            \"feeAddedString\": \"$0.00\",\n            \"totalWithoutFeeString\": \"$116.00\",\n            \"totalWithoutFee\": 116,\n            \"totalString\": \"$116.00\",\n            \"subtotalString\": \"$100.00\",\n            \"taxesString\": \"$16.00\",\n            \"retentionsString\": \"$0.00\",\n            \"masterDiscount\": 0,\n            \"taxesIncluded\": 0,\n            \"masterDiscountString\": \"$0.00\"\n        },\n        \"created\": 1702154114459,\n        \"validUntil\": 1702187999999,\n        \"status\": \"pending\",\n        \"owner\": \"\",\n        \"token\": \"\",\n        \"pdf\": \"https://storage.googleapis.com/gigstackpro.appspot.com/teams%2Fteam_RI2hpU84OLYHqmN%2Ffiles%2Freceipt_Vc3Rs3S6Xg.pdf\",\n        \"path\": \"\",\n        \"PDFGeneratedAt\": 1702154118105,\n        \"PDFExpiresAt\": 1723235718105\n    }\n}"}],"_postman_id":"37eccd4b-05eb-40a3-862a-2bb32711fbff"},{"name":"/v1/receipts/list","id":"7111d972-e8fa-49e7-8265-0d0ad46e173e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/list?limit=1","description":"<h3 id=\"list-sales-receipts-in-gigstack\">List Sales Receipts in Gigstack</h3>\n<p>The <strong><code>/v1/receipts/list</code></strong> endpoint allows you to retrieve detailed information about the Sales Receipts generated in Gigstack.</p>\n<h4 id=\"available-parameters\">Available Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>startAfter</code></td>\n<td>ID of the last retrieved receipt to begin pagination from the next one.</td>\n<td>String <em>(optional)</em></td>\n</tr>\n<tr>\n<td><code>limit</code></td>\n<td>Number of sales receipts to retrieve (between 10 and 100).</td>\n<td>Number <em>(required)</em></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p>This endpoint is especially useful for efficiently managing your Sales Receipts in Gigstack. Use <code>startAfter</code> for paginating through results and <code>limit</code> to define how many receipts to retrieve per request.</p>\n<p>Take advantage of this feature to streamline and manage your Sales Receipts with precision!</p>\n","urlObject":{"protocol":"https","path":["v1","receipts","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"key":"limit","value":"1"},{"disabled":true,"key":"startAfter","value":"receipt"}],"variable":[]}},"response":[{"id":"09fd22b4-38a1-4c51-b52a-757dd1f44005","name":"200 - Listed","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/receipts/list?limit=1&startAfter=receipt_Vc3Rs3S6Xg","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","receipts","list"],"query":[{"key":"limit","value":"1"},{"key":"startAfter","value":"receipt_Vc3Rs3S6Xg"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"Origin"},{"key":"x-powered-by","value":"Express"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"14f9-/9Pi246VnO7/JPMlk7JaHwY1QwQ\""},{"key":"function-execution-id","value":"rlj3lg8zjg1p"},{"key":"x-cloud-trace-context","value":"bfd1268015545c6145a195d7792508d5"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sat, 09 Dec 2023 22:03:22 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"5369"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Recibos encontrados\",\n    \"data\": [\n     \n    ],\n    \"startAfter\": \"receipt_\"\n}"}],"_postman_id":"7111d972-e8fa-49e7-8265-0d0ad46e173e"}],"id":"c534e228-f8a4-4f46-909a-93280de24aad","description":"<h2 id=\"sales-receipts-in-gigstack\">Sales Receipts in Gigstack</h2>\n<p>Welcome to the <strong>Sales Receipts</strong> section in Gigstack. Here you will find detailed documentation and guidance on the available endpoints for creating Sales Receipts.</p>\n<p>These receipts not only generate a personalized PDF with your company's logo but also support <strong>self-invoicing</strong>, provided that your certificates and tax information are correctly configured.</p>\n<blockquote>\n<p>To enable the self-invoicing feature, go to the settings page at<br /><a href=\"https://app.gigstack.pro/settings?subtab=integrations\">https://app.gigstack.pro/settings?subtab=integrations</a><br />and select: <code>Accounting → Issue invoices</code>. </p>\n</blockquote>\n<p>Below, you’ll find a breakdown of the available endpoints to help you create and manage your Sales Receipts within Gigstack.</p>\n<p>Let’s dive in!</p>\n","_postman_id":"c534e228-f8a4-4f46-909a-93280de24aad"},{"name":"Customer Portal","item":[{"name":"/v1/customerportal/auth/generate","id":"d155dc0e-f446-4d5f-80c0-6ff8d78bcf43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"customer@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/customerportal/auth/generate","description":"<h3 id=\"generate-authentication-for-the-customer-portal\">Generate Authentication for the Customer Portal</h3>\n<p>This endpoint allows you to generate an authentication session for the Gigstack Customer Portal.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>email</code> (string, required): The email address of the user for authentication.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><code>message</code> (string): A message indicating the status of the session generation.</li>\n<li><code>sessionId</code> (string): The unique identifier of the generated session.</li>\n<li><code>code</code> (string): A code related to the session generation.</li>\n<li><code>url</code> (string): The URL to access the customer portal using the generated session.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<p>```json\n{\n    \"message\": \"Session successfully generated\",\n    \"sessionId\": \"_<strong><strong><strong>\",\n    \"code\": \"</strong></strong></strong>\",\n    \"url\": \"<a href=\"https://portal.gigstack.pro/PORTALID?sessionId=otpcustomerportal_ytF7x&amp;c=272\">https://portal.gigstack.pro/PORTALID?sessionId=otpcustomerportal_ytF7x&amp;c=272</a>\"\n}\nThis endpoint makes it easy to create customer portal sessions, providing the required information to access the portal securely with a generated session.</p>\n","urlObject":{"protocol":"https","path":["v1","customerportal","auth","generate"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"ac9d3242-3acb-4da9-8eef-a10bb3f7b2ec","name":"200 - Id generado","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"customer@correo.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/customerportal/auth/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"cd-W5KhY/n9Lb8c1Mq1nDSD7DeK1Ps\""},{"key":"function-execution-id","value":"k0id2wtpcew3"},{"key":"x-cloud-trace-context","value":"8a75bdcb8b403c2eca2bdbe9d8d67a3f;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Wed, 13 Dec 2023 05:46:37 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"205"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Sesión generada de forma correcta\",\n    \"sessionId\": \"_______\",\n    \"code\": \"______\",\n    \"url\": \"https://portal.gigstack.pro/PORTALID?sessionId=otpcustomerportal_ytF7x&c=272\"\n}"},{"id":"a22e5f57-6690-4aa6-9482-46fa061ff4f3","name":"400 - Falta correo","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/customerportal/auth/generate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"35-TNfWBIpjENYPAP5XfZ98fCNQzLo\""},{"key":"function-execution-id","value":"k0idvsauj8z9"},{"key":"x-cloud-trace-context","value":"7e367d2bf2e2008488e8dca599db357f;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Wed, 13 Dec 2023 05:45:06 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"53"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"message\": \"El correo es requerido\"\n}"}],"_postman_id":"d155dc0e-f446-4d5f-80c0-6ff8d78bcf43"}],"id":"97ff1767-9f2f-449a-96c9-1b24da8bc87b","description":"<h3 id=\"customer-portal-in-gigstack\">Customer Portal in Gigstack</h3>\n<p>The <strong>Customer Portal</strong> is a feature designed to enhance communication with your end customers. With this tool, you can now generate <strong>unique access codes via API</strong>, allowing you to offer a <strong>highly personalized</strong> experience for your clients.</p>\n<p>This functionality is ideal when you want to provide your users with a portal where they can view information, download invoices, issue CFDIs, and more — all within your Gigstack account.</p>\n<hr />\n<p>Below, you’ll find the available endpoints to implement this feature efficiently.</p>\n","_postman_id":"97ff1767-9f2f-449a-96c9-1b24da8bc87b"},{"name":"Webhooks","item":[{"name":"Objecto Payment","item":[],"id":"90ca2f8f-318e-45d0-852e-21269ce76b96","description":"<p>El objeto Payment tiene las siguientes propiedades:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que el pago está en modo producción</td>\n</tr>\n<tr>\n<td>total</td>\n<td>number</td>\n<td>Total</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Moneda</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Estado</td>\n</tr>\n<tr>\n<td>items</td>\n<td>InternalItem[]</td>\n<td>Arreglo de elementos internos</td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>ID</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Equipo</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Client</td>\n<td>Cliente</td>\n</tr>\n<tr>\n<td>receipts?</td>\n<td>string[]</td>\n<td>Arreglo de recibos (opcional)</td>\n</tr>\n<tr>\n<td>invoices?</td>\n<td>string[]</td>\n<td>Arreglo de facturas (opcional)</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>number</td>\n<td>Marca de tiempo</td>\n</tr>\n<tr>\n<td>shortURL?</td>\n<td>string</td>\n<td>URL corta (opcional)</td>\n</tr>\n<tr>\n<td>paidIn?</td>\n<td>string</td>\n<td>Pagado en (opcional)</td>\n</tr>\n<tr>\n<td>discount?</td>\n<td>number</td>\n<td>null</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"90ca2f8f-318e-45d0-852e-21269ce76b96"},{"name":"Objeto Invoice","item":[],"id":"10d8a66d-d1f7-4a83-9c43-dfbb25a844b9","description":"<p>El objeto Invoice tiene las siguientes propiedades</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id?</td>\n<td>string</td>\n<td>ID opcional del objeto</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td>Objeto que representa al cliente</td>\n</tr>\n<tr>\n<td>items</td>\n<td>InvoiceItem[]</td>\n<td>Array de items de la factura</td>\n</tr>\n<tr>\n<td>payment_form</td>\n<td>PaymentForm</td>\n<td>Forma de pago de la factura</td>\n</tr>\n<tr>\n<td>type</td>\n<td>InvoiceType</td>\n<td>Tipo de factura</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td>PaymentMethod</td>\n<td>Método de pago de la factura</td>\n</tr>\n<tr>\n<td>use</td>\n<td>InvoiceUse</td>\n<td>Uso de la factura</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Moneda de la factura</td>\n</tr>\n<tr>\n<td>exchange</td>\n<td>number</td>\n<td>Tasa de cambio</td>\n</tr>\n<tr>\n<td>conditions?</td>\n<td>string</td>\n<td>Condiciones de la factura (opcional)</td>\n</tr>\n<tr>\n<td>related_documents?</td>\n<td>object[]</td>\n<td>Documentos relacionados (opcional)</td>\n</tr>\n<tr>\n<td>global?</td>\n<td>Global</td>\n<td>null</td>\n</tr>\n<tr>\n<td>export?</td>\n<td>Export</td>\n<td>Objeto de exportación (opcional)</td>\n</tr>\n<tr>\n<td>complements?</td>\n<td>object[]</td>\n<td>Complementos de la factura (opcional)</td>\n</tr>\n<tr>\n<td>date</td>\n<td>string</td>\n<td>Fecha de la factura</td>\n</tr>\n<tr>\n<td>address?</td>\n<td>Address</td>\n<td>Dirección (opcional)</td>\n</tr>\n<tr>\n<td>external_id?</td>\n<td>string</td>\n<td>ID externo (opcional)</td>\n</tr>\n<tr>\n<td>folio_number</td>\n<td>number</td>\n<td>Número de folio de la factura</td>\n</tr>\n<tr>\n<td>series</td>\n<td>string</td>\n<td>Serie de la factura</td>\n</tr>\n<tr>\n<td>pdf_custom_section?</td>\n<td>string</td>\n<td>Sección personalizada en PDF (opcional)</td>\n</tr>\n<tr>\n<td>addenda?</td>\n<td>string</td>\n<td>Addenda de la factura (opcional)</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Equipo responsable de la factura</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Estado de la factura</td>\n</tr>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que la factura está en modo producción</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"10d8a66d-d1f7-4a83-9c43-dfbb25a844b9"},{"name":"Objeto Receipt","item":[],"id":"55979169-6841-4aee-9cd4-4bd0228fdfae","description":"<p>El objeto Receipt tiene los siguientes valores:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>ID</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>number</td>\n<td>Fecha de creación del recibo</td>\n</tr>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que el recibo está en modo producción.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Estado</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Id de la marca</td>\n</tr>\n<tr>\n<td>client</td>\n<td>Client</td>\n<td>Información del cliente</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Moneda del recibo</td>\n</tr>\n<tr>\n<td>exchange</td>\n<td>number</td>\n<td>Tasa de cambio</td>\n</tr>\n<tr>\n<td>invoices?</td>\n<td>string[]</td>\n<td>Array de facturas (opcional)</td>\n</tr>\n<tr>\n<td>payments?</td>\n<td>string[]</td>\n<td>Array de pagos (opcional)</td>\n</tr>\n<tr>\n<td>items</td>\n<td>PaymentItem[]</td>\n<td>Arreglo de elementos de pago</td>\n</tr>\n<tr>\n<td>total</td>\n<td>number</td>\n<td>Total de la compra</td>\n</tr>\n<tr>\n<td>discount?</td>\n<td>number</td>\n<td>Descuento (opcional)</td>\n</tr>\n<tr>\n<td>validUntil</td>\n<td>number</td>\n<td>Fecha límite para que el cliente realice la factura</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"55979169-6841-4aee-9cd4-4bd0228fdfae"},{"name":"Objeto Cliente","item":[],"id":"5c20b604-fd75-480d-a551-e5659907340f","description":"<p>El objeto Cliente tiene los siguientes valores:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>RFCValidated</td>\n<td>boolean</td>\n<td>Indica si el RFC ha sido validado</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Address</td>\n<td>Dirección del cliente</td>\n</tr>\n<tr>\n<td>efos</td>\n<td>string</td>\n<td>object</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Correo electrónico del cliente</td>\n</tr>\n<tr>\n<td>from</td>\n<td>string</td>\n<td>Procedencia del cliente</td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>ID del cliente</td>\n</tr>\n<tr>\n<td>legalName</td>\n<td>string</td>\n<td>Nombre legal del cliente</td>\n</tr>\n<tr>\n<td>legal_name</td>\n<td>string</td>\n<td>Nombre legal del cliente</td>\n</tr>\n<tr>\n<td>livemode</td>\n<td>boolean</td>\n<td>El valor true indica que el cliente fue creado en modo producción</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>object</td>\n<td>Metadatos asociados al cliente</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Nombre del cliente</td>\n</tr>\n<tr>\n<td>note</td>\n<td>string</td>\n<td>Nota asociada al cliente</td>\n</tr>\n<tr>\n<td>owner</td>\n<td>string</td>\n<td>Propietario del cliente</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>Número de teléfono del cliente</td>\n</tr>\n<tr>\n<td>rfc</td>\n<td>string</td>\n<td>RFC del cliente</td>\n</tr>\n<tr>\n<td>tax_id</td>\n<td>string</td>\n<td>ID fiscal del cliente</td>\n</tr>\n<tr>\n<td>tax_system</td>\n<td>string</td>\n<td>Sistema de impuestos del cliente</td>\n</tr>\n<tr>\n<td>team</td>\n<td>string</td>\n<td>Equipo asociado al cliente</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>number</td>\n<td>Fecha de creación del cliente</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"5c20b604-fd75-480d-a551-e5659907340f"}],"id":"1a0ce9bc-86f0-4705-a2d7-b8e24d8c453d","description":"<h1 id=\"webhooks-in-gigstack\">Webhooks in Gigstack</h1>\n<p>Events are triggered when an action occurs on an element in Gigstack.<br />To receive these events, you can add a webhook URL from your settings page:</p>\n<p>🔗 <a href=\"https://app.gigstack.pro/settings?subtab=api\">https://app.gigstack.pro/settings?subtab=api</a></p>\n<p>From there, you can subscribe to the events you'd like to receive.</p>\n<hr />\n<h2 id=\"📌-available-events\">📌 Available Events</h2>\n<hr />\n<h3 id=\"payments\">Payments</h3>\n<ul>\n<li><p><code>payment.created</code></p>\n</li>\n<li><p><code>payment.updated</code></p>\n</li>\n<li><p><code>payment.succeeded</code></p>\n</li>\n<li><p><code>payment.canceled</code></p>\n</li>\n<li><p><code>payment.deleted</code></p>\n</li>\n<li><p><code>payment.upcoming_due_date</code></p>\n</li>\n</ul>\n<p><strong>Example Payload:</strong></p>\n<p>```json<br />{<br />\"data\": PaymentObject,<br />\"team\": \"SXztwsWPvX7Fcv\",<br />\"webhook\": \"wh_6ZCY9e4\",<br />\"event\": \"payment.succeeded\",<br />\"livemode\": true<br />}</p>\n","_postman_id":"1a0ce9bc-86f0-4705-a2d7-b8e24d8c453d"},{"name":"Catalogs","item":[],"id":"ad993b6b-becc-445f-9662-382f7c22e388","description":"<p>Catálogos más imporantes del SAT, puedes consultar estos y otros catálogos en el sitio oficial del SAT: <a href=\"http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm\">http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm</a></p>\n<h3 id=\"formas-de-pago\">Formas de pago</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>01</td>\n<td>Efectivo</td>\n</tr>\n<tr>\n<td>02</td>\n<td>Cheque nominativo</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Transferencia electrónica de fondos</td>\n</tr>\n<tr>\n<td>04</td>\n<td>Tarjeta de crédito</td>\n</tr>\n<tr>\n<td>05</td>\n<td>Monedero electrónico</td>\n</tr>\n<tr>\n<td>06</td>\n<td>Dinero electrónico</td>\n</tr>\n<tr>\n<td>08</td>\n<td>Vales de despensa</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Dación en pago</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Pago por subrogación</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Pago por consignación</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Condonación</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Compensación</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Novación</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Confusión</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Remisión de deuda</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Prescripción o caducidad</td>\n</tr>\n<tr>\n<td>27</td>\n<td>A satisfacción del acreedor</td>\n</tr>\n<tr>\n<td>28</td>\n<td>Tarjeta de débito</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Tarjeta de servicios</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Aplicación de anticipos</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Intermediario pagos</td>\n</tr>\n<tr>\n<td>99</td>\n<td>Por definir</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"método-de-pago\">Método de pago</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PUE</td>\n<td>Pago en una sola exhibición (de contado).</td>\n</tr>\n<tr>\n<td>PPD</td>\n<td>Pago en parcialidades o diferido (total o parcialmente a crédito).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"usos-cfdi\">Usos CFDI</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n<th>Régimen Fiscal</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>G01</td>\n<td>Adquisición de mercancías.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>G02</td>\n<td>Devoluciones, descuentos o bonificaciones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>G03</td>\n<td>Gastos en general.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I01</td>\n<td>Construcciones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I02</td>\n<td>Mobiliario y equipo de oficina por inversiones.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I03</td>\n<td>Equipo de transporte.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I04</td>\n<td>Equipo de computo y accesorios.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I05</td>\n<td>Dados, troqueles, moldes, matrices y herramental.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I06</td>\n<td>Comunicaciones telefónicas.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I07</td>\n<td>Comunicaciones satelitales.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>I08</td>\n<td>Otra maquinaria y equipo.</td>\n<td>601, 603, 606, 612, 620, 621, 622, 623, 624, 625, 626</td>\n</tr>\n<tr>\n<td>D01</td>\n<td>Honorarios médicos, dentales y gastos hospitalarios.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D02</td>\n<td>Gastos médicos por incapacidad o discapacidad.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D03</td>\n<td>Gastos funerales.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D04</td>\n<td>Donativos.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D05</td>\n<td>Intereses reales efectivamente pagados por créditos hipotecarios (casa habitación).</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D06</td>\n<td>Aportaciones voluntarias al SAR.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D07</td>\n<td>Primas por seguros de gastos médicos.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D08</td>\n<td>Gastos de transportación escolar obligatoria.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D09</td>\n<td>Depósitos en cuentas para el ahorro, primas que tengan como base planes de pensiones.</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>D10</td>\n<td>Pagos por servicios educativos (colegiaturas).</td>\n<td>605, 606, 608, 611, 612, 614, 607, 615, 625</td>\n</tr>\n<tr>\n<td>S01</td>\n<td>Sin efectos fiscales.</td>\n<td>601, 603, 605, 606, 608, 610, 611, 612, 614, 616, 620, 621, 622, 623, 624, 607, 615, 625, 626</td>\n</tr>\n<tr>\n<td>CP01</td>\n<td>Pagos.</td>\n<td>601, 603, 605, 606, 608, 610, 611, 612, 614, 616, 620, 621, 622, 623, 624, 607, 615, 625, 626</td>\n</tr>\n<tr>\n<td>CN01</td>\n<td>Nómina.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"régimen-fiscal\">Régimen Fiscal</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>601</td>\n<td>General de Ley Personas Morales</td>\n</tr>\n<tr>\n<td>603</td>\n<td>Personas Morales con Fines no Lucrativos</td>\n</tr>\n<tr>\n<td>605</td>\n<td>Sueldos y Salarios e Ingresos Asimilados a Salarios</td>\n</tr>\n<tr>\n<td>606</td>\n<td>Arrendamiento</td>\n</tr>\n<tr>\n<td>608</td>\n<td>Demás ingresos</td>\n</tr>\n<tr>\n<td>609</td>\n<td>Consolidación</td>\n</tr>\n<tr>\n<td>610</td>\n<td>Residentes en el Extranjero sin Establecimiento Permanente en México</td>\n</tr>\n<tr>\n<td>611</td>\n<td>Ingresos por Dividendos (socios y accionistas)</td>\n</tr>\n<tr>\n<td>612</td>\n<td>Personas Físicas con Actividades Empresariales y Profesionales</td>\n</tr>\n<tr>\n<td>614</td>\n<td>Ingresos por intereses</td>\n</tr>\n<tr>\n<td>616</td>\n<td>Sin obligaciones fiscales</td>\n</tr>\n<tr>\n<td>620</td>\n<td>Sociedades Cooperativas de Producción que optan por diferir sus ingresos</td>\n</tr>\n<tr>\n<td>621</td>\n<td>Incorporación Fiscal</td>\n</tr>\n<tr>\n<td>622</td>\n<td>Actividades Agrícolas, Ganaderas, Silvícolas y Pesqueras</td>\n</tr>\n<tr>\n<td>623</td>\n<td>Opcional para Grupos de Sociedades</td>\n</tr>\n<tr>\n<td>624</td>\n<td>Coordinados</td>\n</tr>\n<tr>\n<td>628</td>\n<td>Hidrocarburos</td>\n</tr>\n<tr>\n<td>607</td>\n<td>Régimen de Enajenación o Adquisición de Bienes</td>\n</tr>\n<tr>\n<td>629</td>\n<td>De los Regímenes Fiscales Preferentes y de las Empresas Multinacionales</td>\n</tr>\n<tr>\n<td>630</td>\n<td>Enajenación de acciones en bolsa de valores</td>\n</tr>\n<tr>\n<td>615</td>\n<td>Régimen de los ingresos por obtención de premios</td>\n</tr>\n<tr>\n<td>625</td>\n<td>Régimen de las Actividades Empresariales con ingresos a través de Plataformas Tecnológicas</td>\n</tr>\n<tr>\n<td>626</td>\n<td>Régimen Simplificado de Confianza</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"meses-y-bimestres\">Meses y bimestres</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>01</td>\n<td>Enero</td>\n</tr>\n<tr>\n<td>02</td>\n<td>Febrero</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Marzo</td>\n</tr>\n<tr>\n<td>04</td>\n<td>Abril</td>\n</tr>\n<tr>\n<td>05</td>\n<td>Mayo</td>\n</tr>\n<tr>\n<td>06</td>\n<td>Junio</td>\n</tr>\n<tr>\n<td>07</td>\n<td>Julio</td>\n</tr>\n<tr>\n<td>08</td>\n<td>Agosto</td>\n</tr>\n<tr>\n<td>09</td>\n<td>Septiembre</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Octubre</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Noviembre</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Diciembre</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Enero-Febrero</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Marzo-Abril</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Mayo-Junio</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Julio-Agosto</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Septiembre-Octubre</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Noviembre-Diciembre</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ad993b6b-becc-445f-9662-382f7c22e388"},{"name":"Retentions","item":[{"name":"/v1/retentions/create","id":"926acd0f-7935-42e2-ab0b-3f9013dacef5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"period\": {\n        \"start\": 7,\n        \"end\": 7,\n        \"year\": 2024\n    },\n    \"totals\": {\n        \"totalOperation\": 1000,\n        \"totalExcempt\": 200,\n        \"taxRetained\": [{\n            \"amount\":137.9310,\n            \"paymentType\":\"01\",\n            \"base\":1000,\n            \"type\":\"IVA\"\n\n        }]\n    },\n    \"retentionKey\": \"01\",\n    \"clientId\":\"JPTFQS6hAX\",\n    \"folio_number\": 1,\n    \"externalId\": \"abc123\",\n    \"idempotency_key\": \"unique_key_1234\",\n    \"invoicePDFExtra\": \"Additional info\",\n    \"retentionDescription\":\"SOMETHING\",\n    \"complements\":[]\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/create","description":"<h2 id=\"create-retention\">Create Retention</h2>\n<p>This endpoint allows you to create a retention record for a specific client based on the provided details. It requires a JSON payload containing information about the retention period, totals, client identification, and additional metadata.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request body should be a JSON object with the following structure:</p>\n<ul>\n<li><p><strong>period</strong>: An object representing the retention period.</p>\n<ul>\n<li><p><strong>start</strong> (integer): The starting month of the retention period.</p>\n</li>\n<li><p><strong>end</strong> (integer): The ending month of the retention period.</p>\n</li>\n<li><p><strong>year</strong> (integer): The year of the retention period.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>totals</strong>: An object containing financial totals related to the retention.</p>\n<ul>\n<li><p><strong>totalOperation</strong> (number): The total amount of the operation.</p>\n</li>\n<li><p><strong>totalExcempt</strong> (number): The total exempt amount.</p>\n</li>\n<li><p><strong>taxRetained</strong> (array): An array of objects detailing the retained taxes.</p>\n<ul>\n<li><p>Each object in the array should include:</p>\n<ul>\n<li><p><strong>amount</strong> (number): The amount of tax retained.</p>\n</li>\n<li><p><strong>paymentType</strong> (string): The type of payment.</p>\n</li>\n<li><p><strong>base</strong> (number): The base amount for the tax.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of tax (e.g., IVA).</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>retentionKey</strong> (string): A key representing the type of retention.</p>\n</li>\n<li><p><strong>clientId</strong> (string): The unique identifier for the client.</p>\n</li>\n<li><p><strong>folio_number</strong> (integer): The folio number associated with the retention.</p>\n</li>\n<li><p><strong>externalId</strong> (string): An external identifier for tracking.</p>\n</li>\n<li><p><strong>idempotency_key</strong> (string): A unique key to ensure idempotency of the request.</p>\n</li>\n<li><p><strong>invoicePDFExtra</strong> (string): Additional information related to the invoice PDF.</p>\n</li>\n<li><p><strong>retentionDescription</strong> (string): A description of the retention.</p>\n</li>\n<li><p><strong>complements</strong> (array): An array for any additional complements related to the retention.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the <code>idempotency_key</code> is unique for each request to avoid duplicate entries.</p>\n</li>\n<li><p>The <code>complements</code> field can be used to include any additional data that may be relevant to the retention record.</p>\n</li>\n<li><p>The response will also include additional metadata about the client and retention status.</p>\n</li>\n</ul>\n<p>This endpoint is crucial for managing retention records effectively within the system.</p>\n","urlObject":{"protocol":"https","path":["v1","retentions","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"1fbcbfbf-f576-4617-8069-8b41aeeaf256","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"period\": {\n        \"start\": 7,\n        \"end\": 7,\n        \"year\": 2024\n    },\n    \"totals\": {\n        \"totalOperation\": 1000,\n        \"totalExcempt\": 200,\n        \"taxRetained\": [{\n            \"amount\":137.9310,\n            \"paymentType\":\"01\",\n            \"base\":1000,\n            \"type\":\"IVA\"\n\n        }]\n    },\n    \"retentionKey\": \"01\",\n    \"clientId\":\"JPTFQS6hAX\",\n    \"folio_number\": 1,\n    \"externalId\": \"abc123\",\n    \"idempotency_key\": \"unique_key_1234\",\n    \"invoicePDFExtra\": \"Additional info\",\n    \"retentionDescription\":\"SOMETHING\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"d80-Z2Xc/+2K6UuU7ZDV7PCoIzU7pY8\""},{"key":"function-execution-id","value":"sszbj262dbcx"},{"key":"x-cloud-trace-context","value":"9fad8a53df240815bfe4266821930c70;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 14 Jul 2024 21:18:21 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3456"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Retención creada correctamente\",\n    \"retention\": {\n        \"period\": {\n            \"start\": 7,\n            \"end\": 7,\n            \"year\": 2024\n        },\n        \"totals\": {\n            \"totalOperation\": 1000,\n            \"totalExcempt\": 200,\n            \"taxRetained\": [\n                {\n                    \"amount\": 137.931,\n                    \"paymentType\": \"01\",\n                    \"base\": 1000,\n                    \"type\": \"IVA\"\n                }\n            ]\n        },\n        \"retentionKey\": \"01\",\n        \"clientId\": \"JPTFQS6hAX\",\n        \"folio_number\": 1,\n        \"externalId\": \"abc123\",\n        \"idempotency_key\": \"unique_key_1234\",\n        \"invoicePDFExtra\": \"Additional info\",\n        \"retentionDescription\": \"SOMETHING\",\n        \"test\": true,\n        \"livemode\": false,\n        \"client\": {\n            \"phoneNumbers\": [],\n            \"names\": [\n                {\n                    \"displayName\": \"DISPLAY NAME\"\n                }\n            ],\n            \"emailAddresses\": [\n                {\n                    \"value\": \"client@email.com\"\n                }\n            ],\n            \"name\": \"DISPLAY NAME\",\n            \"id\": \"JPTFQS6hAX\",\n            \"email\": \"client@email.com\",\n            \"timestamp\": 1675384854936,\n            \"RFCvalidated\": true,\n            \"team\": \"team_\",\n            \"billingAccount\": \"ba_\",\n            \"metadata\": {},\n            \"RFCValidated\": null,\n            \"legalName\": \"CLIENT LEGAL NAME\",\n            \"phone\": \"\",\n            \"from\": \"manual\",\n            \"legal_name\": \"CLIENT LEGAL NAME\",\n            \"country\": \"MEX\",\n            \"rfc\": \"RFC\",\n            \"efos\": \"\",\n            \"zip\": \"10200\",\n            \"use\": \"G03\",\n            \"client\": {\n                \"address\": {\n                    \"zip\": \"10200\",\n                    \"country\": \"MEX\"\n                },\n                \"legal_name\": \"CLIENT LEGAL NAME\",\n                \"tax_system\": \"612\",\n                \"rfc\": \"RFC\",\n                \"email\": \"client@email.com\"\n            },\n            \"tax_system\": \"612\",\n            \"customer\": {\n                \"address\": {\n                    \"zip\": \"10200\"\n                },\n                \"legal_name\": \"CLIENT LEGAL NAME\",\n                \"tax_system\": \"612\",\n                \"rfc\": \"RFC\",\n                \"email\": \"client@email.com\"\n            },\n            \"payment_form\": \"01\",\n            \"type\": null,\n            \"tax_id\": \"\",\n            \"company\": \"Café Valdez\",\n            \"bcc\": [\n                \"EMAIL1\",\n                \"EMAIL2\"\n            ],\n            \"livemode\": false,\n            \"lastEdited\": {\n                \"by\": \"8U___\",\n                \"timestamp\": 1720454915628\n            },\n            \"owner\": \"8U___\",\n            \"note\": \"Actualizado desde recibo de venta\",\n            \"address\": {\n                \"zip\": \"10200\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"type\": \"Retención\",\n        \"fromApi\": true,\n        \"id\": \"6694409d22f8aeecd096db31\",\n        \"organization\": \"62f3e360996fae001b780ebb\",\n        \"created_at\": \"2024-07-14T21:18:21.389Z\",\n        \"status\": \"valid\",\n        \"verification_url\": \"https://verificacfdi.facturaelectronica.sat.gob.mx/default.aspx?id=44c19563-16e0-4077-be3c-1849a9d958e5&re=CAHS960410BL4&rr=CAHS960410BL4&tt=1000.000000&fe=QZIRJQ==\",\n        \"customer\": {\n            \"id\": \"65957ee200__\",\n            \"legal_name\": \"CLIENT LEGAL NAME\",\n            \"tax_id\": \"RFC\",\n            \"tax_system\": \"612\",\n            \"address\": {\n                \"zip\": \"10200\",\n                \"country\": \"MEX\"\n            }\n        },\n        \"uuid\": \"44c19563-16e0-4077-be3c-1849a9d958e5\",\n        \"fecha_exp\": \"2024-07-14T21:18:21.389Z\",\n        \"cve_retenc\": \"01\",\n        \"folio_int\": \"1\",\n        \"periodo\": {\n            \"mes_ini\": 7,\n            \"mes_fin\": 7,\n            \"ejerc\": 2024\n        },\n        \"totales\": {\n            \"monto_tot_exent\": 200,\n            \"monto_tot_operacion\": 1000,\n            \"imp_retenidos\": [\n                {\n                    \"base_ret\": 1000,\n                    \"impuesto\": \"IVA\",\n                    \"tipo_pago_ret\": \"01\",\n                    \"monto_ret\": 137.931,\n                    \"pago_provisional\": false\n                }\n            ],\n            \"monto_tot_grav\": 800,\n            \"monto_tot_ret\": 137.931\n        },\n        \"stamp\": {\n            \"date\": \"2024-07-14T15:18:21\",\n            \"sat_signature\": \"GDT3BMEcpY72RP1K3/Ury2WAn08=\",\n            \"sat_cert_number\": \"20001000000300022323\",\n            \"signature\": \"Iryc1Ei35V89Ga3SGDqWLm/KvSl3bncugNsoT+UKyf35OYgFiZqyZYoplUM2Pli4eRGP7nTBuYYspSQSDfwIzdPiteYaKyuhYp3hNL6+FnF2tUxDhiDP0q9sYwlZi+5zAA/ZL3OIGOit6DjzvCcHP3sOw2yh/NXlwmUmfN6YXd83SmpLFUUOEHg7bg6VKs5/z0tlM6b25yQTbBdwjPBc/pzlRnOzCpK8N5RBEXRfxco8sowTCa0Ne2OmO42TlfeipS6ZZ7p2JxVVNo6tey258aA/UrpT74yOVQNkwfWbtEzeZnUzymWsX4OTuv0tY5j5YkmRaSNvIOqSCNw6QZIRJQ==\"\n        },\n        \"external_id\": \"abc123\",\n        \"namespaces\": [],\n        \"complements\": [],\n        \"addenda\": [],\n        \"pdf_custom_section\": \"<p>Additional info</p>\",\n        \"relation\": null,\n        \"owner\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n        \"timestamp\": 1720991901513,\n        \"team\": \"team_RI2hpU84OLYHqmN\"\n    }\n}"}],"_postman_id":"926acd0f-7935-42e2-ab0b-3f9013dacef5"},{"name":"/v1/retentions/list","id":"aff48c23-95c2-41c4-95f8-70330d0d3ba0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/list?limit=1","urlObject":{"protocol":"https","path":["v1","retentions","list"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[{"description":{"content":"<p>Number between 1 and 100</p>\n","type":"text/plain"},"key":"limit","value":"1"},{"disabled":true,"description":{"content":"<p>Integer to follow the next batch of retentions</p>\n","type":"text/plain"},"key":"next","value":null},{"disabled":true,"description":{"content":"<p>Id of the client to list</p>\n","type":"text/plain"},"key":"clientId","value":null}],"variable":[]}},"response":[{"id":"4d680919-2560-4995-a8ee-1282d7201cf9","name":"200","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [API KEY]","type":"text"}],"url":{"raw":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/retentions/list?limit=1","protocol":"https","host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"path":["v1","retentions","list"],"query":[{"key":"limit","value":"1","description":"Number between 1 and 100"},{"key":"next","value":null,"description":"Integer to follow the next batch of retentions","type":"text","disabled":true},{"key":"clientId","value":null,"description":"Id of the client to list","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"d8a-gybxyngxdUncWiRi+YITUbA0ZWY\""},{"key":"function-execution-id","value":"89ilcacbimdt"},{"key":"x-cloud-trace-context","value":"1262fe430c9bae838f08d02cf7b89648;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Sun, 14 Jul 2024 22:55:38 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"3466"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Retenciones encontradas\",\n    \"data\": [\n        {\n            \n        }\n    ],\n    \"next\": 1720991901513\n}"}],"_postman_id":"aff48c23-95c2-41c4-95f8-70330d0d3ba0"}],"id":"8917e46a-4bb0-44ed-8b43-3731144964e1","description":"<h2 id=\"retention-cfdis-in-gigstack\">Retention CFDIs in Gigstack</h2>\n<p>Some companies need to issue <strong>CFDIs for tax withholdings</strong>, so we’ve added support for this through the Gigstack API.</p>\n<blockquote>\n<p>⚠️ <strong>Note:</strong> The endpoints for retentions will be updated frequently. Please check back regularly for the latest changes. </p>\n</blockquote>\n<p>Retention key list:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>\"01\"</td>\n<td>Servicios profesionales.</td>\n</tr>\n<tr>\n<td>\"02\"</td>\n<td>Regalías por derechos de autor.</td>\n</tr>\n<tr>\n<td>\"03\"</td>\n<td>Autotransporte terrestre de carga.</td>\n</tr>\n<tr>\n<td>\"04\"</td>\n<td>Servicios prestados por comisionistas.</td>\n</tr>\n<tr>\n<td>\"05\"</td>\n<td>Arrendamiento.</td>\n</tr>\n<tr>\n<td>\"06\"</td>\n<td>Enajenación de acciones.</td>\n</tr>\n<tr>\n<td>\"07\"</td>\n<td>Enajenación de bienes objeto de la LIEPS, a través de mediadores, agentes, representantes, corredores, consignatarios o distribuidores.</td>\n</tr>\n<tr>\n<td>\"08\"</td>\n<td>Enajenación de bienes inmuebles consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"09\"</td>\n<td>Enajenación de otros bienes, no consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"10\"</td>\n<td>Adquisición de desperdicios industriales.</td>\n</tr>\n<tr>\n<td>\"11\"</td>\n<td>Adquisición de bienes consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"12\"</td>\n<td>Adquisición de otros bienes, no consignada en escritura pública.</td>\n</tr>\n<tr>\n<td>\"13\"</td>\n<td>Otros retiros de AFORE.</td>\n</tr>\n<tr>\n<td>\"14\"</td>\n<td>Dividendos o utilidades distribuidas.</td>\n</tr>\n<tr>\n<td>\"15\"</td>\n<td>Remanente distribuible.</td>\n</tr>\n<tr>\n<td>\"16\"</td>\n<td>Intereses.</td>\n</tr>\n<tr>\n<td>\"17\"</td>\n<td>Arrendamiento en fideicomiso.</td>\n</tr>\n<tr>\n<td>\"18\"</td>\n<td>Pagos realizados a favor de residentes en el extranjero.</td>\n</tr>\n<tr>\n<td>\"19\"</td>\n<td>Enajenación de acciones u operaciones en bolsa de valores.</td>\n</tr>\n<tr>\n<td>\"20\"</td>\n<td>Obtención de premios.</td>\n</tr>\n<tr>\n<td>\"21\"</td>\n<td>Fideicomisos que no realizan actividades empresariales.</td>\n</tr>\n<tr>\n<td>\"22\"</td>\n<td>Planes personales de retiro.</td>\n</tr>\n<tr>\n<td>\"23\"</td>\n<td>Intereses reales deducibles por créditos hipotecarios.</td>\n</tr>\n<tr>\n<td>\"24\"</td>\n<td>Operaciones Financieras Derivadas de Capital.</td>\n</tr>\n<tr>\n<td>\"25\"</td>\n<td>Otro tipo de retenciones.</td>\n</tr>\n<tr>\n<td>\"26\"</td>\n<td>Servicios mediante Plataformas Tecnológicas</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"8917e46a-4bb0-44ed-8b43-3731144964e1"},{"name":"gigstack connect","item":[{"name":"v1/teams/create","id":"14b7eb3e-bd35-4e85-87ff-7e76f0c9e8d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"members\":[],\n  \"alias\":\"My Connected Account 1\",\n  \"primaryColor\":\"#FAFBDD\",\n  \"logoUrl\":\"https://gigstack.pro/images/gigstack_1-p-500.png\",\n  \"legalName\":\"Connected Account Legal Name\",\n  \"taxId\":\"EKU9003173C9\"\n  ,\"address\":{\"zip\":\"10200\"},\n  \"contactEmails\":[\"connectedaccountcontact@email.com\"],\n  \"supportEmail\":\"connectedaccountsupport@email.com\",\n  \"taxSystem\":\"612\",\n  \"generatePublicOnboarding\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create","description":"<p>This endpoint allows you to create a connected account. The request should be sent as an HTTP POST to the specified URL. The request body should include the following parameters:</p>\n<ul>\n<li><p><code>members</code>: An array of team ids of previously generated uses in gigstack members, is not required.</p>\n</li>\n<li><p><code>alias</code>: The alias for the connected account.</p>\n</li>\n<li><p><code>primaryColor</code>: The primary color for the connected account.</p>\n</li>\n<li><p><code>logoUrl</code>: The URL for the connected account logo.</p>\n</li>\n<li><p><code>legalName</code>: The legal name of the connected account.</p>\n</li>\n<li><p><code>taxId</code>: The tax ID | RFC of the connected account.</p>\n</li>\n<li><p><code>address</code>: An object containing the connected account address details, including the <code>zip</code> code.</p>\n</li>\n<li><p><code>contactEmails</code>: An array of contact emails for the connected account.</p>\n</li>\n<li><p><code>supportEmail</code>: The support email for the connected account.</p>\n</li>\n<li><p><code>taxSystem</code>: The tax system for the connected account, please refer to our catalogs and use 3-digit code.</p>\n</li>\n<li><p><code>generatePublicOnboarding</code>: Send this as true to generate an onboarding link.</p>\n</li>\n</ul>\n<p>The response to this request will contain the details of the newly created team + the URL of the onboarding.</p>\n","urlObject":{"protocol":"https","path":["v1","teams","create"],"host":["gigstack-cfdi-bjekv7t4","uc","gateway","dev"],"query":[],"variable":[]}},"response":[{"id":"e8a497b4-272b-478f-b275-3b933009cac2","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [TOKEN]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"members\":[],\n  \"alias\":\"My Connected Account 1\",\n  \"primaryColor\":\"#FAFBDD\",\n  \"logoUrl\":\"https://gigstack.pro/images/gigstack_1-p-500.png\",\n  \"legalName\":\"Connected Account Legal Name\",\n  \"taxId\":\"EKU9003173C9\"\n  ,\"address\":{\"zip\":\"10200\"},\n  \"contactEmails\":[\"connectedaccountcontact@email.com\"],\n  \"supportEmail\":\"connectedaccountsupport@email.com\",\n  \"taxSystem\":\"612\",\n  \"generatePublicOnboarding\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"50a-xypEGcmd26WCv+i/vZC7BM+J5hw\""},{"key":"function-execution-id","value":"wvoyp0jl4083"},{"key":"x-cloud-trace-context","value":"9ddbb719c7ff3d210893ff2dc0fef4b5;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 Jul 2024 20:01:16 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"1290"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Se ha creado el equipo My Connected Account 1 y se ha añadido el cargo de configuración a la siguiente factura.\",\n    \"team\": {\n        \"brand\": {\n            \"alias\": \"My Connected Account 1\",\n            \"primaryColor\": \"#FAFBDD\",\n            \"logo\": \"https://gigstack.pro/images/gigstack_1-p-500.png\"\n        },\n        \"address\": {\n            \"zip\": \"10200\"\n        },\n        \"id\": \"team_rX1bTfUf74\",\n        \"tax_system\": \"612\",\n        \"tax_system_m\": {\n            \"value\": \"612\",\n            \"label\": \"Personas Físicas con Actividades Empresariales y Profesionales\"\n        },\n        \"legal_name\": \"Connected Account Legal Name\",\n        \"tax_id\": \"EKU9003173C9\",\n        \"rfc\": \"EKU9003173C9\",\n        \"membersIds\": [\n            \"___\"\n        ],\n        \"integrationsSetup\": [\n            \"stripeSetup\",\n            \"invoices\",\n            \"importStripeProducts\",\n            \"importStripePayments\",\n            \"bank\",\n            \"testInvoice\",\n            \"automaticInvoicing\",\n            \"setDefaults\"\n        ],\n        \"setupComplete\": false,\n        \"members\": [\n            {\n                \"id\": \"8UWdgXELUhf022vuoq249mtGytG2\",\n                \"isSuperAdmin\": true,\n                \"rol\": \"admin\",\n                \"isAdmin\": true,\n                \"invoices\": \"editor\",\n                \"expenses\": \"editor\",\n                \"payments\": \"editor\",\n                \"services\": \"editor\",\n                \"email\": \"santiago.carranca@gigstack.io\",\n                \"status\": \"active\"\n            }\n        ],\n        \"supportEmail\": \"connectedaccountsupport@email.com\",\n        \"contactEmails\": [\n            \"connectedaccountcontact@email.com\"\n        ],\n        \"setupAt\": 1721073676047,\n        \"billingAccount\": \"ba_uubHbCv9TRkWxOr\",\n        \"onboardingUrl\": \"https://embeded.gigstack.pro/?sessionId=otpOnboarding_code\",\n        \"integrationsBlocked\": [],\n        \"timestamp\": 1721073676048\n    }\n}"},{"id":"80ef86a6-28fd-4c56-b479-79e86a87c68f","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [token]","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"members\":[],\n  \"alias\":\"My Connected Account 1\",\n  \"primaryColor\":\"#FAFBDD\",\n  \"logoUrl\":\"\",\n  \"legalName\":\"Connected Account Legal Name\",\n  \"taxId\":\"EKU9003173C9\"\n  ,\"address\":{\"zip\":\"10200\"},\n  \"contactEmails\":[\"connectedaccountcontact@email.com\"],\n  \"supportEmail\":\"connectedaccountsupport@email.com\",\n  \"taxSystem\":\"612\",\n  \"generatePublicOnboarding\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://gigstack-cfdi-bjekv7t4.uc.gateway.dev/v1/teams/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"x-powered-by","value":"Express"},{"key":"vary","value":"Origin"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"45-+mFxowooPbiu+UoLxkBg2mSe/+Q\""},{"key":"function-execution-id","value":"wvoyzvzh3dqp"},{"key":"x-cloud-trace-context","value":"824899ba1c45db4da45eb9a6d2ae587d;o=1"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Date","value":"Mon, 15 Jul 2024 20:00:12 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"69"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Faltan datos para crear el equipo\",\n    \"missing\": [\n        \"logoUrl\"\n    ]\n}"}],"_postman_id":"14b7eb3e-bd35-4e85-87ff-7e76f0c9e8d1"}],"id":"598ebe84-a350-4dde-aef1-22097878eb52","description":"<h2 id=\"gigstack-connect\">Gigstack Connect</h2>\n<p><strong>Gigstack Connect</strong> is the simplest way to control the financial administration of sub-accounts. It’s perfect for <strong>marketplaces</strong> or companies looking to automate invoicing for their providers.</p>\n<p>With a simple onboarding flow, you can request fiscal connection data from your users and fully automate their invoicing and compliance processes — all from your own platform.</p>\n<blockquote>\n<p>Ideal for platforms that want to manage provider invoices without building the infrastructure from scratch.</p>\n</blockquote>\n","_postman_id":"598ebe84-a350-4dde-aef1-22097878eb52"}],"id":"fecdd87e-5dd4-47bf-8d63-3250bfc7ff8c","description":"<p><strong>Welcome to the gigstack.pro documentation, where automating financial events is easier than ever!</strong></p>\n<p>Here you’ll find all the details about the available endpoints to create, update, and delete resources using our API.</p>\n<p>Please note that API access requires an active subscription to one of our plans that includes this feature.</p>\n<p>Explore and discover how gigstack.pro can simplify and enhance your financial management!</p>\n","_postman_id":"fecdd87e-5dd4-47bf-8d63-3250bfc7ff8c"}],"variable":[{"key":"dev_token","value":"sk_test_rNJMR2yAWw0GnxxRBvqEOj6d7QnZEYeD"}]}