{"item":[{"id":"dff83c44-8ce5-45a1-bf0e-6ebe67b8a9ec","name":"Common - Categorías Fiscales","description":{"content":"Look up the AFIP tax category (condición frente al IVA) you assign to a customer or to your own organization — Responsable Inscripto, Monotributo, Consumidor Final, Exento, Exportación, etc. The list is filtered to the categories valid for your organization. Use the `/monotributo` and `/exportacion` flag endpoints to detect categories that change invoicing rules — Monotributo hides IVA discrimination, Exportación routes receipts through the WSFEX export flow.","type":"text/plain"},"item":[{"id":"5fa97b15-a3bc-44da-b254-7758c1c5415f","name":"List active tax categories for the current organization","request":{"name":"List active tax categories for the current organization","description":{"content":"Returns the fiscal condiciones the org can choose from — Argentina's regime-filtered set, or the single 'No aplica' row for countries without their own.","type":"text/plain"},"url":{"path":["v1","tax-categories"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5aa20eec-7afd-4ef2-b2ab-66a9760d8c3b","name":"List of active tax categories","originalRequest":{"url":{"path":["v1","tax-categories"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"abbreviation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discriminates\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"liquidatesInternals\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exemptVat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipResponsibility\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDefault\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesLetterId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseLetterId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"organizationCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"abbreviation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discriminates\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"liquidatesInternals\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exemptVat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipResponsibility\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDefault\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesLetterId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseLetterId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"organizationCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0fe2f78e-98ab-46dc-a98a-002dc210641c","name":"Get tax category by id","request":{"name":"Get tax category by id","description":{"content":"Returns a single tax category by id; 404s if it does not exist.","type":"text/plain"},"url":{"path":["v1","tax-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Tax category id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"842ef063-3813-4600-b097-cac3ab0d0429","name":"Tax category","originalRequest":{"url":{"path":["v1","tax-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Tax category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"abbreviation\": \"RI\",\n  \"name\": \"Responsable Inscripto\",\n  \"discriminates\": true,\n  \"liquidatesInternals\": false,\n  \"exemptVat\": false,\n  \"afipResponsibility\": \"RI\",\n  \"isActive\": true,\n  \"isDefault\": false,\n  \"salesLetterId\": 1,\n  \"purchaseLetterId\": 1,\n  \"organizationCategoryId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"94a2b1aa-efeb-45a6-a579-a79fb8f0aea9","name":"TAX_CATEGORY_NOT_FOUND — tax category does not exist.","originalRequest":{"url":{"path":["v1","tax-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Tax category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d74d9bd4-866d-425b-b675-5cdad6c8ee67","name":"Check if tax category is exportación","request":{"name":"Check if tax category is exportación","description":{"content":"Returns whether the given tax category id corresponds to an exportación condición.","type":"text/plain"},"url":{"path":["v1","tax-categories",":id","exportacion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Tax category id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7c1518e3-d0c4-4277-892c-dc5e84efa9e2","name":"Object with exportacion boolean","originalRequest":{"url":{"path":["v1","tax-categories",":id","exportacion"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Tax category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"exportacion\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"615613de-fa95-42ad-8672-485edcf8a359","name":"Check if tax category is monotributo","request":{"name":"Check if tax category is monotributo","description":{"content":"Returns whether the given tax category id corresponds to a monotributo condición.","type":"text/plain"},"url":{"path":["v1","tax-categories",":id","monotributo"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Tax category id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"62939826-2235-4690-9219-c5899c79a3e6","name":"Object with monotributo boolean","originalRequest":{"url":{"path":["v1","tax-categories",":id","monotributo"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Tax category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"monotributo\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"b078b6a6-6fd9-4637-8580-625b747e2d6d","name":"Common - Certificados","description":{"content":"Manage the AFIP certificates your organization needs so AFIP can authorize the receipts you issue. Standard flow: `POST /certificates` with a `name`, download the generated CSR via `GET /certificates/:id/csr`, upload it to AFIP to obtain a `.crt`, post that file back via `POST /certificates/:id/upload-crt`, then call `POST /certificates/:id/validate-connection` to confirm AFIP accepts it. Keep an eye on `GET /certificates/expiration-status` so you can renew before a certificate expires — once it does, new receipts will pile up in `PENDIENTE_AFIP` (created but unauthorized) until you have a valid certificate again.","type":"text/plain"},"item":[{"id":"858c6c7b-9cea-4058-9859-c6c99e2dc24f","name":"List certificates","request":{"name":"List certificates","description":{"content":"Get every certificate associated with your organization, including ones that are still being set up. Use `GET /certificates/active` when you only need the one currently in use for invoicing.","type":"text/plain"},"url":{"path":["v1","certificates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"14fbdff8-4fe9-4faa-857d-7f1f80259821","name":"List of certificates","originalRequest":{"url":{"path":["v1","certificates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"internalKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"renewalDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"disabledDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasCsr\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasCrt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasP12\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"internalKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"renewalDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"disabledDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasCsr\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasCrt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasP12\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6705b90a-4984-4ca0-93f8-5d742fc3227d","name":"Start a new certificate","request":{"name":"Start a new certificate","description":{"content":"Begin the certificate setup flow. POST with a `name` and the API will generate a CSR for you. Next, download the CSR via `GET /certificates/:id/csr`, upload it to AFIP, and post the `.crt` AFIP gives back via `POST /certificates/:id/upload-crt`.","type":"text/plain"},"url":{"path":["v1","certificates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3a248b1c-707f-4639-be79-0dba2f59f675","name":"Certificate created — download the CSR next","originalRequest":{"url":{"path":["v1","certificates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Certificado 2026\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"internalKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"name\": \"Certificado 2026\",\n  \"requestDate\": \"2026-01-01T12:00:00.000Z\",\n  \"renewalDate\": \"2027-01-01T12:00:00.000Z\",\n  \"disabledDate\": null,\n  \"isActive\": true,\n  \"userId\": 1,\n  \"hasCsr\": true,\n  \"hasCrt\": true,\n  \"hasP12\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b998bb8-6840-46f6-a97d-1e8576ceb1c8","name":"ORGANIZATION_WITHOUT_TAX_ID — the organization has no tax ID (CUIT), so there is nothing to put in the CSR. ELECTRONIC_EMISSION_NOT_AVAILABLE — AFIP certificates only exist for countries with electronic emission (Argentina); Spain is self-managed. FISCAL_PROVIDER_NOT_AVAILABLE — the organization's country has no fiscal provider.","originalRequest":{"url":{"path":["v1","certificates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Certificado 2026\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e664e634-2061-4acb-8c09-05c64474c530","name":"ORGANIZATION_NOT_FOUND — caller's organization no longer exists.","originalRequest":{"url":{"path":["v1","certificates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Certificado 2026\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bc4fe64c-1c2f-4dcd-81ff-835f3ac2431b","name":"Get the active certificate","request":{"name":"Get the active certificate","description":{"content":"Get the certificate currently used to authorize receipts with AFIP. A 404 means you don't have a valid certificate set up — receipts will still be created but will stay in `PENDIENTE_AFIP` until you complete the certificate flow (`POST /certificates` → upload CSR to AFIP → `POST /certificates/:id/upload-crt`).","type":"text/plain"},"url":{"path":["v1","certificates","active"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"86c9d25a-a490-453f-ad98-6e8e139c2454","name":"Active certificate","originalRequest":{"url":{"path":["v1","certificates","active"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"internalKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"name\": \"Certificado 2026\",\n  \"requestDate\": \"2026-01-01T12:00:00.000Z\",\n  \"renewalDate\": \"2027-01-01T12:00:00.000Z\",\n  \"disabledDate\": null,\n  \"isActive\": true,\n  \"userId\": 1,\n  \"hasCsr\": true,\n  \"hasCrt\": true,\n  \"hasP12\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6bbb1633-249b-4032-92c8-a3d708b411fd","name":"No active certificate","originalRequest":{"url":{"path":["v1","certificates","active"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7a9b383e-7521-4e8c-8b66-bffc013195c1","name":"Check expiration for every certificate","request":{"name":"Check expiration for every certificate","description":{"content":"Use this to drive an expiration banner or renewal reminder in your UI. For each certificate you get back days remaining, whether it's expired, and whether it's ready to use. Plan renewals ahead of time — AFIP issuance can take a few days.","type":"text/plain"},"url":{"path":["v1","certificates","expiration-status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"17e3886a-9b11-402c-844e-acda945a01f5","name":"Per-certificate expiration info","originalRequest":{"url":{"path":["v1","certificates","expiration-status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"renewalDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"daysUntilExpiry\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isExpired\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasP12\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"renewalDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"daysUntilExpiry\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isExpired\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasP12\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6117c84a-741a-432d-b9c4-c3ec2c183c3f","name":"Download CSR","request":{"name":"Download CSR","description":{"content":"Download the CSR file for this certificate so you can upload it to AFIP's certificate portal. Once AFIP gives you back a `.crt`, finish setup by posting it via `POST /certificates/:id/upload-crt`.","type":"text/plain"},"url":{"path":["v1","certificates",":id","csr"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"608c5193-cea9-4428-960b-71863577330d","name":"CSR file download","originalRequest":{"url":{"path":["v1","certificates",":id","csr"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"3e97bcaf-eb70-4010-b214-6cfdeac4a25b","name":"Certificate or CSR file not found","originalRequest":{"url":{"path":["v1","certificates",":id","csr"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a35d3803-4b79-4dcb-b573-90715afd28c1","name":"Download CRT","request":{"name":"Download CRT","description":{"content":"Download the AFIP-signed `.crt` for this certificate — useful for backups or to inspect when the certificate expires.","type":"text/plain"},"url":{"path":["v1","certificates",":id","crt"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ddd8a9f5-2ad1-425b-a7e4-47760d32b908","name":"CRT file download","originalRequest":{"url":{"path":["v1","certificates",":id","crt"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"b00cdda4-652c-4ca9-b388-e70977982970","name":"Certificate or CRT file not found","originalRequest":{"url":{"path":["v1","certificates",":id","crt"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"77bc870e-a64d-403b-95a3-6d0b6aaf316d","name":"Get certificate by id","request":{"name":"Get certificate by id","description":{"content":"Get a certificate's name, status, and expiration date. To download the CSR or CRT file, use the `/csr` and `/crt` sub-paths.","type":"text/plain"},"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"45bff96d-63e4-4c1f-9918-c9d2cbdc3fca","name":"Certificate","originalRequest":{"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"internalKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"name\": \"Certificado 2026\",\n  \"requestDate\": \"2026-01-01T12:00:00.000Z\",\n  \"renewalDate\": \"2027-01-01T12:00:00.000Z\",\n  \"disabledDate\": null,\n  \"isActive\": true,\n  \"userId\": 1,\n  \"hasCsr\": true,\n  \"hasCrt\": true,\n  \"hasP12\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"67c0994b-e0f7-4936-8a21-8abe69c6a896","name":"Not found","originalRequest":{"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c1132285-f10f-4521-82b4-03eb4ab49eae","name":"Update certificate","request":{"name":"Update certificate","description":{"content":"Rename a certificate or toggle `isActive` to switch which certificate is used for invoicing. Only one should be active at a time.","type":"text/plain"},"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"afe5d6ab-463b-4609-8d28-ee1fe2278d90","name":"Updated certificate","originalRequest":{"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Certificado 2026\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"internalKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"name\": \"Certificado 2026\",\n  \"requestDate\": \"2026-01-01T12:00:00.000Z\",\n  \"renewalDate\": \"2027-01-01T12:00:00.000Z\",\n  \"disabledDate\": null,\n  \"isActive\": true,\n  \"userId\": 1,\n  \"hasCsr\": true,\n  \"hasCrt\": true,\n  \"hasP12\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aeec4d75-04b4-42d2-ab2d-c5046b3005a4","name":"CERTIFICATE_NOT_FOUND — certificate does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Certificado 2026\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"191de2a2-c367-4b90-910f-9d19b19a60d7","name":"Delete certificate","request":{"name":"Delete certificate","description":{"content":"Remove a certificate you no longer need (e.g. an expired one you've already replaced). If you delete the active certificate before uploading a replacement, receipts can still be created but will stay in `PENDIENTE_AFIP` — they won't be authorized by AFIP until a new certificate is active.","type":"text/plain"},"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b7af80e5-6ec8-4547-bd20-349ac73aa738","name":"Deleted","originalRequest":{"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"0a09240f-e364-46a7-a77b-d53a144a7ce3","name":"CERTIFICATE_NOT_FOUND — certificate does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","certificates",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"517a1f12-0674-4d00-ada4-2d941fceac8a","name":"Validate certificate against AFIP","request":{"name":"Validate certificate against AFIP","description":{"content":"Run a quick check against AFIP to confirm the certificate works before you rely on it for real receipts. Both domestic invoicing (WSFE) and export invoicing (WSFEX) are checked, but only the services your organization needs count towards `success`: WSFE is always required, WSFEX only when you have an active export receipt book. Each service reports whether it authenticated, whether it is `required`, and if it failed, the error message AFIP returned. Run this right after uploading a CRT.","type":"text/plain"},"url":{"path":["v1","certificates",":id","validate-connection"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8cccb89f-12b6-41b4-91a3-454824430d63","name":"`{ success, environment, services: { wsfe, wsfex } }`. `success` is `true` when every `required` service passes; a non-required service (WSFEX without an export receipt book) may fail without affecting it.","originalRequest":{"url":{"path":["v1","certificates",":id","validate-connection"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"success\": true,\n  \"environment\": \"production\",\n  \"services\": {\n    \"wsfe\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"wsfex\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28f19cdb-08b8-467c-b918-1d98accb27fb","name":"Validation failed. Codes: CRT_OR_P12_MISSING. ELECTRONIC_EMISSION_NOT_AVAILABLE — AFIP certificates only exist for countries with electronic emission (Argentina); Spain is self-managed. FISCAL_PROVIDER_NOT_AVAILABLE — the organization's country has no fiscal provider.","originalRequest":{"url":{"path":["v1","certificates",":id","validate-connection"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06bea528-5687-43f3-a00f-d99d3027cbc6","name":"CERTIFICATE_NOT_FOUND — certificate does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","certificates",":id","validate-connection"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c638ed10-c9c0-4f02-bc57-2b6fbce15e42","name":"Upload AFIP-signed CRT","request":{"name":"Upload AFIP-signed CRT","description":{"content":"Finish setting up the certificate by uploading the `.crt` AFIP gave you when you submitted the CSR (PEM or DER). The file must be the one issued for this certificate's CSR — a `.crt` issued for another key is rejected with `CRT_DOES_NOT_MATCH_CSR` and nothing is stored. After this call, the certificate is ready to use — run `POST /certificates/:id/validate-connection` to double-check.","type":"text/plain"},"url":{"path":["v1","certificates",":id","upload-crt"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Certificate id"}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"crt","type":"file","description":"(Required) The `.crt` file you downloaded from AFIP."}]}},"response":[{"id":"d47fe336-7635-468a-9546-9652ca9166b7","name":"Certificate is now ready to use","originalRequest":{"url":{"path":["v1","certificates",":id","upload-crt"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Certificate id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) The `.crt` file you downloaded from AFIP.","type":"text/plain"},"key":"crt","value":"<binary>","type":"text"}]}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"internalKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"name\": \"Certificado 2026\",\n  \"requestDate\": \"2026-01-01T12:00:00.000Z\",\n  \"renewalDate\": \"2027-01-01T12:00:00.000Z\",\n  \"disabledDate\": null,\n  \"isActive\": true,\n  \"userId\": 1,\n  \"hasCsr\": true,\n  \"hasCrt\": true,\n  \"hasP12\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"944ea3b1-726d-4cbb-b9e7-8efb7a39e9cd","name":"Validation failed. Codes: NO_FILE_PROVIDED, PRIVATE_KEY_NOT_IN_STORAGE. CRT_INVALID — the file is not an X.509 certificate (PEM or DER). CRT_DOES_NOT_MATCH_CSR — the `.crt` was issued for another key (e.g. a previous CSR); download from ARCA the certificate issued for this certificate's CSR. Nothing is stored when the upload is rejected. ELECTRONIC_EMISSION_NOT_AVAILABLE — AFIP certificates only exist for countries with electronic emission (Argentina); Spain is self-managed. FISCAL_PROVIDER_NOT_AVAILABLE — the organization's country has no fiscal provider.","originalRequest":{"url":{"path":["v1","certificates",":id","upload-crt"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Certificate id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) The `.crt` file you downloaded from AFIP.","type":"text/plain"},"key":"crt","value":"<binary>","type":"text"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"12081e72-70a1-4331-88b3-a7151da57f5b","name":"CERTIFICATE_NOT_FOUND — certificate does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","certificates",":id","upload-crt"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Certificate id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) The `.crt` file you downloaded from AFIP.","type":"text/plain"},"key":"crt","value":"<binary>","type":"text"}]}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"97ef5c87-ca89-4e86-95eb-9beeaf43a62b","name":"Common - Combos","description":{"content":"Look up shared option lists you need to fill dropdowns and pick valid values when creating other resources — receipt types, sale conditions, IVA aliquots, and similar enums. Fetch the items for a combo, show them to the user, and send the picked id when creating a receipt or customer. The IVA combo is auto-filtered to match your organization's tax regime, so you don't need to pre-filter it client-side.","type":"text/plain"},"item":[{"id":"3b6adc1f-32ce-4685-bdd5-ebab1d4a9a52","name":"List combos","request":{"name":"List combos","description":{"content":"Returns an empty list — combos are fetched by id. Use `GET /combos/:id/items` with the id of the list you need (5 for receipt types, 6 for sale conditions, etc.).","type":"text/plain"},"url":{"path":["v1","combos"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c69db616-f793-4542-b577-472539cdfcb3","name":"Empty list","originalRequest":{"url":{"path":["v1","combos"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2b98ab17-0de0-4f12-8559-e87e5241655f","name":"Get combo items","request":{"name":"Get combo items","description":{"content":"Fetch the items of a combo to populate a dropdown. Show `data` to the user; send the item's `id` when creating a receipt or customer that needs this value. The IVA combo (9) returns every rate by default, because a Monotributista organization still needs them to load supplier invoices, products and reports. A sales form that wants the catalogue the organization can sell with sends `organization_is_monotributista=true`: if the organization is really Monotributista only *Sin IVA* is returned.","type":"text/plain"},"url":{"path":["v1","combos",":id","items"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"country_code","value":"<string>","description":"Scope the catalogue to this country instead of the caller's organization. For the create-organization form, where the country being chosen is not the country you are currently in — without it the form offers the catalogue of the org you happen to be signed into."},{"disabled":false,"key":"organization_is_monotributista","value":"<string>","description":"Send `true` from a SALES form to get the catalogue a Monotributista can sell with (IVA combo: only *Sin IVA*). The server checks the organization's real tax regime, so the value only opts in — a Responsable Inscripto organization still gets every rate. Omit it everywhere else (purchases, products, reports)."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Combo id (e.g. 5 = receipt types, 6 = sale conditions)"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c34d2d9b-203b-477f-85e4-4612853a427a","name":"List of combo items","originalRequest":{"url":{"path":["v1","combos",":id","items"],"host":["{{baseUrl}}"],"query":[{"key":"country_code","value":"<string>"},{"key":"organization_is_monotributista","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Combo id (e.g. 5 = receipt types, 6 = sale conditions)"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"d30418ec-1f05-4101-96fb-942678025bc9","name":"COMBO_NOT_FOUND — combo does not exist.","originalRequest":{"url":{"path":["v1","combos",":id","items"],"host":["{{baseUrl}}"],"query":[{"key":"country_code","value":"<string>"},{"key":"organization_is_monotributista","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Combo id (e.g. 5 = receipt types, 6 = sale conditions)"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d632d7ac-663d-4aad-b52f-8375b1cc2824","name":"Get combo by id","request":{"name":"Get combo by id","description":{"content":"Get the combo's name and description. To list the items the user can pick from, call `GET /combos/:id/items` instead.","type":"text/plain"},"url":{"path":["v1","combos",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Combo id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"15811fcf-0edd-4e37-839b-f6f1968c7def","name":"Combo","originalRequest":{"url":{"path":["v1","combos",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Combo id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"name\": \"Tipo de Comprobante de Venta\",\n  \"isActive\": true,\n  \"comboItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e1ddf91a-bae1-4973-aef0-eea84f1a8082","name":"COMBO_NOT_FOUND — combo does not exist.","originalRequest":{"url":{"path":["v1","combos",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Combo id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"ee822a84-169e-43eb-817d-f5658bc5d133","name":"Common - Contingencia CAEA","description":{"content":"Opt in to ARCA's CAEA contingency so receipts keep being issued when WSFE (online CAE) is down, instead of piling up in `PENDIENTE_AFIP`. Off by default: every organization authorizes online. `PUT /afip/caea-contingency` with `{ \"enabled\": true }` turns it on — Peakly then requests a CAEA every fortnight and informs ARCA of what it issued under it (or that nothing was issued). `GET /afip/caea-contingency` shows the CAEA in force, the next one and any rendición still pending. Needs a domestic electronic (WS) receipt book.","type":"text/plain"},"item":[{"id":"979e0540-5c86-4589-9332-a0969b1b7496","name":"Get the CAEA contingency status","request":{"name":"Get the CAEA contingency status","description":{"content":"Whether the organization issues with CAEA when ARCA's WSFE does not answer (off by default), whether it can turn it on (it needs a domestic WS receipt book), the CAEA covering today and the next fortnight's if already granted, and how many rendiciones are still to inform (and how many ARCA rejected).","type":"text/plain"},"url":{"path":["v1","afip","caea-contingency"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"19d10670-266b-40f0-b06a-b4f5669c091c","originalRequest":{"url":{"path":["v1","afip","caea-contingency"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"enabled\": false,\n  \"available\": true,\n  \"current\": {\n    \"nullable\": true,\n    \"description\": \"The CAEA covering today (Argentina), if already granted.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"next\": {\n    \"nullable\": true,\n    \"description\": \"Next fortnight's CAEA, if already requested.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"pendingReports\": 0,\n  \"erroredReports\": 0\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3bf04118-55bb-45a3-9648-7c47ca14f702","name":"Turn the CAEA contingency on or off","request":{"name":"Turn the CAEA contingency on or off","description":{"content":"On: Peakly requests the CAEA of the current fortnight right away (and every fortnight after), issues with it while WSFE is down and informs ARCA of what it issued, or that nothing was issued. Off: future fortnights are no longer requested; CAEA already granted or used keep being informed until ARCA's deadline. Returns the resulting status.","type":"text/plain"},"url":{"path":["v1","afip","caea-contingency"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"enabled\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"629dbfa2-7e87-4ded-abd6-0d45c7bef6b1","originalRequest":{"url":{"path":["v1","afip","caea-contingency"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled\": true\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"enabled\": false,\n  \"available\": true,\n  \"current\": {\n    \"nullable\": true,\n    \"description\": \"The CAEA covering today (Argentina), if already granted.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"next\": {\n    \"nullable\": true,\n    \"description\": \"Next fortnight's CAEA, if already requested.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"pendingReports\": 0,\n  \"erroredReports\": 0\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ccf3b237-db4a-4a21-9f98-fd81f2810088","name":"CAEA_NOT_AVAILABLE — enabling without a domestic electronic (WS) receipt book.","originalRequest":{"url":{"path":["v1","afip","caea-contingency"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6cafd483-52c1-440e-be66-4c8944e0664c","name":"Common - Cotizaciones","description":{"content":"Get the exchange rate to use when invoicing in a foreign currency. Pass the source and target currency ids (and optionally a date) and use the rate the API returns. The response is `null` when no rate is available for that day — fall back to a manual rate in your UI when that happens.","type":"text/plain"},"item":[{"id":"2942abad-bfcf-4873-89bd-e85f7c10cb66","name":"Get exchange rate","request":{"name":"Get exchange rate","description":{"content":"Get the exchange rate to suggest when invoicing or paying in a foreign currency. Pass the target currency (`to`) and use the rate from the response. When there is no rate for the requested day yet (e.g. before the daily 09:00 sync), the latest earlier rate is returned instead — compare the response's `date` with the day you asked for and show it to your user. The response is `null` when no rate is available at all — show your user a manual-entry input or block the operation when that happens. Organizations without an AFIP connection never wait on a live AFIP query.","type":"text/plain"},"url":{"path":["v1","exchange-rates"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"from","value":"<string>","description":"Source currency id. Omit to use your organization's default currency."},{"disabled":false,"key":"to","value":"<string>","description":"(Required) Target currency id."},{"disabled":false,"key":"date","value":"<string>","description":"ISO date — defaults to today in Argentina (America/Buenos_Aires). Use the date the receipt is issued on."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"94b1643e-fa91-44a3-8828-8296452c5eca","name":"Exchange rate (its `date` may be earlier than the requested day), or `null` when none is available","originalRequest":{"url":{"path":["v1","exchange-rates"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"<string>"},{"key":"to","value":"<string>"},{"key":"date","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"date\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"fromCurrencyId\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"toCurrencyId\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5daeb34-0293-4c8d-b8cf-5df890ac8404","name":"Validation failed. Codes: INVALID_FROM_CURRENCY, TO_CURRENCY_REQUIRED, INVALID_TO_CURRENCY, INVALID_DATE.","originalRequest":{"url":{"path":["v1","exchange-rates"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"<string>"},{"key":"to","value":"<string>"},{"key":"date","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"d0439df8-146f-4306-8b11-da9d4acbb626","name":"Common - Exportaciones","description":{"content":"Download files the API generated for you asynchronously (CSV/Excel exports, large report renderings). Pass the `key` you received from the export endpoint to get back a signed URL valid for one hour — fetch the file from that URL within the hour. You can only download files that belong to your own organization.","type":"text/plain"},"item":[{"id":"13d578a5-85ae-4602-909c-b5a54292956d","name":"Get a download URL for an exported file","request":{"name":"Get a download URL for an exported file","description":{"content":"Get a signed URL (valid for 48 hours) to download a file the API generated for you — for example, a CSV export or a bulk PDF job. Pass the `key` you received from the export endpoint and download the file from the `url` you get back. You can only download files that belong to your own organization. If the link expires, just call this endpoint again with the same key to get a fresh URL.","type":"text/plain"},"url":{"path":["v1","exports","download"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"key","value":"<string>","description":"(Required) The export key returned by whichever endpoint generated the file."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d9f3cc11-883e-4c96-a955-a0e9c9a89184","name":"`{ url }` — fetch this within 48 hours to download the file","originalRequest":{"url":{"path":["v1","exports","download"],"host":["{{baseUrl}}"],"query":[{"key":"key","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"59854e5a-cb25-48d4-911c-336b09761c72","name":"Validation failed. Codes: MISSING_EXPORT_KEY, INVALID_EXPORT_KEY, STORAGE_NOT_CONFIGURED, EXPORT_FILE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","exports","download"],"host":["{{baseUrl}}"],"query":[{"key":"key","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b0589379-f1a5-4b63-8392-6a20bb831314","name":"Generate a multi-day sales export to Google Drive","request":{"name":"Generate a multi-day sales export to Google Drive","description":{"content":"Kick off a sales export covering a date range (both dates inclusive) and upload it to the organization's shared Google Drive folder. The range is split into weekly files (up to 7 days each), so a whole month arrives as several CSVs — this keeps each background job fast and reliable. The jobs run in the background; the response returns one entry per weekly file with its `runId` and the `fileName` that will appear in Drive once it finishes (a few minutes each). Files are named per-range so they never overwrite the per-day exports. This endpoint is currently enabled for a single organization.","type":"text/plain"},"url":{"path":["v1","exports","sales","range"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"dateFrom\": \"<string>\",\n  \"dateTo\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8ab227d2-4273-4fd2-9e84-62fe26e75d1c","name":"`{ exports: [{ runId, jobId, fileName, dateFrom, dateTo }], count }` — one entry per weekly file; each CSV will appear in your Google Drive folder under its `fileName` when it completes.","originalRequest":{"url":{"path":["v1","exports","sales","range"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"dateFrom\": \"2026-06-01\",\n  \"dateTo\": \"2026-06-08\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"d023b08f-779c-4fb9-a91e-eeb75c717e3b","name":"Validation failed. Code: INVALID_DATE_RANGE.","originalRequest":{"url":{"path":["v1","exports","sales","range"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"dateFrom\": \"2026-06-01\",\n  \"dateTo\": \"2026-06-08\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6cb7d3de-a98e-43d4-a26d-9c8a127b3bee","name":"Your organization can't use this export. Code: RANGE_EXPORT_NOT_ALLOWED.","originalRequest":{"url":{"path":["v1","exports","sales","range"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"dateFrom\": \"2026-06-01\",\n  \"dateTo\": \"2026-06-08\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"17c5c588-3d96-4fe1-890b-e8cf42f2f0d0","name":"Common - Importaciones","description":{"content":"Bulk-import customers, products, and other resources from Excel/CSV files. Create a file import to upload a file and kick off a background job, then poll the import to track progress and download the result file (success rows + error rows) once it finishes. Imports go through the same validation as the standard create endpoints, so successful rows are equivalent to creating each resource by hand.","type":"text/plain"},"item":[{"id":"101a2dab-6ecd-4c7d-a6e0-52988d2eb2b5","name":"Upload a file for import","request":{"name":"Upload a file for import","description":{"content":"Upload an Excel (.xlsx, .xls) or CSV (.csv) file for import processing. Creates a FileImport record and stores the file server-side for asynchronous processing. Besides `receipt-books:import`, each type needs its own permissions: CLIENTES → customers:create; PRODUCTOS → products:create; PROVEEDORES → suppliers:create; COMPROBANTES_COMPRA → purchase-receipts:create + suppliers:create; purchase-receipts → purchase-receipts:create + suppliers:create; COMPROBANTES_VENTA → sales-receipts:create + sales-receipts:confirm + customers:create + products:create; PAYROLL → employees:write. A role restricted to Consumidor Final customers can only import those, and its sales are created and confirmed as the uploader.","type":"text/plain"},"url":{"path":["v1","file-imports","upload"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) "},{"key":"type","value":"<string>","type":"text","description":"(Required) Import type (This can only be one of COMPROBANTES_VENTA,COMPROBANTES_COMPRA,purchase-receipts,CLIENTES,PROVEEDORES,PRODUCTOS,PAYROLL)"}]}},"response":[{"id":"42fab22c-ffd9-44ef-99b1-968a9a0b7b02","name":"File uploaded and import record created","originalRequest":{"url":{"path":["v1","file-imports","upload"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"(Required) Import type (This can only be one of COMPROBANTES_VENTA,COMPROBANTES_COMPRA,purchase-receipts,CLIENTES,PROVEEDORES,PRODUCTOS,PAYROLL)","type":"text/plain"},"key":"type","value":"<string>","type":"text"}]}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"8aa6d141-dd7f-4ff7-9764-e0ca04d18753","name":"Validation failed. Codes: NO_FILE_PROVIDED, INVALID_IMPORT_TYPE, INVALID_FILE_EXTENSION, FILE_TOO_LARGE.","originalRequest":{"url":{"path":["v1","file-imports","upload"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"(Required) Import type (This can only be one of COMPROBANTES_VENTA,COMPROBANTES_COMPRA,purchase-receipts,CLIENTES,PROVEEDORES,PRODUCTOS,PAYROLL)","type":"text/plain"},"key":"type","value":"<string>","type":"text"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cfdfc354-1c06-4209-8978-4e5c073bb6ed","name":"Missing the permissions of the import type.","originalRequest":{"url":{"path":["v1","file-imports","upload"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"(Required) Import type (This can only be one of COMPROBANTES_VENTA,COMPROBANTES_COMPRA,purchase-receipts,CLIENTES,PROVEEDORES,PRODUCTOS,PAYROLL)","type":"text/plain"},"key":"type","value":"<string>","type":"text"}]}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"463d4a71-3480-4a22-a687-ebf7a3543892","name":"Dry-run a sales-receipt import (validate only)","request":{"name":"Dry-run a sales-receipt import (validate only)","description":{"content":"Parse and fully validate a sales-receipt import file WITHOUT writing anything: no customers/products are created, no drafts are saved, nothing is sent to AFIP. Returns a per-comprobante preview (would-import vs error + reason) so the file can be checked before the real import auto-emits. Only the sales-receipts type is supported. Needs the permissions of a sales import (receipt-books:import + sales-receipts:create + sales-receipts:confirm + customers:create + products:create).","type":"text/plain"},"url":{"path":["v1","file-imports","preview"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) "}]}},"response":[{"id":"51eff162-ae2e-4467-b8ad-dcb6bb0baa76","name":"Validation preview","originalRequest":{"url":{"path":["v1","file-imports","preview"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"total\": 10,\n  \"valid\": 9,\n  \"errors\": 1,\n  \"results\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"truncated\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1abbeabb-825e-4073-b39f-87cc214c8ca9","name":"Validation failed. Codes: NO_FILE_PROVIDED, INVALID_FILE_EXTENSION, FILE_TOO_LARGE, TOO_MANY_ROWS.","originalRequest":{"url":{"path":["v1","file-imports","preview"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24c31304-dca1-4564-81b4-2db38f382709","name":"Missing the permissions of a sales import.","originalRequest":{"url":{"path":["v1","file-imports","preview"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eab6e7ef-e85c-488e-b47b-2a0dce663c0f","name":"Get signed download URL for an import result file","request":{"name":"Get signed download URL for an import result file","description":{"content":"Returns a short-lived signed URL to download an import result file. The key must be the `resultPath` (or `path`) of one of the current organization's file imports; any other key is rejected with `INVALID_DOWNLOAD_KEY`. For a sales receipts import, the result file is first updated with each comprobante's current number, CAE and emission state.","type":"text/plain"},"url":{"path":["v1","file-imports","download"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"key","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"23eaa477-ec54-4ecd-a62b-d8d8b351b1b1","name":"Signed download URL","originalRequest":{"url":{"path":["v1","file-imports","download"],"host":["{{baseUrl}}"],"query":[{"key":"key","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"9443355b-0366-450e-81da-4d75cf29aa9b","name":"INVALID_DOWNLOAD_KEY — key missing, malformed, or not a file of one of this organization's imports.","originalRequest":{"url":{"path":["v1","file-imports","download"],"host":["{{baseUrl}}"],"query":[{"key":"key","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a3a46eea-5ab6-4215-a113-ad7fe6841734","name":"Download import template","request":{"name":"Download import template","description":{"content":"Download a pre-built Excel template with headers, example rows, and valid value hints. Type must be one of: customers, products, sales-receipts.","type":"text/plain"},"url":{"path":["v1","file-imports","templates",":type"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"type","description":"(Required) "}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"178cd8ba-0b37-475b-b8d3-22c5d321c50e","name":"Excel template file","originalRequest":{"url":{"path":["v1","file-imports","templates",":type"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"type","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"f97c3c72-b3cc-400a-9fac-19eb9cc77109","name":"Invalid template type","originalRequest":{"url":{"path":["v1","file-imports","templates",":type"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"type","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c96b969d-5bb1-4cc4-9bbc-d76f3c29a2ac","name":"List file imports for the current organization","request":{"name":"List file imports for the current organization","description":{"content":"Returns the organization's file import records, optionally filtered by import type.","type":"text/plain"},"url":{"path":["v1","file-imports"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"type","value":"<string>","description":"Filter by import type"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5c318738-a865-48fb-b855-c850e5453a7f","name":"List of file imports","originalRequest":{"url":{"path":["v1","file-imports"],"host":["{{baseUrl}}"],"query":[{"key":"type","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c650cfe5-9041-4bdd-8666-9fae44a135c0","name":"Create file import","request":{"name":"Create file import","description":{"content":"Creates a file import record for the current organization (metadata only; use the upload endpoint to store a file and start processing).","type":"text/plain"},"url":{"path":["v1","file-imports"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"path\": \"<string>\",\n  \"type\": \"<string>\",\n  \"originalFilename\": \"<string>\",\n  \"userId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ff258273-898b-434b-9d9f-c7a6c3ced0a2","name":"Created file import","originalRequest":{"url":{"path":["v1","file-imports"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"path\": \"12/1714300000000_customers-2026-04-28.xlsx\",\n  \"type\": \"CLIENTES\",\n  \"originalFilename\": \"customers-2026.xlsx\",\n  \"userId\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"f3a2f599-9282-40e1-bb07-67c4a1c2195a","name":"Validation failed. Codes: INVALID_IMPORT_TYPE, INVALID_IMPORT_PATH.","originalRequest":{"url":{"path":["v1","file-imports"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"path\": \"12/1714300000000_customers-2026-04-28.xlsx\",\n  \"type\": \"CLIENTES\",\n  \"originalFilename\": \"customers-2026.xlsx\",\n  \"userId\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"51d03573-d516-445c-8455-fb809a58b213","name":"Get file import by id","request":{"name":"Get file import by id","description":{"content":"Returns a single file import record (including its processing status and results) by id, scoped to the current organization.","type":"text/plain"},"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a40ea90a-9e85-4d0a-9fe4-2d7a4ddc078c","name":"File import","originalRequest":{"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"1a7adb57-d683-4242-ac0c-420c94fc321b","name":"Not found","originalRequest":{"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d49c4abb-d187-43c0-8d67-32703617720b","name":"Update file import","request":{"name":"Update file import","description":{"content":"Updates a file import record's status, original filename and counts; 404 when it does not exist or belongs to another organization. `type`, `userId`, `path` and `resultPath` cannot change once the import exists (the import job picks its permissions and processor from them) and are rejected as unknown fields.","type":"text/plain"},"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"originalFilename\": \"<string>\",\n  \"status\": \"<string>\",\n  \"totalCount\": \"<integer>\",\n  \"importedCount\": \"<integer>\",\n  \"errorCount\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d3ee0ad3-55a3-4dbe-8367-7fb62f827cf5","name":"Updated file import","originalRequest":{"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"originalFilename\": \"customers-2026.xlsx\",\n  \"status\": \"PROCESSED\",\n  \"totalCount\": 100,\n  \"importedCount\": 95,\n  \"errorCount\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"57514475-2415-4a8c-b44a-0775d78ecacf","name":"Validation failed (including a `type`, `userId`, `path` or `resultPath` in the body).","originalRequest":{"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"originalFilename\": \"customers-2026.xlsx\",\n  \"status\": \"PROCESSED\",\n  \"totalCount\": 100,\n  \"importedCount\": 95,\n  \"errorCount\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9e0a8f50-141d-4d2d-86ea-4864b5b46595","name":"FILE_IMPORT_NOT_FOUND — file import does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"originalFilename\": \"customers-2026.xlsx\",\n  \"status\": \"PROCESSED\",\n  \"totalCount\": 100,\n  \"importedCount\": 95,\n  \"errorCount\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3fcfbe63-6352-429d-9232-adeb884c8322","name":"Delete file import","request":{"name":"Delete file import","description":{"content":"Deletes a file import record; 404 when it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d9c434b8-55c3-40d5-abd0-415dbc70f32d","name":"Deleted","originalRequest":{"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"1e3a5b67-0447-4cb4-ae22-18df1c48cd38","name":"FILE_IMPORT_NOT_FOUND — file import does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","file-imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"12c84436-a748-43b6-abb6-5a9c8b5ea1b3","name":"Create an import draft from a Google Sheet tab","request":{"name":"Create an import draft from a Google Sheet tab","description":{"content":"Reads the whole tab on the server, maps each row with `source.mapping` and plans it: create / existing / duplicate / error with reason codes. Up to 2000 data rows. Customers dedupe by normalized tax id (existing ones are not updated); sales need an existing customer and an explicit VAT rate (never defaulted) and are created as Borrador on confirm; purchases create missing suppliers. Nothing is written until the draft is confirmed. Amounts accept 1.234,56 and 1234.56; dates dd/mm/yyyy and ISO. Permissions depend on the draft's kind: customers → customers:read / customers:create; sales → sales-receipts:read / sales-receipts:create (+ receipt-books:import with salesMode issued); purchases → purchase-receipts:read / purchase-receipts:create + suppliers:create.","type":"text/plain"},"url":{"path":["v1","imports"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"kind\": \"<string>\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"340d8cab-a857-401f-a354-1418140fb35c","name":"Draft preview","originalRequest":{"url":{"path":["v1","imports"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"kind\": \"<string>\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"kind\": \"sales\",\n  \"status\": \"discarded\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"summary\": {\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"create\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"existing\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"duplicate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"error\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"description\": \"Set once confirmed\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"agentRunId\": null,\n  \"createdAt\": \"2026-10-11T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"discardedAt\": null,\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9e034618-f1bc-4c82-9e8c-87da39b0d67a","name":"Validation failed. Codes: IMPORT_UNKNOWN_FIELD, IMPORT_MAPPING_INCOMPLETE, IMPORT_RECEIPT_BOOK_REQUIRED, IMPORT_RECEIPT_BOOK_NOT_FOUND, IMPORT_RECEIPT_BOOK_NOT_SELF_MANAGED, IMPORT_PURCHASE_CONDITION_NOT_FOUND, IMPORT_SHEET_INVALID, IMPORT_EMPTY_SHEET, IMPORT_TOO_MANY_ROWS.","originalRequest":{"url":{"path":["v1","imports"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"kind\": \"<string>\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1dd494f2-9d67-4603-b1cf-d30b6826be6f","name":"Missing the create permission of the kind.","originalRequest":{"url":{"path":["v1","imports"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"kind\": \"<string>\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2a60b8bf-6abd-4bd6-a549-ac2df4ba1a02","name":"List import drafts","request":{"name":"List import drafts","description":{"content":"Newest first, without rows. Only the kinds the caller may read are listed. Permissions depend on the draft's kind: customers → customers:read / customers:create; sales → sales-receipts:read / sales-receipts:create (+ receipt-books:import with salesMode issued); purchases → purchase-receipts:read / purchase-receipts:create + suppliers:create.","type":"text/plain"},"url":{"path":["v1","imports"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"<string>"},{"disabled":false,"key":"kind","value":"<string>"},{"disabled":false,"key":"page","value":"1"},{"disabled":false,"key":"limit","value":"20"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"01cf3ea5-3457-47f6-bfd2-fcfed416cae8","name":"Page of drafts","originalRequest":{"url":{"path":["v1","imports"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"kind","value":"<string>"},{"key":"page","value":"1"},{"key":"limit","value":"20"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 3\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4ee73325-deab-45d4-afea-b82e4b147864","name":"Get an import draft","request":{"name":"Get an import draft","description":{"content":"Returns the draft with its summary and every planned row. Permissions depend on the draft's kind: customers → customers:read / customers:create; sales → sales-receipts:read / sales-receipts:create (+ receipt-books:import with salesMode issued); purchases → purchase-receipts:read / purchase-receipts:create + suppliers:create.","type":"text/plain"},"url":{"path":["v1","imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dd7102b8-45af-4e54-b382-dd458b65a390","name":"Draft","originalRequest":{"url":{"path":["v1","imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"kind\": \"sales\",\n  \"status\": \"discarded\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"summary\": {\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"create\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"existing\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"duplicate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"error\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"description\": \"Set once confirmed\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"agentRunId\": null,\n  \"createdAt\": \"2026-10-11T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"discardedAt\": null,\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6c6ef200-b1d3-48b7-b8fb-8b62aa0ec6d3","name":"Missing the read permission of the kind.","originalRequest":{"url":{"path":["v1","imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d7d99391-9d12-4c6c-9f3b-dcba8a250a25","name":"IMPORT_DRAFT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","imports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"37d9b663-d439-4c0f-b6c2-9b7449bfe909","name":"Confirm an import draft","request":{"name":"Confirm an import draft","description":{"content":"Recomputes the plan against current data and writes every `create` row through the normal services in one transaction (customers; sales as Borrador, never issued — or, with salesMode issued, registered as already issued with their own number and CAE, no ARCA / VERI*FACTU; purchases and their missing suppliers). Rows a service rejects are skipped and reported in `result.skipped`. Permissions depend on the draft's kind: customers → customers:read / customers:create; sales → sales-receipts:read / sales-receipts:create (+ receipt-books:import with salesMode issued); purchases → purchase-receipts:read / purchase-receipts:create + suppliers:create.","type":"text/plain"},"url":{"path":["v1","imports",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d4e8a855-847e-4ab8-bfcb-302856053084","name":"Confirmed draft with its result","originalRequest":{"url":{"path":["v1","imports",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"kind\": \"sales\",\n  \"status\": \"discarded\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"summary\": {\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"create\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"existing\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"duplicate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"error\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"description\": \"Set once confirmed\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"agentRunId\": null,\n  \"createdAt\": \"2026-10-11T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"discardedAt\": null,\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"afd08cc1-4ba2-49f6-9b7b-2efa8016d0c5","name":"IMPORT_USER_REQUIRED: sales need an acting user.","originalRequest":{"url":{"path":["v1","imports",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5eb9ae6c-aa1b-41d8-b5ef-3b2899ec8b8a","name":"Missing the create permission of the kind.","originalRequest":{"url":{"path":["v1","imports",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4a1c700d-6543-40b3-8511-9a93aeb7aafd","name":"IMPORT_DRAFT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","imports",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5ed42466-b3b9-4578-85b2-fbedf7efcdc6","name":"IMPORT_DRAFT_NOT_DRAFT — already confirmed or discarded.","originalRequest":{"url":{"path":["v1","imports",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"953c62de-c789-429c-ae20-32cab87a88fd","name":"Discard an import draft","request":{"name":"Discard an import draft","description":{"content":"Marks the draft as discarded; nothing is written. Permissions depend on the draft's kind: customers → customers:read / customers:create; sales → sales-receipts:read / sales-receipts:create (+ receipt-books:import with salesMode issued); purchases → purchase-receipts:read / purchase-receipts:create + suppliers:create.","type":"text/plain"},"url":{"path":["v1","imports",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c15ffe32-7b5d-432f-b4b7-2a478159d29a","name":"Discarded draft","originalRequest":{"url":{"path":["v1","imports",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"kind\": \"sales\",\n  \"status\": \"discarded\",\n  \"source\": {\n    \"resourceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sheet\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"headerRow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mapping\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"options\": {\n    \"salesMode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"salesKind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"summary\": {\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"create\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"existing\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"duplicate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"error\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"description\": \"Set once confirmed\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"agentRunId\": null,\n  \"createdAt\": \"2026-10-11T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"discardedAt\": null,\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"035eba79-277c-44fe-bd77-8fd1ef605984","name":"Missing the create permission of the kind.","originalRequest":{"url":{"path":["v1","imports",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8e14aab7-60d0-493b-954d-2c737ab3001c","name":"IMPORT_DRAFT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","imports",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df82a2da-1548-49ec-80c1-c896f2dceba1","name":"IMPORT_DRAFT_NOT_DRAFT — already confirmed or discarded.","originalRequest":{"url":{"path":["v1","imports",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"95f46d28-848a-4c5e-a98c-a34cdb365fa5","name":"Common - Localidades","description":{"content":"Look up Argentine provinces/regions and selected international destinations to fill the location field on customers, branches, and receipts. By default you get Argentine locations; pass `onlyExport=true` when issuing export invoices. The default location returned by `GET /locations/default` is the right pre-selection for new customer/branch forms.","type":"text/plain"},"item":[{"id":"de3eb092-4fab-414e-b457-5adab7bf6f8e","name":"List locations","request":{"name":"List locations","description":{"content":"Get the list of locations to populate the location dropdown when creating a customer, branch, or receipt. Returns Argentine locations by default; pass `country_code=ES` for the Spanish provinces. Pass `onlyExport=true` when the user is issuing an export invoice and needs to pick a foreign destination. Use `nombre` to narrow the list as the user types.","type":"text/plain"},"url":{"path":["v1","locations"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"nombre","value":"<string>","description":"Filter by name (case-insensitive partial match) — pair with the user's search input"},{"disabled":false,"key":"onlyExport","value":"<boolean>","description":"Pass `true` to get foreign destinations for export invoicing. Omit (or `false`) for Argentine locations."},{"disabled":false,"key":"country_code","value":"<string>","description":"ISO 3166-1 alpha-2 of the country whose provinces to list. Default `AR` (the Argentine list, unchanged). `ES` lists the 52 Spanish provinces (50 provincias + Ceuta + Melilla; `afipData` holds the INE code 01–52, `province` the autonomous community). Pass the organization's `countryCode`. `onlyExport` is an Argentine (AFIP export invoice) concept: with any other country it returns an empty list. Not two letters → 400 INVALID_COUNTRY_CODE."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"ece08cdb-d582-4c86-b426-5f24a7a83e52","name":"List of locations","originalRequest":{"url":{"path":["v1","locations"],"host":["{{baseUrl}}"],"query":[{"key":"nombre","value":"<string>"},{"key":"onlyExport","value":"<boolean>"},{"key":"country_code","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"province\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDefault\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"grossIncomeCode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"province\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDefault\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"grossIncomeCode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"49fe87b6-9ee1-4ab4-a984-284b8137f6b3","name":"INVALID_COUNTRY_CODE — country_code is not an ISO alpha-2 code.","originalRequest":{"url":{"path":["v1","locations"],"host":["{{baseUrl}}"],"query":[{"key":"nombre","value":"<string>"},{"key":"onlyExport","value":"<boolean>"},{"key":"country_code","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"722161e1-b57a-45e8-a5d0-379dd677411e","name":"Get the default location","request":{"name":"Get the default location","description":{"content":"Get the location to pre-select on new customer/branch forms. Returns 404 when no default has been configured — fall back to letting the user pick from the full list.","type":"text/plain"},"url":{"path":["v1","locations","default"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"994df4ca-a16b-4a68-b3b5-a21d2a8ecc64","name":"Default location","originalRequest":{"url":{"path":["v1","locations","default"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Buenos Aires\",\n  \"province\": \"Buenos Aires\",\n  \"isActive\": true,\n  \"isDefault\": false,\n  \"countryId\": 1,\n  \"afipData\": \"1\",\n  \"grossIncomeCode\": \"901\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"35589151-8db2-4b75-9ffb-dd6d65811c2e","name":"DEFAULT_LOCATION_NOT_FOUND — no default location configured.","originalRequest":{"url":{"path":["v1","locations","default"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3587b054-e6a9-4dd8-8c30-ac4bf24765e4","name":"Get location by id","request":{"name":"Get location by id","description":{"content":"Get a single location's details — useful when you have an id stored on a customer/branch/receipt and need to display its name.","type":"text/plain"},"url":{"path":["v1","locations",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Location id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"550de680-c94e-400a-832c-256d9b147933","name":"Location","originalRequest":{"url":{"path":["v1","locations",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Location id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Buenos Aires\",\n  \"province\": \"Buenos Aires\",\n  \"isActive\": true,\n  \"isDefault\": false,\n  \"countryId\": 1,\n  \"afipData\": \"1\",\n  \"grossIncomeCode\": \"901\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"547c7b21-6d56-4376-8189-7692a95f3956","name":"LOCATION_NOT_FOUND — location does not exist.","originalRequest":{"url":{"path":["v1","locations",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Location id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"52a36ae4-98fa-4c56-a9df-b56b0ade345e","name":"Common - Monedas","description":{"content":"Look up the currencies available for invoicing and reporting. Use `GET /currencies/favorites` to get the short list shown in dropdowns and `GET /currencies/default` to get the right pre-selection for new receipts (typically ARS).","type":"text/plain"},"item":[{"id":"df869936-59dc-4038-a7c5-37c220573585","name":"List favorite currencies","request":{"name":"List favorite currencies","description":{"content":"Returns the configured favorite currencies ordered by id.","type":"text/plain"},"url":{"path":["v1","currencies"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"376ac4ee-5310-44c1-b8cd-bc6e999ade17","name":"List of favorite currencies","originalRequest":{"url":{"path":["v1","currencies"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"abbreviation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipCode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"symbol\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDefault\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptLetters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"abbreviation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipCode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"symbol\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDefault\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptLetters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1f24cbcd-e0ba-4f2e-8086-bc53a844bc78","name":"Get default currency","request":{"name":"Get default currency","description":{"content":"Returns the configured default currency; 404s if none is configured.","type":"text/plain"},"url":{"path":["v1","currencies","default"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"e0e1cb2d-e047-4537-8dd7-20a557c59ce3","name":"Default currency","originalRequest":{"url":{"path":["v1","currencies","default"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Peso Argentino\",\n  \"abbreviation\": \"ARS\",\n  \"afipCode\": \"PES\",\n  \"symbol\": \"$\",\n  \"isDefault\": true,\n  \"isActive\": true,\n  \"receiptLetters\": \"A,B,C\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"185c9ded-e24f-4c5f-9801-29ec8a3dede4","name":"DEFAULT_CURRENCY_NOT_FOUND — no default currency configured.","originalRequest":{"url":{"path":["v1","currencies","default"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0c4859d3-0f3e-495b-94d6-6950732dec3c","name":"Get default currency id","request":{"name":"Get default currency id","description":{"content":"Returns the configured default currency id.","type":"text/plain"},"url":{"path":["v1","currencies","default-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"a3fcc5bd-9d6b-49ac-a58f-6991af9c3b31","name":"Object with default currency id","originalRequest":{"url":{"path":["v1","currencies","default-id"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eef6c3f1-6534-4306-9103-48b0f800a343","name":"Get favorite currency ids","request":{"name":"Get favorite currency ids","description":{"content":"Returns the list of configured favorite currency ids.","type":"text/plain"},"url":{"path":["v1","currencies","favorites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"be46f6fc-13ba-436f-81ad-4cc2a032e3d5","name":"Object with list of favorite currency ids","originalRequest":{"url":{"path":["v1","currencies","favorites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"ids\": [\n    1,\n    2\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d31297f8-35e5-4f6c-90d4-58ebcbdd0727","name":"Get currency by id","request":{"name":"Get currency by id","description":{"content":"Returns a single currency by id; 404s if it does not exist.","type":"text/plain"},"url":{"path":["v1","currencies",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Currency id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"1e0c2a76-9436-494d-8e9e-0ae1d8b9074d","name":"Currency","originalRequest":{"url":{"path":["v1","currencies",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Currency id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Peso Argentino\",\n  \"abbreviation\": \"ARS\",\n  \"afipCode\": \"PES\",\n  \"symbol\": \"$\",\n  \"isDefault\": true,\n  \"isActive\": true,\n  \"receiptLetters\": \"A,B,C\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"057c980c-17b5-431e-a9f9-579d912a7105","name":"CURRENCY_NOT_FOUND — currency does not exist.","originalRequest":{"url":{"path":["v1","currencies",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Currency id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"7c6c8516-148b-428a-94b3-42b36e9be7b5","name":"Common - Padrón","description":{"content":"Look up an Argentine taxpayer by CUIT/CUIL to pre-fill customer details (fiscal name, tax category, address). You do **not** need to decide whether a receipt must be a Factura de Crédito Electrónica (FCE): send the kind of receipt you want (`factura`, `nota_credito`, `nota_debito`) and Peakly works the rest out on confirm, from the customer's padrón entry and the receipt total — FCE is a legal obligation that follows the amount and the taxpayer, not something you choose. `GET /taxpayer-registries/:taxId/fce-receiver?total=…` is available if you want to show it in your UI beforehand, but it is informational.","type":"text/plain"},"item":[{"id":"24718251-72b1-4b9a-9632-ed8a426b5964","name":"Check FCE eligibility for a taxpayer (informational)","request":{"name":"Check FCE eligibility for a taxpayer (informational)","description":{"content":"Whether a receipt must be a Factura de Crédito Electrónica is decided by Peakly on confirm, from the customer's padrón entry and the receipt total — you send the kind of receipt (`factura`, `nota_credito`, `nota_debito`) and nothing else. This endpoint exists so you can show the answer in your own UI ahead of time; you do not need to call it, and its answer does not change what you send. Pass the receipt's total and the customer's CUIT.","type":"text/plain"},"url":{"path":["v1","taxpayer-registries",":taxId","fce-receiver"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"total","value":"<string>","description":"The receipt's total in ARS. Omit (or `0`) to check whether the taxpayer can ever receive FCE, ignoring the amount."}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"taxId","description":"(Required) Customer's CUIT (companies) or CUIL (individuals) — 11 digits, no dashes"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"94039217-d52f-458c-8ced-c11bd4902663","name":"`{ taxId, total, isFceReceiver }` — use `isFceReceiver` to decide the receipt type","originalRequest":{"url":{"path":["v1","taxpayer-registries",":taxId","fce-receiver"],"host":["{{baseUrl}}"],"query":[{"key":"total","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"taxId","description":"(Required) Customer's CUIT (companies) or CUIL (individuals) — 11 digits, no dashes"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"taxId\": \"20123456789\",\n  \"total\": 1000000,\n  \"isFceReceiver\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a31414b3-5b35-4f34-9b1c-93d37528ae57","name":"TAXPAYER_REGISTRY_NOT_FOUND — no registry entry for this CUIT/CUIL.","originalRequest":{"url":{"path":["v1","taxpayer-registries",":taxId","fce-receiver"],"host":["{{baseUrl}}"],"query":[{"key":"total","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"taxId","description":"(Required) Customer's CUIT (companies) or CUIL (individuals) — 11 digits, no dashes"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"207a3601-42e1-4709-9a21-199cca348483","name":"Look up taxpayer by CUIT/CUIL","request":{"name":"Look up taxpayer by CUIT/CUIL","description":{"content":"Look up a taxpayer to pre-fill a new customer form (fiscal name, tax category, address) or to verify an existing customer's details before issuing a receipt.","type":"text/plain"},"url":{"path":["v1","taxpayer-registries",":taxId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"taxId","description":"(Required) CUIT (companies) or CUIL (individuals) — 11 digits, no dashes"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f7aa0a98-5e73-4226-8a8c-85bcbb3e28f4","name":"Taxpayer details","originalRequest":{"url":{"path":["v1","taxpayer-registries",":taxId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"taxId","description":"(Required) CUIT (companies) or CUIL (individuals) — 11 digits, no dashes"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"taxId\": \"20123456789\",\n  \"validFrom\": \"2024-01-01T00:00:00.000Z\",\n  \"validTo\": \"2099-12-31T00:00:00.000Z\",\n  \"multilateralAgreement\": false,\n  \"updatedAt\": \"2026-05-03T00:00:00.000Z\",\n  \"perceptionRateBsas\": 3.5,\n  \"perceptionRateCaba\": 2,\n  \"retentionRateBsas\": 1.5,\n  \"retentionRateCaba\": 1.5,\n  \"isActive\": true,\n  \"isFceReceiver\": true,\n  \"fceAmountFrom\": 546737\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7797b2d2-c61f-4dc9-be29-bea73a8cc13a","name":"TAXPAYER_REGISTRY_NOT_FOUND — no taxpayer registered for this CUIT/CUIL.","originalRequest":{"url":{"path":["v1","taxpayer-registries",":taxId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"taxId","description":"(Required) CUIT (companies) or CUIL (individuals) — 11 digits, no dashes"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"fdd88dd0-760c-488b-a0f8-9f1ca0600be3","name":"Common - Sucursales","description":{"content":"Manage the physical branches/stores that issue receipts. Create one per location you operate from, then reference its id when creating receipts or assigning point-of-sale numbers. Branch names must be unique within the organization. Deleting a branch removes it from your active list while keeping past receipts linked to it.","type":"text/plain"},"item":[{"id":"69917a5c-1776-4889-8e6d-7e88d0e14b48","name":"List branches","request":{"name":"List branches","description":{"content":"Get the list of active branches to populate branch pickers and decide which point of sale to use. Deleted branches are not included.","type":"text/plain"},"url":{"path":["v1","branches"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dcde94af-302b-4ff7-8da9-412dd7fb8802","name":"List of branches","originalRequest":{"url":{"path":["v1","branches"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"address\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"email\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"phone1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"phone2\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"phone3\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"city\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"postalCode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"locationId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"consumerLegend\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"providerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"address\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"email\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"phone1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"phone2\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"phone3\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"city\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"postalCode\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"locationId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"consumerLegend\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"providerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fdaa1ce5-c05a-41cc-9184-de2e18394121","name":"Create branch","request":{"name":"Create branch","description":{"content":"Create a branch for each physical location your business operates from. Once created, you can reference its id on receipts and assign point-of-sale numbers to it. The name must be different from your other branches.","type":"text/plain"},"url":{"path":["v1","branches"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"address\": \"<string>\",\n  \"city\": \"<string>\",\n  \"postalCode\": \"<string>\",\n  \"locationId\": \"<number>\",\n  \"email\": \"<string>\",\n  \"phone1\": \"<string>\",\n  \"phone2\": \"<string>\",\n  \"phone3\": \"<string>\",\n  \"consumerLegend\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"dfe40e4b-ee88-46f7-a533-62fd2c5489f1","name":"Created branch","originalRequest":{"url":{"path":["v1","branches"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": \"+54 11 4444-6666\",\n  \"phone3\": \"+54 11 4444-7777\",\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": null,\n  \"phone3\": null,\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\",\n  \"providerId\": \"sede-k57abc\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6a2a9d8b-3645-4f42-9bca-de1058ff55b3","name":"Codes: BRANCH_NAME_REQUIRED, BRANCH_NAME_DUPLICATE.","originalRequest":{"url":{"path":["v1","branches"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": \"+54 11 4444-6666\",\n  \"phone3\": \"+54 11 4444-7777\",\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d8a6239a-737c-43b5-a2bf-8300953e411a","name":"Get branch by id","request":{"name":"Get branch by id","description":{"content":"Get a branch's details — useful when you've stored an id on a receipt and need to display the branch name and address.","type":"text/plain"},"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d8dc541e-72c1-435d-898b-499003a39285","name":"Branch","originalRequest":{"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": null,\n  \"phone3\": null,\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\",\n  \"providerId\": \"sede-k57abc\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90a4ffc1-0aeb-495a-8591-a935437180d9","name":"BRANCH_NOT_FOUND — branch does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"abf42359-3304-42ed-bee1-e5f88eae4470","name":"Update branch","request":{"name":"Update branch","description":{"content":"Edit the branch — for example to fix the address or update the contact phone. Send only the fields you want to change. If you change `name`, it still has to be different from your other branches.","type":"text/plain"},"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"address\": \"<string>\",\n  \"city\": \"<string>\",\n  \"postalCode\": \"<string>\",\n  \"locationId\": \"<number>\",\n  \"email\": \"<string>\",\n  \"phone1\": \"<string>\",\n  \"phone2\": \"<string>\",\n  \"phone3\": \"<string>\",\n  \"consumerLegend\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"68b51757-170e-482f-bff0-22ec2e9afab8","name":"Updated branch","originalRequest":{"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": \"+54 11 4444-6666\",\n  \"phone3\": \"+54 11 4444-7777\",\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": null,\n  \"phone3\": null,\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\",\n  \"providerId\": \"sede-k57abc\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10d67166-2cbe-4ae4-a0b8-dc4ec21b83ea","name":"BRANCH_NOT_FOUND — branch does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": \"+54 11 4444-6666\",\n  \"phone3\": \"+54 11 4444-7777\",\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9dd43250-e703-405f-8c41-4a9ab79c4724","name":"BRANCH_NAME_DUPLICATE — another branch already uses this name.","originalRequest":{"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Centro\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"locationId\": 1,\n  \"email\": \"sucursal@empresa.com.ar\",\n  \"phone1\": \"+54 11 4444-5555\",\n  \"phone2\": \"+54 11 4444-6666\",\n  \"phone3\": \"+54 11 4444-7777\",\n  \"consumerLegend\": \"147 - Teléfono Gratuito CABA, Área de Defensa y Protección al Consumidor\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c558b045-3702-4b53-b748-5db7caa8f66e","name":"Delete branch","request":{"name":"Delete branch","description":{"content":"Stop a branch from appearing in pickers and reports when you no longer operate from it. Past receipts that reference the branch keep working.","type":"text/plain"},"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ae88116c-9e3a-4731-b5c9-d9d76055b7a6","name":"Deleted","originalRequest":{"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"0c5211d1-b2e0-45ea-8e70-b64502befc86","name":"BRANCH_NOT_FOUND — branch does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","branches",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"943d70f2-b626-49f8-b8db-15bf3d281dac","name":"Ventas - Clientes","description":{"content":"Manage your customer master data — fiscal name, tax id, tax category, billing address, contact details. Customers are referenced by id from sales receipts; create or update one before issuing a receipt to a new buyer. The CSV export streams cursor-based, so you can pull the full customer book in a single request.","type":"text/plain"},"item":[{"id":"9cc67e75-a17c-4bfa-be92-34f1e4da4f68","name":"List customers (cursor-paginated)","request":{"name":"List customers (cursor-paginated)","description":{"content":"Returns a page of customers. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","customers"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"search","value":"<string>","description":"Filter by business name, tax ID, or email (partial match)"},{"disabled":false,"key":"provider_id","value":"<string>","description":"Exact match on the external provider identifier"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b17215a1-345e-4061-af5d-37139c4611e2","name":"Paginated customers (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","customers"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"search","value":"<string>"},{"key":"provider_id","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3fab65f0-cd55-478b-a111-0fd307c50d2f","name":"Create customer","request":{"name":"Create customer","description":{"content":"Send the `Idempotency-Key` header to make retries safe: a second request with the same key returns the original customer with status 200 and an `Idempotent-Replayed: true` response header. The header value is stored as the customer's `providerId`, so it must be unique per organization. Sending both the header and a body `providerId` is rejected with IDEMPOTENCY_KEY_AND_PROVIDER_ID_CONFLICT.","type":"text/plain"},"url":{"path":["v1","customers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original customer with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"businessName\": \"<string>\",\n  \"taxCategoryId\": \"<number>\",\n  \"documentTypeId\": \"<number>\",\n  \"taxId\": \"<string>\",\n  \"address\": \"<string>\",\n  \"city\": \"<string>\",\n  \"postalCode\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"email\": \"<string>\",\n  \"masterId\": \"<integer>\",\n  \"priceListId\": \"<integer>\",\n  \"saleConditionId\": \"<integer>\",\n  \"locationId\": \"<integer>\",\n  \"contractedSaleCondition\": \"<integer>\",\n  \"statisticalSaleCondition\": \"<integer>\",\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"<string>\",\n  \"providerId\": \"<string>\",\n  \"fiscalConfig\": \"<object>\",\n  \"shippingAddress\": \"<string>\",\n  \"shippingCity\": \"<string>\",\n  \"shippingPostalCode\": \"<string>\",\n  \"shippingLocationId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6e8a2529-0607-45d3-a127-e2b4614a41ad","name":"Idempotent replay — original customer returned","originalRequest":{"url":{"path":["v1","customers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original customer with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"masterId\": 1,\n  \"priceListId\": 3,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"contractedSaleCondition\": 30,\n  \"statisticalSaleCondition\": 30,\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"30345678901\",\n  \"providerId\": \"ext-customer-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"contractedSaleCondition\": 1,\n  \"statisticalSaleCondition\": 1,\n  \"isActive\": true,\n  \"taxCategoryId\": 1,\n  \"masterId\": null,\n  \"priceListId\": null,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"documentTypeId\": 80,\n  \"observations\": null,\n  \"ignoresTaxes\": false,\n  \"taxIdNumber\": null,\n  \"providerId\": \"ext-sku-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"withholdingApplicable\": true,\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"58d896a6-a50f-4822-bc70-6a44b7bdf8a8","name":"Created customer","originalRequest":{"url":{"path":["v1","customers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original customer with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"masterId\": 1,\n  \"priceListId\": 3,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"contractedSaleCondition\": 30,\n  \"statisticalSaleCondition\": 30,\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"30345678901\",\n  \"providerId\": \"ext-customer-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"contractedSaleCondition\": 1,\n  \"statisticalSaleCondition\": 1,\n  \"isActive\": true,\n  \"taxCategoryId\": 1,\n  \"masterId\": null,\n  \"priceListId\": null,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"documentTypeId\": 80,\n  \"observations\": null,\n  \"ignoresTaxes\": false,\n  \"taxIdNumber\": null,\n  \"providerId\": \"ext-sku-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"withholdingApplicable\": true,\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"20c88890-0d36-4b6b-83e8-eb0d057176ca","name":"Validation failed. Codes: INVALID_CUIT, BUSINESS_NAME_REQUIRED, TAX_CATEGORY_REQUIRED, TAX_CATEGORY_NOT_FOUND, TAX_CATEGORY_NOT_IN_ORG_REGIME, DOCUMENT_TYPE_COMBO_EMPTY, TAX_ID_DUPLICATE, TAX_ID_DUPLICATE_INACTIVE, PROVIDER_ID_DUPLICATE, IDEMPOTENCY_KEY_AND_PROVIDER_ID_CONFLICT, IDEMPOTENCY_KEY_TOO_LONG, ORGANIZATION_NOT_FOUND. TAX_ID_DUPLICATE_INACTIVE means the taxId belongs to a deleted customer; its `details` carry `customerId=<id>` so the caller can restore it with PATCH /customers/{id} `{ isActive: true }`.","originalRequest":{"url":{"path":["v1","customers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original customer with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"masterId\": 1,\n  \"priceListId\": 3,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"contractedSaleCondition\": 30,\n  \"statisticalSaleCondition\": 30,\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"30345678901\",\n  \"providerId\": \"ext-customer-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"72224c24-901c-4dfd-9487-637f1f1172f2","name":"Lookup CUIT for customer auto-fill","request":{"name":"Lookup CUIT for customer auto-fill","description":{"content":"Validates CUIT and fetches business data from AFIP via system certificate.","type":"text/plain"},"url":{"path":["v1","customers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cuit","value":"<string>","description":"(Required) CUIT to look up (11 digits, with or without dashes)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"abd2f63a-9646-49d7-8541-94f1caf7f0ab","name":"CUIT lookup result","originalRequest":{"url":{"path":["v1","customers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"suggestion\": {\n    \"nullable\": true,\n    \"description\": \"Auto-fill suggestion built from ARCA padrón. `null` when the CUIT is not registered.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"08c815a6-f007-41c5-8f88-8f4dd7d6bb27","name":"INVALID_CUIT — malformed or bad check digit.","originalRequest":{"url":{"path":["v1","customers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"83124e43-c029-4f07-ae1a-20448760cebe","name":"AFIP_PERSONA_NOT_FOUND — no taxpayer registered in AFIP for this CUIT.","originalRequest":{"url":{"path":["v1","customers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c2bf8f18-9f36-4c72-925d-ed8d9037e8ee","name":"AFIP_WSCI_ERROR — upstream AFIP (WSCI) failure. See providerMessage.","originalRequest":{"url":{"path":["v1","customers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Gateway","code":502,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"22c74902-18b2-4986-bbfb-3fc711d57ad2","name":"Export customers as CSV (cursor-based, streaming)","request":{"name":"Export customers as CSV (cursor-based, streaming)","description":{"content":"Streams all matching customers of the current organization as a downloadable CSV file, paging by keyset cursor; supports search, provider_id, and is_active filters (active only by default).","type":"text/plain"},"url":{"path":["v1","customers","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Filter by business name, tax ID, or email (partial match)"},{"disabled":false,"key":"is_active","value":"<boolean>","description":"Include only active customers (default true)"},{"disabled":false,"key":"provider_id","value":"<string>","description":"Exact match on the external provider identifier"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"32f4c106-c7a0-455c-8bd4-820049ee54ca","name":"CSV file download","originalRequest":{"url":{"path":["v1","customers","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"is_active","value":"<boolean>"},{"key":"provider_id","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6e452b5c-cb99-4dc4-99ac-ad595e300419","name":"Customer current account (Cuenta corriente)","request":{"name":"Customer current account (Cuenta corriente)","description":{"content":"Movements of one customer (invoices and debit notes as debit; credit notes and collections as credit) with a running balance. `openingBalance` is what the customer owed before `date_from`, and the first row's balance starts from it. Excludes drafts and voided documents. Same data as the `customer_account_statement` MCP tool. Balance is positive when the customer owes money.","type":"text/plain"},"url":{"path":["v1","customers",":id","current-account"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"Movements from this date (YYYY-MM-DD, inclusive)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Movements up to this date (YYYY-MM-DD, inclusive)"},{"disabled":false,"key":"page","value":"<number>","description":"Page number (1-based, default 1)"},{"disabled":false,"key":"page_size","value":"<number>","description":"Rows per page (default 50, max 500)"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0c99abde-9ac4-4e6b-b49b-3d3f37c48554","name":"Movements with running balance, opening and final balance","originalRequest":{"url":{"path":["v1","customers",":id","current-account"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 42,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"openingBalance\": 5000,\n  \"finalBalance\": 12100\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f6da609a-4579-4d7b-a365-d09f79418e09","name":"CUSTOMER_NOT_FOUND","originalRequest":{"url":{"path":["v1","customers",":id","current-account"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"72d674b1-9245-4432-af8e-3f00038af6aa","name":"Export customer current account as CSV","request":{"name":"Export customer current account as CSV","description":{"content":"Streams every movement in the range (date, type, description, debit, credit, balance) as a CSV file. When `date_from` is given and a balance is carried in, the first row is the opening balance.","type":"text/plain"},"url":{"path":["v1","customers",":id","current-account","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"Movements from this date (YYYY-MM-DD, inclusive)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Movements up to this date (YYYY-MM-DD, inclusive)"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"334810d7-408e-49a5-80ac-ee945e9de742","name":"CSV file download","originalRequest":{"url":{"path":["v1","customers",":id","current-account","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"345cbdaf-78d4-4d54-b06a-c6c282e6ca54","name":"CUSTOMER_NOT_FOUND","originalRequest":{"url":{"path":["v1","customers",":id","current-account","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eb76df38-0627-4132-9268-38b85fdec197","name":"Get customer by id","request":{"name":"Get customer by id","description":{"content":"Returns a single customer of the current organization by its id, including tax category, sale condition, location, and document type; responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"eab78d90-4d39-44e9-a0dd-515c1bbe039f","name":"Customer","originalRequest":{"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"contractedSaleCondition\": 1,\n  \"statisticalSaleCondition\": 1,\n  \"isActive\": true,\n  \"taxCategoryId\": 1,\n  \"masterId\": null,\n  \"priceListId\": null,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"documentTypeId\": 80,\n  \"observations\": null,\n  \"ignoresTaxes\": false,\n  \"taxIdNumber\": null,\n  \"providerId\": \"ext-sku-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"withholdingApplicable\": true,\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bb7e80b0-0635-4187-9f88-19dacc53944d","name":"Not found","originalRequest":{"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5d0da029-0e61-4b2c-a3b2-321ba813be98","name":"Update customer","request":{"name":"Update customer","description":{"content":"Updates the customer's master data for the current organization, re-validating CUIT, tax category against the org regime, and taxId/providerId uniqueness; returns the updated customer.","type":"text/plain"},"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"businessName\": \"<string>\",\n  \"taxCategoryId\": \"<number>\",\n  \"documentTypeId\": \"<number>\",\n  \"taxId\": \"<string>\",\n  \"address\": \"<string>\",\n  \"city\": \"<string>\",\n  \"postalCode\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"email\": \"<string>\",\n  \"masterId\": \"<integer>\",\n  \"priceListId\": \"<integer>\",\n  \"saleConditionId\": \"<integer>\",\n  \"locationId\": \"<integer>\",\n  \"contractedSaleCondition\": \"<integer>\",\n  \"statisticalSaleCondition\": \"<integer>\",\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"<string>\",\n  \"providerId\": \"<string>\",\n  \"fiscalConfig\": \"<object>\",\n  \"shippingAddress\": \"<string>\",\n  \"shippingCity\": \"<string>\",\n  \"shippingPostalCode\": \"<string>\",\n  \"shippingLocationId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9be3688f-7349-45d2-b0ef-06472a56b9b4","name":"Updated customer","originalRequest":{"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"masterId\": 1,\n  \"priceListId\": 3,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"contractedSaleCondition\": 30,\n  \"statisticalSaleCondition\": 30,\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"30345678901\",\n  \"providerId\": \"ext-customer-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"contractedSaleCondition\": 1,\n  \"statisticalSaleCondition\": 1,\n  \"isActive\": true,\n  \"taxCategoryId\": 1,\n  \"masterId\": null,\n  \"priceListId\": null,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"documentTypeId\": 80,\n  \"observations\": null,\n  \"ignoresTaxes\": false,\n  \"taxIdNumber\": null,\n  \"providerId\": \"ext-sku-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"withholdingApplicable\": true,\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8cc5a078-9765-4f09-8732-048b2ee1699a","name":"Validation failed. Codes: INVALID_CUIT, TAX_CATEGORY_NOT_FOUND, TAX_CATEGORY_NOT_IN_ORG_REGIME, TAX_ID_DUPLICATE, TAX_ID_DUPLICATE_INACTIVE, PROVIDER_ID_DUPLICATE, ORGANIZATION_NOT_FOUND. TAX_ID_DUPLICATE_INACTIVE means the taxId belongs to a deleted customer; its `details` carry `customerId=<id>` so the caller can restore it with PATCH /customers/{id} `{ isActive: true }`.","originalRequest":{"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"masterId\": 1,\n  \"priceListId\": 3,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"contractedSaleCondition\": 30,\n  \"statisticalSaleCondition\": 30,\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"30345678901\",\n  \"providerId\": \"ext-customer-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8e77368e-15c2-44b1-bff5-10e30442b916","name":"CUSTOMER_NOT_FOUND — customer does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"masterId\": 1,\n  \"priceListId\": 3,\n  \"saleConditionId\": 1,\n  \"locationId\": 1,\n  \"contractedSaleCondition\": 30,\n  \"statisticalSaleCondition\": 30,\n  \"isActive\": true,\n  \"observations\": \"<string>\",\n  \"ignoresTaxes\": \"<boolean>\",\n  \"taxIdNumber\": \"30345678901\",\n  \"providerId\": \"ext-customer-123\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"equivalenceSurcharge\": false\n  },\n  \"shippingAddress\": \"Av. San Martín 456\",\n  \"shippingCity\": \"Córdoba\",\n  \"shippingPostalCode\": \"X5000\",\n  \"shippingLocationId\": 2\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"efb0884a-1621-4385-b579-e3176bce9889","name":"Delete customer","request":{"name":"Delete customer","description":{"content":"Soft-deletes the customer (sets it inactive) for the current organization; returns 204 on success or 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"14281733-7376-47ed-a44f-5bbdb6e86683","name":"Deleted","originalRequest":{"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"e162354d-bda0-4498-9276-6f290d1eb396","name":"CUSTOMER_NOT_FOUND — customer does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","customers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e5f59227-daf9-4d3a-88ca-883536366980","name":"Ventas - Cobranzas","description":{"content":"","type":"text/plain"},"item":[{"id":"ef13302b-3868-47d9-b75b-9efc096a4b09","name":"List collections (cursor-paginated)","request":{"name":"List collections (cursor-paginated)","description":{"content":"Returns a page of collections. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","collections"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter by customer"},{"disabled":false,"key":"status","value":"<string>","description":"Filter by status (Cobrada/Anulada)"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by date from (YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by date to (YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0dfc02f6-a552-432e-b8f3-960c2b4b713a","name":"Paginated collections (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","collections"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"customer_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"123\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b1494ada-ac66-4c2a-bd34-c90b659dd2f4","name":"Create collection (cobranza)","request":{"name":"Create collection (cobranza)","description":{"content":"Collects sales receipts with one or more valores. Updates receipt total_collected/status, registers treasury movements (cash/bank/checks/retentions) and generates the CZ journal entry when accounting is enabled. A bank account or cash register in a foreign currency goes up by the payment's `foreignAmount` (default amount / exchangeRate); `amount` stays in the organization's currency.","type":"text/plain"},"url":{"path":["v1","collections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"customerId\": \"<number>\",\n  \"date\": \"<string>\",\n  \"typeId\": \"<number>\",\n  \"receipts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"detail\": \"<string>\",\n  \"number\": \"<string>\",\n  \"userId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7a90d606-3436-4b86-98e6-12b22072bb40","name":"Created collection","originalRequest":{"url":{"path":["v1","collections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customerId\": 1,\n  \"date\": \"2026-08-01\",\n  \"typeId\": 100,\n  \"receipts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"detail\": \"Cobranza facturas julio\",\n  \"number\": \"0001-00000045\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"referenceNumber\": 45,\n  \"number\": \"0001-00000045\",\n  \"date\": \"2026-08-01T00:00:00.000Z\",\n  \"createdAt\": \"2026-08-01T10:00:00.000Z\",\n  \"total\": 1210.5,\n  \"detail\": \"Cobranza facturas julio\",\n  \"status\": \"Cobrada\",\n  \"typeId\": 100,\n  \"customerId\": 1,\n  \"journalEntryId\": 100,\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea8ee036-12f4-4dbd-b2b1-fe4053007e37","name":"Validation failed. Codes: RECEIPTS_REQUIRED, PAYMENTS_REQUIRED, CUSTOMER_NOT_FOUND, TYPE_NOT_FOUND, RECEIPT_NOT_FOUND, RECEIPT_AMOUNT_INVALID, RECEIPT_AMOUNT_EXCEEDS_PENDING, RECEIPT_CUSTOMER_MISMATCH, RECEIPT_NOT_COLLECTIBLE, RECEIPT_DUPLICATED_IN_COLLECTION, PAYMENTS_TOTAL_MISMATCH, PAYMENT_AMOUNT_INVALID, PAYMENT_METHOD_NOT_FOUND, PAYMENT_TYPE_NOT_SUPPORTED, EXCHANGE_RATE_REQUIRED, PAYMENT_FX_MISMATCH, RESPONSIBLE_USER_NOT_IN_ORGANIZATION.","originalRequest":{"url":{"path":["v1","collections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customerId\": 1,\n  \"date\": \"2026-08-01\",\n  \"typeId\": 100,\n  \"receipts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"detail\": \"Cobranza facturas julio\",\n  \"number\": \"0001-00000045\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"458f6ab9-ac26-4d9a-97c1-0ef89a7a93fe","name":"Get the next collection reference number","request":{"name":"Get the next collection reference number","description":{"content":"Returns MAX(reference_number)+1 for the org (v1 GetProximoNroReferencia).","type":"text/plain"},"url":{"path":["v1","collections","next-reference"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"02c35995-1e77-4850-912f-fa873a2f01af","name":"Next reference","originalRequest":{"url":{"path":["v1","collections","next-reference"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"nextReference\": 46\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4288483c-d10b-49b6-9408-92380e926f72","name":"Download collection receipt (recibo de cobranza) PDF via signed URL (public)","request":{"name":"Download collection receipt (recibo de cobranza) PDF via signed URL (public)","description":{"content":"Public endpoint that verifies a signed token to generate and stream the collection receipt (recibo de cobranza) PDF inline.","type":"text/plain"},"url":{"path":["v1","collections",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"token","value":"<string>","description":"(Required) Signed download token"},{"disabled":false,"key":"expires","value":"<string>","description":"(Required) Token expiration (unix seconds)"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3dd3771b-e6cb-4005-bba6-271deccc5f98","name":"Collection receipt PDF file","originalRequest":{"url":{"path":["v1","collections",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ef01ad5a-f7b4-4075-b361-3463d799cae5","name":"Invalid or expired token","originalRequest":{"url":{"path":["v1","collections",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"31e5964f-888d-47a9-bd3f-e615472f5d30","name":"Not found","originalRequest":{"url":{"path":["v1","collections",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"db36d31a-95d9-4aee-b16d-e2033adde7f0","name":"Get collection by id (with receipt items and payment entries)","request":{"name":"Get collection by id (with receipt items and payment entries)","description":{"content":"Returns a single collection with its imputed receipt items and payment entries; 404 if it does not exist in this organization.","type":"text/plain"},"url":{"path":["v1","collections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a605a67c-3ef2-4557-b08d-642a8859f9d2","name":"Collection","originalRequest":{"url":{"path":["v1","collections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"referenceNumber\": 45,\n  \"number\": \"0001-00000045\",\n  \"date\": \"2026-08-01T00:00:00.000Z\",\n  \"createdAt\": \"2026-08-01T10:00:00.000Z\",\n  \"total\": 1210.5,\n  \"detail\": \"Cobranza facturas julio\",\n  \"status\": \"Cobrada\",\n  \"typeId\": 100,\n  \"customerId\": 1,\n  \"journalEntryId\": 100,\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d11a21fd-f002-40bb-8490-66785cbcbe94","name":"COLLECTION_NOT_FOUND — collection does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","collections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"958d9916-7ec8-4be2-9936-5a12200d1038","name":"Void (anular) a collection — alias of POST :id/void","request":{"name":"Void (anular) a collection — alias of POST :id/void","description":{"content":"DELETE is a soft void: the collection is kept with status Anulada and all treasury/receipt effects are reverted (same as POST :id/void).","type":"text/plain"},"url":{"path":["v1","collections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7f5d2d94-5ee9-4dd5-9332-68179f852c64","name":"Voided collection","originalRequest":{"url":{"path":["v1","collections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"referenceNumber\": 45,\n  \"number\": \"0001-00000045\",\n  \"date\": \"2026-08-01T00:00:00.000Z\",\n  \"createdAt\": \"2026-08-01T10:00:00.000Z\",\n  \"total\": 1210.5,\n  \"detail\": \"Cobranza facturas julio\",\n  \"status\": \"Cobrada\",\n  \"typeId\": 100,\n  \"customerId\": 1,\n  \"journalEntryId\": 100,\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dd5294c7-de65-48dd-9aac-cecebcff6ea1","name":"Same codes as POST :id/void. JOURNAL_ENTRY_PERIOD_LOCKED: the journal entry date falls inside a locked accounting period. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","collections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ccb64326-516e-434e-b009-3363933ee820","name":"COLLECTION_NOT_FOUND — collection does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","collections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"55079320-0995-4bd3-ace6-237937fe0f24","name":"Void (anular) a collection","request":{"name":"Void (anular) a collection","description":{"content":"Reverts receipt total_collected/status, cash/bank balances and check/retention statuses. The collection is kept with status Anulada.","type":"text/plain"},"url":{"path":["v1","collections",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fcad26dc-7a5a-4497-8009-625189619d28","name":"Voided collection","originalRequest":{"url":{"path":["v1","collections",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"referenceNumber\": 45,\n  \"number\": \"0001-00000045\",\n  \"date\": \"2026-08-01T00:00:00.000Z\",\n  \"createdAt\": \"2026-08-01T10:00:00.000Z\",\n  \"total\": 1210.5,\n  \"detail\": \"Cobranza facturas julio\",\n  \"status\": \"Cobrada\",\n  \"typeId\": 100,\n  \"customerId\": 1,\n  \"journalEntryId\": 100,\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2f90059e-9011-4996-b11f-25c372322456","name":"Validation failed. Codes: COLLECTION_ALREADY_VOIDED, PAYMENT_CHECK_ALREADY_DEPOSITED, JOURNAL_ENTRY_PERIOD_LOCKED, FISCAL_YEAR_CLOSED. JOURNAL_ENTRY_PERIOD_LOCKED: the journal entry date falls inside a locked accounting period — unlock the period before voiding. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","collections",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c33595c-b8f2-4e30-964f-11215f4733fa","name":"COLLECTION_NOT_FOUND — collection does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","collections",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"9cf51200-ebf8-4639-b0fd-c10c267208b1","name":"Ventas - Comprobantes","description":{"content":"Issue and manage sales receipts — facturas A/B/C/E, notas de crédito, notas de débito, recibos, FCE/MiPyME. Standard flow: create the receipt as a draft, add line details and observations, then call `POST :id/confirm` to assign the next sequential number from the receipt book and trigger AFIP authorization. Drafts can be edited or deleted freely; once confirmed, the only way to reverse a receipt is by issuing a credit note. Bulk endpoints (email, void) run as background jobs you poll for progress. Getting receipts out as a file — CSV or a zip of PDFs — lives under **Ventas - Comprobantes - Exports**.","type":"text/plain"},"item":[{"id":"1cf283c3-ca70-46b9-88d7-c4f9dff3d5bd","name":"Preview the next receipt number for a receipt book + customer + type","request":{"name":"Preview the next receipt number for a receipt book + customer + type","description":{"content":"Previews (without consuming) the next sequential number that would be assigned for the given receipt book, customer and receipt type.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","next-number"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"receipt_book_id","value":"<number>","description":"(Required) "},{"disabled":false,"key":"customer_id","value":"<number>","description":"(Required) "},{"disabled":false,"key":"receipt_type","value":"<string>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ced8f7f2-3dcf-4d4d-b062-1d54549a200c","name":"Preview of the next receipt number that would be assigned","originalRequest":{"url":{"path":["v1","sales","sales-receipts","next-number"],"host":["{{baseUrl}}"],"query":[{"key":"receipt_book_id","value":"<number>"},{"key":"customer_id","value":"<number>"},{"key":"receipt_type","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"letter\": \"A\",\n  \"number\": \"00001-00000124\",\n  \"nextSequential\": 124,\n  \"withholdingRate\": 15,\n  \"applySurcharge\": false,\n  \"requiredLetter\": \"A\",\n  \"breaches\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f7c660d9-a37f-4da9-b28b-27c9f9400ede","name":"Validation failed. Codes: MISSING_SALES_LETTER.","originalRequest":{"url":{"path":["v1","sales","sales-receipts","next-number"],"host":["{{baseUrl}}"],"query":[{"key":"receipt_book_id","value":"<number>"},{"key":"customer_id","value":"<number>"},{"key":"receipt_type","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5b94d908-3f25-4386-a638-43358a34980b","name":"List sales receipts (cursor-paginated, optional date filters)","request":{"name":"List sales receipts (cursor-paginated, optional date filters)","description":{"content":"Returns a page of sales receipts. Use cursor from nextCursor for the next page. If date_from/date_to are omitted, all dates are included.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"Filter receipts on or after this date (YYYY-MM-DD). Omit to include all dates."},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter receipts on or before this date (YYYY-MM-DD, inclusive). Omit to include all dates."},{"disabled":false,"key":"status","value":"<string>","description":"Filter by receipt status"},{"disabled":false,"key":"search","value":"<string>","description":"Search by customer name, receipt number, or CAE. Supports prefixes: cae:<value>, cuit:<value>, nro:<value>, id:<value>"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter by customer ID"},{"disabled":false,"key":"receipt_type","value":"<string>","description":"Filter by receipt type group"},{"disabled":false,"key":"user_id","value":"<number>","description":"Filter by creator user ID"},{"disabled":false,"key":"receipt_book_id","value":"<number>","description":"Filter by receipt book ID"},{"disabled":false,"key":"provider_id","value":"<string>","description":"Exact match on the external provider identifier"},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page (from previous response nextCursor)"},{"disabled":false,"key":"page_size","value":"20","description":"Page size (default 20, max 100)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f2dee8c9-e051-4531-9214-aa20a403df6c","name":"Paginated sales receipts (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","sales","sales-receipts"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"status","value":"<string>"},{"key":"search","value":"<string>"},{"key":"customer_id","value":"<number>"},{"key":"receipt_type","value":"<string>"},{"key":"user_id","value":"<number>"},{"key":"receipt_book_id","value":"<number>"},{"key":"provider_id","value":"<string>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"20"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9205102c-cb5d-4ddb-b828-79c498381894","name":"Create sales receipt","request":{"name":"Create sales receipt","description":{"content":"**Quickest path — no IDs required.** Send `customerTaxId` (CUIT) and a line `description`; the server matches an existing customer by tax id (or creates one from ARCA padrón data) and matches an existing product by description (or creates it). No need to pre-create customers or products via separate endpoints. See the **Minimal** example below.\n\nIf you already have IDs from previous calls, send `customerId` / `productId` instead — see the **With existing IDs** example.\n\nSend the `Idempotency-Key` header to make retries safe: a second request with the same key returns the original receipt with status 200 and an `Idempotent-Replayed: true` response header. The header value is stored as the receipt's `providerId`, so it must be unique per organization. Sending both the header and a body `providerId` is rejected with IDEMPOTENCY_KEY_AND_PROVIDER_ID_CONFLICT.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original receipt with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"receiptBookId\": \"<number>\",\n  \"customerId\": \"<integer>\",\n  \"customerTaxId\": \"<string>\",\n  \"customerName\": \"<string>\",\n  \"customer\": {\n    \"description\": \"Buyer details, used ONLY when `customerTaxId` forces the server to create a new customer. Never modifies an existing one. For a CUIT the ARCA padrón stays authoritative for name, address, city and postal code; only `phone` is taken from here.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleConditionId\": \"<number>\",\n  \"date\": \"<string>\",\n  \"dueDate\": \"<string>\",\n  \"serviceStartDate\": \"<string>\",\n  \"serviceEndDate\": \"<string>\",\n  \"observation\": \"<string>\",\n  \"collectionEmail\": \"<string>\",\n  \"currencyId\": \"<integer>\",\n  \"exchangeRate\": \"<number>\",\n  \"cancellationInSameCurrency\": \"<boolean>\",\n  \"returnsStock\": true,\n  \"receiptType\": \"<string>\",\n  \"isDraft\": \"<boolean>\",\n  \"providerId\": \"<object>\",\n  \"associatedReceiptId\": \"<string>\",\n  \"consignmentSettlement\": {\n    \"description\": \"Issue a Cuenta de Venta y Líquido Producto (consignment settlement, class A or B) instead of a plain invoice: the detail lines are the goods sold on behalf of the consignor (the customer) and `deductions` are the commission and expenses deducted from them. Only for invoices (`receiptType` `factura`), without `associatedReceiptId`, and only when the organization has consignment settlements enabled. It can be saved as a draft (`isDraft: true`): the deductions are stored with the draft, follow its lines while it is edited and are issued unchanged when it is confirmed.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"exportData\": {\n    \"description\": \"WSFEX data. On electronic emission requires exportType, destinationCountryCode, buyer identity and paymentMethod for invoices; goods invoices also require incotermsCode. Drafts may be incomplete.\",\n    \"example\": {\n      \"incotermsCode\": \"FOB\",\n      \"incotermsDescription\": \"Free on Board\"\n    },\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"discount\": \"<number>\",\n  \"discountAmount\": \"<number>\",\n  \"vatPerceptions\": \"<number>\",\n  \"grossIncomePerceptions\": \"<number>\",\n  \"grossIncomePerceptionsBsas\": \"<number>\",\n  \"grossIncomePerceptionsCaba\": \"<number>\",\n  \"documentKind\": \"<string>\",\n  \"withholdingRate\": \"<number>\",\n  \"applySurcharge\": \"<boolean>\",\n  \"rectificationReason\": \"<string>\",\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4187fd6c-cddc-4034-ad3b-966caea2ddaa","name":"Idempotent replay — original sales receipt returned","originalRequest":{"url":{"path":["v1","sales","sales-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original receipt with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptBookId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"details\": [\n    {\n      \"quantity\": 1,\n      \"unitPrice\": 100,\n      \"description\": \"Servicios de consultoría\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c1b9192-5f6d-4fab-ad00-463bed22ccf9","name":"Created sales receipt","originalRequest":{"url":{"path":["v1","sales","sales-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original receipt with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptBookId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"details\": [\n    {\n      \"quantity\": 1,\n      \"unitPrice\": 100,\n      \"description\": \"Servicios de consultoría\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6879ece6-8136-4109-a01f-a4ff7c9b51f9","name":"Validation failed. Codes: ORGANIZATION_ARCHIVED, SALES_ISSUANCE_NOT_AVAILABLE, FISCAL_PROVIDER_NOT_AVAILABLE, DETAILS_REQUIRED, MISSING_SALES_LETTER, PROVIDER_ID_DUPLICATE, IDEMPOTENCY_KEY_AND_PROVIDER_ID_CONFLICT, IDEMPOTENCY_KEY_TOO_LONG, EXPORT_DATA_INVALID, EXPORT_DATE_INVALID, EXPORT_RECEIPT_KIND_MISMATCH, RECEIPT_BOOK_DISABLED, SELF_SALE_NOT_ALLOWED, UNSUPPORTED_VAT_RATE, VAT_NOT_ALLOWED_FOR_LETTER, NEGATIVE_TOTAL, SERVICE_DATES_REQUIRED, RECEIPT_DATE_BEFORE_LAST, RECEIPT_DATE_IN_FUTURE, CONSUMER_AMOUNT_LIMIT_EXCEEDED, RECEIVER_CLASS_MISMATCH, RECEIVER_VAT_CONDITION_MISSING, RECEIVER_VAT_CONDITION_INVALID_FOR_CLASS, ASSOCIATED_RECEIPT_NOT_FOUND, ASSOCIATED_RECEIPT_CUSTOMER_MISMATCH, ASSOCIATED_RECEIPT_LETTER_MISMATCH, NOTE_TYPE_OPERATION_MISMATCH, CREDIT_NOTE_AMOUNT_EXCEEDS_BALANCE, FCE_ASSOCIATED_RECEIPT_INVALID, FCE_ASSOCIATED_RECEIPT_REQUIRED, CONSIGNMENT_SETTLEMENT_NOT_ENABLED, CONSIGNMENT_SETTLEMENT_INVALID, FIELD_NOT_SUPPORTED_FOR_COUNTRY, ES_RECEIPT_BOOK_NOT_SELF_MANAGED, ES_UNKNOWN_DOCUMENT_TYPE, ES_DOCUMENT_TYPE_OPERATION_MISMATCH, ES_DEBIT_NOTE_NOT_SUPPORTED, ES_RECIPIENT_TAX_ID_REQUIRED, ES_RECTIFIED_INVOICE_REQUIRED, ES_UNRESOLVED_TAX_CODE, ES_INVALID_IRPF_RATE, ES_WITHHOLDING_NOT_ALLOWED, ES_SURCHARGE_NOT_APPLICABLE, ES_UNIT_PRICE_WITH_VAT_NOT_SUPPORTED, ES_CUSTOMER_TAX_ID_NOT_FOUND, ES_INVALID_SERIES, ES_DISCOUNT_AND_AMOUNT_MUTUALLY_EXCLUSIVE, ES_RECTIFICATION_REASON_NOT_APPLICABLE.","originalRequest":{"url":{"path":["v1","sales","sales-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original receipt with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptBookId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"details\": [\n    {\n      \"quantity\": 1,\n      \"unitPrice\": 100,\n      \"description\": \"Servicios de consultoría\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8b9b08b-cda6-4b4c-b554-99e50cb301ce","name":"Customer or receipt book not found.","originalRequest":{"url":{"path":["v1","sales","sales-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original receipt with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptBookId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"details\": [\n    {\n      \"quantity\": 1,\n      \"unitPrice\": 100,\n      \"description\": \"Servicios de consultoría\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9d7a7823-1891-4b45-ae84-1aa6f6721f75","name":"Confirm a draft receipt (Borrador -> Pendiente_Afip / Creada)","request":{"name":"Confirm a draft receipt (Borrador -> Pendiente_Afip / Creada)","description":{"content":"Validates required fields, assigns real receipt number, sets status to Pendiente_Afip, and triggers AFIP authorization. Non-WS books (and every Spanish organization, whose points of sale are self-managed) skip AFIP: the receipt is numbered from its serie and becomes Creada in the same transaction — no CAE, no task.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"25b108d6-66df-43f1-800a-47758a8d41b8","name":"Confirmed receipt","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b480ee91-d8e4-4312-ba61-90f8d5ab7fde","name":"Validation failed. Codes: ORGANIZATION_ARCHIVED, SALES_ISSUANCE_NOT_AVAILABLE, FISCAL_PROVIDER_NOT_AVAILABLE, INVALID_RECEIPT_STATUS_FOR_CONFIRM, EXPORT_DATA_INVALID, EXPORT_DATE_INVALID, EXPORT_RECEIPT_KIND_MISMATCH, CUSTOMER_REQUIRED, DETAILS_REQUIRED, RECEIPT_BOOK_REQUIRED, SALE_CONDITION_REQUIRED, RECEIPT_DATE_TOO_OLD, RECEIPT_BOOK_NOT_FOUND, RECEIPT_BOOK_DISABLED, SELF_SALE_NOT_ALLOWED, VAT_NOT_ALLOWED_FOR_LETTER, NEGATIVE_TOTAL, SERVICE_DATES_REQUIRED, RECEIPT_DATE_BEFORE_LAST, RECEIPT_DATE_IN_FUTURE, CONSUMER_AMOUNT_LIMIT_EXCEEDED, RECEIVER_CLASS_MISMATCH, RECEIVER_VAT_CONDITION_MISSING, RECEIVER_VAT_CONDITION_INVALID_FOR_CLASS, ASSOCIATED_RECEIPT_NOT_FOUND, ASSOCIATED_RECEIPT_CUSTOMER_MISMATCH, ASSOCIATED_RECEIPT_LETTER_MISMATCH, NOTE_TYPE_OPERATION_MISMATCH, CREDIT_NOTE_AMOUNT_EXCEEDS_BALANCE, FCE_ASSOCIATED_RECEIPT_INVALID, FCE_ASSOCIATED_RECEIPT_REQUIRED, CONSIGNMENT_SETTLEMENT_NOT_ENABLED, CONSIGNMENT_SETTLEMENT_INVALID, FIELD_NOT_SUPPORTED_FOR_COUNTRY, ES_RECEIPT_BOOK_NOT_SELF_MANAGED, ES_UNKNOWN_DOCUMENT_TYPE, ES_DOCUMENT_TYPE_OPERATION_MISMATCH, ES_DEBIT_NOTE_NOT_SUPPORTED, ES_RECIPIENT_TAX_ID_REQUIRED, ES_RECTIFIED_INVOICE_REQUIRED, ES_UNRESOLVED_TAX_CODE, ES_INVALID_IRPF_RATE, ES_WITHHOLDING_NOT_ALLOWED, ES_SURCHARGE_NOT_APPLICABLE, ES_UNIT_PRICE_WITH_VAT_NOT_SUPPORTED, ES_CUSTOMER_TAX_ID_NOT_FOUND, ES_INVALID_SERIES, ES_DISCOUNT_AND_AMOUNT_MUTUALLY_EXCLUSIVE, ES_RECTIFICATION_REASON_NOT_APPLICABLE.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"09e0adea-3891-4f03-929f-45f658251723","name":"SALES_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fb162bc3-8b78-48f8-b9ed-6589079220d7","name":"DRAFT_CONFLICT — the export draft changed while it was being confirmed; reload before confirming.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"81af7c79-50ef-4e3a-94e8-876903d1b7b7","name":"Retry AFIP authorization for a pending receipt","request":{"name":"Retry AFIP authorization for a pending receipt","description":{"content":"Clears any previous error and re-triggers AFIP authorization. Only receipts in Pendiente_Afip status can be retried.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","retry"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1798f748-5a12-4c01-8eed-a8f71d92f4c7","name":"Retry triggered, receipt returned","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","retry"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8137ff65-90e6-4033-8744-f2427343ef10","name":"Validation failed. Codes: INVALID_RECEIPT_STATUS_FOR_RETRY, AUTHORIZATION_ALREADY_IN_PROGRESS.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","retry"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bb10e52b-130c-48ad-a5d5-b89336a3c5f9","name":"SALES_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","retry"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e453c916-91f6-4760-973c-95fd1925e8d6","name":"Void a confirmed receipt (Anulación)","request":{"name":"Void a confirmed receipt (Anulación)","description":{"content":"Voids a Creada receipt by creating a compensating credit note (NC). For WS receipts (with CAE) the original is never marked Anulado: once AFIP authorizes the NC, it is imputed against the original, which ends Cobrada and the NC Imputado. Voiding a credit note issues a debit note instead, and once that debit note is authorized the credit note is imputed against it (NC Imputado, ND Cobrada). For pre-impreso: original is marked Anulado immediately. WS receipts always require a credit note (numbers cannot be reused). Spain: the credit note is a factura rectificativa (R4, or R5 for an F2) numbered in the book's rectificativas serie (`<serie>-R`); it is Creada and the original Anulado in the same transaction. `createCreditNote: false` is rejected (WS_VOID_REQUIRES_CREDIT_NOTE) and a rectificativa cannot itself be voided (ES_DEBIT_NOTE_NOT_SUPPORTED — Spain has no debit note).","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"createCreditNote\": true,\n  \"rectificationReason\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c3d1bece-dde1-4b40-a962-f4f7eed12fac","name":"Voided receipt with optional credit note ID","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"createCreditNote\": true,\n  \"rectificationReason\": \"Operación cancelada por el cliente\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"creditNoteId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a36d69f-17bc-4c45-ad57-8d65b63b4498","name":"Validation failed. Codes: ORGANIZATION_ARCHIVED, RECEIPT_ALREADY_VOIDED, INVALID_RECEIPT_STATUS_FOR_VOID, RECEIPT_BOOK_NOT_FOUND, RECEIPT_BOOK_DISABLED, WS_VOID_REQUIRES_CREDIT_NOTE, RECEIPT_ALREADY_CREDITED, PARTIAL_CREDIT_EXISTS, HAS_COLLECTIONS_CANNOT_VOID, CREDIT_NOTE_HAS_IMPUTATIONS, CREDIT_NOTE_DELIVERY_NOTES_REINVOICED, COMPENSATING_NOTE_REQUIRES_MANUAL_HANDLING, RECEIVER_VAT_CONDITION_MISSING, ES_DEBIT_NOTE_NOT_SUPPORTED, ES_RECEIPT_BOOK_NOT_SELF_MANAGED, FIELD_NOT_SUPPORTED_FOR_COUNTRY.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"createCreditNote\": true,\n  \"rectificationReason\": \"Operación cancelada por el cliente\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8fdbc3a-38e6-4ba3-ade2-0e72cd6d4a01","name":"SALES_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"createCreditNote\": true,\n  \"rectificationReason\": \"Operación cancelada por el cliente\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7f8a51a0-259c-499f-98a4-11a05581bca9","name":"Apply a credit note against one or more receipts (imputación)","request":{"name":"Apply a credit note against one or more receipts (imputación)","description":{"content":"Applies a credit note (Creada) against invoices/debit notes of the same customer, in partial amounts. Each target accumulates `totalCollected` and becomes `Cobrada` when fully covered; the credit note becomes `Imputado` when fully used.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","imputations"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"creditNoteId\": \"<string>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"29e1fa29-81b7-425b-a986-41c0d0a1b2e7","name":"Created imputations","originalRequest":{"url":{"path":["v1","sales","sales-receipts","imputations"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditNoteId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"imputations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"587762e6-db74-4d70-8e5f-9b3c778ade6f","name":"Validation failed. Codes: ORGANIZATION_ARCHIVED, IMPUTATION_NOT_A_CREDIT_NOTE, IMPUTATION_TARGET_IS_CREDIT_NOTE, IMPUTATION_INVALID_STATUS, IMPUTATION_CUSTOMER_MISMATCH, IMPUTATION_EXCEEDS_CREDIT_NOTE, IMPUTATION_EXCEEDS_TARGET_PENDING.","originalRequest":{"url":{"path":["v1","sales","sales-receipts","imputations"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditNoteId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"294017bc-7f0b-4938-a4c3-56c58f5afd8a","name":"SALES_RECEIPT_NOT_FOUND — credit note or a target receipt does not exist in this organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts","imputations"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditNoteId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0a2dc12e-8ff6-47c4-852b-ae4a6424ba9a","name":"List imputations for a receipt","request":{"name":"List imputations for a receipt","description":{"content":"Returns the imputations where the receipt participates, either as the credit note being applied or as the target invoice/debit note.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","imputations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1fc4ffd5-8383-49a5-8407-b388bf0d244a","name":"Imputations for the receipt","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","imputations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"creditNote\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetReceipt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"creditNote\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"targetReceipt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"b317cf6c-b5b5-4dd2-ac57-e9204ee22a53","name":"SALES_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","imputations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"babc6c0f-6c97-4365-a609-43214b798f74","name":"Delete an imputation (reversal)","request":{"name":"Delete an imputation (reversal)","description":{"content":"Reverses an imputation: both the credit note and the target receipt subtract the imputed amount and return to `Creada` (v1 AnularImputacion parity).","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","imputations",":imputationId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"imputationId","description":"(Required) Imputation UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e851c7f6-75a6-4013-a6eb-19c4891b88f7","name":"Imputation deleted and reversed","originalRequest":{"url":{"path":["v1","sales","sales-receipts","imputations",":imputationId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"imputationId","description":"(Required) Imputation UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"61dc4eb4-5617-40a9-bba7-0a61b9742779","name":"ORGANIZATION_ARCHIVED — organization is archived (read-only).","originalRequest":{"url":{"path":["v1","sales","sales-receipts","imputations",":imputationId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"imputationId","description":"(Required) Imputation UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b8fb7ecb-0b79-4f42-ba82-2a428b754a19","name":"IMPUTATION_NOT_FOUND — imputation does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts","imputations",":imputationId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"imputationId","description":"(Required) Imputation UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"617680cc-0cc4-42ce-8c51-d97e568ab987","name":"Duplicate a receipt as a new draft (BORRADOR)","request":{"name":"Duplicate a receipt as a new draft (BORRADOR)","description":{"content":"Creates a new BORRADOR draft by copying customer, items, conditions from the source receipt. Dates are reset to today. Any status receipt can be duplicated.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Source sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3b3dbdc8-d477-4c64-80a9-066b632b7a2a","name":"New draft receipt","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Source sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4c2967f4-9ab9-4713-ac26-3eb8bdc5d068","name":"Validation failed when re-creating the draft. Codes: ORGANIZATION_ARCHIVED, DETAILS_REQUIRED, MISSING_SALES_LETTER, PROVIDER_ID_DUPLICATE.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Source sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6524cbcd-fcb1-4cce-b913-8c3d0347aced","name":"SALES_RECEIPT_NOT_FOUND — source receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","duplicate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Source sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ce3037bf-3ebb-4f85-9c63-cb502a304854","name":"Authorize receipt with AFIP (get CAE)","request":{"name":"Authorize receipt with AFIP (get CAE)","description":{"content":"Request AFIP authorization for a receipt that's in `PENDIENTE_AFIP`. The API normally drives this automatically when you call `POST /sales-receipts/:id/confirm` — call this endpoint directly only when you want to retry authorization on a receipt that previously failed.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","authorize"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b2a62815-d366-4443-8d0f-6d9e78bf5ffb","name":"Authorization result","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","authorize"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"success\": true,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"error\": \"Comprobante rechazado por AFIP\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f89d4267-c82b-4c06-bc5d-6d5f7b9c7148","name":"Validation failed (or AFIP error). Codes: INVALID_RECEIPT_STATUS_FOR_AUTHORIZE.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","authorize"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7958c3b0-21c3-48df-b269-9f9be88600df","name":"SALES_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","authorize"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"63c49896-00ba-424b-95f6-f024d369a466","name":"Download invoice PDF via signed URL (public)","request":{"name":"Download invoice PDF via signed URL (public)","description":{"content":"Public endpoint that verifies a signed token to stream the invoice PDF inline. Argentina: unavailable while the receipt is still a draft or pending AFIP. Other countries (no authorization step): available from creation, drafts included (marked as draft).","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"token","value":"<string>","description":"(Required) Signed download token"},{"disabled":false,"key":"expires","value":"<string>","description":"(Required) Token expiration (unix seconds)"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4b3f9a55-3c1b-4442-b165-aab1e613a768","name":"Invoice PDF file","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"6769d775-b077-43ab-855d-a81f84232c61","name":"Invalid or expired token","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ddf772f2-9c24-4f9e-b124-b77e5198e886","name":"Not found","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0512a255-a170-4c99-a511-4820d3c0b861","name":"Download invoice as PDF","request":{"name":"Download invoice as PDF","description":{"content":"Generates and streams the receipt's invoice PDF inline. Argentina: unavailable while the receipt is still a draft or pending AFIP. Other countries (no authorization step): available from creation, drafts included (marked as draft). `pdfAvailable` on the receipt tells which.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1a20d5da-7119-43a8-8578-80d7d9915d9f","name":"Invoice PDF file","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"d971690e-b46b-4d9e-8235-4af4948385c6","name":"Not found","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"51f798c4-6917-48a0-8192-ebd6ca3a3950","name":"Send invoice by email (background job)","request":{"name":"Send invoice by email (background job)","description":{"content":"Triggers a background job to email the invoice to the customer/collection address; the receipt must already be authorized.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","send-email"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"email\": \"<string>\",\n  \"subject\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"893c9662-1201-4939-b060-5a67bd6a00a7","name":"Email send triggered","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","send-email"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"<string>\",\n  \"subject\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Email sending triggered\",\n  \"receiptId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"triggerId\": \"run_abc123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7c5891d1-3b4c-485d-bdd9-95c416004d4d","name":"Validation failed. Codes: RECEIPT_NOT_AUTHORIZED_FOR_EMAIL.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","send-email"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"<string>\",\n  \"subject\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f92aa34f-7dbb-45b6-9ff9-9a3a5058214e","name":"Codes: SALES_RECEIPT_NOT_FOUND, EMAIL_NOT_AVAILABLE.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","send-email"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"<string>\",\n  \"subject\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9d3ed454-6b78-480b-a068-23591c2331f0","name":"Resend invoice email via signed link (public)","request":{"name":"Resend invoice email via signed link (public)","description":{"content":"Public endpoint that verifies a signed token to re-send the invoice email in the background; rate-limited to once every two minutes per receipt.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","resend-email"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"token","value":"<string>","description":"(Required) "},{"disabled":false,"key":"expires","value":"<string>","description":"(Required) "}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b9abf923-82a7-407e-b8ac-aa7209414e31","name":"Email resent","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","resend-email"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"message\": \"Email reenviado\",\n  \"receiptId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"56e1c788-453b-4e1c-ad54-86ce58cc6be3","name":"Invalid or expired token","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","resend-email"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"dc1d2fbc-7f4c-4d8a-98a9-771d1fc0cc1d","name":"Not found or no email","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","resend-email"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"19f0089b-52c2-446c-b1db-00c4d8c148ec","name":"Rate limited","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","resend-email"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ecc55338-0f1c-4bd9-be96-face4b04d731","name":"Get email tracking events for a receipt","request":{"name":"Get email tracking events for a receipt","description":{"content":"Returns the recorded email open/tracking events for the receipt, plus whether email tracking is enabled for the organization.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id","tracking-events"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"46ff8e28-6112-48b9-8219-59c21486c4da","name":"Tracking events with tracking enabled flag","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","tracking-events"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trackingEnabled\": true,\n  \"events\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"586da6f9-f8bd-4a59-8862-0cdc4836be16","name":"Not found","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id","tracking-events"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"528b5f8d-0be9-47e1-a922-28a3ae0628d3","name":"Send emails for multiple receipts (background job)","request":{"name":"Send emails for multiple receipts (background job)","description":{"content":"Creates a background job that emails the invoices for the given receipt IDs, and returns the job id for progress polling.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","bulk-email"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"70beb212-b3b9-4078-b734-6d5b436873be","name":"Bulk email job created","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-email"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"uuid-1\",\n    \"uuid-2\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"jobId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"totalCount\": 25\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"619b27ac-5f95-4b9f-bd5b-b86f5ba134c8","name":"Invalid receipt IDs","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-email"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"uuid-1\",\n    \"uuid-2\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e07ee3ec-08e2-46d5-be90-54151e12718c","name":"Void multiple receipts as a background job (creates credit notes where required)","request":{"name":"Void multiple receipts as a background job (creates credit notes where required)","description":{"content":"Creates a background job that voids the given receipts, issuing compensating credit notes where required, and returns the job id for progress polling.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","bulk-void"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0cb5bb9f-53ba-4add-ab85-a59e6e94282d","name":"Bulk void job created","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-void"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"uuid-1\",\n    \"uuid-2\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"jobId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"totalCount\": 25\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"46a9d532-6af2-4284-b6c2-be6a98be3968","name":"Invalid receipt IDs","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-void"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"uuid-1\",\n    \"uuid-2\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d0569be0-e52c-40dc-ac0f-48131d9c8fc0","name":"Get bulk action job progress (email, PDF, or void)","request":{"name":"Get bulk action job progress (email, PDF, or void)","description":{"content":"Returns the status and progress counts of a bulk action job (email, PDF or void), including per-receipt statuses and any download URL.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","bulk-actions",":jobId","status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"30146f77-a6fe-4f3b-aee5-0a97921bc427","name":"Job status and progress","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-actions",":jobId","status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"jobId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"type\": \"bulk_email\",\n  \"status\": \"in_progress\",\n  \"totalCount\": 25,\n  \"doneCount\": 10,\n  \"skippedCount\": 0,\n  \"failedCount\": 0,\n  \"receiptStatuses\": {\n    \"uuid-1\": {\n      \"status\": \"done\"\n    },\n    \"uuid-2\": {\n      \"status\": \"pending\"\n    }\n  },\n  \"downloadUrl\": null,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"completedAt\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea88b9f5-68c7-4ec9-b7c4-e4946afcc402","name":"Job not found","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-actions",":jobId","status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8298c8c8-17bd-48c8-bb68-2411537827d5","name":"Get sales receipt by id","request":{"name":"Get sales receipt by id","description":{"content":"Returns a single sales receipt by id; 404 if it does not exist in this organization.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c1379b82-c11d-43f1-8151-e1f92106eef7","name":"Sales receipt","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"234c34a1-e956-4b8d-a663-c61f1f0b3841","name":"Not found","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b31c889e-55d3-4528-8cd8-81783aa09a9c","name":"Update sales receipt (observation, collectionEmail)","request":{"name":"Update sales receipt (observation, collectionEmail)","description":{"content":"Updates editable fields of a sales receipt such as observation and collection email; 404 if it does not exist in this organization.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"observation\": \"<string>\",\n  \"collectionEmail\": \"<string>\",\n  \"providerId\": \"<object>\",\n  \"expectedUpdatedAt\": \"<string>\",\n  \"customerId\": \"<number>\",\n  \"customerTaxId\": \"<string>\",\n  \"customerName\": \"<string>\",\n  \"customer\": {\n    \"description\": \"Buyer details, used ONLY when `customerTaxId` forces the server to create a new customer. Never modifies an existing one. For a CUIT the ARCA padrón stays authoritative for name, address, city and postal code; only `phone` is taken from here.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptBookId\": \"<number>\",\n  \"saleConditionId\": \"<number>\",\n  \"date\": \"<string>\",\n  \"dueDate\": \"<string>\",\n  \"serviceStartDate\": \"<string>\",\n  \"serviceEndDate\": \"<string>\",\n  \"currencyId\": \"<integer>\",\n  \"exchangeRate\": \"<number>\",\n  \"cancellationInSameCurrency\": \"<boolean>\",\n  \"returnsStock\": true,\n  \"exportData\": {\n    \"description\": \"WSFEX data (draft only). Replaces the object; partial data is allowed until emission. See CreateSalesReceiptDto.exportData.\",\n    \"example\": {\n      \"incotermsCode\": \"FOB\",\n      \"incotermsDescription\": \"Free on Board\"\n    },\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptType\": \"<string>\",\n  \"associatedReceiptId\": \"<string>\",\n  \"discount\": \"<number>\",\n  \"discountAmount\": \"<number>\",\n  \"vatPerceptions\": \"<number>\",\n  \"grossIncomePerceptions\": \"<number>\",\n  \"grossIncomePerceptionsBsas\": \"<number>\",\n  \"grossIncomePerceptionsCaba\": \"<number>\",\n  \"documentKind\": \"<string>\",\n  \"withholdingRate\": \"<number>\",\n  \"applySurcharge\": \"<boolean>\",\n  \"rectificationReason\": \"<string>\",\n  \"consignmentSettlement\": {\n    \"description\": \"Draft of a Cuenta de Venta y Líquido Producto only: replaces its deductions (commission and expenses). When omitted, the stored deductions are kept, and a percentage (`rate`) deduction is recalculated over the new lines if `details` or the discount change. A draft cannot become a consignment settlement, nor stop being one, through this field: create a new receipt instead.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"13cdba4d-97f3-430f-a7d8-2e5e8ffdba0e","name":"Updated sales receipt","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"observation\": \"General observation\",\n  \"collectionEmail\": \"customer@example.com\",\n  \"providerId\": \"<object>\",\n  \"expectedUpdatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"customerId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"customerName\": \"Juan Pérez\",\n  \"customer\": {\n    \"description\": \"Buyer details, used ONLY when `customerTaxId` forces the server to create a new customer. Never modifies an existing one. For a CUIT the ARCA padrón stays authoritative for name, address, city and postal code; only `phone` is taken from here.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptBookId\": 1,\n  \"saleConditionId\": 1,\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"dueDate\": \"2026-01-30T12:00:00Z\",\n  \"serviceStartDate\": \"2026-01-01T12:00:00Z\",\n  \"serviceEndDate\": \"2026-01-31T12:00:00Z\",\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": \"<boolean>\",\n  \"returnsStock\": true,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"receiptType\": \"factura\",\n  \"associatedReceiptId\": null,\n  \"discount\": 10,\n  \"discountAmount\": 250,\n  \"vatPerceptions\": 3,\n  \"grossIncomePerceptions\": 4.5,\n  \"grossIncomePerceptionsBsas\": 2,\n  \"grossIncomePerceptionsCaba\": 2.5,\n  \"documentKind\": \"F1\",\n  \"withholdingRate\": 15,\n  \"applySurcharge\": false,\n  \"rectificationReason\": \"Error en el precio unitario de la línea 2\",\n  \"consignmentSettlement\": {\n    \"description\": \"Draft of a Cuenta de Venta y Líquido Producto only: replaces its deductions (commission and expenses). When omitted, the stored deductions are kept, and a percentage (`rate`) deduction is recalculated over the new lines if `details` or the discount change. A draft cannot become a consignment settlement, nor stop being one, through this field: create a new receipt instead.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"feaff71b-2d38-43f7-addd-fef1fced16e0","name":"Validation failed. Codes: ORGANIZATION_ARCHIVED, RECEIPT_DATE_TOO_OLD, MISSING_SALES_LETTER, EXPORT_DATE_INVALID, UNSUPPORTED_VAT_RATE, NUMBERED_RECEIPT_SEQUENCE_IMMUTABLE, NOTE_CLASS_CHANGE_REQUIRES_DETAILS, CONSIGNMENT_SETTLEMENT_NOT_ENABLED, CONSIGNMENT_SETTLEMENT_INVALID, FIELD_NOT_SUPPORTED_FOR_COUNTRY, ES_RECEIPT_BOOK_NOT_SELF_MANAGED, ES_UNKNOWN_DOCUMENT_TYPE, ES_DOCUMENT_TYPE_OPERATION_MISMATCH, ES_DEBIT_NOTE_NOT_SUPPORTED, ES_RECIPIENT_TAX_ID_REQUIRED, ES_RECTIFIED_INVOICE_REQUIRED, ES_UNRESOLVED_TAX_CODE, ES_INVALID_IRPF_RATE, ES_WITHHOLDING_NOT_ALLOWED, ES_SURCHARGE_NOT_APPLICABLE, ES_UNIT_PRICE_WITH_VAT_NOT_SUPPORTED, ES_CUSTOMER_TAX_ID_NOT_FOUND, ES_INVALID_SERIES, ES_DISCOUNT_AND_AMOUNT_MUTUALLY_EXCLUSIVE, ES_RECTIFICATION_REASON_NOT_APPLICABLE.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"observation\": \"General observation\",\n  \"collectionEmail\": \"customer@example.com\",\n  \"providerId\": \"<object>\",\n  \"expectedUpdatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"customerId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"customerName\": \"Juan Pérez\",\n  \"customer\": {\n    \"description\": \"Buyer details, used ONLY when `customerTaxId` forces the server to create a new customer. Never modifies an existing one. For a CUIT the ARCA padrón stays authoritative for name, address, city and postal code; only `phone` is taken from here.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptBookId\": 1,\n  \"saleConditionId\": 1,\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"dueDate\": \"2026-01-30T12:00:00Z\",\n  \"serviceStartDate\": \"2026-01-01T12:00:00Z\",\n  \"serviceEndDate\": \"2026-01-31T12:00:00Z\",\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": \"<boolean>\",\n  \"returnsStock\": true,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"receiptType\": \"factura\",\n  \"associatedReceiptId\": null,\n  \"discount\": 10,\n  \"discountAmount\": 250,\n  \"vatPerceptions\": 3,\n  \"grossIncomePerceptions\": 4.5,\n  \"grossIncomePerceptionsBsas\": 2,\n  \"grossIncomePerceptionsCaba\": 2.5,\n  \"documentKind\": \"F1\",\n  \"withholdingRate\": 15,\n  \"applySurcharge\": false,\n  \"rectificationReason\": \"Error en el precio unitario de la línea 2\",\n  \"consignmentSettlement\": {\n    \"description\": \"Draft of a Cuenta de Venta y Líquido Producto only: replaces its deductions (commission and expenses). When omitted, the stored deductions are kept, and a percentage (`rate`) deduction is recalculated over the new lines if `details` or the discount change. A draft cannot become a consignment settlement, nor stop being one, through this field: create a new receipt instead.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10e70487-0826-478c-b71a-18fcc6cda37d","name":"SALES_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"observation\": \"General observation\",\n  \"collectionEmail\": \"customer@example.com\",\n  \"providerId\": \"<object>\",\n  \"expectedUpdatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"customerId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"customerName\": \"Juan Pérez\",\n  \"customer\": {\n    \"description\": \"Buyer details, used ONLY when `customerTaxId` forces the server to create a new customer. Never modifies an existing one. For a CUIT the ARCA padrón stays authoritative for name, address, city and postal code; only `phone` is taken from here.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptBookId\": 1,\n  \"saleConditionId\": 1,\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"dueDate\": \"2026-01-30T12:00:00Z\",\n  \"serviceStartDate\": \"2026-01-01T12:00:00Z\",\n  \"serviceEndDate\": \"2026-01-31T12:00:00Z\",\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": \"<boolean>\",\n  \"returnsStock\": true,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"receiptType\": \"factura\",\n  \"associatedReceiptId\": null,\n  \"discount\": 10,\n  \"discountAmount\": 250,\n  \"vatPerceptions\": 3,\n  \"grossIncomePerceptions\": 4.5,\n  \"grossIncomePerceptionsBsas\": 2,\n  \"grossIncomePerceptionsCaba\": 2.5,\n  \"documentKind\": \"F1\",\n  \"withholdingRate\": 15,\n  \"applySurcharge\": false,\n  \"rectificationReason\": \"Error en el precio unitario de la línea 2\",\n  \"consignmentSettlement\": {\n    \"description\": \"Draft of a Cuenta de Venta y Líquido Producto only: replaces its deductions (commission and expenses). When omitted, the stored deductions are kept, and a percentage (`rate`) deduction is recalculated over the new lines if `details` or the discount change. A draft cannot become a consignment settlement, nor stop being one, through this field: create a new receipt instead.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23ca6cd5-874a-4a5e-940b-611f9dabeb7d","name":"DRAFT_CONFLICT — the request sent `expectedUpdatedAt` and the draft changed since. Nothing was written; re-read the draft.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"observation\": \"General observation\",\n  \"collectionEmail\": \"customer@example.com\",\n  \"providerId\": \"<object>\",\n  \"expectedUpdatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"customerId\": 1,\n  \"customerTaxId\": \"30712345670\",\n  \"customerName\": \"Juan Pérez\",\n  \"customer\": {\n    \"description\": \"Buyer details, used ONLY when `customerTaxId` forces the server to create a new customer. Never modifies an existing one. For a CUIT the ARCA padrón stays authoritative for name, address, city and postal code; only `phone` is taken from here.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptBookId\": 1,\n  \"saleConditionId\": 1,\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"dueDate\": \"2026-01-30T12:00:00Z\",\n  \"serviceStartDate\": \"2026-01-01T12:00:00Z\",\n  \"serviceEndDate\": \"2026-01-31T12:00:00Z\",\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": \"<boolean>\",\n  \"returnsStock\": true,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"receiptType\": \"factura\",\n  \"associatedReceiptId\": null,\n  \"discount\": 10,\n  \"discountAmount\": 250,\n  \"vatPerceptions\": 3,\n  \"grossIncomePerceptions\": 4.5,\n  \"grossIncomePerceptionsBsas\": 2,\n  \"grossIncomePerceptionsCaba\": 2.5,\n  \"documentKind\": \"F1\",\n  \"withholdingRate\": 15,\n  \"applySurcharge\": false,\n  \"rectificationReason\": \"Error en el precio unitario de la línea 2\",\n  \"consignmentSettlement\": {\n    \"description\": \"Draft of a Cuenta de Venta y Líquido Producto only: replaces its deductions (commission and expenses). When omitted, the stored deductions are kept, and a percentage (`rate`) deduction is recalculated over the new lines if `details` or the discount change. A draft cannot become a consignment settlement, nor stop being one, through this field: create a new receipt instead.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0777f245-a9fe-4faf-ab18-71e14e13c9b2","name":"Delete a draft or stuck receipt","request":{"name":"Delete a draft or stuck receipt","description":{"content":"Hard-deletes a receipt and its details/observations. Borrador receipts can be deleted by any user. Pendiente_Afip receipts can only be deleted by root users. Creada receipts from non-WS (pre-impreso) receipt books can be deleted too. A numbered Pendiente_Afip or Creada receipt can only be deleted if it holds the last number issued for its receipt book, letter and type (the number is released); otherwise NOT_LAST_RECEIPT_NUMBER — delete the later ones first or use a credit note. Confirmed WS receipts cannot be deleted — use a credit note instead. Spain: only drafts can be deleted; an issued invoice is voided with a rectificativa (INVALID_RECEIPT_STATUS_FOR_DELETE).","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"784547e5-23fe-4b3d-b2e1-1b32babd867e","name":"Deleted","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"2d9c820d-079d-4859-86a4-609e2e36becd","name":"Validation failed. Codes: ORGANIZATION_ARCHIVED, INVALID_RECEIPT_STATUS_FOR_DELETE, NOT_LAST_RECEIPT_NUMBER, INVOICE_HAS_ASSOCIATED_CREDIT_NOTES, HAS_COLLECTIONS_CANNOT_DELETE.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"919877c2-705d-4e55-8e61-6d9fcbbbbb6a","name":"SALES_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","sales","sales-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Sales receipt UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"36870a1f-8477-41b2-b8c6-ae742f252abe","name":"Ventas - Comprobantes - Exports","description":{"content":"Get receipts out of the system as a file. `GET /export` streams a CSV of whatever your filters match; call `GET /export/columns` first if you want to choose which columns it carries, or pass a `preset`. Large result sets and high-volume organizations switch automatically to an async export — the same call answers `202` with a job to poll instead of streaming, so handle both. `POST /bulk-pdf` queues a zip of invoice PDFs for a list of receipts and always returns a job. Poll any of these jobs with `GET /bulk-actions/:jobId/status`.","type":"text/plain"},"item":[{"id":"c643d96a-119f-4bc9-b191-488c1da16dd4","name":"List all available export columns (key + header)","request":{"name":"List all available export columns (key + header)","description":{"content":"Returns every available CSV export column as key/header pairs, for building a custom column selection for the export endpoint.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","export","columns"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4edf5594-abaf-4d93-8f41-1fa47c0f0726","name":"Available export column keys and their headers","originalRequest":{"url":{"path":["v1","sales","sales-receipts","export","columns"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"key\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"header\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"key\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"header\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b4564ba6-f26b-4a0c-a681-f3eaa8a1ba3e","name":"Export sales receipts as CSV","request":{"name":"Export sales receipts as CSV","description":{"content":"Exports filtered sales receipts as CSV; small result sets stream synchronously while large sets or high-volume orgs return 202 and run as a background job.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>"},{"disabled":false,"key":"date_to","value":"<string>"},{"disabled":false,"key":"status","value":"<string>"},{"disabled":false,"key":"search","value":"<string>"},{"disabled":false,"key":"customer_id","value":"<number>"},{"disabled":false,"key":"receipt_type","value":"<string>"},{"disabled":false,"key":"user_id","value":"<number>"},{"disabled":false,"key":"receipt_book_id","value":"<number>"},{"disabled":false,"key":"preset","value":"<string>"},{"disabled":false,"key":"columns","value":"<string>","description":"Comma-separated column keys (overrides preset and saved config)"}],"variable":[]},"header":[{"key":"Accept","value":"text/csv"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2960e2b3-56d5-4ed6-a95b-d5adcba3aaf1","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","sales-receipts","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"status","value":"<string>"},{"key":"search","value":"<string>"},{"key":"customer_id","value":"<number>"},{"key":"receipt_type","value":"<string>"},{"key":"user_id","value":"<number>"},{"key":"receipt_book_id","value":"<number>"},{"key":"preset","value":"<string>"},{"key":"columns","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"d67ea133-5c20-4d9a-9209-de1f433b0e55","name":"Async export triggered (large result set or high-volume org)","originalRequest":{"url":{"path":["v1","sales","sales-receipts","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"status","value":"<string>"},{"key":"search","value":"<string>"},{"key":"customer_id","value":"<number>"},{"key":"receipt_type","value":"<string>"},{"key":"user_id","value":"<number>"},{"key":"receipt_book_id","value":"<number>"},{"key":"preset","value":"<string>"},{"key":"columns","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"GET","body":{}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"5c5b11c1-eeb2-407b-8370-8247ba5919d3","name":"Invalid request. Codes: EXPORT_FILTER_DATE_INVALID, EXPORT_TOO_LARGE_WITHOUT_USER. The second one is returned to API keys that have no creating user when the export is too large to stream (or cannot be bounded): narrow the filters or use an API key created by a user.","originalRequest":{"url":{"path":["v1","sales","sales-receipts","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"status","value":"<string>"},{"key":"search","value":"<string>"},{"key":"customer_id","value":"<number>"},{"key":"receipt_type","value":"<string>"},{"key":"user_id","value":"<number>"},{"key":"receipt_book_id","value":"<number>"},{"key":"preset","value":"<string>"},{"key":"columns","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fbaa37e2-5214-4532-a11f-3866ff20e61b","name":"Generate PDFs for multiple receipts as a ZIP file (background job)","request":{"name":"Generate PDFs for multiple receipts as a ZIP file (background job)","description":{"content":"Creates a background job that renders the given receipts' PDFs into a downloadable ZIP, and returns the job id for progress polling.","type":"text/plain"},"url":{"path":["v1","sales","sales-receipts","bulk-pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"02688e73-e39b-448b-9ed0-c2db7d58e24d","name":"Bulk PDF job created","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"uuid-1\",\n    \"uuid-2\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"jobId\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"totalCount\": 25\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"67921b44-2912-4c09-aade-ed05b4c78765","name":"Invalid receipt IDs","originalRequest":{"url":{"path":["v1","sales","sales-receipts","bulk-pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"receiptIds\": [\n    \"uuid-1\",\n    \"uuid-2\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"c89e9423-d871-4c3a-bc96-9c2d8e1f049e","name":"Ventas - Grupos Económicos","description":{"content":"","type":"text/plain"},"item":[{"id":"f8866131-54f6-4f83-ad58-cfa25c5ff12d","name":"List economic groups","request":{"name":"List economic groups","description":{"content":"Returns the organization's economic groups ordered by name.","type":"text/plain"},"url":{"path":["v1","economic-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"eafe0f28-36b3-4c1d-8614-e5a93c9d3a37","name":"Economic groups","originalRequest":{"url":{"path":["v1","economic-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"98624655-035a-4c50-b505-e5f5c49d73ec","name":"Create economic group","request":{"name":"Create economic group","description":{"content":"Creates an economic group with the given name (and optionally a named price list for its customers) for the current organization.","type":"text/plain"},"url":{"path":["v1","economic-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"priceListId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"1a789e7a-6d01-41d7-ae00-ce65d4c885f8","name":"Created economic group","originalRequest":{"url":{"path":["v1","economic-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3,\n  \"createdAt\": \"2026-08-01T10:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c78c93bd-9a92-40b7-b8cb-15c571e38519","name":"PRICE_LIST_NOT_FOUND — priceListId does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","economic-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6f8ba129-b8f8-4435-be3a-e6bd8fe05180","name":"Get economic group by id","request":{"name":"Get economic group by id","description":{"content":"Returns a single economic group; 404s if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5dcdb212-d01c-4aae-9e18-11b984f6ae15","name":"Economic group","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3,\n  \"createdAt\": \"2026-08-01T10:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1dfecaa4-f6a8-4841-af44-c29cdc32314a","name":"ECONOMIC_GROUP_NOT_FOUND — group does not exist or belongs to another org.","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fc95e8ea-dced-430e-ad04-a0956c11b595","name":"Update economic group","request":{"name":"Update economic group","description":{"content":"Renames an economic group and optionally sets its named price list (omit priceListId to keep it, null to clear it); 404s if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"priceListId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d4b0d48a-47e4-4610-b53b-15a758e46159","name":"Updated economic group","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3,\n  \"createdAt\": \"2026-08-01T10:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"66a41fde-6b59-4d71-baae-3ca636eff36c","name":"PRICE_LIST_NOT_FOUND — priceListId does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9673603f-0102-49a6-bc32-0c73d703f18e","name":"ECONOMIC_GROUP_NOT_FOUND — group does not exist or belongs to another org.","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Grupo Supermercados\",\n  \"priceListId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"79d3f101-d013-43f1-8648-35b007f79c4d","name":"Delete economic group","request":{"name":"Delete economic group","description":{"content":"Hard-deletes an economic group; rejected if it still has special prices on active products or active assigned customers. Soft-deleted customers still linked to the group are detached and its special prices on deleted or inactive products are removed in the same transaction.","type":"text/plain"},"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0c81fceb-0731-47ed-8b01-d8d41138bfa5","name":"Deleted","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"862de6c0-faeb-40a6-b51d-28e39950f6b4","name":"ECONOMIC_GROUP_IN_USE — group still has special prices on active products or active assigned customers.","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b17025da-874e-4f38-9849-51de74e18f78","name":"ECONOMIC_GROUP_NOT_FOUND — group does not exist or belongs to another org.","originalRequest":{"url":{"path":["v1","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"43f68e57-376f-4a4f-8125-58f19119fc48","name":"Ventas - Listas de Precios","description":{"content":"","type":"text/plain"},"item":[{"id":"18ae4caa-5e33-482c-9570-6ef9cf496fa8","name":"Default price list (one row per product with a default price)","request":{"name":"Default price list (one row per product with a default price)","description":{"content":"Lists every active product's default effective price (default price_list_items row, else products.unit_price). Pass format=csv to stream a CSV download (always the full list). Pass `cursor` and/or `page_size` to page the JSON response instead of materializing the whole catalogue (response becomes `{ data, nextCursor, hasMore }`); omit both to keep the legacy bare-array response.","type":"text/plain"},"url":{"path":["v1","price-lists","default"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"format","value":"<string>","description":"When 'csv', streams a CSV download (full list, not paginated)"},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque keyset cursor (product id). Presence of this or page_size switches to the paginated response shape."},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size, 1-500 (default 50). Presence of this or cursor switches to the paginated response shape."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"51f86921-ce85-4e41-819b-0bebfe793b99","name":"Default price list — bare array by default, or `{ data, nextCursor, hasMore }` when cursor/page_size is passed","originalRequest":{"url":{"path":["v1","price-lists","default"],"host":["{{baseUrl}}"],"query":[{"key":"format","value":"<string>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"scope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"economicGroupId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"scope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"economicGroupId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3584b61e-6611-488b-ace9-ddf77402fa2f","name":"Effective price list for a customer (customer > group > default cascade)","request":{"name":"Effective price list for a customer (customer > group > default cascade)","description":{"content":"Resolves each active product's price via the customer > economic group > default > unit_price cascade. Pass format=csv to stream a CSV download (always the full list). Pass `cursor` and/or `page_size` to page the JSON response instead of materializing the whole catalogue (response becomes `{ data, nextCursor, hasMore }`); omit both to keep the legacy bare-array response.","type":"text/plain"},"url":{"path":["v1","price-lists","customers",":id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"format","value":"<string>"},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque keyset cursor (product id). Presence of this or page_size switches to the paginated response shape."},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size, 1-500 (default 50). Presence of this or cursor switches to the paginated response shape."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c35b62d9-2529-409e-a008-cb728f084c53","name":"Effective customer price list — bare array by default, or `{ data, nextCursor, hasMore }` when cursor/page_size is passed","originalRequest":{"url":{"path":["v1","price-lists","customers",":id"],"host":["{{baseUrl}}"],"query":[{"key":"format","value":"<string>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"scope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"economicGroupId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"scope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"economicGroupId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"57204aed-5084-476d-bc97-4d9d1bf612ce","name":"CUSTOMER_NOT_FOUND — customer does not exist or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","customers",":id"],"host":["{{baseUrl}}"],"query":[{"key":"format","value":"<string>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d7fd8c85-c6be-4a3a-a10e-4c25392978c5","name":"Effective price list for an economic group (group > default cascade)","request":{"name":"Effective price list for an economic group (group > default cascade)","description":{"content":"Resolves each active product's price via the economic group > default > unit_price cascade. Pass format=csv to stream a CSV download (always the full list). Pass `cursor` and/or `page_size` to page the JSON response instead of materializing the whole catalogue (response becomes `{ data, nextCursor, hasMore }`); omit both to keep the legacy bare-array response.","type":"text/plain"},"url":{"path":["v1","price-lists","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"format","value":"<string>"},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque keyset cursor (product id). Presence of this or page_size switches to the paginated response shape."},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size, 1-500 (default 50). Presence of this or cursor switches to the paginated response shape."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"434ff986-b76a-40bc-92fe-240cd8df74bf","name":"Effective economic-group price list — bare array by default, or `{ data, nextCursor, hasMore }` when cursor/page_size is passed","originalRequest":{"url":{"path":["v1","price-lists","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[{"key":"format","value":"<string>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"scope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"economicGroupId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productDescription\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"scope\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"economicGroupId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"e4b490bc-260b-4dac-ba15-47acf6a096e4","name":"ECONOMIC_GROUP_NOT_FOUND — economic group does not exist or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","economic-groups",":id"],"host":["{{baseUrl}}"],"query":[{"key":"format","value":"<string>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5e9a7260-fe55-4dbd-87a8-8ca58fb9d04b","name":"Resolve the effective prices of several products for a customer","request":{"name":"Resolve the effective prices of several products for a customer","description":{"content":"Batch version of GET /products/:id/price, for prefilling an invoice. Cascade: customer special price (C) > economic group special price (G) > named price list (L: the customer's, else its group's; `price_list_id` forces one) > default price (D) > products.unit_price (PRODUCT) > null. List prices are net. Returns one row per unique product id, in request order. Ids that do not belong to the organization resolve to `price: null` (no other organization's data is read).","type":"text/plain"},"url":{"path":["v1","price-lists","resolve"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"product_ids","value":"<string>","description":"(Required) Comma-separated product ids (max 200)"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Resolve against this customer (its special prices, economic group and named price list)"},{"disabled":false,"key":"price_list_id","value":"<number>","description":"Force this named price list in the L step instead of the customer's"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0965e03f-c073-48cd-b98f-149431b0c1ee","name":"Resolved prices","originalRequest":{"url":{"path":["v1","price-lists","resolve"],"host":["{{baseUrl}}"],"query":[{"key":"product_ids","value":"12,13,14"},{"key":"customer_id","value":"<number>"},{"key":"price_list_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"source\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"price\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"source\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceListId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"33fc4bab-dcfe-4676-ab8b-18320bf922f5","name":"INVALID_PRODUCT_IDS, INVALID_CUSTOMER_ID or INVALID_PRICE_LIST_ID — malformed query param.","originalRequest":{"url":{"path":["v1","price-lists","resolve"],"host":["{{baseUrl}}"],"query":[{"key":"product_ids","value":"12,13,14"},{"key":"customer_id","value":"<number>"},{"key":"price_list_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa33b542-fa34-4e99-a2d1-aa9001fe2ab2","name":"CUSTOMER_NOT_FOUND — customer_id does not exist or belongs to another organization. PRICE_LIST_NOT_FOUND — price_list_id does not exist, was deleted, or belongs to another organization.","originalRequest":{"url":{"path":["v1","price-lists","resolve"],"host":["{{baseUrl}}"],"query":[{"key":"product_ids","value":"12,13,14"},{"key":"customer_id","value":"<number>"},{"key":"price_list_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"003af080-5360-4d30-afd9-91aaad890a79","name":"Upsert a price-list item (default/customer/group) + append price history","request":{"name":"Upsert a price-list item (default/customer/group) + append price history","description":{"content":"Mirrors v1 promote-on-edit: editing a value that only existed at a broader scope creates a new row at the requested scope. Also appends a product_price_history audit row.","type":"text/plain"},"url":{"path":["v1","price-lists","items"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"productId\": \"<number>\",\n  \"price\": \"<number>\",\n  \"scope\": \"<string>\",\n  \"customerId\": \"<number>\",\n  \"economicGroupId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e876aa9a-52fe-4feb-aab4-ae67178c8520","name":"Upserted price-list item","originalRequest":{"url":{"path":["v1","price-lists","items"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"productId\": 12,\n  \"price\": 1500.5,\n  \"scope\": \"D\",\n  \"customerId\": 45,\n  \"economicGroupId\": 7\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"productId\": 12,\n  \"productDescription\": \"Coca-Cola 500ml\",\n  \"price\": 1500.5,\n  \"scope\": \"C\",\n  \"customerId\": 45,\n  \"economicGroupId\": null,\n  \"priceListId\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3af2e5fb-9043-4d7f-a9cc-a1f87ce7a7d8","name":"Validation failed. Codes: SCOPE_AMBIGUOUS, SCOPE_MISMATCH, SCOPE_INVALID, PRICE_INVALID, PRODUCT_NOT_FOUND, CUSTOMER_NOT_FOUND, ECONOMIC_GROUP_NOT_FOUND.","originalRequest":{"url":{"path":["v1","price-lists","items"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"productId\": 12,\n  \"price\": 1500.5,\n  \"scope\": \"D\",\n  \"customerId\": 45,\n  \"economicGroupId\": 7\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"af421c9a-7b0a-41ab-95b1-367980c37083","name":"Remove a customer's special price for a product","request":{"name":"Remove a customer's special price for a product","description":{"content":"Deletes the customer-scoped (C) price of the product, so the customer's price falls back to the next step of the cascade (economic group > named price list > default > products.unit_price).","type":"text/plain"},"url":{"path":["v1","price-lists","customers",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Customer id"},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b1abb00c-1813-443e-aa0e-318fa87ab70a","name":"Special price removed","originalRequest":{"url":{"path":["v1","price-lists","customers",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Customer id"},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"fe7507f6-ec66-47b3-bb60-e4dff93b925f","name":"CUSTOMER_NOT_FOUND — customer does not exist or belongs to another org. PRICE_LIST_ITEM_NOT_FOUND — the customer has no special price for this product.","originalRequest":{"url":{"path":["v1","price-lists","customers",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Customer id"},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7351c025-c6e9-4bcc-8b93-43f0923dc1c8","name":"Remove an economic group's special price for a product","request":{"name":"Remove an economic group's special price for a product","description":{"content":"Deletes the group-scoped (G) price of the product, so the group's customers fall back to the next step of the cascade (named price list > default > products.unit_price). Customer special prices are untouched.","type":"text/plain"},"url":{"path":["v1","price-lists","economic-groups",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Economic group id"},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d212c5c2-33c5-4cab-a230-88cb01474d34","name":"Special price removed","originalRequest":{"url":{"path":["v1","price-lists","economic-groups",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Economic group id"},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"e9b03ce4-3729-4162-8981-dab1307c02c4","name":"ECONOMIC_GROUP_NOT_FOUND — economic group does not exist or belongs to another org. PRICE_LIST_ITEM_NOT_FOUND — the group has no special price for this product.","originalRequest":{"url":{"path":["v1","price-lists","economic-groups",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Economic group id"},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"392b3a6c-8a2c-410e-89dc-582e820a9034","name":"Resolve the effective price of a product for a customer","request":{"name":"Resolve the effective price of a product for a customer","description":{"content":"Cascade: customer special price (C) > economic group special price (G) > named price list (L: the customer's, else its group's; `price_list_id` forces one) > default price (D) > products.unit_price (PRODUCT) > null. List prices are net.","type":"text/plain"},"url":{"path":["v1","products",":id","price"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"customer_id","value":"<number>","description":"Resolve against this customer (its special prices, economic group and named price list)"},{"disabled":false,"key":"price_list_id","value":"<number>","description":"Force this named price list in the L step instead of the customer's"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3923e8da-cacc-4ed7-a6d1-ee6bdab8741e","name":"Resolved price","originalRequest":{"url":{"path":["v1","products",":id","price"],"host":["{{baseUrl}}"],"query":[{"key":"customer_id","value":"<number>"},{"key":"price_list_id","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"productId\": 12,\n  \"price\": 1500.5,\n  \"source\": \"C\",\n  \"priceListId\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b60a7544-8942-411b-855d-c2e3cd7b1cd0","name":"INVALID_CUSTOMER_ID or INVALID_PRICE_LIST_ID — customer_id / price_list_id is present but not a positive integer.","originalRequest":{"url":{"path":["v1","products",":id","price"],"host":["{{baseUrl}}"],"query":[{"key":"customer_id","value":"<number>"},{"key":"price_list_id","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90a2c57c-ee95-48f5-804b-79d926d4499c","name":"PRODUCT_NOT_FOUND — product does not exist or belongs to another organization. CUSTOMER_NOT_FOUND — customer_id does not exist or belongs to another organization. PRICE_LIST_NOT_FOUND — price_list_id does not exist, was deleted, or belongs to another organization.","originalRequest":{"url":{"path":["v1","products",":id","price"],"host":["{{baseUrl}}"],"query":[{"key":"customer_id","value":"<number>"},{"key":"price_list_id","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"29a844e4-78b8-4e38-9764-2df5f9de1765","name":"List named price lists","request":{"name":"List named price lists","description":{"content":"The organization's named price lists (not deleted), ordered by name, with their category margins and how many active customers (`customerCount`) and economic groups (`groupCount`) have each list assigned.","type":"text/plain"},"url":{"path":["v1","price-lists","lists"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a778e814-b574-4e7a-908d-77b0c72de8e0","name":"Named price lists","originalRequest":{"url":{"path":["v1","price-lists","lists"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"marginPercent\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"rounding\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"roundOnGross\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"categoryMargins\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"marginPercent\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"rounding\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"roundOnGross\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"categoryMargins\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e87ffaef-7ac8-40e1-8ac7-291cd056c4f7","name":"Create a named price list","request":{"name":"Create a named price list","description":{"content":"With `marginPercent`, every product with a cost is priced net = cost × (1 + margin / 100), rounded; the prices are computed before the response. Without it the list is manual.","type":"text/plain"},"url":{"path":["v1","price-lists","lists"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"marginPercent\": \"<number>\",\n  \"rounding\": \"none\",\n  \"roundOnGross\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e1cb1136-fabb-49d6-aa14-9e6b17239462","name":"Created list","originalRequest":{"url":{"path":["v1","price-lists","lists"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 30,\n  \"rounding\": \"none\",\n  \"roundOnGross\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 30,\n  \"rounding\": \"integer\",\n  \"roundOnGross\": false,\n  \"categoryMargins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"customerCount\": 12,\n  \"groupCount\": 2,\n  \"createdAt\": \"2026-10-16T10:00:00.000Z\",\n  \"updatedAt\": \"2026-10-16T10:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ce95120-3496-4592-b130-694532bb8b99","name":"PRICE_LIST_NAME_TAKEN — another list already has this name.","originalRequest":{"url":{"path":["v1","price-lists","lists"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 30,\n  \"rounding\": \"none\",\n  \"roundOnGross\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f5397d3c-d413-4257-a782-4fc393ec2e02","name":"Get a named price list","request":{"name":"Get a named price list","description":{"content":"One list with its category margins and its assigned customer / economic group counts.","type":"text/plain"},"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"02b71570-188d-4c4b-9702-9c50f041ef8c","name":"Named price list","originalRequest":{"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 30,\n  \"rounding\": \"integer\",\n  \"roundOnGross\": false,\n  \"categoryMargins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"customerCount\": 12,\n  \"groupCount\": 2,\n  \"createdAt\": \"2026-10-16T10:00:00.000Z\",\n  \"updatedAt\": \"2026-10-16T10:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a696b7c5-04c3-40ae-aeb7-95871e78f3fa","name":"PRICE_LIST_NOT_FOUND — list does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d32cc308-0e6a-4d12-9301-cb0b3797c069","name":"Update a named price list","request":{"name":"Update a named price list","description":{"content":"Partial update. Changing the margin, rounding or roundOnGross recomputes the list's rule prices before the response (manual prices are kept); `marginPercent: null` turns the list manual.","type":"text/plain"},"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"marginPercent\": \"<number>\",\n  \"rounding\": \"<string>\",\n  \"roundOnGross\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"146d6289-9739-4698-8305-dbbab3e06122","name":"Updated list","originalRequest":{"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 35,\n  \"rounding\": \"<string>\",\n  \"roundOnGross\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 30,\n  \"rounding\": \"integer\",\n  \"roundOnGross\": false,\n  \"categoryMargins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"customerCount\": 12,\n  \"groupCount\": 2,\n  \"createdAt\": \"2026-10-16T10:00:00.000Z\",\n  \"updatedAt\": \"2026-10-16T10:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d8394c2f-20b9-40c1-bcfc-4836ad793f6e","name":"PRICE_LIST_NOT_FOUND — list does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 35,\n  \"rounding\": \"<string>\",\n  \"roundOnGross\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff82e96f-dc10-4c3d-8456-5b8a84f8f513","name":"PRICE_LIST_NAME_TAKEN — another list already has this name.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 35,\n  \"rounding\": \"<string>\",\n  \"roundOnGross\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"23f9d777-2d10-4e55-b462-72629cd46474","name":"Delete a named price list","request":{"name":"Delete a named price list","description":{"content":"Soft delete. Customers and economic groups assigned to the list are left without one (their invoices fall back to the default prices).","type":"text/plain"},"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d0f5d8e5-60dd-4ba3-8767-c81ae00500e6","name":"Deleted","originalRequest":{"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"93478a15-7898-4cac-9fe3-1ac05b1f777f","name":"PRICE_LIST_NOT_FOUND — list does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"feadbf68-532d-40ec-b6ff-7805fb7a0847","name":"Set the category margins of a named price list","request":{"name":"Set the category margins of a named price list","description":{"content":"Replaces the list's per-category margins (a product's own margin beats its category's, which beats the list's) and recomputes the list's rule prices before the response.","type":"text/plain"},"url":{"path":["v1","price-lists","lists",":id","category-margins"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"margins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8454e7cb-e1a5-4862-b2b6-060de3ccd74d","name":"Updated list","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","category-margins"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"margins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Mayorista\",\n  \"marginPercent\": 30,\n  \"rounding\": \"integer\",\n  \"roundOnGross\": false,\n  \"categoryMargins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"customerCount\": 12,\n  \"groupCount\": 2,\n  \"createdAt\": \"2026-10-16T10:00:00.000Z\",\n  \"updatedAt\": \"2026-10-16T10:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"02ee7096-a918-48ae-b043-079c0e1f93f2","name":"Validation failed. Codes: CATEGORY_NOT_FOUND, CATEGORY_DUPLICATED.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","category-margins"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"margins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b4671b2-dc3b-4680-be1d-1374817e9f93","name":"PRICE_LIST_NOT_FOUND — list does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","category-margins"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"margins\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b42dc60b-8c2f-44db-9603-d6224415130b","name":"Products of a named price list","request":{"name":"Products of a named price list","description":{"content":"Every active product with its cost, the margin the rule applies and where it comes from (product, category, list), the net price in the list, the final price with VAT and whether it is rule-derived or manual. `noCost` flags products the rule cannot price. Keyset-paginated by product id.","type":"text/plain"},"url":{"path":["v1","price-lists","lists",":id","items"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque keyset cursor (product id)"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size, 1-500 (default 50)"},{"disabled":false,"key":"search","value":"<string>","description":"Case-insensitive partial match on description or barcode"},{"disabled":false,"key":"category_id","value":"<string>","description":"Only products of this category id; `none` = products without a category"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"84eb8e99-6659-4cbb-afc3-2c26351d8d86","name":"Page of list items","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","items"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"search","value":"<string>"},{"key":"category_id","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"123\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0f5741aa-759e-4c26-a8a9-267b8a83ae5f","name":"INVALID_CURSOR — cursor is not a non-negative integer.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","items"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"search","value":"<string>"},{"key":"category_id","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"876c4bf9-00d8-4095-87fd-96317a658f51","name":"PRICE_LIST_NOT_FOUND — list does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","items"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"search","value":"<string>"},{"key":"category_id","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8f8968e4-c720-420e-9492-275ce615e293","name":"Export a named price list as CSV","request":{"name":"Export a named price list as CSV","description":{"content":"Streams the same rows as the items endpoint (all pages), honoring `search` and `category_id`. Amounts have 2 decimals with a dot separator; the file is named `lista-precios-<list-name-slug>-<YYYY-MM-DD>.csv`.","type":"text/plain"},"url":{"path":["v1","price-lists","lists",":id","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>"},{"disabled":false,"key":"category_id","value":"<string>","description":"Only products of this category id; `none` = products without a category"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"text/csv"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2364c43f-0308-41a4-b4e0-67f9df951d7c","name":"CSV file","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"string","cookie":[],"_postman_previewlanguage":"text"},{"id":"24ce2430-c06e-4d39-b733-400898f40108","name":"PRICE_LIST_NOT_FOUND — list does not exist, was deleted, or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cb2c6c28-dd35-439d-a0e5-b2837187de8a","name":"Set one product of a named price list","request":{"name":"Set one product of a named price list","description":{"content":"mode=manual fixes the price (net `price`, or `priceWithVat` converted with the product's VAT rate); it beats the rule and is never recomputed. mode=rule hands the product back to the rule, optionally with its own `marginPercent`, and recomputes it before the response.","type":"text/plain"},"url":{"path":["v1","price-lists","lists",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"mode\": \"<string>\",\n  \"price\": \"<number>\",\n  \"priceWithVat\": \"<number>\",\n  \"marginPercent\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4603c218-2a70-42cc-9297-ffad3fe1ede8","name":"The product as the list shows it","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"mode\": \"manual\",\n  \"price\": 1500,\n  \"priceWithVat\": 1815,\n  \"marginPercent\": 40\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"productId\": 12,\n  \"productCode\": \"7790001\",\n  \"productDescription\": \"Coca-Cola 500ml\",\n  \"categoryId\": 3,\n  \"categoryName\": \"Bebidas\",\n  \"cost\": 1000,\n  \"noCost\": false,\n  \"marginPercent\": 30,\n  \"marginOrigin\": \"category\",\n  \"price\": 1300,\n  \"vatRate\": 0.21,\n  \"priceWithVat\": 1573,\n  \"source\": \"R\",\n  \"costBasis\": 1000\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"56201808-7036-402c-af50-796b622d6e63","name":"MANUAL_PRICE_REQUIRED — mode=manual needs exactly one of price / priceWithVat.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"mode\": \"manual\",\n  \"price\": 1500,\n  \"priceWithVat\": 1815,\n  \"marginPercent\": 40\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"932fbbfb-0951-4c6e-8aeb-ba39e491acbc","name":"PRICE_LIST_NOT_FOUND — list does not exist, was deleted, or belongs to another org. PRODUCT_NOT_FOUND — product does not exist or belongs to another org.","originalRequest":{"url":{"path":["v1","price-lists","lists",":id","items",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"mode\": \"manual\",\n  \"price\": 1500,\n  \"priceWithVat\": 1815,\n  \"marginPercent\": 40\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"270b560b-bade-4d71-bcb9-106d090e06dd","name":"Ventas - Remitos","description":{"content":"","type":"text/plain"},"item":[{"id":"a0303496-4c13-442d-9b8c-156d4a22165a","name":"List delivery-note books","request":{"name":"List delivery-note books","description":{"content":"The organization's delivery-note (remito) numbering series. Active ones by default; `include_archived=true` adds the archived ones (their numbering is kept).","type":"text/plain"},"url":{"path":["v1","sales","delivery-note-books"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"include_archived","value":"<boolean>","description":"Include archived books (default false)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"568fbec4-f7ea-4891-a008-5117aec1a627","originalRequest":{"url":{"path":["v1","sales","delivery-note-books"],"host":["{{baseUrl}}"],"query":[{"key":"include_archived","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5c89d61a-335d-491c-9662-b77a3cbe8f15","name":"Create a delivery-note book","request":{"name":"Create a delivery-note book","description":{"content":"Creates a delivery-note (remito) numbering series: internal numbering, no AFIP. With a CAI the notes print as letter R; without one, as X. Requires stock tracking. The organization issues delivery notes (`/users/me/config` `deliveryNotes`) while it has an active book.","type":"text/plain"},"url":{"path":["v1","sales","delivery-note-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"pointOfSale\": \"<number>\",\n  \"warehouseId\": \"<object>\",\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d60ad0c8-484e-4e80-839b-f5bf5e4778a1","originalRequest":{"url":{"path":["v1","sales","delivery-note-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"pointOfSale\": 1,\n  \"warehouseId\": null,\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 3,\n  \"name\": \"Remitos\",\n  \"pointOfSale\": 1,\n  \"nextNumber\": 13,\n  \"warehouseId\": null,\n  \"cai\": null,\n  \"caiDueDate\": null,\n  \"archivedAt\": null,\n  \"createdAt\": \"1977-06-26T03:31:38.226Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"69480021-bfb6-4f07-97be-1ca0c51755d3","name":"Codes: DELIVERY_NOTES_REQUIRE_STOCK_TRACKING, INVALID_DELIVERY_NOTE_BOOK.","originalRequest":{"url":{"path":["v1","sales","delivery-note-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"pointOfSale\": 1,\n  \"warehouseId\": null,\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad244e39-da9b-4a28-856d-59ecb36eeda2","name":"WAREHOUSE_NOT_FOUND — not an active warehouse of this organization.","originalRequest":{"url":{"path":["v1","sales","delivery-note-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"pointOfSale\": 1,\n  \"warehouseId\": null,\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"809ca9a6-e3bb-4e43-92b1-fff84a328af5","name":"DELIVERY_NOTE_BOOK_PV_TAKEN — another active book uses that point of sale.","originalRequest":{"url":{"path":["v1","sales","delivery-note-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"pointOfSale\": 1,\n  \"warehouseId\": null,\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4a1393c0-f76b-42a5-8f5b-86cf1e488cb5","name":"Update a delivery-note book","request":{"name":"Update a delivery-note book","description":{"content":"Renames the book, changes its default warehouse or CAI, archives it (`archived: true`) or reactivates it (`archived: false`, needs stock tracking). Archiving keeps the numbering: reactivating continues where it left off.","type":"text/plain"},"url":{"path":["v1","sales","delivery-note-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"warehouseId\": \"<object>\",\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\",\n  \"archived\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7b985912-b78b-4d4a-b95e-6907be9f6ebc","originalRequest":{"url":{"path":["v1","sales","delivery-note-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"warehouseId\": \"<object>\",\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\",\n  \"archived\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 3,\n  \"name\": \"Remitos\",\n  \"pointOfSale\": 1,\n  \"nextNumber\": 13,\n  \"warehouseId\": null,\n  \"cai\": null,\n  \"caiDueDate\": null,\n  \"archivedAt\": null,\n  \"createdAt\": \"1977-06-26T03:31:38.226Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78aa0a79-70d2-4ed2-9ae5-9039b40f6c6a","name":"Codes: DELIVERY_NOTES_REQUIRE_STOCK_TRACKING, INVALID_DELIVERY_NOTE_BOOK.","originalRequest":{"url":{"path":["v1","sales","delivery-note-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"warehouseId\": \"<object>\",\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\",\n  \"archived\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e014d4c5-cdfd-4fc5-81ff-f89fa5336289","name":"DELIVERY_NOTE_BOOK_NOT_FOUND — not a book of this organization; WAREHOUSE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","sales","delivery-note-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"warehouseId\": \"<object>\",\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\",\n  \"archived\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e3134364-64c4-4fb0-84f3-09b62a69795b","name":"DELIVERY_NOTE_BOOK_PV_TAKEN — reactivating: another active book uses its point of sale.","originalRequest":{"url":{"path":["v1","sales","delivery-note-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Remitos\",\n  \"warehouseId\": \"<object>\",\n  \"cai\": \"<object>\",\n  \"caiDueDate\": \"<object>\",\n  \"archived\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"01ae08e1-db7a-4a73-b038-2f987fa624b4","name":"Issue a delivery note","request":{"name":"Issue a delivery note","description":{"content":"Issues a delivery note (remito) with the book's next number and moves the stock right away: `delivery` takes the goods out, `customer_return` puts them back (kardex type DELIVERY_NOTE). Combos move their components. With more than one warehouse the stock moves in `warehouseId`, else the book's warehouse, else the primary. With forceStock on, a delivery cannot leave the warehouse below zero. Requires stock tracking.","type":"text/plain"},"url":{"path":["v1","sales","delivery-notes"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"kind\": \"<string>\",\n  \"bookId\": \"<number>\",\n  \"customerId\": \"<number>\",\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"<string>\",\n  \"warehouseId\": \"<object>\",\n  \"deliveryAddress\": \"<string>\",\n  \"carrier\": \"<string>\",\n  \"observation\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d76b2547-c920-42f9-9603-f3d0f25f8c87","originalRequest":{"url":{"path":["v1","sales","delivery-notes"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"kind\": \"delivery\",\n  \"bookId\": 3,\n  \"customerId\": 42,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"2026-10-21\",\n  \"warehouseId\": \"<object>\",\n  \"deliveryAddress\": \"Av. Corrientes 1234, CABA\",\n  \"carrier\": \"Transporte Sur SRL\",\n  \"observation\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3e4a2dd4-7f03-bd4b-34d2-c0facd5d085e\",\n  \"kind\": \"customer_return\",\n  \"status\": \"voided\",\n  \"state\": \"pending\",\n  \"letter\": \"R\",\n  \"pointOfSale\": 1,\n  \"number\": 12,\n  \"formattedNumber\": \"00001-00000012\",\n  \"label\": \"R 00001-00000012\",\n  \"date\": \"2026-10-21\",\n  \"bookId\": 3,\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warehouseId\": 2917.666586810055,\n  \"deliveryAddress\": \"string\",\n  \"carrier\": \"string\",\n  \"observation\": \"string\",\n  \"createdByName\": \"string\",\n  \"createdAt\": \"1997-07-19T00:02:10.294Z\",\n  \"voidedAt\": \"2002-09-26T20:48:39.707Z\",\n  \"lineCount\": 2,\n  \"totalQuantity\": 5,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"98e16e0e-efbe-46ae-8fb8-60278f3ce404","name":"Codes: DELIVERY_NOTES_REQUIRE_STOCK_TRACKING, INVALID_DELIVERY_NOTE, STOCK_NOT_APPLICABLE_TO_SERVICE, INSUFFICIENT_STOCK.","originalRequest":{"url":{"path":["v1","sales","delivery-notes"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"kind\": \"delivery\",\n  \"bookId\": 3,\n  \"customerId\": 42,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"2026-10-21\",\n  \"warehouseId\": \"<object>\",\n  \"deliveryAddress\": \"Av. Corrientes 1234, CABA\",\n  \"carrier\": \"Transporte Sur SRL\",\n  \"observation\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6299bae7-37cc-4852-92ee-049d8fb63d8a","name":"Codes: DELIVERY_NOTE_BOOK_NOT_FOUND, CUSTOMER_NOT_FOUND, PRODUCT_NOT_FOUND, WAREHOUSE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","sales","delivery-notes"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"kind\": \"delivery\",\n  \"bookId\": 3,\n  \"customerId\": 42,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"2026-10-21\",\n  \"warehouseId\": \"<object>\",\n  \"deliveryAddress\": \"Av. Corrientes 1234, CABA\",\n  \"carrier\": \"Transporte Sur SRL\",\n  \"observation\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f5877ffc-c41b-47b9-aa91-f926e9525171","name":"List delivery notes","request":{"name":"List delivery notes","description":{"content":"The organization's delivery notes, newest first, without their lines. `state`: pending (deliveries not invoiced yet), invoiced, voided. `sales_receipt_id`: the notes that receipt invoiced.","type":"text/plain"},"url":{"path":["v1","sales","delivery-notes"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"kind","value":"<string>"},{"disabled":false,"key":"state","value":"<string>","description":"pending = delivery not invoiced yet; invoiced = linked to a receipt that is not voided nor fully cancelled by credit notes that return no goods; voided."},{"disabled":false,"key":"customer_id","value":"<number>"},{"disabled":false,"key":"sales_receipt_id","value":"<uuid>","description":"Notes invoiced by this sales receipt (voided or not)."},{"disabled":false,"key":"from","value":"<string>"},{"disabled":false,"key":"to","value":"<string>"},{"disabled":false,"key":"page","value":"1"},{"disabled":false,"key":"page_size","value":"50"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fa53359b-2b01-49d3-b997-afe51888a1f4","originalRequest":{"url":{"path":["v1","sales","delivery-notes"],"host":["{{baseUrl}}"],"query":[{"key":"kind","value":"<string>"},{"key":"state","value":"<string>"},{"key":"customer_id","value":"<number>"},{"key":"sales_receipt_id","value":"<uuid>"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"page","value":"1"},{"key":"page_size","value":"50"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 1,\n  \"page\": 1,\n  \"pageSize\": 50\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cc02ab40-f996-4fae-a967-b60df7834ac1","name":"Invoice delivery notes","request":{"name":"Invoice delivery notes","description":{"content":"Creates the invoice of one or more delivery notes of the same customer, exactly like POST /sales/sales-receipts (same body under `receipt`, same validations, numbering and authorization), except that it does not move again the stock the notes already moved: only what the invoice has beyond them leaves stock. The notes become invoiced; voiding the invoice, or cancelling it in full with authorized credit notes that return no goods, makes them pending again. Always a confirmed Factura (no draft); Argentina only.","type":"text/plain"},"url":{"path":["v1","sales","delivery-notes","invoice"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"deliveryNoteIds\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"receipt\": {\n    \"description\": \"The invoice, exactly as POST /sales/sales-receipts takes it. Always a confirmed Factura (no draft, no associated receipt) to the notes' customer.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"dc1922ed-537a-4dff-a302-d9694011def1","name":"The created invoice.","originalRequest":{"url":{"path":["v1","sales","delivery-notes","invoice"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"deliveryNoteIds\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"receipt\": {\n    \"description\": \"The invoice, exactly as POST /sales/sales-receipts takes it. Always a confirmed Factura (no draft, no associated receipt) to the notes' customer.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n  \"peaklyOldId\": null,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"dueDate\": \"2026-01-30T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"number\": \"00001-00000123\",\n  \"letter\": \"A\",\n  \"letterVariant\": \"operacion_sujeta_a_retencion\",\n  \"classLegend\": null,\n  \"status\": \"Creada\",\n  \"exchangeRate\": 1,\n  \"cancellationInSameCurrency\": false,\n  \"returnsStock\": true,\n  \"collectionEmail\": \"customer@example.com\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalCollected\": 0,\n  \"observation\": null,\n  \"cae\": \"75123456789012\",\n  \"caeExpiration\": \"2026-01-25T00:00:00.000Z\",\n  \"customerId\": 1,\n  \"typeId\": 1,\n  \"saleConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"emailSentAt\": null,\n  \"discount\": 0,\n  \"preSendEmailAt\": null,\n  \"errorMessage\": null,\n  \"serviceStartDate\": null,\n  \"serviceEndDate\": null,\n  \"updatedAt\": \"2026-01-15T12:00:00.000Z\",\n  \"providerId\": \"ext-receipt-123\",\n  \"vatPerceptions\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"totalDiscount\": 0,\n  \"discountAmount\": 0,\n  \"taxableAmount105\": 0,\n  \"taxableAmount21\": 1000,\n  \"taxableAmount27\": 0,\n  \"subtotalWithoutDiscount\": 1000,\n  \"vatWithoutDiscount\": 210,\n  \"associatedReceiptId\": null,\n  \"realTotal\": null,\n  \"grossIncomePerceptionsBsas\": 0,\n  \"grossIncomePerceptionsCaba\": 0,\n  \"exportData\": {\n    \"incotermsCode\": \"FOB\",\n    \"incotermsDescription\": \"Free on Board\"\n  },\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"saleCondition\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"user\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"currency\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"observations\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fullDiscountReversal\": false,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"surchargeTotal\": 0,\n  \"withholdingTotal\": 150,\n  \"rectificationReason\": \"Anulación de la factura FA/2\",\n  \"cancelledByCreditNotes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"creditedAmount\": 12000,\n  \"pdfAvailable\": true,\n  \"creditNoteCoverage\": \"full\",\n  \"associatedReceipt\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id`. The receipt referenced by `associatedReceiptId` (the invoice a credit/debit note corrects); null when there is none.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"consignmentSettlement\": {\n    \"nullable\": true,\n    \"description\": \"Only on `GET /sales-receipts/:id` and `POST /sales-receipts`. The deductions of a Cuenta de Venta y Líquido Producto and the net amount owed to the consignor; null for every other receipt type.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba4eea04-bac5-45f3-8fd0-57e13630e614","name":"DELIVERY_NOTES_NOT_INVOICEABLE — different customers, not deliveries, voided or already invoiced, a draft or non-invoice receipt; plus every code of POST /sales/sales-receipts.","originalRequest":{"url":{"path":["v1","sales","delivery-notes","invoice"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"deliveryNoteIds\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"receipt\": {\n    \"description\": \"The invoice, exactly as POST /sales/sales-receipts takes it. Always a confirmed Factura (no draft, no associated receipt) to the notes' customer.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d4142063-b14a-4570-ade2-8685cf4310a2","name":"DELIVERY_NOTE_NOT_FOUND — a note is not of this organization.","originalRequest":{"url":{"path":["v1","sales","delivery-notes","invoice"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"deliveryNoteIds\": [\n    \"<uuid>\",\n    \"<uuid>\"\n  ],\n  \"receipt\": {\n    \"description\": \"The invoice, exactly as POST /sales/sales-receipts takes it. Always a confirmed Factura (no draft, no associated receipt) to the notes' customer.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"945686ee-2acf-4885-9d6e-c1487fed8cd8","name":"Get a delivery note","request":{"name":"Get a delivery note","description":{"content":"A delivery note with its lines and the receipts that invoiced it.","type":"text/plain"},"url":{"path":["v1","sales","delivery-notes",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"cfa6b7ef-3f14-4e90-b767-3cc2e32a6803","originalRequest":{"url":{"path":["v1","sales","delivery-notes",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"77fd2062-ff18-dfde-ec18-7cbd71580e62\",\n  \"kind\": \"delivery\",\n  \"status\": \"issued\",\n  \"state\": \"pending\",\n  \"letter\": \"X\",\n  \"pointOfSale\": 1,\n  \"number\": 12,\n  \"formattedNumber\": \"00001-00000012\",\n  \"label\": \"R 00001-00000012\",\n  \"date\": \"2026-10-21\",\n  \"bookId\": 3,\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warehouseId\": 1825.0975230778076,\n  \"deliveryAddress\": \"string\",\n  \"carrier\": \"string\",\n  \"observation\": \"string\",\n  \"createdByName\": \"string\",\n  \"createdAt\": \"1959-11-05T05:41:05.483Z\",\n  \"voidedAt\": \"1986-04-10T02:21:42.602Z\",\n  \"lineCount\": 2,\n  \"totalQuantity\": 5,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"de9f07cd-482a-445f-a816-e93b4a3e757c","name":"DELIVERY_NOTE_NOT_FOUND — not a delivery note of this organization.","originalRequest":{"url":{"path":["v1","sales","delivery-notes",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bbd28a0f-6d40-4872-9ea7-e4eff6fd0a51","name":"Void a delivery note","request":{"name":"Void a delivery note","description":{"content":"Reverts the note's stock movements and marks it voided. A note invoiced by a receipt that is not voided cannot be voided: void the invoice first.","type":"text/plain"},"url":{"path":["v1","sales","delivery-notes",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ffb3cac2-0575-4404-b121-3b75d8395dac","originalRequest":{"url":{"path":["v1","sales","delivery-notes",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"77fd2062-ff18-dfde-ec18-7cbd71580e62\",\n  \"kind\": \"delivery\",\n  \"status\": \"issued\",\n  \"state\": \"pending\",\n  \"letter\": \"X\",\n  \"pointOfSale\": 1,\n  \"number\": 12,\n  \"formattedNumber\": \"00001-00000012\",\n  \"label\": \"R 00001-00000012\",\n  \"date\": \"2026-10-21\",\n  \"bookId\": 3,\n  \"customer\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warehouseId\": 1825.0975230778076,\n  \"deliveryAddress\": \"string\",\n  \"carrier\": \"string\",\n  \"observation\": \"string\",\n  \"createdByName\": \"string\",\n  \"createdAt\": \"1959-11-05T05:41:05.483Z\",\n  \"voidedAt\": \"1986-04-10T02:21:42.602Z\",\n  \"lineCount\": 2,\n  \"totalQuantity\": 5,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f7026286-a4eb-46a9-9604-b129f266db4e","name":"DELIVERY_NOTE_NOT_FOUND — not a delivery note of this organization.","originalRequest":{"url":{"path":["v1","sales","delivery-notes",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"94897d05-460e-4e1c-a8e3-fc48a7c5e11b","name":"DELIVERY_NOTE_INVOICED — invoiced by a live receipt; DELIVERY_NOTE_ALREADY_VOIDED — already voided.","originalRequest":{"url":{"path":["v1","sales","delivery-notes",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"817786fb-67ac-4157-9d64-73c30c1675d8","name":"Download a delivery note as PDF","request":{"name":"Download a delivery note as PDF","description":{"content":"The remito PDF: letter R (with the book's CAI and its due date) or X, the legend \"Documento no válido como factura\", customer, delivery address, carrier, lines and a reception signature box. A voided note prints as ANULADO.","type":"text/plain"},"url":{"path":["v1","sales","delivery-notes",":id","pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/pdf"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f010f644-9fd3-4ada-b507-f7e16860a754","name":"Delivery note PDF file","originalRequest":{"url":{"path":["v1","sales","delivery-notes",":id","pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"b39e2db8-134c-44c1-9de2-99477870fea8","name":"DELIVERY_NOTE_NOT_FOUND — not a delivery note of this organization.","originalRequest":{"url":{"path":["v1","sales","delivery-notes",":id","pdf"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/pdf"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/pdf"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"38619d64-88a0-43bd-b0f9-7b88a4e9195f","name":"Ventas - Reportes","description":{"content":"Pull the sales reports you need to close the month and feed downstream tools — Libro IVA Ventas, sales by product, sales by customer, outstanding receivables, IIBB by jurisdiction, dashboard KPIs, revenue trends with MoM/YoY, and the IVA Digital Ventas fixed-width exports. Most reports have both a JSON endpoint (in-app views) and a CSV export endpoint (for accountants).","type":"text/plain"},"item":[{"id":"d220b905-c493-45a5-b9d9-78968fdaf0ac","name":"List distinct users who created sales receipts for the org","request":{"name":"List distinct users who created sales receipts for the org","description":{"content":"Returns the distinct users (id and full name) that authored at least one sales receipt in the organization, for use as a report filter.","type":"text/plain"},"url":{"path":["v1","sales","reports","creators"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a2613353-32ea-4e41-9b27-f45cbc731dd5","name":"Array of distinct user creators (id + fullName)","originalRequest":{"url":{"path":["v1","sales","reports","creators"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"fullName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"fullName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8d9016cb-5c42-4d6d-9361-d809e2e0e43f","name":"Dashboard KPIs, charts, and top customers","request":{"name":"Dashboard KPIs, charts, and top customers","description":{"content":"Aggregates sales KPIs, time-series charts grouped by day/week/month and top customers over the date range; summary_only skips per-receipt queries for high-volume orgs.","type":"text/plain"},"url":{"path":["v1","sales","reports","dashboard-stats"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"group_by","value":"<string>"},{"disabled":false,"key":"summary_only","value":"<string>","description":"Skip expensive per-receipt queries for high-volume orgs"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8bdf0b51-ef20-470d-8e80-ad07be91eb12","name":"Dashboard statistics","originalRequest":{"url":{"path":["v1","sales","reports","dashboard-stats"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"group_by","value":"<string>"},{"key":"summary_only","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"kpis\": {\n    \"totalInvoiced\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pendingCollection\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"previousPeriodTotal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"previousPeriodCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"statusBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"timeSeries\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"monthlySeries\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"topCustomers\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"trailing12MonthsTotal\": 14500000,\n  \"recentReceipts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"sameMonthLastYearTotal\": 1100000,\n  \"countByReceiptBook\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"398165c9-69b1-48e6-a810-e0b06793ff84","name":"Validation failed. Codes: DATE_RANGE_REQUIRED, INVALID_DATE_FORMAT, INVALID_DATE_RANGE.","originalRequest":{"url":{"path":["v1","sales","reports","dashboard-stats"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"group_by","value":"<string>"},{"key":"summary_only","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ecb3eb62-51fe-4b44-9f70-d4283a561772","name":"VAT Sales Book (Libro IVA Ventas)","request":{"name":"VAT Sales Book (Libro IVA Ventas)","description":{"content":"Cursor-paginated VAT sales book rows for the date range, one row per receipt with discriminated VAT amounts, perceptions and totals. Spanish organizations get the Libro registro de facturas expedidas instead: the page carries `layout: \"ES\"`, a `columns` descriptor ([{ id, label }] in display order, ids = row keys) and EsVatSalesBookRow rows built from the receipt's tax breakdown (bases and cuotas at 21/10/4 %, recargo de equivalencia, exempt / not subject / reverse-charge bases, IRPF); a voided invoice and its rectificativa both appear and cancel out. Argentine pages have no `layout` field.","type":"text/plain"},"url":{"path":["v1","sales","reports","vat-sales-book"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque pagination cursor from a previous page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Rows per page (default 50, max 500)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e6f96ef0-ff4c-4c1b-a63a-2c235765a8c0","name":"Paginated VAT book rows (Argentine layout, or `layout: \"ES\"` for Spanish organizations)","originalRequest":{"url":{"path":["v1","sales","reports","vat-sales-book"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"nextCursor\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"hasMore\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d6194372-6f27-4d23-8341-ad2ed16367ad","name":"Export VAT Sales Book as CSV","request":{"name":"Export VAT Sales Book as CSV","description":{"content":"Streams the full VAT sales book for the date range as a CSV download and records a success notification for the user. Spanish organizations get the Libro registro de facturas expedidas columns (Serie/Numero, Tipo, NIF, bases and cuotas 21/10/4 %, recargo, exenta, no sujeta, ISP, IRPF).","type":"text/plain"},"url":{"path":["v1","sales","reports","vat-sales-book","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1bec0fac-19b2-4ea8-bbf1-fb0cf759c22e","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","reports","vat-sales-book","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6e7afd76-843b-425b-805a-ae9bb984b540","name":"Sales by Product (aggregated by month)","request":{"name":"Sales by Product (aggregated by month)","description":{"content":"Cursor-paginated sales aggregated by product and month for the date range, with optional customer_id filter; refused for high-volume orgs.","type":"text/plain"},"url":{"path":["v1","sales","reports","sales-by-product"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque pagination cursor from a previous page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Rows per page (default 50, max 500)"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter to a single customer"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ef84e8fa-857c-4ea2-8a39-0d130b3b628e","name":"Paginated sales by product rows","originalRequest":{"url":{"path":["v1","sales","reports","sales-by-product"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"customer_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJtb250aCI6MX0=\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"97bf2a61-02ed-4b5b-b1dc-39c95bbcce3c","name":"Export Sales by Product as CSV","request":{"name":"Export Sales by Product as CSV","description":{"content":"Streams sales aggregated by product and month for the date range as a CSV download, with optional customer_id filter; refused for high-volume orgs.","type":"text/plain"},"url":{"path":["v1","sales","reports","sales-by-product","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter to a single customer"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"69f3ed24-fa4b-407c-b584-d9a1ae2e3178","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","reports","sales-by-product","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"},{"key":"customer_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dc6436c6-3602-4263-8710-1e1e1242806e","name":"Sales by Product filtered by product barcodes","request":{"name":"Sales by Product filtered by product barcodes","description":{"content":"`date_to` is exclusive. Use date_to=2026-07-01 for a full June 2026 report.","type":"text/plain"},"url":{"path":["v1","sales","reports","sales-by-product","barcodes"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) Exclusive end date"},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque pagination cursor from a previous page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Rows per page (default 50, max 500)"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter to a single customer"},{"disabled":false,"key":"barcodes","value":"<string>","description":"(Required) Comma-separated product barcodes"},{"disabled":false,"key":"tax_type_id","value":"<number>","description":"Filter to a single IVA tax type"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c0db515c-8ce6-423e-bd96-3fe8d87f9640","name":"Paginated sales by product barcode rows","originalRequest":{"url":{"path":["v1","sales","reports","sales-by-product","barcodes"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"customer_id","value":"<number>"},{"key":"barcodes","value":"<string>"},{"key":"tax_type_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJiIjoiNzc5ODE2NTI0MjM0NCJ9\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d230d8a7-9747-4df2-a81a-ad6a6ce797c5","name":"Export Sales by Product filtered by product barcodes as CSV","request":{"name":"Export Sales by Product filtered by product barcodes as CSV","description":{"content":"`date_to` is exclusive. Use date_to=2026-07-01 for a full June 2026 report.","type":"text/plain"},"url":{"path":["v1","sales","reports","sales-by-product","barcodes","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) Exclusive end date"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter to a single customer"},{"disabled":false,"key":"barcodes","value":"<string>","description":"(Required) Comma-separated product barcodes"},{"disabled":false,"key":"tax_type_id","value":"<number>","description":"Filter to a single IVA tax type"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4ea99a6d-961f-4df6-8403-278968ffeb09","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","reports","sales-by-product","barcodes","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"},{"key":"customer_id","value":"<number>"},{"key":"barcodes","value":"<string>"},{"key":"tax_type_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d6e55481-f2f2-4331-9792-b491af3be8a8","name":"Sales by Customer (accumulated)","request":{"name":"Sales by Customer (accumulated)","description":{"content":"Cursor-paginated sales accumulated per customer for the date range; refused for high-volume orgs.","type":"text/plain"},"url":{"path":["v1","sales","reports","sales-by-customer"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque pagination cursor from a previous page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Rows per page (default 50, max 500)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9d1c4abf-b924-410f-bf1f-abb364dbc920","name":"Paginated sales by customer rows","originalRequest":{"url":{"path":["v1","sales","reports","sales-by-customer"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJ0b3RhbCI6MTAwfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d90fab8f-9f26-4cd2-aaeb-d6ef3a021cda","name":"Export Sales by Customer as CSV","request":{"name":"Export Sales by Customer as CSV","description":{"content":"Streams sales accumulated per customer for the date range as a CSV download; refused for high-volume orgs.","type":"text/plain"},"url":{"path":["v1","sales","reports","sales-by-customer","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"51e442dd-dc18-4ae6-b1c9-4de744ac1846","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","reports","sales-by-customer","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e5eb29a8-b0ba-4fd6-a33d-e9fd178ad443","name":"Outstanding receivables","request":{"name":"Outstanding receivables","description":{"content":"Cursor-paginated list of receipts with an outstanding balance still pending collection for the organization. The first page (no cursor) also carries `summary`: totals over the whole outstanding set — total pending, overdue vs not yet due, aging buckets by days past due (as of today in Argentina) and the top 10 debtors. Pass `summary_only=true` to get only the summary. In Spanish organizations the rectificativa issued by a void is not listed (its invoice is voided; the pair owes nothing).","type":"text/plain"},"url":{"path":["v1","sales","reports","outstanding-receivables"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>"},{"disabled":false,"key":"page_size","value":"<number>"},{"disabled":false,"key":"summary_only","value":"<boolean>","description":"Return only the summary (data is empty, hasMore false)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c185395e-7927-47c5-a857-93f3a4a5b3e5","name":"Paginated outstanding receivable rows, plus the whole-set summary on the first page","originalRequest":{"url":{"path":["v1","sales","reports","outstanding-receivables"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"summary_only","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6IjAwMDFhIn0=\",\n  \"hasMore\": false,\n  \"summary\": {\n    \"nullable\": true,\n    \"description\": \"Totals over the whole outstanding set (not just this page). Present on the first page (no cursor) and with summary_only; null on later pages.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2ede1550-7962-4dc1-b70d-25030a5b1073","name":"Receivables aging","request":{"name":"Receivables aging","description":{"content":"Accounts-receivable aging over the whole outstanding set, aggregated server-side: pending balance and receipt count per bucket — not yet due, 1–30, 31–60, 61–90 and more than 90 days past the due date (as of today in Argentina) — plus the top 5 overdue debtors, and `upcoming`: the cumulative balance falling due within the next 30 / 60 / 90 days (for cash-flow projections). Issued receipts only; credit notes subtract. `total` equals the dashboard's pending collection figure.","type":"text/plain"},"url":{"path":["v1","sales","reports","receivables-aging"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"eaa979a7-1b50-4c74-9d21-aed834aff488","name":"Aging buckets, total and top overdue debtors","originalRequest":{"url":{"path":["v1","sales","reports","receivables-aging"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"asOf\": \"2026-10-03\",\n  \"total\": 940000,\n  \"count\": 37,\n  \"buckets\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"topDebtors\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"upcoming\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"61da4ec3-d6df-46b5-8e81-19225067fb7c","name":"Export outstanding receivables as CSV","request":{"name":"Export outstanding receivables as CSV","description":{"content":"Streams all outstanding receivables for the organization as a CSV download.","type":"text/plain"},"url":{"path":["v1","sales","reports","outstanding-receivables","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"02543fa7-ae1b-42b3-986a-b460088ff5c0","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","reports","outstanding-receivables","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"68281336-91f5-4d68-8394-e6716f3b54e1","name":"Gross Income (IIBB) by jurisdiction and month","request":{"name":"Gross Income (IIBB) by jurisdiction and month","description":{"content":"Cursor-paginated Gross Income (IIBB) perceptions aggregated by jurisdiction and month for the date range.","type":"text/plain"},"url":{"path":["v1","sales","reports","iibb"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque pagination cursor from a previous page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Rows per page (default 50, max 500)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0013a6bd-8629-41c7-9b2b-8bca5052a1ae","name":"Paginated IIBB rows","originalRequest":{"url":{"path":["v1","sales","reports","iibb"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJtb250aCI6MX0=\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1d3acbe5-790f-4a15-b212-4cf3b13dfcfc","name":"Export IIBB report as CSV","request":{"name":"Export IIBB report as CSV","description":{"content":"Streams the IIBB (Gross Income) perceptions report for the date range as a CSV download.","type":"text/plain"},"url":{"path":["v1","sales","reports","iibb","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3d805d18-7189-450e-9c91-3a01298034ce","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","reports","iibb","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"53259948-de5b-4409-b756-575b45d1427a","name":"Revenue trends with MoM/YoY comparisons and 3-month forecast","request":{"name":"Revenue trends with MoM/YoY comparisons and 3-month forecast","description":{"content":"Returns monthly revenue with MoM/YoY comparisons and a 3-month forecast over the last N months (default 24, clamped 6-36); refused for high-volume orgs.","type":"text/plain"},"url":{"path":["v1","sales","reports","trends"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"months","value":"<string>","description":"Number of past months to include (default 24)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0c731794-c163-4701-8299-8dd968fd27eb","name":"Revenue trend data with forecasting","originalRequest":{"url":{"path":["v1","sales","reports","trends"],"host":["{{baseUrl}}"],"query":[{"key":"months","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trends\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"momChange\": 12.5,\n  \"yoyChange\": 30.2,\n  \"currentMonthTotal\": 125000,\n  \"previousMonthTotal\": 111000,\n  \"sameMonthLastYearTotal\": 96000\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9dec1fcd-3679-42d5-90dd-35b26dae3d97","name":"IVA Digital Ventas Comprobantes (fixed-width text)","request":{"name":"IVA Digital Ventas Comprobantes (fixed-width text)","description":{"content":"Streams the AFIP IVA Digital 'Ventas Comprobantes' fixed-width text file for the date range, one line per receipt.","type":"text/plain"},"url":{"path":["v1","sales","reports","iva-digital","ventas"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"55152301-6ac3-443f-a55c-62cee5aa8866","name":"Fixed-width text file","originalRequest":{"url":{"path":["v1","sales","reports","iva-digital","ventas"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"cb756069-b75a-46c3-9454-5153231c6778","name":"REPORT_NOT_AVAILABLE_FOR_COUNTRY — AFIP/ARCA format, only for organizations that emit electronically through AFIP (Argentina).","originalRequest":{"url":{"path":["v1","sales","reports","iva-digital","ventas"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d49603b2-8e97-448a-92a0-8b6000665d51","name":"IVA Digital Ventas Alicuotas (fixed-width text)","request":{"name":"IVA Digital Ventas Alicuotas (fixed-width text)","description":{"content":"Streams the AFIP IVA Digital 'Ventas Alicuotas' fixed-width text file for the date range, one line per VAT rate on each receipt.","type":"text/plain"},"url":{"path":["v1","sales","reports","iva-digital","ventas-alicuotas"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date (YYYY-MM-DD), inclusive."}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"da893327-ddbb-4ac8-8aaf-c6df89626735","name":"Fixed-width text file","originalRequest":{"url":{"path":["v1","sales","reports","iva-digital","ventas-alicuotas"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"6d2d4598-c807-4fee-aae9-70d0d7969cf3","name":"REPORT_NOT_AVAILABLE_FOR_COUNTRY — AFIP/ARCA format, only for organizations that emit electronically through AFIP (Argentina).","originalRequest":{"url":{"path":["v1","sales","reports","iva-digital","ventas-alicuotas"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"2026-01-01"},{"key":"date_to","value":"2026-01-31"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dc3ef24b-b5e0-4ae3-ab22-147d84053192","name":"Customer account statement (Cuenta Corriente Cliente)","request":{"name":"Customer account statement (Cuenta Corriente Cliente)","description":{"content":"Chronological merge of sales receipts (cargo) and collections (crédito) with running balance. Credit notes are treated as credits. Excludes drafts and voided documents — except in Spanish organizations, where a voided invoice stays as a charge next to the rectificativa that cancels it (the pair nets to zero). Balance is positive when the customer owes money. v1 parity: Mayor de Clientes.","type":"text/plain"},"url":{"path":["v1","sales","reports","customer-account",":customerId"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"<number>","description":"Page number (1-based, default 1)"},{"disabled":false,"key":"page_size","value":"<number>","description":"Rows per page (default 50, max 500)"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter movements from this date (YYYY-MM-DD, inclusive)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter movements up to this date (YYYY-MM-DD, inclusive)"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"customerId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ba1de988-ee4d-4a0a-9eb1-c8f69d9156ef","name":"Paginated customer account movements with running balance","originalRequest":{"url":{"path":["v1","sales","reports","customer-account",":customerId"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"customerId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 42,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"openingBalance\": 5000,\n  \"finalBalance\": 12100\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"117f3564-c2f8-4b61-8871-b3a949fde43a","name":"Customer not found in this organization. Code: CUSTOMER_NOT_FOUND","originalRequest":{"url":{"path":["v1","sales","reports","customer-account",":customerId"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"customerId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"653acb84-d02b-45d4-a1a2-926000fcc734","name":"Monotributo — Declaración Informativa (semestral)","request":{"name":"Monotributo — Declaración Informativa (semestral)","description":{"content":"Provide either `semester` (S1=Ene–Jun / S2=Jul–Dic) + `year` (semestral preset, default) or `date_from` + `date_to` (custom range). Category is the org's CURRENT monotax category (see `caveat`), not necessarily the one in force during the period. `serviciosPublicos` (energía/alquileres/superficie) is not tracked in v2 and is always null.","type":"text/plain"},"url":{"path":["v1","sales","reports","monotributo","declaracion-informativa"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"semester","value":"<string>"},{"disabled":false,"key":"year","value":"<number>"},{"disabled":false,"key":"date_from","value":"<string>"},{"disabled":false,"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1ae75467-1280-4d34-b146-0d5cfe3994ab","name":"Declaración informativa DTO","originalRequest":{"url":{"path":["v1","sales","reports","monotributo","declaracion-informativa"],"host":["{{baseUrl}}"],"query":[{"key":"semester","value":"<string>"},{"key":"year","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"organizacion\": {\n    \"razonSocial\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cuit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"periodo\": {\n    \"label\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dateFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dateTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"categoria\": {\n    \"letra\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limiteAnual\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"caveat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"ventas\": {\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cantidad\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"topClientes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"compras\": {\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cantidad\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"topProveedores\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"serviciosPublicos\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f600237-d082-451a-ab52-44d987c081e4","name":"Invalid period. Code: MONOTRIBUTO_INVALID_PERIOD.","originalRequest":{"url":{"path":["v1","sales","reports","monotributo","declaracion-informativa"],"host":["{{baseUrl}}"],"query":[{"key":"semester","value":"<string>"},{"key":"year","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0479fb6d-f5be-4bb6-a9cb-fa015f9644c8","name":"Export Monotributo Declaración Informativa as CSV (multi-section)","request":{"name":"Export Monotributo Declaración Informativa as CSV (multi-section)","description":{"content":"Same params as the JSON endpoint. Emits a single flat CSV with a `Seccion` column separating encabezado / ventas / top clientes / compras / top proveedores.","type":"text/plain"},"url":{"path":["v1","sales","reports","monotributo","declaracion-informativa","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"semester","value":"<string>"},{"disabled":false,"key":"year","value":"<number>"},{"disabled":false,"key":"date_from","value":"<string>"},{"disabled":false,"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b46883b8-ba02-4e08-8e42-1e066e9047cd","name":"CSV file download","originalRequest":{"url":{"path":["v1","sales","reports","monotributo","declaracion-informativa","export"],"host":["{{baseUrl}}"],"query":[{"key":"semester","value":"<string>"},{"key":"year","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"347621ae-d12b-41ee-a8d5-0aef25d4e6ac","name":"Invalid period. Code: MONOTRIBUTO_INVALID_PERIOD.","originalRequest":{"url":{"path":["v1","sales","reports","monotributo","declaracion-informativa","export"],"host":["{{baseUrl}}"],"query":[{"key":"semester","value":"<string>"},{"key":"year","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"a7037b32-ac1c-43b8-ba69-34f45097fc28","name":"Ventas - Suscripciones","description":{"content":"","type":"text/plain"},"item":[{"id":"3068fc57-c9c7-40d0-a9ce-a8f8c64afd14","name":"Create a subscription (recurring auto-invoicing)","request":{"name":"Create a subscription (recurring auto-invoicing)","description":{"content":"Sets up recurring emission of one or more invoices to a customer. Each invoice carries its own concepts. Once active, the daily scheduler emits and (when the customer has an email) sends them automatically.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"customerId\": \"<number>\",\n  \"name\": \"<string>\",\n  \"recurrenceUnit\": \"<string>\",\n  \"startDate\": \"<string>\",\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"recurrenceInterval\": 1,\n  \"dayOfPeriod\": \"<object>\",\n  \"endDate\": \"<object>\",\n  \"maxOccurrences\": \"<object>\",\n  \"sendEmail\": true,\n  \"collectionEmail\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c3f1675d-cf1f-477f-8923-cd1203be4bf0","originalRequest":{"url":{"path":["v1","sales","subscriptions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customerId\": 1174,\n  \"name\": \"PIOSCA mensual\",\n  \"recurrenceUnit\": \"MONTH\",\n  \"startDate\": \"2026-08-01\",\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"recurrenceInterval\": 1,\n  \"dayOfPeriod\": \"<object>\",\n  \"endDate\": \"<object>\",\n  \"maxOccurrences\": \"<object>\",\n  \"sendEmail\": true,\n  \"collectionEmail\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"string\",\n  \"customerId\": 9073.61435326564,\n  \"name\": \"string\",\n  \"status\": \"string\",\n  \"recurrenceUnit\": \"string\",\n  \"recurrenceInterval\": 1201.578168040074,\n  \"startDate\": \"string\",\n  \"nextRunDate\": \"string\",\n  \"occurrencesCount\": 9163.70085346811,\n  \"sendEmail\": false,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dayOfPeriod\": {},\n  \"endDate\": {},\n  \"maxOccurrences\": {},\n  \"collectionEmail\": {},\n  \"lastRunAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7055ff60-4551-4c4e-abe8-9a95e7a8f84a","originalRequest":{"url":{"path":["v1","sales","subscriptions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customerId\": 1174,\n  \"name\": \"PIOSCA mensual\",\n  \"recurrenceUnit\": \"MONTH\",\n  \"startDate\": \"2026-08-01\",\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"recurrenceInterval\": 1,\n  \"dayOfPeriod\": \"<object>\",\n  \"endDate\": \"<object>\",\n  \"maxOccurrences\": \"<object>\",\n  \"sendEmail\": true,\n  \"collectionEmail\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fbb2c98e-ddf7-4820-93ef-1402cef3ab72","name":"List subscriptions","request":{"name":"List subscriptions","description":{"content":"Lists the organization's subscriptions, optionally filtered by status and customer_id.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"<string>","description":"(Required) "},{"disabled":false,"key":"customer_id","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"407cbaa9-1452-4675-a6b0-4ad0cf9ed6ee","originalRequest":{"url":{"path":["v1","sales","subscriptions"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"customer_id","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"recurrenceUnit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"recurrenceInterval\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nextRunDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"occurrencesCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sendEmail\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"invoices\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dayOfPeriod\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxOccurrences\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"collectionEmail\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastRunAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"recurrenceUnit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"recurrenceInterval\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nextRunDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"occurrencesCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sendEmail\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"invoices\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dayOfPeriod\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxOccurrences\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"collectionEmail\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastRunAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"33bf11c0-d8fa-4864-ac92-e45264e909e9","name":"Get a subscription with its invoice templates","request":{"name":"Get a subscription with its invoice templates","description":{"content":"Returns a single subscription with its invoice templates; 404 if it does not exist in this organization.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"953c6881-0161-417b-9eaf-b761ee28aef8","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"string\",\n  \"customerId\": 8505.950867506364,\n  \"name\": \"string\",\n  \"status\": \"string\",\n  \"recurrenceUnit\": \"string\",\n  \"recurrenceInterval\": 142.04481474058062,\n  \"startDate\": \"string\",\n  \"nextRunDate\": \"string\",\n  \"occurrencesCount\": 7022.0505781815955,\n  \"sendEmail\": false,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dayOfPeriod\": {},\n  \"endDate\": {},\n  \"maxOccurrences\": {},\n  \"collectionEmail\": {},\n  \"lastRunAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cddfee9c-d3d1-41f0-bd6d-0cd46f674ad7","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f068db20-dcb5-414b-8f90-e0e187208a0a","name":"Update a subscription (config and/or invoice templates)","request":{"name":"Update a subscription (config and/or invoice templates)","description":{"content":"Updates a subscription's configuration and/or its invoice templates.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"recurrenceUnit\": \"<string>\",\n  \"recurrenceInterval\": \"<number>\",\n  \"startDate\": \"<string>\",\n  \"dayOfPeriod\": \"<object>\",\n  \"endDate\": \"<object>\",\n  \"maxOccurrences\": \"<object>\",\n  \"sendEmail\": \"<boolean>\",\n  \"collectionEmail\": \"<object>\",\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"46c790d6-2a11-4cb6-af40-b569a3299ef6","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"recurrenceUnit\": \"<string>\",\n  \"recurrenceInterval\": \"<number>\",\n  \"startDate\": \"<string>\",\n  \"dayOfPeriod\": \"<object>\",\n  \"endDate\": \"<object>\",\n  \"maxOccurrences\": \"<object>\",\n  \"sendEmail\": \"<boolean>\",\n  \"collectionEmail\": \"<object>\",\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"string\",\n  \"customerId\": 8505.950867506364,\n  \"name\": \"string\",\n  \"status\": \"string\",\n  \"recurrenceUnit\": \"string\",\n  \"recurrenceInterval\": 142.04481474058062,\n  \"startDate\": \"string\",\n  \"nextRunDate\": \"string\",\n  \"occurrencesCount\": 7022.0505781815955,\n  \"sendEmail\": false,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dayOfPeriod\": {},\n  \"endDate\": {},\n  \"maxOccurrences\": {},\n  \"collectionEmail\": {},\n  \"lastRunAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b37b6864-0b4c-4326-a52b-fd316bbd8b60","name":"Pause a subscription (stops emission)","request":{"name":"Pause a subscription (stops emission)","description":{"content":"Sets the subscription status to PAUSED so the scheduler stops emitting invoices for it until resumed.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions",":id","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5f65d7df-c9a2-493d-a70c-2c771cb1fd29","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"string\",\n  \"customerId\": 8505.950867506364,\n  \"name\": \"string\",\n  \"status\": \"string\",\n  \"recurrenceUnit\": \"string\",\n  \"recurrenceInterval\": 142.04481474058062,\n  \"startDate\": \"string\",\n  \"nextRunDate\": \"string\",\n  \"occurrencesCount\": 7022.0505781815955,\n  \"sendEmail\": false,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dayOfPeriod\": {},\n  \"endDate\": {},\n  \"maxOccurrences\": {},\n  \"collectionEmail\": {},\n  \"lastRunAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"270f4ce3-a739-40f6-8933-c4f44fab0f53","name":"Resume a paused subscription","request":{"name":"Resume a paused subscription","description":{"content":"Reactivates emission. Any periods missed while paused are skipped — the next run jumps to the next future occurrence.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions",":id","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f735930d-e47a-4f9d-a41b-69efa372199e","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"string\",\n  \"customerId\": 8505.950867506364,\n  \"name\": \"string\",\n  \"status\": \"string\",\n  \"recurrenceUnit\": \"string\",\n  \"recurrenceInterval\": 142.04481474058062,\n  \"startDate\": \"string\",\n  \"nextRunDate\": \"string\",\n  \"occurrencesCount\": 7022.0505781815955,\n  \"sendEmail\": false,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dayOfPeriod\": {},\n  \"endDate\": {},\n  \"maxOccurrences\": {},\n  \"collectionEmail\": {},\n  \"lastRunAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f9c1303f-dcbc-40f7-9183-0de858e333f6","name":"Cancel a subscription (terminal)","request":{"name":"Cancel a subscription (terminal)","description":{"content":"Sets the subscription status to CANCELLED; this is terminal and cannot be resumed.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"46cdd4ba-9952-426e-843a-a3e0989f4d13","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"string\",\n  \"customerId\": 8505.950867506364,\n  \"name\": \"string\",\n  \"status\": \"string\",\n  \"recurrenceUnit\": \"string\",\n  \"recurrenceInterval\": 142.04481474058062,\n  \"startDate\": \"string\",\n  \"nextRunDate\": \"string\",\n  \"occurrencesCount\": 7022.0505781815955,\n  \"sendEmail\": false,\n  \"invoices\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dayOfPeriod\": {},\n  \"endDate\": {},\n  \"maxOccurrences\": {},\n  \"collectionEmail\": {},\n  \"lastRunAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"763efb7f-f307-481e-95c4-998957bb6302","name":"Emission history for a subscription","request":{"name":"Emission history for a subscription","description":{"content":"Returns the run history (emission attempts and their outcomes) for the subscription.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions",":id","runs"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ef2df98f-ffe2-4758-a03c-98166602035b","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id","runs"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"emissionDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"error\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"periodKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"emissionDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"error\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e20fbcc7-a89d-4dc2-b3b2-9d5485f6179b","name":"Emit this subscription's current period now","request":{"name":"Emit this subscription's current period now","description":{"content":"Manually emits the subscription's current period (testing / catch-up). Idempotent — a period already emitted is skipped. Only runs for migrated (B2) organizations.","type":"text/plain"},"url":{"path":["v1","sales","subscriptions",":id","run-now"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1392e6bb-1168-4991-a911-63a676f7a8cc","originalRequest":{"url":{"path":["v1","sales","subscriptions",":id","run-now"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) Subscription UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"status\": \"string\",\n  \"receiptIds\": [\n    \"string\",\n    \"string\"\n  ],\n  \"periodKey\": {},\n  \"error\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"c5cfc6de-a943-4bc3-85fd-0e621d8cb6b9","name":"Ventas - Talonarios","description":{"content":"Manage the receipt books (talonarios / puntos de venta) you issue receipts from. Each book is tied to a branch, a letter (A/B/C), and a point-of-sale number; sequential numbering is tracked per book. Use `POST /receipt-books/import-from-arca` to pull your registered points of sale directly from AFIP instead of entering them by hand.","type":"text/plain"},"item":[{"id":"6e57f6dc-80cd-4479-a382-032c6c5f8de1","name":"List receipt books for the current organization","request":{"name":"List receipt books for the current organization","description":{"content":"Returns all non-deleted receipt books (talonarios / points of sale) of the current organization, ordered by point of sale.","type":"text/plain"},"url":{"path":["v1","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"827db057-923b-428c-b0dd-4894009d39f8","name":"List of receipt books","originalRequest":{"url":{"path":["v1","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"prefix\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pointOfSale\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isExport\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastInvoiceA\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastInvoiceB\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastInvoiceC\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastCreditNoteA\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastCreditNoteB\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastCreditNoteC\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastDebitNoteA\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastDebitNoteB\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastDebitNoteC\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"backofficeIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDisabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"disabledReason\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"prefix\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pointOfSale\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isExport\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastInvoiceA\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastInvoiceB\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastInvoiceC\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastCreditNoteA\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastCreditNoteB\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastCreditNoteC\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastDebitNoteA\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastDebitNoteB\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastDebitNoteC\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"backofficeIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDisabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"disabledReason\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b92ad47b-0652-4b58-8ff2-1c0067157aef","name":"Create receipt book","request":{"name":"Create receipt book","description":{"content":"Creates a receipt book for the current organization after validating the point-of-sale type against the organization's country and that the point of sale is not already in use; returns the created receipt book. Spanish organizations get a self-managed (AUTOGESTION) book when `type` is omitted.","type":"text/plain"},"url":{"path":["v1","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"prefix\": \"<string>\",\n  \"pointOfSale\": \"<number>\",\n  \"type\": \"<string>\",\n  \"isExport\": \"<object>\",\n  \"branchId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e3f983a9-4750-4ab2-a7e8-0e3e062c8f46","name":"Created receipt book","originalRequest":{"url":{"path":["v1","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"isExport\": false,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"type\": \"WS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": null,\n  \"isDisabled\": false,\n  \"disabledReason\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4feef0a0-61b4-477e-a61d-a8c16e02cefc","name":"INVALID_RECEIPT_BOOK_TYPE — point-of-sale type not allowed for the organization's country, or WS_MOCK in production. INVALID_POINT_OF_SALE — point of sale outside ARCA's range 1–99998. INVALID_RECEIPT_BOOK_PREFIX — Argentina: prefix is not the point of sale with 4 digits (5 from 10000). BRANCH_NOT_FOUND — branch does not exist, is deleted, or belongs to another organization. ELECTRONIC_EMISSION_NOT_AVAILABLE — WS/WS_MOCK outside Argentina. FISCAL_PROVIDER_NOT_AVAILABLE — the organization's country has no fiscal provider.","originalRequest":{"url":{"path":["v1","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b2b6117-c06b-417e-a670-744518952693","name":"POINT_OF_SALE_DUPLICATE — another active receipt book of the organization already uses this point of sale (checked atomically, so concurrent creates cannot both succeed).","originalRequest":{"url":{"path":["v1","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"71c40b67-2de2-43d4-b173-388430af3397","name":"Get receipt book by point of sale","request":{"name":"Get receipt book by point of sale","description":{"content":"Returns the receipt book identified by its point-of-sale number within the current organization; responds 404 if none exists.","type":"text/plain"},"url":{"path":["v1","receipt-books","by-point-of-sale",":pointOfSale"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"pointOfSale","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9248719b-72f5-4e1a-a9b2-d24f7448f881","name":"Receipt book","originalRequest":{"url":{"path":["v1","receipt-books","by-point-of-sale",":pointOfSale"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"pointOfSale","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"isExport\": false,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"type\": \"WS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": null,\n  \"isDisabled\": false,\n  \"disabledReason\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e97cc851-7b16-4178-8671-82744358f6b9","name":"RECEIPT_BOOK_NOT_FOUND — receipt book does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","receipt-books","by-point-of-sale",":pointOfSale"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"pointOfSale","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"722b3316-fe28-4385-8841-b397a40a2498","name":"Import puntos de venta from ARCA (AFIP)","request":{"name":"Import puntos de venta from ARCA (AFIP)","description":{"content":"Imports puntos de venta from ARCA (AFIP) via WSFE (domestic) and WSFEX (export), creating any missing receipt books and seeding each new domestic book's last receipt numbers from AFIP. Points of sale ARCA reports as blocked or discharged are not imported (`skippedInactive`); one that already has a receipt book, even a disabled one, is skipped (`skipped`). If only one web service fails, the other one's points of sale are imported and `warnings` explains what could not be read; if both fail it answers 502. Returns the counts and the books.","type":"text/plain"},"url":{"path":["v1","receipt-books","import-from-arca"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fda691c1-0ae5-4005-a77c-ca5f909c90f3","name":"Import result with created/skipped counts","originalRequest":{"url":{"path":["v1","receipt-books","import-from-arca"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"created\": 3,\n  \"skipped\": 1,\n  \"skippedInactive\": 2,\n  \"warnings\": [\n    \"No se pudieron consultar los puntos de venta de exportación (WSFEX): Certificado no autorizado\"\n  ],\n  \"receiptBooks\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c6e29528-9384-4f01-bce0-0daac61abdaf","name":"ELECTRONIC_EMISSION_NOT_AVAILABLE — the organization's country has no electronic emission (Spain: self-managed only). FISCAL_PROVIDER_NOT_AVAILABLE — the organization's country has no fiscal provider.","originalRequest":{"url":{"path":["v1","receipt-books","import-from-arca"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a115a7d7-9343-462b-930f-8b6032685881","name":"ARCA_POINTS_OF_SALE_UNAVAILABLE — neither WSFE nor WSFEX answered the points of sale; the message carries ARCA's error.","originalRequest":{"url":{"path":["v1","receipt-books","import-from-arca"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Gateway","code":502,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b909145c-1a90-4002-8a20-5d8963a8fe2c","name":"Get receipt book by id","request":{"name":"Get receipt book by id","description":{"content":"Returns a single receipt book of the current organization by its id; responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"75b3f820-077e-47b1-81d8-68a2f749f327","name":"Receipt book","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"isExport\": false,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"type\": \"WS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": null,\n  \"isDisabled\": false,\n  \"disabledReason\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"20122a00-82f5-44a5-bd43-f6d96d054a12","name":"RECEIPT_BOOK_NOT_FOUND — receipt book does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"36150dfd-f1cb-4e03-acba-2a651551fe49","name":"Update receipt book","request":{"name":"Update receipt book","description":{"content":"Updates the receipt book for the current organization, validating point-of-sale type and uniqueness; returns the updated receipt book or 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"prefix\": \"<string>\",\n  \"pointOfSale\": \"<number>\",\n  \"type\": \"<string>\",\n  \"isExport\": \"<object>\",\n  \"branchId\": \"<integer>\",\n  \"lastInvoiceA\": \"<integer>\",\n  \"lastInvoiceB\": \"<integer>\",\n  \"lastInvoiceC\": \"<integer>\",\n  \"lastCreditNoteA\": \"<integer>\",\n  \"lastCreditNoteB\": \"<integer>\",\n  \"lastCreditNoteC\": \"<integer>\",\n  \"lastDebitNoteA\": \"<integer>\",\n  \"lastDebitNoteB\": \"<integer>\",\n  \"lastDebitNoteC\": \"<integer>\",\n  \"backofficeIds\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"325c9475-62aa-4c32-9e38-e857eaecb1e3","name":"Updated receipt book","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"isExport\": false,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"type\": \"WS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": null,\n  \"isDisabled\": false,\n  \"disabledReason\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8a6b8de3-0ea1-498e-ae24-ad59ee1872ee","name":"INVALID_RECEIPT_BOOK_TYPE — point-of-sale type not allowed for the organization's country, or WS_MOCK in production. INVALID_POINT_OF_SALE — point of sale outside ARCA's range 1–99998. INVALID_RECEIPT_BOOK_PREFIX — Argentina: prefix is not the point of sale with 4 digits (5 from 10000). BRANCH_NOT_FOUND — branch does not exist, is deleted, or belongs to another organization. ELECTRONIC_EMISSION_NOT_AVAILABLE — WS/WS_MOCK outside Argentina. FISCAL_PROVIDER_NOT_AVAILABLE — the organization's country has no fiscal provider.","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"874cd44a-3631-431f-88c3-f2db0bbe7a03","name":"RECEIPT_BOOK_COUNTERS_FORBIDDEN — a numbering counter (`lastInvoiceA` … `lastDebitNoteC`) was changed without the `receipt-books:import` permission. Counters sent with their current value are accepted and left untouched.","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"867ac25c-8171-4879-868c-39fb8e82d45b","name":"RECEIPT_BOOK_NOT_FOUND — receipt book does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d255f16d-7cf9-42f2-8042-0c06d7ed24a6","name":"POINT_OF_SALE_DUPLICATE — another active receipt book of the organization already uses this point of sale (checked atomically, so concurrent creates cannot both succeed).","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"type\": \"WS\",\n  \"isExport\": \"<object>\",\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7668da5e-4412-40ee-9f44-b763427e7c74","name":"Delete receipt book","request":{"name":"Delete receipt book","description":{"content":"Soft-deletes the receipt book (sets deleted_at) for the current organization; returns 204 on success or 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"47dec759-da7a-4d27-84d9-7d2799c6f91f","name":"Deleted","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ace6fe5c-b733-4a38-89e1-2da9634a231b","name":"RECEIPT_BOOK_NOT_FOUND — receipt book does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","receipt-books",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"67ef02ea-0242-4553-a0be-cdb96d6dad61","name":"Disable receipt book","request":{"name":"Disable receipt book","description":{"content":"Marks the receipt book as not used in Peakly (for example a point of sale another system issues with). It stays listed with `isDisabled: true`, but creating, confirming or voiding with a credit note against it answers 400 RECEIPT_BOOK_DISABLED, the Excel import refuses it and \"Importar desde ARCA\" never re-creates it. Idempotent: disabling an already-disabled book only updates the reason. Returns the updated receipt book.","type":"text/plain"},"url":{"path":["v1","receipt-books",":id","disable"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"reason\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a5297dbe-6f0e-4809-a359-bd012c6381b3","name":"Disabled receipt book","originalRequest":{"url":{"path":["v1","receipt-books",":id","disable"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reason\": \"No usado en Peakly\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"isExport\": false,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"type\": \"WS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": null,\n  \"isDisabled\": false,\n  \"disabledReason\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"12088c3c-9f07-42de-b9c2-ce92cdfa3550","name":"RECEIPT_BOOK_NOT_FOUND — receipt book does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","receipt-books",":id","disable"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reason\": \"No usado en Peakly\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a6621130-7829-448b-862f-86b2a33cac51","name":"Enable receipt book","request":{"name":"Enable receipt book","description":{"content":"Enables a receipt book previously disabled with POST /receipt-books/{id}/disable, so sales receipts can be issued against it again. Idempotent: enabling a book that is not disabled is a no-op. Returns the updated receipt book.","type":"text/plain"},"url":{"path":["v1","receipt-books",":id","enable"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"118306a5-25c0-4ca7-8ea7-54381556c56a","name":"Enabled receipt book","originalRequest":{"url":{"path":["v1","receipt-books",":id","enable"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Sucursal Centro - WS\",\n  \"prefix\": \"0001\",\n  \"pointOfSale\": 1,\n  \"isExport\": false,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"type\": \"WS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"branchId\": 1,\n  \"lastInvoiceA\": 100,\n  \"lastInvoiceB\": 100,\n  \"lastInvoiceC\": 100,\n  \"lastCreditNoteA\": 10,\n  \"lastCreditNoteB\": 10,\n  \"lastCreditNoteC\": 10,\n  \"lastDebitNoteA\": 5,\n  \"lastDebitNoteB\": 5,\n  \"lastDebitNoteC\": 5,\n  \"backofficeIds\": null,\n  \"isDisabled\": false,\n  \"disabledReason\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"558f0366-b4b1-4932-91a4-4ec16f33f510","name":"RECEIPT_BOOK_NOT_FOUND — receipt book does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","receipt-books",":id","enable"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"0c2613f6-d70f-42d4-85ad-06462e928bb3","name":"Stock - Categorías","description":{"content":"Group products under categories so they can be filtered in lists, reports, and the product picker. Categories are scoped to your organization.","type":"text/plain"},"item":[{"id":"d52231c6-b7ad-49d8-bdee-94022cc35c59","name":"List product categories for the current organization","request":{"name":"List product categories for the current organization","description":{"content":"Returns the active product categories of the current organization ordered by id, optionally filtered by name (case-insensitive partial match on description).","type":"text/plain"},"url":{"path":["v1","product-categories"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"name","value":"<string>","description":"Filter by category name (description, partial match)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"521b7d28-663d-4d80-8288-00d02a71f2b6","name":"List of product categories","originalRequest":{"url":{"path":["v1","product-categories"],"host":["{{baseUrl}}"],"query":[{"key":"name","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"700d0b2f-707c-4af1-bff1-1cee0f34db76","name":"Create product category","request":{"name":"Create product category","description":{"content":"Creates a product category (description and active flag) for the current organization and returns the created category.","type":"text/plain"},"url":{"path":["v1","product-categories"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a51ff458-c736-49c9-86bb-c651ae0a2dbf","name":"Created product category","originalRequest":{"url":{"path":["v1","product-categories"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Bebidas\",\n  \"isActive\": true\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"13a64cb8-620f-4072-b9e4-4518e4f2fcfc","name":"Get product category by id","request":{"name":"Get product category by id","description":{"content":"Returns a single product category of the current organization by its id; responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Product category id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4f711d8f-ea30-4e15-850b-ed7f94445eb9","name":"Product category","originalRequest":{"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Product category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Bebidas\",\n  \"isActive\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"630c4e7e-1a2e-4a7b-8f3d-1e09ff2d6dc6","name":"PRODUCT_CATEGORY_NOT_FOUND — product category does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Product category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6d70e5e8-e319-4fc2-9cc5-40bb6dd821a4","name":"Update product category","request":{"name":"Update product category","description":{"content":"Updates the product category's description or active flag for the current organization; returns the updated category or 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7ba841f2-64dd-456b-b4d6-610b18dc1297","name":"Updated product category","originalRequest":{"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Bebidas\",\n  \"isActive\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"797993be-656a-4ae3-a450-ace5a626b8ee","name":"PRODUCT_CATEGORY_NOT_FOUND — product category does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"135e66a0-dc7f-4077-beec-723c85283a3d","name":"Delete product category","request":{"name":"Delete product category","description":{"content":"Soft-deletes the product category (sets it inactive) for the current organization; returns 204 on success or 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fdc72a41-24c0-4e55-9cee-f2081ba60fab","name":"Deleted","originalRequest":{"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"f6e9b550-d7df-41c0-bcdd-10ece35542ea","name":"PRODUCT_CATEGORY_NOT_FOUND — product category does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","product-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"ff1bd56f-1dd7-4272-b96b-28fde7b25e1a","name":"Stock - Depósitos","description":{"content":"","type":"text/plain"},"item":[{"id":"c16444ff-470a-48af-a631-65985ca226cf","name":"Transfer stock between warehouses","request":{"name":"Transfer stock between warehouses","description":{"content":"Moves quantities of one or more products from one warehouse to another, atomically and immediately. The products' total stock and cost do not change. Requires stock tracking and more than one warehouse. With forceStock on, the source warehouse cannot go below zero; without it the move is recorded even if the source goes negative (same rule as manual adjustments). Duplicated products are summed.","type":"text/plain"},"url":{"path":["v1","stock","transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"fromWarehouseId\": \"<number>\",\n  \"toWarehouseId\": \"<number>\",\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"<string>\",\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7c7b11f0-9e2d-48fc-aee3-d42038679a97","name":"The transfer, with its lines.","originalRequest":{"url":{"path":["v1","stock","transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fromWarehouseId\": 11,\n  \"toWarehouseId\": 12,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"2026-10-20\",\n  \"note\": \"Reposición semanal de la sucursal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"5b0c1f9e-4a0e-4a43-9a51-0c0f3f6f2d11\",\n  \"status\": \"completed\",\n  \"date\": \"2026-10-20\",\n  \"note\": null,\n  \"fromWarehouse\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isPrimary\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"toWarehouse\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isPrimary\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdByUserId\": 7,\n  \"createdByName\": \"Ana Pérez\",\n  \"createdAt\": \"2026-10-20T13:00:00.000Z\",\n  \"voidedAt\": null,\n  \"lineCount\": 2,\n  \"totalQuantity\": 9,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4135be5a-bd4e-4b7d-b039-5d05fa969eb5","name":"Codes: STOCK_TRACKING_DISABLED, MULTI_WAREHOUSE_DISABLED, TRANSFER_SAME_WAREHOUSE, STOCK_NOT_APPLICABLE_TO_SERVICE, INSUFFICIENT_STOCK, INVALID_STOCK_TRANSFER. A malformed body (no lines, a quantity ≤ 0, a bad date, an unknown field…) is INVALID_STOCK_TRANSFER with a Spanish message and every problem in details.","originalRequest":{"url":{"path":["v1","stock","transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fromWarehouseId\": 11,\n  \"toWarehouseId\": 12,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"2026-10-20\",\n  \"note\": \"Reposición semanal de la sucursal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bda8d019-3ccb-471e-8522-4c1827523976","name":"WAREHOUSE_NOT_FOUND — a warehouse is unknown, archived or of another organization; PRODUCT_NOT_FOUND — a product is not of this organization.","originalRequest":{"url":{"path":["v1","stock","transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"fromWarehouseId\": 11,\n  \"toWarehouseId\": 12,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"date\": \"2026-10-20\",\n  \"note\": \"Reposición semanal de la sucursal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"71dd166a-cf6c-45ea-838c-22f0cbd074f1","name":"List stock transfers","request":{"name":"List stock transfers","description":{"content":"The organization's transfers between warehouses, newest first, without their lines. Filters: a warehouse (as source or destination), a product, a date range. Requires stock tracking.","type":"text/plain"},"url":{"path":["v1","stock","transfers"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Transfers out of or into this warehouse."},{"disabled":false,"key":"product_id","value":"<number>","description":"Transfers that move this product."},{"disabled":false,"key":"from","value":"<string>","description":"From date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"to","value":"<string>","description":"To date (YYYY-MM-DD), inclusive."},{"disabled":false,"key":"page","value":"1"},{"disabled":false,"key":"page_size","value":"50"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fee9d726-234d-4282-8abb-00dfd64323fc","originalRequest":{"url":{"path":["v1","stock","transfers"],"host":["{{baseUrl}}"],"query":[{"key":"warehouse_id","value":"<number>"},{"key":"product_id","value":"<number>"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"page","value":"1"},{"key":"page_size","value":"50"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 37,\n  \"page\": 1,\n  \"pageSize\": 50\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4de654e5-fdfa-4dc1-80d4-04edf3f9785a","name":"STOCK_TRACKING_DISABLED — stock tracking is off.","originalRequest":{"url":{"path":["v1","stock","transfers"],"host":["{{baseUrl}}"],"query":[{"key":"warehouse_id","value":"<number>"},{"key":"product_id","value":"<number>"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"page","value":"1"},{"key":"page_size","value":"50"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5cfa273e-07b4-414b-84c5-b7fadd449a3a","name":"Get a stock transfer","request":{"name":"Get a stock transfer","description":{"content":"A transfer with its lines. Requires stock tracking.","type":"text/plain"},"url":{"path":["v1","stock","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f91620d6-a926-4696-95c3-bef5b4cdfdc7","originalRequest":{"url":{"path":["v1","stock","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"5b0c1f9e-4a0e-4a43-9a51-0c0f3f6f2d11\",\n  \"status\": \"completed\",\n  \"date\": \"2026-10-20\",\n  \"note\": null,\n  \"fromWarehouse\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isPrimary\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"toWarehouse\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isPrimary\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdByUserId\": 7,\n  \"createdByName\": \"Ana Pérez\",\n  \"createdAt\": \"2026-10-20T13:00:00.000Z\",\n  \"voidedAt\": null,\n  \"lineCount\": 2,\n  \"totalQuantity\": 9,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"30166742-3dba-4610-b351-c6d7950999d4","name":"STOCK_TRACKING_DISABLED — stock tracking is off.","originalRequest":{"url":{"path":["v1","stock","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e66a7248-e040-4d65-8861-989fa3279de0","name":"STOCK_TRANSFER_NOT_FOUND — not a transfer of this organization.","originalRequest":{"url":{"path":["v1","stock","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"86cf25ca-a6ea-47d4-8686-ca0c466c97b2","name":"Void a stock transfer","request":{"name":"Void a stock transfer","description":{"content":"Puts every quantity of the transfer back where it came from, atomically: the destination gives back and the source receives, the products' total stock and cost do not change, and the transfer becomes `voided` with its `voidedAt`. The ledger keeps the original rows and adds one reversal per row. Requires stock tracking and more than one warehouse, and both warehouses still active. With forceStock on, it is rejected if the destination no longer has the quantities (sold or moved since).","type":"text/plain"},"url":{"path":["v1","stock","transfers",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9ab0022b-b1cc-4902-b142-562ed296e0ed","name":"The voided transfer, with its lines.","originalRequest":{"url":{"path":["v1","stock","transfers",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"5b0c1f9e-4a0e-4a43-9a51-0c0f3f6f2d11\",\n  \"status\": \"completed\",\n  \"date\": \"2026-10-20\",\n  \"note\": null,\n  \"fromWarehouse\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isPrimary\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"toWarehouse\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isPrimary\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"createdByUserId\": 7,\n  \"createdByName\": \"Ana Pérez\",\n  \"createdAt\": \"2026-10-20T13:00:00.000Z\",\n  \"voidedAt\": null,\n  \"lineCount\": 2,\n  \"totalQuantity\": 9,\n  \"lines\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b542d425-a21c-4605-b6d1-aea748d377e0","name":"Codes: STOCK_TRACKING_DISABLED, MULTI_WAREHOUSE_DISABLED, INSUFFICIENT_STOCK.","originalRequest":{"url":{"path":["v1","stock","transfers",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2148f3f8-2a6e-4ddd-9cbf-fa60e58eab5e","name":"STOCK_TRANSFER_NOT_FOUND — not a transfer of this organization; WAREHOUSE_NOT_FOUND — one of its warehouses was archived.","originalRequest":{"url":{"path":["v1","stock","transfers",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"355d8c7a-821b-4611-9560-6e5c42960f40","name":"STOCK_TRANSFER_ALREADY_VOIDED — the transfer was already voided.","originalRequest":{"url":{"path":["v1","stock","transfers",":id","void"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c6611a44-1934-4d23-b8c9-912e60e4a60c","name":"List warehouses","request":{"name":"List warehouses","description":{"content":"The organization's warehouses (depósitos), primary first then by name. Empty until the first warehouse is added (all stock is then in the single implicit one); after that it lists the primary warehouse too, even when only one is active. Archived warehouses only with include_archived=true.","type":"text/plain"},"url":{"path":["v1","warehouses"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"include_archived","value":"false","description":"Include archived warehouses."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8ba19a56-7197-4f5c-9b86-447427f370e2","originalRequest":{"url":{"path":["v1","warehouses"],"host":["{{baseUrl}}"],"query":[{"key":"include_archived","value":"false"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4d3b5adc-1399-4bac-9ec8-4f257373ba4d","name":"Add a warehouse","request":{"name":"Add a warehouse","description":{"content":"Creates a warehouse. The first time, it also creates the primary warehouse (named primaryName, default \"Depósito principal\"), which keeps all the current stock, and turns multi-warehouse on for the organization — everything in one transaction. Requires stock tracking.","type":"text/plain"},"url":{"path":["v1","warehouses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"primaryName\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e3c387ba-4f6d-4cb8-a576-03f46a44afe4","name":"The new warehouse.","originalRequest":{"url":{"path":["v1","warehouses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Norte\",\n  \"primaryName\": \"Depósito principal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"name\": \"Sucursal Norte\",\n  \"isPrimary\": false,\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-10-19T12:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8d03539-8b8c-423c-bd17-212055e8d50f","name":"WAREHOUSES_REQUIRE_STOCK_TRACKING — stock tracking is off.","originalRequest":{"url":{"path":["v1","warehouses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Norte\",\n  \"primaryName\": \"Depósito principal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7582f736-6400-4f27-9b8c-302606dec95f","name":"WAREHOUSE_NAME_TAKEN — another active warehouse has that name.","originalRequest":{"url":{"path":["v1","warehouses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Sucursal Norte\",\n  \"primaryName\": \"Depósito principal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c43360ae-f552-44b7-af92-7a892b222f8d","name":"List the points of sale's warehouses","request":{"name":"List the points of sale's warehouses","description":{"content":"The points of sale (receipt books) that sell from a warehouse other than the primary, with that warehouse. Any point of sale not listed sells from the primary. Empty for an organization with a single warehouse.","type":"text/plain"},"url":{"path":["v1","warehouses","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e7995f8b-886c-48d9-a612-2d136dbda613","originalRequest":{"url":{"path":["v1","warehouses","receipt-books"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"59a725cd-76b9-410a-900e-5e28fcb237f1","name":"Rename a warehouse","request":{"name":"Rename a warehouse","description":{"content":"Renames an active warehouse, the primary included.","type":"text/plain"},"url":{"path":["v1","warehouses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"645dfe42-e920-4b1c-acf1-117824342ac9","originalRequest":{"url":{"path":["v1","warehouses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Depósito central\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"name\": \"Sucursal Norte\",\n  \"isPrimary\": false,\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-10-19T12:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1b73c2bb-a6a8-48ba-a79e-a2593e6a81ef","name":"WAREHOUSE_NOT_FOUND — not an active warehouse of this organization.","originalRequest":{"url":{"path":["v1","warehouses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Depósito central\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44f89ecf-782d-4ed9-8b64-13d42f34e443","name":"WAREHOUSE_NAME_TAKEN — another active warehouse has that name.","originalRequest":{"url":{"path":["v1","warehouses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Depósito central\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"438c7f73-f321-4658-9bb2-746059f7dc3b","name":"Archive a warehouse","request":{"name":"Archive a warehouse","description":{"content":"Archives an extra warehouse whose balances are all zero. The primary cannot be archived. Archiving the last extra warehouse turns multi-warehouse off: the organization is back to a single warehouse.","type":"text/plain"},"url":{"path":["v1","warehouses",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1c07a72e-e8d1-4c3e-9df1-c815e8f7764c","originalRequest":{"url":{"path":["v1","warehouses",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"name\": \"Sucursal Norte\",\n  \"isPrimary\": false,\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-10-19T12:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c4eec1a-8e55-430d-87ee-2b6a41fb5d66","name":"WAREHOUSE_PRIMARY_FIXED — the primary is fixed; WAREHOUSE_NOT_EMPTY — it still holds stock.","originalRequest":{"url":{"path":["v1","warehouses",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"337a41d7-9b7c-4ef2-ab84-5a304e97c364","name":"WAREHOUSE_NOT_FOUND — not an active warehouse of this organization.","originalRequest":{"url":{"path":["v1","warehouses",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"73c55470-106f-43b6-bfe2-db4387dfa93c","name":"Stock of a product per warehouse","request":{"name":"Stock of a product per warehouse","description":{"content":"The product's total stock and, for an organization with more than one warehouse, its stock in each active warehouse (the primary's is the total minus the others). Requires stock tracking.","type":"text/plain"},"url":{"path":["v1","stock","products",":productId","balances"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d3485fc2-ef0c-4528-a18a-da201d252c81","originalRequest":{"url":{"path":["v1","stock","products",":productId","balances"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"productId\": 15,\n  \"total\": 10,\n  \"warehouses\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"86c14c54-1cc0-46d2-8eb7-f138827aff30","name":"STOCK_TRACKING_DISABLED — stock tracking is off.","originalRequest":{"url":{"path":["v1","stock","products",":productId","balances"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a22b3768-5165-4dcf-8be4-ff8a3d191db0","name":"PRODUCT_NOT_FOUND — not a product of this organization.","originalRequest":{"url":{"path":["v1","stock","products",":productId","balances"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"37d9e4a6-0337-4450-bbe6-3b737f8ddf44","name":"Set the warehouse of a point of sale","request":{"name":"Set the warehouse of a point of sale","description":{"content":"Sets the warehouse a point of sale (receipt book) sells from: its invoices and drafts confirmed on it take the stock out of that warehouse, and its credit notes return it to the warehouse their invoice left from (or this one). null or the primary's id go back to the primary. Only matters for an organization with more than one warehouse; archiving a warehouse sends its points of sale back to the primary.","type":"text/plain"},"url":{"path":["v1","receipt-books",":receiptBookId","warehouse"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptBookId","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"warehouseId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"67927d21-f3a5-40cb-a8f5-e5a4e395fed0","originalRequest":{"url":{"path":["v1","receipt-books",":receiptBookId","warehouse"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptBookId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"receiptBookId\": 3,\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"933918a1-f703-498f-9172-585ebca9a0ab","name":"RECEIPT_BOOK_NOT_FOUND — not a point of sale of this organization; WAREHOUSE_NOT_FOUND — not an active warehouse of this organization.","originalRequest":{"url":{"path":["v1","receipt-books",":receiptBookId","warehouse"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptBookId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6fcf062c-cb23-4d75-9d26-95d1fbc2c726","name":"Stock - Movimientos","description":{"content":"Add manual stock adjustments and review the movement history for a product. Sales receipts and purchase receipts emit stock movements automatically; manual adjustments cover physical counts, breakage, and corrections. The history endpoint returns every movement for the product (manual + automatic) so current stock can be reconciled against its source events.","type":"text/plain"},"item":[{"id":"ac2f4dc1-4f94-440d-af75-885bd83543bf","name":"Add a manual stock adjustment","request":{"name":"Add a manual stock adjustment","description":{"content":"Records a manual stock movement for the product (positive or negative quantity); requires stock tracking enabled for the organization. With more than one warehouse, `warehouseId` picks the warehouse (default: the primary).","type":"text/plain"},"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"quantity\": \"<number>\",\n  \"text\": \"<string>\",\n  \"warehouseId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"aee8c005-71dc-42a7-8618-03abb4d5a535","name":"Created stock movement","originalRequest":{"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"quantity\": \"<number>\",\n  \"text\": \"<string>\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"quantity\": -2,\n  \"newBalance\": 48,\n  \"type\": \"MANUAL\",\n  \"text\": \"Manual adjustment after stocktake\",\n  \"productId\": 1,\n  \"productDescription\": \"Camiseta talle M\",\n  \"userId\": \"auth0|abc123\",\n  \"comboProductId\": 31,\n  \"comboDescription\": \"Combo Merienda\",\n  \"typeLabel\": \"NC Compra\",\n  \"deliveryNoteId\": \"814a963a-64b8-5321-cafb-82c383c7138f\",\n  \"warehouseId\": 12,\n  \"transfer\": {\n    \"description\": \"Only on TRANSFER rows of multi-warehouse organizations: the transfer and both of its warehouses (explicit ids, the primary included).\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"createdBy\": \"Juan Pérez\",\n  \"warehouseBalance\": 7,\n  \"document\": {\n    \"description\": \"Only on SALE / PURCHASE rows of multi-warehouse organizations: the receipt that moved the stock.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3014c810-fd42-4f0d-8f0d-91b1840fb8da","name":"Validation failed. Codes: STOCK_TRACKING_DISABLED, STOCK_NOT_APPLICABLE_TO_SERVICE, INSUFFICIENT_STOCK, PRODUCT_COMBO_HAS_NO_STOCK.","originalRequest":{"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"quantity\": \"<number>\",\n  \"text\": \"<string>\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"187ca58c-5eb0-4002-83d9-76200b7f7ffc","name":"PRODUCT_NOT_FOUND — product does not exist or belongs to another organization. WAREHOUSE_NOT_FOUND — `warehouseId` is not an active warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"quantity\": \"<number>\",\n  \"text\": \"<string>\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6e4de987-3b78-4d19-ab64-3557319208c5","name":"Get stock movement history for a product","request":{"name":"Get stock movement history for a product","description":{"content":"Returns the paginated stock movement history for the product with a total count; requires stock tracking enabled for the organization. For a combo / kit product (no stock of its own) it returns the movements of its components that came from selling it.","type":"text/plain"},"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"1","description":"Page number (1-based)"},{"disabled":false,"key":"limit","value":"20","description":"Items per page"},{"disabled":false,"key":"type","value":"<string>","description":"Filter by stock change type (SALE, PURCHASE, MANUAL, TRANSFER, DELIVERY_NOTE)"},{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Only the movements of this warehouse (multi-warehouse organizations; ignored otherwise). The primary warehouse's id returns the movements recorded on it."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"86506afb-456e-408d-b242-e3ad0b3f2473","name":"Paginated stock movements with total count","originalRequest":{"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"type","value":"<string>"},{"key":"warehouse_id","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 145\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88ee53db-1e35-40d7-9953-705524dcc5ce","name":"STOCK_TRACKING_DISABLED — stock tracking is not enabled for this organization.","originalRequest":{"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"type","value":"<string>"},{"key":"warehouse_id","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df25adf1-ae36-4e49-9d6d-3fefb5b2491a","name":"WAREHOUSE_NOT_FOUND — `warehouse_id` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","products",":productId","stock-changes"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"type","value":"<string>"},{"key":"warehouse_id","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"productId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cef3187e-e24c-4fb7-8056-e5b00009a6d3","name":"List products to restock","request":{"name":"List products to restock","description":{"content":"Stock-tracked products (not services) with a minStock whose quantity is at or below it, ordered by how many units are missing (minStock − quantity). Includes the cost, the last purchase cost and the supplier of the latest purchase. Always on the product's total stock, across every warehouse (no warehouse filter). Empty when the organization does not track stock.","type":"text/plain"},"url":{"path":["v1","stock","reorder"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Case-insensitive partial match on the product description or barcode"},{"disabled":false,"key":"category_id","value":"<number>","description":"Only products of this category (rubro) id"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"065e112f-0dae-432e-b89e-2d8cc2b4bad7","name":"Products at or below their minimum stock","originalRequest":{"url":{"path":["v1","stock","reorder"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 14\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dcf66cb4-ed34-49e4-ba9a-f4b93eb91a8e","name":"Inventory valuation","request":{"name":"Inventory valuation","description":{"content":"Stock-tracked products with a non-zero quantity (negative stock included) valued at the organization's effective unit cost per its costMethod (manual: costPrice; last: lastCost; average: avgCost — falling back to costPrice while the calculated cost is empty). Totals add the quantity, the value and the number of products without a cost. With more than one warehouse, warehouse_id values only that warehouse's stock (the unit cost is per product, the same in every warehouse) and echoes it as `warehouse`. Empty when the organization does not track stock.","type":"text/plain"},"url":{"path":["v1","stock","valuation"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Case-insensitive partial match on the product description or barcode"},{"disabled":false,"key":"category_id","value":"<number>","description":"Only products of this category (rubro) id"},{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Report only this warehouse (depósito): quantities are its balance. Organizations with more than one warehouse; ignored otherwise. 404 WAREHOUSE_NOT_FOUND for a warehouse of another organization."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1c0cf602-e01f-4a21-a51d-9361e21d2f92","name":"Valued stock with totals","originalRequest":{"url":{"path":["v1","stock","valuation"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totals\": {\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"value\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productsWithoutCost\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"warehouse\": {\n    \"description\": \"The warehouse the report is filtered to. Present only when the warehouse_id filter applies.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"56b70f86-8d24-4e52-8d9c-7228ba396411","name":"WAREHOUSE_NOT_FOUND — `warehouse_id` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","stock","valuation"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a0df5d0b-437b-4252-a8ac-e1369086e68a","name":"Export the inventory valuation as CSV","request":{"name":"Export the inventory valuation as CSV","description":{"content":"The same report as GET /stock/valuation, as a CSV file (UTF-8 with BOM, comma-separated, dot decimals) with a final totals line.","type":"text/plain"},"url":{"path":["v1","stock","valuation","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Case-insensitive partial match on the product description or barcode"},{"disabled":false,"key":"category_id","value":"<number>","description":"Only products of this category (rubro) id"},{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Report only this warehouse (depósito): quantities are its balance. Organizations with more than one warehouse; ignored otherwise. 404 WAREHOUSE_NOT_FOUND for a warehouse of another organization."}],"variable":[]},"header":[{"key":"Accept","value":"text/csv"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8c90386b-e2e6-492d-ae7d-b3b0a908ba5e","name":"CSV file download","originalRequest":{"url":{"path":["v1","stock","valuation","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"266a4f9f-aaad-44bd-aca7-9212fec6979f","name":"WAREHOUSE_NOT_FOUND — `warehouse_id` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","stock","valuation","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d4946021-7a91-4c77-84f1-50adba88c37e","name":"Stock movements summary","request":{"name":"Stock movements summary","description":{"content":"Per stock-tracked product (services excluded), for a range of Argentina-time days: opening stock, purchases in, purchase returns, sales out, sales returns, net manual adjustments and closing stock — quantities only, from the stock ledger. A movement and its reversal (void, delete, edit) inside the range cancel out. Transfers between warehouses are left out: they never change a product's total. With more than one warehouse, warehouse_id reports only that warehouse: its own movements and balances, plus transfersIn / transfersOut, and echoes it as `warehouse`. Lists products with a movement in the range or a non-zero opening/closing stock, by description, paginated; totals cover every page. Filters: search, category_id, supplier_id (products bought from that supplier), warehouse_id. 400 when the organization does not track stock.","type":"text/plain"},"url":{"path":["v1","stock","movements-summary"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Case-insensitive partial match on the product description or barcode"},{"disabled":false,"key":"category_id","value":"<number>","description":"Only products of this category (rubro) id"},{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Report only this warehouse (depósito): quantities are its balance. Organizations with more than one warehouse; ignored otherwise. 404 WAREHOUSE_NOT_FOUND for a warehouse of another organization."},{"disabled":false,"key":"from","value":"<string>","description":"(Required) First day of the range (YYYY-MM-DD, Argentina time), inclusive"},{"disabled":false,"key":"to","value":"<string>","description":"(Required) Last day of the range (YYYY-MM-DD, Argentina time), inclusive"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Only products bought from this supplier (any line in a non-deleted purchase receipt)"},{"disabled":false,"key":"page","value":"1","description":"Page number (1-based)"},{"disabled":false,"key":"page_size","value":"100","description":"Products per page"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"cf2f81ef-6bb2-49ad-95a2-ff4f2c043c31","name":"One page of the summary with totals","originalRequest":{"url":{"path":["v1","stock","movements-summary"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"supplier_id","value":"7"},{"key":"page","value":"1"},{"key":"page_size","value":"100"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"from\": \"2026-10-01\",\n  \"to\": \"2026-10-31\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 57,\n  \"page\": 1,\n  \"pageSize\": 100,\n  \"totals\": {\n    \"description\": \"Sums over every product in the report, not just this page\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warehouse\": {\n    \"description\": \"The warehouse the report is filtered to. Present only when the warehouse_id filter applies.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1799d590-ad1e-41bd-8791-aa68a8a6f8c8","name":"Codes: STOCK_TRACKING_DISABLED (the organization does not track stock), STOCK_INVALID_DATE_RANGE (from after to), or a validation error.","originalRequest":{"url":{"path":["v1","stock","movements-summary"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"supplier_id","value":"7"},{"key":"page","value":"1"},{"key":"page_size","value":"100"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d7a2ed4b-3cd8-4c89-b7b9-6461b339039b","name":"WAREHOUSE_NOT_FOUND — `warehouse_id` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","stock","movements-summary"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"supplier_id","value":"7"},{"key":"page","value":"1"},{"key":"page_size","value":"100"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dfe47764-3b5f-44fe-a5ff-105bf15d8371","name":"Export the stock movements summary as CSV","request":{"name":"Export the stock movements summary as CSV","description":{"content":"The same report as GET /stock/movements-summary, every product in one CSV file (UTF-8 with BOM, comma-separated, dot decimals) with a final totals line. Filtered to one warehouse, it adds the transfers in / out columns.","type":"text/plain"},"url":{"path":["v1","stock","movements-summary","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Case-insensitive partial match on the product description or barcode"},{"disabled":false,"key":"category_id","value":"<number>","description":"Only products of this category (rubro) id"},{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Report only this warehouse (depósito): quantities are its balance. Organizations with more than one warehouse; ignored otherwise. 404 WAREHOUSE_NOT_FOUND for a warehouse of another organization."},{"disabled":false,"key":"from","value":"<string>","description":"(Required) First day of the range (YYYY-MM-DD, Argentina time), inclusive"},{"disabled":false,"key":"to","value":"<string>","description":"(Required) Last day of the range (YYYY-MM-DD, Argentina time), inclusive"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Only products bought from this supplier (any line in a non-deleted purchase receipt)"}],"variable":[]},"header":[{"key":"Accept","value":"text/csv"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7b6951f2-5bef-4553-9aae-7ec9735ee09c","name":"CSV file download","originalRequest":{"url":{"path":["v1","stock","movements-summary","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"supplier_id","value":"7"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"f2509cb6-77ac-4056-83be-34cd9f1284e4","name":"Codes: STOCK_TRACKING_DISABLED (the organization does not track stock), STOCK_INVALID_DATE_RANGE (from after to), or a validation error.","originalRequest":{"url":{"path":["v1","stock","movements-summary","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"supplier_id","value":"7"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"351ca518-ffe7-4d4d-a953-7e1742b3a62c","name":"WAREHOUSE_NOT_FOUND — `warehouse_id` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","stock","movements-summary","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"category_id","value":"3"},{"key":"warehouse_id","value":"4"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"supplier_id","value":"7"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"58067d0c-308a-487e-a1b3-d4c8301dd3be","name":"Stock - Productos","description":{"content":"Manage your product catalog — sku, name, default price, IVA aliquot, category, stock-tracking flags. Products are referenced by id from sales-receipt detail lines and from stock movements. The search endpoint blends favorites, recently-used products, and fuzzy matching so the autocomplete in your UI returns relevant results fast.","type":"text/plain"},"item":[{"id":"894bfd5a-52b2-4fc8-8f24-0ff382bedeea","name":"Create a product bulk draft","request":{"name":"Create a product bulk draft","description":{"content":"Matches 1-2000 rows against the organization's active products (by barcode, description or id) and stores a preview: per row update / create / unchanged / error with before and after values. Only the fields present in a row change. Nothing is written to products until the draft is confirmed.","type":"text/plain"},"url":{"path":["v1","products","bulk-drafts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"matchBy\": \"<string>\",\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"<string>\",\n  \"createMissing\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"1759e672-7306-4dfb-b759-5db6615ec99f","name":"Draft preview","originalRequest":{"url":{"path":["v1","products","bulk-drafts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"matchBy\": \"<string>\",\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"createMissing\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"discarded\",\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"matchBy\": \"code\",\n  \"createMissing\": false,\n  \"createdAt\": \"2026-10-07T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"summary\": {\n    \"toUpdate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"toCreate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"errors\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2e1413d9-9fc3-466f-9861-172008c6daff","name":"Validation failed (no rows, too many rows, bad matchBy).","originalRequest":{"url":{"path":["v1","products","bulk-drafts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"matchBy\": \"<string>\",\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"createMissing\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"16f54efa-29c6-4eb6-b254-54128ca62b0f","name":"A row writes named price-list prices and the caller lacks price-lists:manage.","originalRequest":{"url":{"path":["v1","products","bulk-drafts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"matchBy\": \"<string>\",\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"createMissing\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a897304c-2f6f-46cd-ab44-aefc11cd4f1a","name":"Create a price-update bulk draft from a file","request":{"name":"Create a price-update bulk draft from a file","description":{"content":"Uploads a CSV / XLSX (max 10 MB, 2000 rows) with a \"Código\" (providerId; matched first, then barcode) or \"Código de barras\" column plus any of \"Precio\", \"Costo\" (+ \"Moneda costo\") and one column per named price list (header = list name, net price). The product export (GET /products/export) is a valid template. Only existing products are updated; unknown keys are error rows. Cost changes need costMethod manual (error rows otherwise). Returns the draft preview plus how each column was read; confirm it with POST /products/bulk-drafts/{id}/confirm.","type":"text/plain"},"url":{"path":["v1","products","bulk-drafts","file"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) "}]}},"response":[{"id":"f8f24668-13f4-4052-bef2-bc147d68ce8d","name":"Draft preview and the columns read","originalRequest":{"url":{"path":["v1","products","bulk-drafts","file"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"discarded\",\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"matchBy\": \"description\",\n  \"createMissing\": false,\n  \"createdAt\": \"2026-10-07T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"summary\": {\n    \"toUpdate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"toCreate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"errors\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"columns\": {\n    \"recognized\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"ignored\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priceLists\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90c0c87e-5bad-4bd9-8ee0-70bd572004a9","name":"PRODUCT_BULK_FILE_INVALID — no file, no Código / barcode column, nothing to update, no rows or too many rows.","originalRequest":{"url":{"path":["v1","products","bulk-drafts","file"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"de0d73b5-870d-4615-9d8e-9860fb3dcfe2","name":"A row writes named price-list prices and the caller lacks price-lists:manage.","originalRequest":{"url":{"path":["v1","products","bulk-drafts","file"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"616d3051-0911-4da8-a321-f001b9e2239e","name":"Get a product bulk draft","request":{"name":"Get a product bulk draft","description":{"content":"Returns the draft with its summary and every row of the plan.","type":"text/plain"},"url":{"path":["v1","products","bulk-drafts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"71f2b88d-218b-4658-8a3e-d6fce699d6d3","name":"Draft","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"confirmed\",\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createMissing\": false,\n  \"createdAt\": \"2026-10-07T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"summary\": {\n    \"toUpdate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"toCreate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"errors\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"29647b3c-588b-4905-8f08-8ca44b587a59","name":"PRODUCT_BULK_DRAFT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"58121f10-85ba-4887-ab00-db0b6556d58a","name":"Discard a product bulk draft","request":{"name":"Discard a product bulk draft","description":{"content":"Marks the draft as discarded; no product changes.","type":"text/plain"},"url":{"path":["v1","products","bulk-drafts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"df09a941-9a0e-456a-b0bb-b7e1829e1d6f","name":"Discarded draft","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"confirmed\",\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createMissing\": false,\n  \"createdAt\": \"2026-10-07T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"summary\": {\n    \"toUpdate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"toCreate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"errors\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"280d8b66-1c56-4e46-8a29-72e7b6031599","name":"PRODUCT_BULK_DRAFT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23bf87e0-0f95-4724-986f-3c25d9dfcf88","name":"PRODUCT_BULK_DRAFT_NOT_DRAFT — the draft was already confirmed or discarded.","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1097f4f7-c42a-4573-b049-a070039a0ab9","name":"Confirm a product bulk draft","request":{"name":"Confirm a product bulk draft","description":{"content":"Recomputes the plan against the current products and applies every non-error row (updates and creations) in one transaction. Error rows are skipped and reported in the response.","type":"text/plain"},"url":{"path":["v1","products","bulk-drafts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"973e69ba-cbc7-4bb8-965c-9bea3a52b5d3","name":"Confirmed draft with the applied plan","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"confirmed\",\n  \"source\": \"Lista de costos octubre.xlsx / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createMissing\": false,\n  \"createdAt\": \"2026-10-07T12:00:00.000Z\",\n  \"confirmedAt\": null,\n  \"summary\": {\n    \"toUpdate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"toCreate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"errors\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cb840d27-e3d2-4419-affa-51357a2495ab","name":"A row writes named price-list prices and the caller lacks price-lists:manage.","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"341f7f6c-d70d-4cd8-96ed-67e9ed4a7c55","name":"PRODUCT_BULK_DRAFT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dbcae28b-f765-4047-ae68-58fe4433e113","name":"PRODUCT_BULK_DRAFT_NOT_DRAFT — the draft was already confirmed or discarded.","originalRequest":{"url":{"path":["v1","products","bulk-drafts",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<uuid>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c1b4b170-4748-4c5a-8b7a-0128f06bd7b8","name":"Preview a bulk price/cost update by percentage","request":{"name":"Preview a bulk price/cost update by percentage","description":{"content":"Computes, without writing anything, the new unitPrice or costPrice of every product matching the filters (category, supplier via purchase lines, search, ids): value × (1 + percent/100), rounded to 2 decimals, whole units or the nearest 10. Products whose current value is null or 0 are skipped. At most 2000 products.","type":"text/plain"},"url":{"path":["v1","products","bulk-update","preview"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"field\": \"<string>\",\n  \"percent\": \"<number>\",\n  \"filters\": {\n    \"description\": \"Which products; filters combine with AND. Products whose current value is null or 0 are skipped.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rounding\": \"none\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4a9b1195-1317-4d37-8a82-5df0b20594f4","name":"Products and their old/new values","originalRequest":{"url":{"path":["v1","products","bulk-update","preview"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"field\": \"unitPrice\",\n  \"percent\": 12.5,\n  \"filters\": {\n    \"description\": \"Which products; filters combine with AND. Products whose current value is null or 0 are skipped.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rounding\": \"none\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"count\": 42\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"97b12922-f82e-4b6a-bcc4-48092f3f72e5","name":"Validation failed. Codes: BULK_UPDATE_TOO_MANY, COST_METHOD_NOT_MANUAL.","originalRequest":{"url":{"path":["v1","products","bulk-update","preview"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"field\": \"unitPrice\",\n  \"percent\": 12.5,\n  \"filters\": {\n    \"description\": \"Which products; filters combine with AND. Products whose current value is null or 0 are skipped.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rounding\": \"none\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"62cff8ee-08bf-47ea-88a6-a7daac9518f9","name":"Apply a bulk price/cost update by percentage","request":{"name":"Apply a bulk price/cost update by percentage","description":{"content":"Recomputes the preview inside one transaction and writes it. unitPrice changes go through the same path as PATCH /products/:id (price history and the default price-list row stay in sync). costPrice is only editable when the organization's costMethod is manual. Send the preview's count as expectedCount to refuse the update if the matching products changed meanwhile.","type":"text/plain"},"url":{"path":["v1","products","bulk-update","apply"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"field\": \"<string>\",\n  \"percent\": \"<number>\",\n  \"filters\": {\n    \"description\": \"Which products; filters combine with AND. Products whose current value is null or 0 are skipped.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rounding\": \"none\",\n  \"expectedCount\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"80386097-6d3b-4a97-86b1-087bbc5588fc","name":"Number of products written","originalRequest":{"url":{"path":["v1","products","bulk-update","apply"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"field\": \"unitPrice\",\n  \"percent\": 12.5,\n  \"filters\": {\n    \"description\": \"Which products; filters combine with AND. Products whose current value is null or 0 are skipped.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rounding\": \"none\",\n  \"expectedCount\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"updated\": 42\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e2fbdbf-8c55-4fcd-9cdf-ffdc271b78fe","name":"Validation failed. Codes: BULK_UPDATE_TOO_MANY, COST_METHOD_NOT_MANUAL.","originalRequest":{"url":{"path":["v1","products","bulk-update","apply"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"field\": \"unitPrice\",\n  \"percent\": 12.5,\n  \"filters\": {\n    \"description\": \"Which products; filters combine with AND. Products whose current value is null or 0 are skipped.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rounding\": \"none\",\n  \"expectedCount\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dcdb8d8b-8053-4e26-9329-986ed24fa62e","name":"BULK_UPDATE_STALE — the filters now match a different number of products than expectedCount.","originalRequest":{"url":{"path":["v1","products","bulk-update","apply"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"field\": \"unitPrice\",\n  \"percent\": 12.5,\n  \"filters\": {\n    \"description\": \"Which products; filters combine with AND. Products whose current value is null or 0 are skipped.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rounding\": \"none\",\n  \"expectedCount\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d9c345f7-0518-40fe-bac9-38148aa7334d","name":"List products (cursor-paginated)","request":{"name":"List products (cursor-paginated)","description":{"content":"Returns a page of products. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","products"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"name","value":"<string>","description":"Filter by product name (description, partial match)"},{"disabled":false,"key":"provider_id","value":"<string>","description":"Exact match on the external provider identifier"},{"disabled":false,"key":"match_brand","value":"<boolean>","description":"When true, `name` also matches the brand and the manufacturer (partial, case-insensitive). Default false."},{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Organizations with more than one warehouse: also return each product's stock in this warehouse (`warehouseQuantity`). Ignored otherwise."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a19db74b-a74a-4b72-9ad9-d3d4374712fa","name":"Paginated products (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","products"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"name","value":"<string>"},{"key":"provider_id","value":"<string>"},{"key":"match_brand","value":"<boolean>"},{"key":"warehouse_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5f6cbd2c-46a0-4c9e-a43a-46435c39e5f6","name":"WAREHOUSE_NOT_FOUND — `warehouse_id` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","products"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"name","value":"<string>"},{"key":"provider_id","value":"<string>"},{"key":"match_brand","value":"<boolean>"},{"key":"warehouse_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5bdd0f99-5a52-45d3-b01c-7753ce125f12","name":"Create product","request":{"name":"Create product","description":{"content":"Send the `Idempotency-Key` header to make retries safe: a second request with the same key returns the original product with status 200 and an `Idempotent-Replayed: true` response header. The header value is stored as the product's `providerId`, so it must be unique per organization. Sending both the header and a body `providerId` is rejected with IDEMPOTENCY_KEY_AND_PROVIDER_ID_CONFLICT.","type":"text/plain"},"url":{"path":["v1","products"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original product with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"unitOfMeasureId\": \"<number>\",\n  \"barcode\": \"<string>\",\n  \"vatRateId\": \"<integer>\",\n  \"categoryId\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"quantity\": \"<number>\",\n  \"unitPrice\": \"<number>\",\n  \"costPrice\": \"<number>\",\n  \"minStock\": \"<number>\",\n  \"providerId\": \"<object>\",\n  \"brand\": \"<string>\",\n  \"manufacturer\": \"<string>\",\n  \"costCurrencyId\": \"<integer>\",\n  \"costPriceForeign\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"17857739-a409-4d63-8805-43bd76d86007","name":"Idempotent replay — original product returned","originalRequest":{"url":{"path":["v1","products"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original product with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"Widget A\",\n  \"unitOfMeasureId\": 1,\n  \"barcode\": \"7890123456789\",\n  \"vatRateId\": 2,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 1.5,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"minStock\": 10,\n  \"providerId\": \"<object>\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": 2,\n  \"costPriceForeign\": 12.5\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Widget A\",\n  \"barcode\": \"7890123456789\",\n  \"isActive\": true,\n  \"deletedAt\": null,\n  \"vatRateId\": 2,\n  \"unitOfMeasureId\": 1,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 100,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"lastCost\": 800,\n  \"lastCostAt\": \"2026-10-01T03:00:00.000Z\",\n  \"avgCost\": 790.5,\n  \"minStock\": 10,\n  \"isFavorite\": false,\n  \"lastUsedAt\": \"2026-04-12T10:00:00.000Z\",\n  \"useCount\": 0,\n  \"providerId\": \"ext-sku-123\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": null,\n  \"costPriceForeign\": null,\n  \"costExchangeRate\": null,\n  \"costRateDate\": null,\n  \"warehouseQuantity\": 4,\n  \"isCombo\": true,\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"comboAvailable\": 5,\n  \"purchaseForeignCost\": {\n    \"description\": \"GET /products and GET /products/:id only. Present only for products bought in a foreign currency while the organization's costMethod is `last` or `average`: lastCost / avgCost stay in pesos at each purchase's rate, and costPrice follows this foreign cost × today's AFIP rate.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"405a557f-2739-492a-a6e3-f31c587637e0","name":"Created product","originalRequest":{"url":{"path":["v1","products"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original product with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"Widget A\",\n  \"unitOfMeasureId\": 1,\n  \"barcode\": \"7890123456789\",\n  \"vatRateId\": 2,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 1.5,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"minStock\": 10,\n  \"providerId\": \"<object>\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": 2,\n  \"costPriceForeign\": 12.5\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Widget A\",\n  \"barcode\": \"7890123456789\",\n  \"isActive\": true,\n  \"deletedAt\": null,\n  \"vatRateId\": 2,\n  \"unitOfMeasureId\": 1,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 100,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"lastCost\": 800,\n  \"lastCostAt\": \"2026-10-01T03:00:00.000Z\",\n  \"avgCost\": 790.5,\n  \"minStock\": 10,\n  \"isFavorite\": false,\n  \"lastUsedAt\": \"2026-04-12T10:00:00.000Z\",\n  \"useCount\": 0,\n  \"providerId\": \"ext-sku-123\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": null,\n  \"costPriceForeign\": null,\n  \"costExchangeRate\": null,\n  \"costRateDate\": null,\n  \"warehouseQuantity\": 4,\n  \"isCombo\": true,\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"comboAvailable\": 5,\n  \"purchaseForeignCost\": {\n    \"description\": \"GET /products and GET /products/:id only. Present only for products bought in a foreign currency while the organization's costMethod is `last` or `average`: lastCost / avgCost stay in pesos at each purchase's rate, and costPrice follows this foreign cost × today's AFIP rate.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b60e0f4e-535e-4a13-b66b-841a562ad946","name":"Validation failed. Codes: PROVIDER_ID_DUPLICATE, IDEMPOTENCY_KEY_AND_PROVIDER_ID_CONFLICT, IDEMPOTENCY_KEY_TOO_LONG, COST_METHOD_NOT_MANUAL, COST_CURRENCY_NOT_FOUND, COST_CURRENCY_UNSUPPORTED, COST_PRICE_FOREIGN_REQUIRED.","originalRequest":{"url":{"path":["v1","products"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"disabled":false,"description":"Idempotency key (max 255 chars). On replay, returns the original product with status 200 and `Idempotent-Replayed: true`.","key":"Idempotency-Key","value":"<string>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"Widget A\",\n  \"unitOfMeasureId\": 1,\n  \"barcode\": \"7890123456789\",\n  \"vatRateId\": 2,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 1.5,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"minStock\": 10,\n  \"providerId\": \"<object>\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": 2,\n  \"costPriceForeign\": 12.5\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"06cada96-db41-43bf-a470-968ce6bebfdb","name":"Search products with favorites, recents, and fuzzy matching","request":{"name":"Search products with favorites, recents, and fuzzy matching","description":{"content":"Returns organization products grouped as favorites, recents, and fuzzy-matched results for the optional query (trigram similarity on description; partial match on description, barcode, brand and manufacturer), optionally filtered by category and capped by limit (default 20).","type":"text/plain"},"url":{"path":["v1","products","search"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"q","value":"<string>","description":"Search query (fuzzy match on description; partial match on barcode, brand and manufacturer)"},{"disabled":false,"key":"category_id","value":"<number>","description":"Filter by category ID"},{"disabled":false,"key":"limit","value":"<number>","description":"Max results, clamped to 1-100 (default 20)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"04915357-f535-4ea2-8c67-969918786520","name":"Search results with favorites, recents, and matches","originalRequest":{"url":{"path":["v1","products","search"],"host":["{{baseUrl}}"],"query":[{"key":"q","value":"<string>"},{"key":"category_id","value":"<number>"},{"key":"limit","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"favorites\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"recents\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"results\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"97ac6d19-e122-49f0-b37e-15d49ffaf812","name":"Toggle product as favorite for the organization","request":{"name":"Toggle product as favorite for the organization","description":{"content":"Toggles the product's favorite flag for the current organization and returns the resulting isFavorite state; responds 404 if the product does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","products",":id","favorite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"cafcfbd1-e2f5-49bc-9a6b-0f44ee205f2f","name":"Favorite toggled","originalRequest":{"url":{"path":["v1","products",":id","favorite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"isFavorite\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"673674d0-7b83-464b-9b53-85689476c9c4","name":"PRODUCT_NOT_FOUND — product does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","products",":id","favorite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"35f215c5-3db9-4776-befe-1f3ad8b840d6","name":"Export products as CSV (cursor-based, streaming)","request":{"name":"Export products as CSV (cursor-based, streaming)","description":{"content":"Streams matching organization products as a downloadable CSV file, paging by keyset cursor; supports a search filter on description/barcode and, when is_active=false, includes soft-deleted products (current products only by default). Columns (Spanish headers, same as the product import reads back): Código (providerId), Código de barras, Descripción, Categoría, Unidad de medida, IVA, Tipo, Precio, Costo (in Moneda costo), Moneda costo (empty = organization currency), Stock mínimo, Marca, Fabricante, Stock actual (no se importa — informational, ignored by the import). Organizations with combo / kit products also get Componentes (`CÓDIGO x CANTIDAD; …`), and Tipo reads Combo on those rows.","type":"text/plain"},"url":{"path":["v1","products","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Filter by description or barcode (partial match)"},{"disabled":false,"key":"is_active","value":"<boolean>","description":"When false, include soft-deleted products. Default true (only current products)."}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1a0704fe-b4f5-44f5-ad63-64609ae2c04a","name":"CSV file download","originalRequest":{"url":{"path":["v1","products","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"is_active","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"94b97d54-8f26-4b00-ba78-b7fed6a65e2a","name":"Get product by id","request":{"name":"Get product by id","description":{"content":"Returns a single product of the current organization by its id, including category, VAT rate, and unit of measure; responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3b659934-644e-4524-b32f-dbb677b8e5b7","name":"Product","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Widget A\",\n  \"barcode\": \"7890123456789\",\n  \"isActive\": true,\n  \"deletedAt\": null,\n  \"vatRateId\": 2,\n  \"unitOfMeasureId\": 1,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 100,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"lastCost\": 800,\n  \"lastCostAt\": \"2026-10-01T03:00:00.000Z\",\n  \"avgCost\": 790.5,\n  \"minStock\": 10,\n  \"isFavorite\": false,\n  \"lastUsedAt\": \"2026-04-12T10:00:00.000Z\",\n  \"useCount\": 0,\n  \"providerId\": \"ext-sku-123\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": null,\n  \"costPriceForeign\": null,\n  \"costExchangeRate\": null,\n  \"costRateDate\": null,\n  \"warehouseQuantity\": 4,\n  \"isCombo\": true,\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"comboAvailable\": 5,\n  \"purchaseForeignCost\": {\n    \"description\": \"GET /products and GET /products/:id only. Present only for products bought in a foreign currency while the organization's costMethod is `last` or `average`: lastCost / avgCost stay in pesos at each purchase's rate, and costPrice follows this foreign cost × today's AFIP rate.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"48ea2c51-b553-49aa-a57c-2053b7a370f1","name":"Not found","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2763796f-798a-4a7d-8db1-8231869a4e79","name":"Update product","request":{"name":"Update product","description":{"content":"Updates the product for the current organization, enforcing providerId uniqueness; returns the updated product or 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"unitOfMeasureId\": \"<number>\",\n  \"barcode\": \"<string>\",\n  \"vatRateId\": \"<integer>\",\n  \"categoryId\": \"<integer>\",\n  \"type\": \"<string>\",\n  \"quantity\": \"<number>\",\n  \"unitPrice\": \"<number>\",\n  \"costPrice\": \"<number>\",\n  \"minStock\": \"<number>\",\n  \"providerId\": \"<object>\",\n  \"brand\": \"<string>\",\n  \"manufacturer\": \"<string>\",\n  \"costCurrencyId\": \"<integer>\",\n  \"costPriceForeign\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6190d990-4539-4d16-b9c7-979bbf26959c","name":"Updated product","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Widget A\",\n  \"unitOfMeasureId\": 1,\n  \"barcode\": \"7890123456789\",\n  \"vatRateId\": 2,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 1.5,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"minStock\": 10,\n  \"providerId\": \"<object>\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": 2,\n  \"costPriceForeign\": 12.5\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Widget A\",\n  \"barcode\": \"7890123456789\",\n  \"isActive\": true,\n  \"deletedAt\": null,\n  \"vatRateId\": 2,\n  \"unitOfMeasureId\": 1,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 100,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"lastCost\": 800,\n  \"lastCostAt\": \"2026-10-01T03:00:00.000Z\",\n  \"avgCost\": 790.5,\n  \"minStock\": 10,\n  \"isFavorite\": false,\n  \"lastUsedAt\": \"2026-04-12T10:00:00.000Z\",\n  \"useCount\": 0,\n  \"providerId\": \"ext-sku-123\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": null,\n  \"costPriceForeign\": null,\n  \"costExchangeRate\": null,\n  \"costRateDate\": null,\n  \"warehouseQuantity\": 4,\n  \"isCombo\": true,\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"comboAvailable\": 5,\n  \"purchaseForeignCost\": {\n    \"description\": \"GET /products and GET /products/:id only. Present only for products bought in a foreign currency while the organization's costMethod is `last` or `average`: lastCost / avgCost stay in pesos at each purchase's rate, and costPrice follows this foreign cost × today's AFIP rate.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"21c39f11-3b05-41dd-afec-95081a001e3e","name":"Validation failed. Codes: PROVIDER_ID_DUPLICATE, COST_METHOD_NOT_MANUAL, COST_CURRENCY_NOT_FOUND, COST_CURRENCY_UNSUPPORTED, COST_PRICE_FOREIGN_REQUIRED.","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Widget A\",\n  \"unitOfMeasureId\": 1,\n  \"barcode\": \"7890123456789\",\n  \"vatRateId\": 2,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 1.5,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"minStock\": 10,\n  \"providerId\": \"<object>\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": 2,\n  \"costPriceForeign\": 12.5\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"114f169a-939a-4ab9-83ed-d24f514ad81a","name":"PRODUCT_NOT_FOUND — product does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Widget A\",\n  \"unitOfMeasureId\": 1,\n  \"barcode\": \"7890123456789\",\n  \"vatRateId\": 2,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 1.5,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"minStock\": 10,\n  \"providerId\": \"<object>\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": 2,\n  \"costPriceForeign\": 12.5\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a47c2afe-1687-487a-be22-bfd729448a14","name":"Delete product","request":{"name":"Delete product","description":{"content":"Soft-deletes the product (sets deleted_at) for the current organization; idempotent, returns 204 on success or 404 if it does not exist or belongs to another organization. A component of a combo cannot be deleted (409).","type":"text/plain"},"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9f3424b7-2022-4685-81c5-c460e9cf05cb","name":"Deleted","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"586d702b-78e1-40f6-b17e-844579248815","name":"PRODUCT_NOT_FOUND — product does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1b601d6b-e906-489f-953e-dff64d02430f","name":"PRODUCT_IN_COMBO — the product is a component of a combo; remove it from the combo first.","originalRequest":{"url":{"path":["v1","products",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"438e2a29-207a-4ec0-a0d6-5327cfaaf884","name":"Set a product's combo components","request":{"name":"Set a product's combo components","description":{"content":"Replaces the composition of a combo / kit product: a product made of other products, sold with its own price and code but with no stock of its own. Selling one moves its components' stock (component quantity × units sold); its cost is derived and kept up to date (Σ component cost × quantity, null while a component has no cost). A non-empty list makes the product a combo; an empty list turns it back into a simple product. Rules: up to 50 components of the same organization, not repeated, not the product itself; combos do not nest; a product with stock or with a foreign-currency cost cannot become a combo.","type":"text/plain"},"url":{"path":["v1","products",":id","components"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d2ae8329-40a2-49d6-8826-6320f2b8962e","name":"The product with its composition","originalRequest":{"url":{"path":["v1","products",":id","components"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Widget A\",\n  \"barcode\": \"7890123456789\",\n  \"isActive\": true,\n  \"deletedAt\": null,\n  \"vatRateId\": 2,\n  \"unitOfMeasureId\": 1,\n  \"categoryId\": 3,\n  \"type\": \"Producto\",\n  \"quantity\": 100,\n  \"unitPrice\": 1500.5,\n  \"costPrice\": 820.25,\n  \"lastCost\": 800,\n  \"lastCostAt\": \"2026-10-01T03:00:00.000Z\",\n  \"avgCost\": 790.5,\n  \"minStock\": 10,\n  \"isFavorite\": false,\n  \"lastUsedAt\": \"2026-04-12T10:00:00.000Z\",\n  \"useCount\": 0,\n  \"providerId\": \"ext-sku-123\",\n  \"brand\": \"Acme\",\n  \"manufacturer\": \"Acme Industries S.A.\",\n  \"costCurrencyId\": null,\n  \"costPriceForeign\": null,\n  \"costExchangeRate\": null,\n  \"costRateDate\": null,\n  \"warehouseQuantity\": 4,\n  \"isCombo\": true,\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"comboAvailable\": 5,\n  \"purchaseForeignCost\": {\n    \"description\": \"GET /products and GET /products/:id only. Present only for products bought in a foreign currency while the organization's costMethod is `last` or `average`: lastCost / avgCost stay in pesos at each purchase's rate, and costPrice follows this foreign cost × today's AFIP rate.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"112b383e-986e-4652-9e9e-b029d1417f43","name":"Validation failed. Codes: PRODUCT_COMBO_INVALID_COMPONENT, PRODUCT_COMBO_NESTED, PRODUCT_COMBO_HAS_STOCK, PRODUCT_COMBO_FOREIGN_COST.","originalRequest":{"url":{"path":["v1","products",":id","components"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"846244e4-6484-4ebe-b055-71ede5a0b6fc","name":"PRODUCT_NOT_FOUND — product does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","products",":id","components"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"components\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"2f5107e2-11c9-4827-ba3a-adbbfc89622a","name":"Stock - Sincronización","description":{"content":"","type":"text/plain"},"item":[{"id":"f7257f89-3545-45c6-aabf-d324e651d806","name":"Create a stock sync draft","request":{"name":"Create a stock sync draft","description":{"content":"Matches up to 5000 rows (key + ABSOLUTE target quantity) against the organization's active products and stores a draft preview. Nothing changes until the draft is confirmed; drafts expire 24 h after creation.","type":"text/plain"},"url":{"path":["v1","stock-syncs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"<string>\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ed000a06-b29a-4422-8858-5c1732bcb1e0","name":"Draft preview","originalRequest":{"url":{"path":["v1","stock-syncs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"pending\",\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createdAt\": \"2026-10-03T12:00:00.000Z\",\n  \"expiresAt\": \"2026-10-04T12:00:00.000Z\",\n  \"appliedAt\": null,\n  \"createdByUserId\": 12,\n  \"agentRunId\": null,\n  \"trackStockEnabled\": true,\n  \"summary\": {\n    \"rows\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"matched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"changed\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unmatched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"unmatched\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"36a68a7f-07fe-4298-b20a-c92e6cbf4c49","name":"Validation failed (more than 5000 rows, bad matchBy).","originalRequest":{"url":{"path":["v1","stock-syncs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9dbd5af2-cdb0-436b-8515-a74ebda689ed","name":"WAREHOUSE_NOT_FOUND — `warehouseId` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","stock-syncs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5ab5946d-1b5e-48cd-aa7f-0b6aa5c34dd9","name":"List stock sync drafts","request":{"name":"List stock sync drafts","description":{"content":"Returns the organization's stock sync drafts, newest first, with their summary (items omitted).","type":"text/plain"},"url":{"path":["v1","stock-syncs"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"<string>","description":"Filter by status (expired = pending past its 24 h)"},{"disabled":false,"key":"limit","value":"20"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3c407210-55a1-43e9-9939-25fa87cc666a","name":"Drafts","originalRequest":{"url":{"path":["v1","stock-syncs"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"limit","value":"20"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fa6fb0d8-c1b9-45c2-a82f-d28f3d5326c0","name":"List products to count","request":{"name":"List products to count","description":{"content":"Physical count sheet: the organization's active, stock-carrying products (services excluded) with their current stock and category, ordered by description and paginated (page_size up to 500). Filters: search (description, barcode or provider id), category_id and supplier_id (products with any purchase line from that supplier). With more than one warehouse, each product also carries its stock in warehouse_id or, omitted, in the primary warehouse (warehouseQuantity); 404 WAREHOUSE_NOT_FOUND for a warehouse of another organization.","type":"text/plain"},"url":{"path":["v1","stock-syncs","products"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Substring of the description, barcode or provider id"},{"disabled":false,"key":"category_id","value":"<number>","description":"Only products of this category"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Only products bought from this supplier (any non-deleted purchase line)"},{"disabled":false,"key":"page","value":"1"},{"disabled":false,"key":"page_size","value":"100"},{"disabled":false,"key":"warehouse_id","value":"<number>","description":"Warehouse whose stock each product carries in `warehouseQuantity`, to count one warehouse; omitted = the primary warehouse. Organizations with more than one warehouse; ignored otherwise."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8f095d26-6930-4140-ae67-a500a848f6ed","name":"Products with their current stock","originalRequest":{"url":{"path":["v1","stock-syncs","products"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"lavandina"},{"key":"category_id","value":"3"},{"key":"supplier_id","value":"7"},{"key":"page","value":"1"},{"key":"page_size","value":"100"},{"key":"warehouse_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"page\": 1,\n  \"pageSize\": 100,\n  \"total\": 240\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"492d7904-a358-4754-896f-140b83b07567","name":"Get a stock sync draft","request":{"name":"Get a stock sync draft","description":{"content":"Returns the draft with its matched items and unmatched rows; a pending draft older than 24 h reads as expired.","type":"text/plain"},"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1d75a016-d1fa-4750-b0ca-2fc6a11468d2","name":"Draft","originalRequest":{"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"expired\",\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createdAt\": \"2026-10-03T12:00:00.000Z\",\n  \"expiresAt\": \"2026-10-04T12:00:00.000Z\",\n  \"appliedAt\": null,\n  \"createdByUserId\": 12,\n  \"agentRunId\": null,\n  \"trackStockEnabled\": true,\n  \"summary\": {\n    \"rows\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"matched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"changed\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unmatched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"unmatched\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65c32a39-1228-46ce-af4b-2f558fa0b78b","name":"STOCK_SYNC_NOT_FOUND.","originalRequest":{"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"be8a2831-74ef-4847-acd0-f41276cbb76d","name":"Replace the rows of a stock sync draft","request":{"name":"Replace the rows of a stock sync draft","description":{"content":"Re-matches the given rows (same shape as create) against the products now and replaces the draft preview; the 24 h expiry restarts. Omitted source/matchBy keep their stored value. Only pending, non-expired drafts can be updated. Used to save a physical count in progress.","type":"text/plain"},"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"<string>\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"05411479-3cca-4f0d-8b98-e6370e3769fc","name":"Updated draft preview","originalRequest":{"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"expired\",\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createdAt\": \"2026-10-03T12:00:00.000Z\",\n  \"expiresAt\": \"2026-10-04T12:00:00.000Z\",\n  \"appliedAt\": null,\n  \"createdByUserId\": 12,\n  \"agentRunId\": null,\n  \"trackStockEnabled\": true,\n  \"summary\": {\n    \"rows\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"matched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"changed\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unmatched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"unmatched\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d37c9a91-f4f2-431b-962b-0507453f18c6","name":"Validation failed (more than 5000 rows, bad matchBy).","originalRequest":{"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c67bf68c-c682-48be-89ae-7162e46137d6","name":"STOCK_SYNC_NOT_FOUND; WAREHOUSE_NOT_FOUND — `warehouseId` is not a warehouse of this organization (only checked with more than one warehouse).","originalRequest":{"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fc0fae24-0471-4a43-80d5-e66f0db5a1f9","name":"Codes: STOCK_SYNC_NOT_PENDING, STOCK_SYNC_EXPIRED.","originalRequest":{"url":{"path":["v1","stock-syncs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"auto\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"97b75e96-e6a4-4bdf-bf49-6f56873ac30a","name":"Confirm a stock sync draft","request":{"name":"Confirm a stock sync draft","description":{"content":"Sets each matched product to its target stock in one transaction and records one MANUAL stock movement per product whose stock changes. The delta is computed against the stock at confirm time; products that moved since the draft are reported as drift. With more than one warehouse, the target is the stock of the draft's warehouse (default: the primary) and only that warehouse moves.","type":"text/plain"},"url":{"path":["v1","stock-syncs",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"97477cb2-d8c0-4c71-8d17-069aa2b32feb","name":"Applied draft with its result","originalRequest":{"url":{"path":["v1","stock-syncs",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"expired\",\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createdAt\": \"2026-10-03T12:00:00.000Z\",\n  \"expiresAt\": \"2026-10-04T12:00:00.000Z\",\n  \"appliedAt\": null,\n  \"createdByUserId\": 12,\n  \"agentRunId\": null,\n  \"trackStockEnabled\": true,\n  \"summary\": {\n    \"rows\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"matched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"changed\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unmatched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"unmatched\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5fe4c199-0826-459e-90f8-bc11803c7b23","name":"STOCK_SYNC_NOT_FOUND; WAREHOUSE_NOT_FOUND — the draft's warehouse was archived since.","originalRequest":{"url":{"path":["v1","stock-syncs",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a147a497-4bcb-4c46-9a89-7b87169d8934","name":"Codes: STOCK_SYNC_NOT_PENDING, STOCK_SYNC_EXPIRED, STOCK_TRACKING_DISABLED.","originalRequest":{"url":{"path":["v1","stock-syncs",":id","confirm"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"039516a5-306b-48ff-9be3-41c16685aa52","name":"Discard a stock sync draft","request":{"name":"Discard a stock sync draft","description":{"content":"Marks a pending draft as discarded; no stock changes.","type":"text/plain"},"url":{"path":["v1","stock-syncs",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"61a8f248-4001-436c-8ece-857b87c3220c","name":"Discarded draft","originalRequest":{"url":{"path":["v1","stock-syncs",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"3f1c2b7e-8d4a-4c1e-9a55-2b0d6f1e7c11\",\n  \"status\": \"expired\",\n  \"source\": \"Planilla Stock / Hoja1\",\n  \"matchBy\": \"id\",\n  \"createdAt\": \"2026-10-03T12:00:00.000Z\",\n  \"expiresAt\": \"2026-10-04T12:00:00.000Z\",\n  \"appliedAt\": null,\n  \"createdByUserId\": 12,\n  \"agentRunId\": null,\n  \"trackStockEnabled\": true,\n  \"summary\": {\n    \"rows\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"matched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"changed\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unmatched\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"result\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"unmatched\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e3e9db54-c26d-44fa-8f46-d1c394785278","name":"STOCK_SYNC_NOT_FOUND.","originalRequest":{"url":{"path":["v1","stock-syncs",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a711c834-2003-47dc-9d01-00591f7bf639","name":"Codes: STOCK_SYNC_NOT_PENDING, STOCK_SYNC_EXPIRED.","originalRequest":{"url":{"path":["v1","stock-syncs",":id","discard"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6523727c-4f6c-4705-ac05-b44daebf7b55","name":"Compras - Categorías","description":{"content":"Group purchase receipts under categories (rubros) so they can be filtered in purchase reports and feed accounting. Categories are scoped to your organization. Deletes are soft, so historical receipts keep their category context.","type":"text/plain"},"item":[{"id":"d3425928-941f-4e1f-85d6-b8b83edeac69","name":"List purchase categories for the current organization","request":{"name":"List purchase categories for the current organization","description":{"content":"Returns the organization's non-deleted purchase categories (description + linked journal account) ordered by id; optional case-insensitive partial match on description via the search query.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-categories"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Filter by description (partial match)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9a8a9b32-169a-4269-9edb-9e38e1f364ac","name":"List of purchase categories","originalRequest":{"url":{"path":["v1","purchases","purchase-categories"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fbbe7743-7b27-4b9d-ac18-c4114abb1ef7","name":"Create purchase category","request":{"name":"Create purchase category","description":{"content":"Creates a purchase category (description + linked journal account id) for the current organization; used to classify purchase-receipt lines and expense-group rubro leaves.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-categories"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"accountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2817b389-99cf-452d-886e-8315accd260d","name":"Created purchase category","originalRequest":{"url":{"path":["v1","purchases","purchase-categories"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"accountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Insumos de oficina\",\n  \"accountId\": 42,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"updatedAt\": null,\n  \"deletedAt\": null\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"17e5cddd-6b44-40b0-b097-a1ce82348317","name":"Get purchase category by id","request":{"name":"Get purchase category by id","description":{"content":"Returns a single non-deleted purchase category of the current organization by id. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Purchase category id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"55c47ed2-d5ee-4252-adff-a75fcca70e2f","name":"Purchase category","originalRequest":{"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Purchase category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Insumos de oficina\",\n  \"accountId\": 42,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"updatedAt\": null,\n  \"deletedAt\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24877977-db6d-4338-b2f1-68cefc3031d4","name":"PURCHASE_CATEGORY_NOT_FOUND — purchase category does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Purchase category id"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5be27712-db65-455b-b75a-5f0d6eb48c2a","name":"Update purchase category","request":{"name":"Update purchase category","description":{"content":"Updates a purchase category's description and/or linked journal account for the current organization. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"accountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"5cf91d67-a2ee-4500-b894-34bca0806e76","name":"Updated purchase category","originalRequest":{"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"accountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Insumos de oficina\",\n  \"accountId\": 42,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"updatedAt\": null,\n  \"deletedAt\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"676cce59-4527-4f8e-90c1-fe7bc8807b6a","name":"PURCHASE_CATEGORY_NOT_FOUND — purchase category does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"accountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a5078d18-b008-40d0-8615-a91abe5fc239","name":"Delete purchase category (soft delete)","request":{"name":"Delete purchase category (soft delete)","description":{"content":"Soft-deletes a purchase category of the current organization by id (sets deleted_at) and returns 204. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6a13c70e-3e37-45d5-8025-99ed2b08881d","name":"Deleted","originalRequest":{"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"b7efa375-e4e3-4598-b459-ff0b80bdd366","name":"PURCHASE_CATEGORY_NOT_FOUND — purchase category does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-categories",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"c6340567-6851-4a1c-a081-566943fb1873","name":"Compras - Comprobantes","description":{"content":"Record the supplier invoices (facturas, notas de crédito, recibos) you receive. Capture the supplier id, document type and number, line details, and totals; the API computes IVA and net amounts. The unpaid-by-supplier endpoint returns balances per supplier so you can build payment orders.","type":"text/plain"},"item":[{"id":"dbfc171e-abe6-4036-b354-18348f02ffdc","name":"Scan invoice files (OCR) to prefill a purchase receipt","request":{"name":"Scan invoice files (OCR) to prefill a purchase receipt","description":{"content":"Upload one or more invoice files (PDF or image). Runs OCR to extract supplier, dates, line items and totals, tries to match the supplier by CUIT, stores the files as attachments, and returns a draft plus the attachment ids. The receipt is NOT created — pass the attachment ids to POST / (create) to link them after the user reviews the data.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts","scan"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"files","value":"[\"<binary>\",\"<binary>\"]","type":"text","description":"(Required) "}]}},"response":[{"id":"40d59b24-713c-43bb-b726-8e3974a9f3ba","name":"Extracted invoice draft + stored attachments","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","scan"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"files","value":"[\"<binary>\",\"<binary>\"]","type":"text"}]}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"extracted\": {\n    \"supplierName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierCuit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierTaxCondition\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"letter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptTypeHint\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pointOfSale\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dueDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lineItems\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"subtotal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat105\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat21\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat27\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exemptAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nonTaxableAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"grossIncomePerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vatPerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profitPerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vatTotal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentCondition\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"confidence\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"notes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"supplierMatch\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"attachments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"20778ed9-c686-48af-904d-fcb84cf87524","name":"Validation failed. Codes: OCR_NO_FILE, ATTACHMENT_INVALID_FILE_TYPE, ATTACHMENT_FILE_TOO_LARGE, OCR_NOT_CONFIGURED, OCR_EXTRACTION_FAILED.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","scan"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"files","value":"[\"<binary>\",\"<binary>\"]","type":"text"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"da9e0fff-bcda-4dbd-ac67-174da1992e91","name":"List purchase receipts (cursor-paginated)","request":{"name":"List purchase receipts (cursor-paginated)","description":{"content":"Returns a page of purchase receipts. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"search","value":"<string>","description":"Filter by number or observation"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Filter by supplier"},{"disabled":false,"key":"status","value":"<string>","description":"Filter by status"},{"disabled":false,"key":"letter","value":"<string>","description":"Filter by letter (A/B/C)"},{"disabled":false,"key":"type_id","value":"<number>","description":"Filter by type"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by date from (YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by date to (YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dc688853-ce5d-4e07-a2be-81f5dad1f58c","name":"Paginated purchase receipts (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"search","value":"<string>"},{"key":"supplier_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"letter","value":"<string>"},{"key":"type_id","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"47b0d3a5-0373-4f47-972b-1db0600211d1","name":"Create purchase receipt (with optional details)","request":{"name":"Create purchase receipt (with optional details)","description":{"content":"Creates a purchase receipt, recomputing totals/VAT from detail lines, recording stock (in for facturas, out for NC de compra) and the OC journal entry when accounting is enabled; rejects duplicates.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"accountingDate\": \"<dateTime>\",\n  \"letter\": \"<string>\",\n  \"number\": \"<string>\",\n  \"supplierId\": \"<number>\",\n  \"typeId\": \"<number>\",\n  \"purchaseConditionId\": \"<number>\",\n  \"dueDate\": \"<dateTime>\",\n  \"subtotal\": \"<number>\",\n  \"vat\": \"<number>\",\n  \"vat105\": \"<number>\",\n  \"vat21\": \"<number>\",\n  \"vat27\": \"<number>\",\n  \"exemptAmount\": \"<number>\",\n  \"nonTaxableAmount\": \"<number>\",\n  \"total\": \"<number>\",\n  \"grossIncomePerceptions\": \"<number>\",\n  \"vatPerceptions\": \"<number>\",\n  \"profitPerceptions\": \"<number>\",\n  \"observation\": \"<string>\",\n  \"currencyId\": \"<integer>\",\n  \"exchangeRate\": \"<number>\",\n  \"userId\": \"<string>\",\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"pricesIncludeVat\": \"<boolean>\",\n  \"withholdingRate\": \"<number>\",\n  \"attachmentIds\": [\n    \"<number>\",\n    \"<number>\"\n  ],\n  \"warehouseId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"32633a5a-d14f-4cf5-81a7-1507cd111b17","name":"Created purchase receipt","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"dueDate\": \"<dateTime>\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"observation\": null,\n  \"currencyId\": 2,\n  \"exchangeRate\": 1050.5,\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"pricesIncludeVat\": false,\n  \"withholdingRate\": 15,\n  \"attachmentIds\": [\n    \"<number>\",\n    \"<number>\"\n  ],\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-14T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"status\": \"EMITIDO\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalPaid\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"withholdingTotal\": 0,\n  \"observation\": null,\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"supplier\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"businessName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"type\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"purchaseCondition\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e600e230-148e-4f59-814f-e925084175d8","name":"Validation failed. Codes: INVALID_PURCHASE_RECEIPT, SUPPLIER_ID_REQUIRED, TYPE_ID_REQUIRED, LETTER_DOES_NOT_DISCRIMINATE_VAT, PURCHASE_RECEIPT_DUPLICATE, CURRENCY_NOT_FOUND, INVALID_EXCHANGE_RATE, DISCOUNT_AND_AMOUNT_MUTUALLY_EXCLUSIVE, DISCOUNT_REQUIRES_UNIT_PRICE, PRODUCT_COMBO_NOT_PURCHASABLE, RESPONSIBLE_USER_NOT_IN_ORGANIZATION. INVALID_EXCHANGE_RATE: a currency other than the organization's needs a positive `exchangeRate`. DISCOUNT_AND_AMOUNT_MUTUALLY_EXCLUSIVE: a line sends both `discount` and `discountAmount`. DISCOUNT_REQUIRES_UNIT_PRICE: a discounted line has no `quantity` and `unitPrice`. PRODUCT_COMBO_NOT_PURCHASABLE: a line is a combo product (buy its components).","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"dueDate\": \"<dateTime>\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"observation\": null,\n  \"currencyId\": 2,\n  \"exchangeRate\": 1050.5,\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"pricesIncludeVat\": false,\n  \"withholdingRate\": 15,\n  \"attachmentIds\": [\n    \"<number>\",\n    \"<number>\"\n  ],\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2a4ed6f2-d710-407f-a5db-3c34e451e2f3","name":"Export purchase receipts as CSV","request":{"name":"Export purchase receipts as CSV","description":{"content":"Streams a cursor-paginated CSV of purchase receipts filtered by supplier, status and date range; defaults to active (non-deleted) receipts unless active_only=false.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"supplier_id","value":"<number>"},{"disabled":false,"key":"status","value":"<string>"},{"disabled":false,"key":"date_from","value":"<string>"},{"disabled":false,"key":"date_to","value":"<string>"},{"disabled":false,"key":"active_only","value":"<boolean>"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ff3a570e-9462-4ec9-a312-d37fc148bca2","name":"CSV file download","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","export"],"host":["{{baseUrl}}"],"query":[{"key":"supplier_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"active_only","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2c437bbc-531c-4b04-9d64-0d20716f57ab","name":"Get unpaid receipts for a supplier (for payment orders)","request":{"name":"Get unpaid receipts for a supplier (for payment orders)","description":{"content":"Returns the supplier's non-deleted receipts with a pending balance (total > total_paid) so a payment order can be applied to them.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts","unpaid",":supplierId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"supplierId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9f0225ea-ddf3-48d6-b953-7e7e5c7d00a9","name":"List of unpaid purchase receipts","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","unpaid",":supplierId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"supplierId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountingDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dueDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"letter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"subtotal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat105\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat21\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat27\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exemptAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nonTaxableAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPaid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"grossIncomePerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vatPerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profitPerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxBreakdown\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"withholdingTotal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"observation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"typeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"journalEntryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCondition\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"warehouseId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountingDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dueDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"letter\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"subtotal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat105\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat21\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat27\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exemptAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nonTaxableAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalPaid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"grossIncomePerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vatPerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"profitPerceptions\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxBreakdown\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"withholdingTotal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"observation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"typeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseConditionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"journalEntryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exchangeRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"type\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCondition\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"details\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"warehouseId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c3e52755-3ddc-4139-9c80-09586522587c","name":"Get purchase receipt by id (with details)","request":{"name":"Get purchase receipt by id (with details)","description":{"content":"Returns a single non-deleted purchase receipt with its supplier, type, purchase condition and detail lines.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"816e340c-d0b1-44ef-bedf-5b0ad6060e8f","name":"Purchase receipt with details","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-14T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"status\": \"EMITIDO\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalPaid\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"withholdingTotal\": 0,\n  \"observation\": null,\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"supplier\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"businessName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"type\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"purchaseCondition\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be1c9e73-8c68-4e37-8542-8b1c84f9d1d7","name":"PURCHASE_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6d6b8741-873b-47dc-b824-db802da20dea","name":"Update purchase receipt","request":{"name":"Update purchase receipt","description":{"content":"Updates a purchase receipt's fields; rejected if it is voided, paid, or has a payment or credit-note application settled against it (partially paid, or an Imputado credit note), and re-checks for duplicates when supplier/letter/number/type change.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"accountingDate\": \"<dateTime>\",\n  \"dueDate\": \"<dateTime>\",\n  \"letter\": \"<string>\",\n  \"number\": \"<string>\",\n  \"subtotal\": \"<number>\",\n  \"vat\": \"<number>\",\n  \"vat105\": \"<number>\",\n  \"vat21\": \"<number>\",\n  \"vat27\": \"<number>\",\n  \"exemptAmount\": \"<number>\",\n  \"nonTaxableAmount\": \"<number>\",\n  \"total\": \"<number>\",\n  \"grossIncomePerceptions\": \"<number>\",\n  \"vatPerceptions\": \"<number>\",\n  \"profitPerceptions\": \"<number>\",\n  \"observation\": \"<string>\",\n  \"currencyId\": \"<integer>\",\n  \"exchangeRate\": \"<number>\",\n  \"supplierId\": \"<number>\",\n  \"typeId\": \"<number>\",\n  \"purchaseConditionId\": \"<number>\",\n  \"lastUpdatedUserId\": \"<string>\",\n  \"warehouseId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3976ee30-8fc4-49f1-aaec-20d5eea9dab4","name":"Updated purchase receipt","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-14T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"observation\": null,\n  \"currencyId\": 2,\n  \"exchangeRate\": 1050.5,\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"lastUpdatedUserId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-14T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"status\": \"EMITIDO\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalPaid\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"withholdingTotal\": 0,\n  \"observation\": null,\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"supplier\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"businessName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"type\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"purchaseCondition\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fe9a528a-d5ec-4a56-80e2-d82c43a4b5c1","name":"Validation failed. Codes: RECEIPT_VOIDED, RECEIPT_PAID, RECEIPT_PARTIALLY_PAID, LETTER_DOES_NOT_DISCRIMINATE_VAT, PURCHASE_RECEIPT_DUPLICATE, CURRENCY_NOT_FOUND, INVALID_EXCHANGE_RATE, INVALID_TYPE_ID. INVALID_EXCHANGE_RATE: a currency other than the organization's needs a positive `exchangeRate`. INVALID_TYPE_ID: `typeId` is not an active purchase comprobante type.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-14T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"observation\": null,\n  \"currencyId\": 2,\n  \"exchangeRate\": 1050.5,\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"lastUpdatedUserId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fea44cc1-0616-4c3e-9bb1-374f6df09d99","name":"PURCHASE_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-14T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"observation\": null,\n  \"currencyId\": 2,\n  \"exchangeRate\": 1050.5,\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"lastUpdatedUserId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"warehouseId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6c8323d1-2a87-4cda-9e22-f4f5a7eb9cb4","name":"Delete purchase receipt (soft delete)","request":{"name":"Delete purchase receipt (soft delete)","description":{"content":"Soft-deletes the receipt (sets deleted_at) and reverses the stock-IN; rejected if it is paid or partially paid.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a43b7f69-a4e4-4e9a-a85d-a864b2d6f047","name":"Deleted","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"eac61b2b-1314-4f6c-8817-eec4489b393d","name":"Validation failed. Codes: RECEIPT_PARTIALLY_PAID, RECEIPT_PAID, JOURNAL_ENTRY_PERIOD_LOCKED, FISCAL_YEAR_CLOSED. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"859bab2f-66b2-41a2-bca7-17034dc9192d","name":"PURCHASE_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ebd926b8-2ac3-4eee-87f9-8fca3be2670a","name":"List a purchase receipt's attachments (with signed URLs)","request":{"name":"List a purchase receipt's attachments (with signed URLs)","description":{"content":"Returns the receipt's stored attachments with short-lived signed download URLs; 404s if the receipt is deleted or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts",":id","attachments"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f54a4352-bfcc-4abc-ac8c-36d2cbec75cc","name":"Attachments with short-lived signed download URLs","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","attachments"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"db73b09f-2172-4765-ba31-df436e64b130","name":"PURCHASE_RECEIPT_NOT_FOUND — receipt does not exist, is deleted, or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","attachments"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6b11b110-dce7-4753-bd4a-1fd532707f06","name":"Void (anular) a purchase receipt","request":{"name":"Void (anular) a purchase receipt","description":{"content":"Marks the receipt Anulada, deletes its auto journal entry and reverses the stock-IN; rejected if it is already voided, paid or partially paid.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c93499fa-a1c0-4a4f-8095-e30f79f87476","name":"Voided purchase receipt","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"accountingDate\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-14T00:00:00.000Z\",\n  \"letter\": \"A\",\n  \"number\": \"00001-00000123\",\n  \"status\": \"EMITIDO\",\n  \"subtotal\": 1000,\n  \"vat\": 210,\n  \"vat105\": 0,\n  \"vat21\": 210,\n  \"vat27\": 0,\n  \"exemptAmount\": 0,\n  \"nonTaxableAmount\": 0,\n  \"total\": 1210,\n  \"totalPaid\": 0,\n  \"grossIncomePerceptions\": 0,\n  \"vatPerceptions\": 0,\n  \"profitPerceptions\": null,\n  \"taxBreakdown\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"withholdingTotal\": 0,\n  \"observation\": null,\n  \"supplierId\": 1,\n  \"typeId\": 1,\n  \"purchaseConditionId\": 1,\n  \"journalEntryId\": null,\n  \"currencyId\": 1,\n  \"exchangeRate\": 1,\n  \"supplier\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"businessName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"type\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"purchaseCondition\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"data\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"afipData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"additionalData\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"comboId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"details\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warehouseId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e14e1c52-81d2-4b9f-a90c-78b32721e5c2","name":"Validation failed. Codes: RECEIPT_PARTIALLY_PAID, RECEIPT_ALREADY_VOIDED, RECEIPT_PAID, JOURNAL_ENTRY_PERIOD_LOCKED, FISCAL_YEAR_CLOSED. JOURNAL_ENTRY_PERIOD_LOCKED: the journal entry date falls inside a locked accounting period — unlock the period before voiding. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1a04644e-7f6f-44df-b1f9-17305a000eaa","name":"PURCHASE_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2ed53ff5-ef47-443f-b348-97dac8d901a5","name":"Replace all details for a purchase receipt","request":{"name":"Replace all details for a purchase receipt","description":{"content":"Replaces every detail line and re-syncs stock (reverses the prior movement, re-records from the new lines); rejected if the receipt is voided, paid, or has a payment or credit-note application settled against it. Line discounts are applied before VAT exactly as on create; header totals are not recalculated here (PATCH the receipt).","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts",":id","details"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"prices_include_vat","value":"<boolean>","description":"true when the lines' unitPrice / discountAmount (and total without unitPrice) include VAT; normalized to net, not persisted. Default false."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"[\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"48cb9696-1d7f-4fb0-a5c7-cb39ec4faa4e","name":"Replaced details","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","details"],"host":["{{baseUrl}}"],"query":[{"key":"prices_include_vat","value":"<boolean>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"[\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseReceiptId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategory\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"product\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseReceiptId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategory\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"product\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"d49412f0-81fa-43f0-a37f-947dea240d1e","name":"Validation failed. Codes: RECEIPT_VOIDED, RECEIPT_PAID, RECEIPT_PARTIALLY_PAID, DISCOUNT_AND_AMOUNT_MUTUALLY_EXCLUSIVE, DISCOUNT_REQUIRES_UNIT_PRICE.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","details"],"host":["{{baseUrl}}"],"query":[{"key":"prices_include_vat","value":"<boolean>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"[\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"17e3db3c-9f4b-4487-864b-181b6e7d4ec8","name":"PURCHASE_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts",":id","details"],"host":["{{baseUrl}}"],"query":[{"key":"prices_include_vat","value":"<boolean>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"[\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"taxTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unitPrice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"quantity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"vat\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"discountAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"16840052-f62a-459d-ba18-b3382fb7383b","name":"Compras - Imputaciones","description":{"content":"","type":"text/plain"},"item":[{"id":"61070f4e-f62a-4c07-9c89-fd46743edc2a","name":"List credit note applications (imputaciones)","request":{"name":"List credit note applications (imputaciones)","description":{"content":"Lists NC→invoice applications for the organization, optionally filtered by receipt or credit note.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts","applications"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"receipt_id","value":"<number>","description":"Filter by applied (discounted) receipt"},{"disabled":false,"key":"credit_note_id","value":"<number>","description":"Filter by credit note"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c3103294-0c65-4c88-a986-3e4ad5291a7e","name":"List of applications","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","applications"],"host":["{{baseUrl}}"],"query":[{"key":"receipt_id","value":"<number>"},{"key":"credit_note_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"creditNoteId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"appliedReceiptId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"creditNote\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"appliedReceipt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"fx\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"creditNoteId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"appliedReceiptId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"creditNote\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"appliedReceipt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"fx\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b930bf97-2bd6-4622-9c8e-78b7d1ff8570","name":"Apply a credit note against an invoice (imputación NC→Factura)","request":{"name":"Apply a credit note against an invoice (imputación NC→Factura)","description":{"content":"Increases total_paid on both receipts. The invoice becomes Pagada when fully covered; the credit note becomes Imputado when fully consumed. No journal entry is generated (v1 parity), except between currencies: with the credit note and the invoice in different currencies (one in the organization's currency) `amount` is in the organization's currency, the foreign side moves amount / exchangeRate and the exchange difference is posted to \"Diferencias de cambio\" (PAN-392b).","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts","applications"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"creditNoteId\": \"<number>\",\n  \"appliedReceiptId\": \"<number>\",\n  \"amount\": \"<number>\",\n  \"date\": \"<string>\",\n  \"userId\": \"<string>\",\n  \"exchangeRate\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"85b630a1-09a6-4702-91c3-1a1df7302e2d","name":"Created application","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","applications"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditNoteId\": 20,\n  \"appliedReceiptId\": 12,\n  \"amount\": 500,\n  \"date\": \"2026-07-09\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"exchangeRate\": 1100\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"creditNoteId\": 20,\n  \"appliedReceiptId\": 12,\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"amount\": 500,\n  \"creditNote\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"appliedReceipt\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"fx\": {\n    \"description\": \"Only for an application between currencies (PAN-392b). Absent otherwise.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7750d6df-4d04-4208-8c56-6becdfca294c","name":"Validation failed. Codes: APPLICATION_AMOUNT_INVALID, APPLICATION_SAME_RECEIPT, APPLICATION_NOT_CREDIT_NOTE, APPLICATION_CREDIT_NOTE_INSUFFICIENT_BALANCE, APPLICATION_RECEIPT_INSUFFICIENT_BALANCE, RECEIPT_VOIDED, APPLICATION_CURRENCY_PAIR_NOT_SUPPORTED, EXCHANGE_RATE_REQUIRED, RESPONSIBLE_USER_NOT_IN_ORGANIZATION.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","applications"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditNoteId\": 20,\n  \"appliedReceiptId\": 12,\n  \"amount\": 500,\n  \"date\": \"2026-07-09\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"exchangeRate\": 1100\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e86a46d-efc9-4993-8ab2-4bbbf4dc58fe","name":"PURCHASE_RECEIPT_NOT_FOUND — credit note or invoice does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","applications"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditNoteId\": 20,\n  \"appliedReceiptId\": 12,\n  \"amount\": 500,\n  \"date\": \"2026-07-09\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\",\n  \"exchangeRate\": 1100\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fa8ecd0f-3d8c-47a9-aa81-2cc5ab3804c1","name":"Revert a credit note application","request":{"name":"Revert a credit note application","description":{"content":"Decreases total_paid on both receipts, resets their statuses to Creada and deletes the application.","type":"text/plain"},"url":{"path":["v1","purchases","purchase-receipts","applications",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ac5b9b01-e53a-42e9-8839-1d24896a748d","name":"Reverted and deleted","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","applications",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"50fdd343-7513-412f-ba73-2425aafeb840","name":"APPLICATION_NOT_FOUND — application does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","purchase-receipts","applications",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"2b6dde02-780a-4d45-b38b-a98e8474568e","name":"Compras - Órdenes de Pago","description":{"content":"","type":"text/plain"},"item":[{"id":"600179e9-2c6c-4aa0-9a32-f642f3948740","name":"List payment orders (cursor-paginated)","request":{"name":"List payment orders (cursor-paginated)","description":{"content":"Returns a page of payment orders. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","purchases","payment-orders"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Filter by supplier"},{"disabled":false,"key":"status","value":"<string>","description":"Filter by status (Creada/Anulada)"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by date from (YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by date to (YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dd437947-b964-44ea-9d24-40185567ec3a","name":"Paginated payment orders (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","purchases","payment-orders"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"supplier_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"123\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7abe8914-ebce-4bd6-903c-e41b6d417c1f","name":"Create payment order","request":{"name":"Create payment order","description":{"content":"Pays purchase receipts with one or more payment methods. Updates receipt total_paid/status, registers treasury movements (cash/bank/checks/retentions) and generates the OP journal entry when accounting is enabled. A bank account or cash register in a foreign currency goes down by the payment's `foreignAmount` (default amount / exchangeRate); `amount` stays in the organization's currency.","type":"text/plain"},"url":{"path":["v1","purchases","payment-orders"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"supplierId\": \"<number>\",\n  \"date\": \"<string>\",\n  \"typeId\": \"<number>\",\n  \"receipts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"detail\": \"<string>\",\n  \"userId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"66a07112-a445-40c3-9b7b-e459bd3c48de","name":"Created payment order","originalRequest":{"url":{"path":["v1","purchases","payment-orders"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"supplierId\": 1,\n  \"date\": \"2026-07-09\",\n  \"typeId\": 110,\n  \"receipts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"detail\": \"Pago facturas junio\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"number\": \"5\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"total\": 1210.5,\n  \"detail\": \"Pago facturas junio\",\n  \"status\": \"Creada\",\n  \"typeId\": 110,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bec27194-f980-47e8-899d-c3535de0d3a3","name":"Validation failed. Codes: RECEIPTS_REQUIRED, PAYMENTS_REQUIRED, SUPPLIER_NOT_FOUND, TYPE_NOT_FOUND, RECEIPT_NOT_FOUND, RECEIPT_AMOUNT_INVALID, RECEIPT_AMOUNT_EXCEEDS_PENDING, RECEIPT_SUPPLIER_MISMATCH, RECEIPT_NOT_PAYABLE, RECEIPT_IS_CREDIT_NOTE, RECEIPT_DUPLICATED_IN_ORDER, PAYMENTS_TOTAL_MISMATCH, EXCHANGE_RATE_REQUIRED, PAYMENT_FX_MISMATCH, PAYMENT_AMOUNT_INVALID, PAYMENT_METHOD_NOT_FOUND, PAYMENT_TYPE_NOT_SUPPORTED, PAYMENT_OWN_CHECK_INVALID_STATE, RESPONSIBLE_USER_NOT_IN_ORGANIZATION.","originalRequest":{"url":{"path":["v1","purchases","payment-orders"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"supplierId\": 1,\n  \"date\": \"2026-07-09\",\n  \"typeId\": 110,\n  \"receipts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"detail\": \"Pago facturas junio\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f6a13968-7be2-4a1d-a08d-cddbbb067440","name":"Get payment order by id (with receipt items and payment entries)","request":{"name":"Get payment order by id (with receipt items and payment entries)","description":{"content":"Returns a single payment order with its paid receipt items and payment-method entries; 404s if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","payment-orders",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f450a13f-33e1-410b-bcd9-2604237865e6","name":"Payment order","originalRequest":{"url":{"path":["v1","purchases","payment-orders",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"number\": \"5\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"total\": 1210.5,\n  \"detail\": \"Pago facturas junio\",\n  \"status\": \"Creada\",\n  \"typeId\": 110,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a89f581-dd44-412b-9d62-451c8b17bf9d","name":"PAYMENT_ORDER_NOT_FOUND — payment order does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","payment-orders",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"308bce58-bca4-458d-83bd-397304bcdfb1","name":"Void (anular) a payment order","request":{"name":"Void (anular) a payment order","description":{"content":"Reverts receipt total_paid/status, cash/bank balances and check/retention statuses. The order is kept with status Anulada.","type":"text/plain"},"url":{"path":["v1","purchases","payment-orders",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9e83630f-dd9e-4fc6-89a9-da722e2b30bc","name":"Voided payment order","originalRequest":{"url":{"path":["v1","purchases","payment-orders",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"number\": \"5\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"total\": 1210.5,\n  \"detail\": \"Pago facturas junio\",\n  \"status\": \"Creada\",\n  \"typeId\": 110,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"type\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"receiptItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"paymentItems\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b7b4ed0-9d2c-4c40-87f4-e3365f01022d","name":"Validation failed. Codes: PAYMENT_ORDER_ALREADY_VOIDED, PAYMENT_CHECK_ALREADY_DEPOSITED, JOURNAL_ENTRY_PERIOD_LOCKED, FISCAL_YEAR_CLOSED. JOURNAL_ENTRY_PERIOD_LOCKED: the journal entry date falls inside a locked accounting period — unlock the period before voiding. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","purchases","payment-orders",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"16215cf0-a003-4ee4-9102-e17d00d0d1ba","name":"PAYMENT_ORDER_NOT_FOUND — payment order does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","payment-orders",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"21f8440d-ecb4-4131-a7df-c3973e5baf0a","name":"Compras - Otros Egresos","description":{"content":"","type":"text/plain"},"item":[{"id":"9e6f5553-ebdb-4fc0-8286-959335ce6199","name":"List other expenses (cursor-paginated)","request":{"name":"List other expenses (cursor-paginated)","description":{"content":"Returns a page of other expenses. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","purchases","expenses"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Filter by supplier"},{"disabled":false,"key":"status","value":"<string>","description":"Filter by status (Creada/Anulada/Pagada)"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by date from (YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by date to (YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1c0f702e-0bdb-4e67-8be4-c5827c0c07a1","name":"Paginated other expenses (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","purchases","expenses"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"supplier_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"123\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2e4fbf2c-2ef6-4c6f-9d7a-c392d4d66266","name":"Create other expense","request":{"name":"Create other expense","description":{"content":"Records a purchase expense split by category items and paid with one or more payment methods. Registers treasury movements and generates the OE journal entry when accounting is enabled. A bank account or cash register in a foreign currency goes down by the payment's `foreignAmount` (default amount / exchangeRate); `amount` stays in the organization's currency.","type":"text/plain"},"url":{"path":["v1","purchases","expenses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"accountingDate\": \"<string>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"supplierTaxId\": \"<string>\",\n  \"supplierId\": \"<number>\",\n  \"observation\": \"<string>\",\n  \"referenceNumber\": \"<number>\",\n  \"userId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ee4670f3-efdb-45b4-962c-21b7cb7437a9","name":"Created other expense","originalRequest":{"url":{"path":["v1","purchases","expenses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-07-09\",\n  \"accountingDate\": \"2026-07-09\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"supplierTaxId\": \"30711610126\",\n  \"supplierId\": 1,\n  \"observation\": \"Gastos varios de oficina\",\n  \"referenceNumber\": 123,\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"referenceNumber\": 7,\n  \"observation\": \"Gastos varios de oficina\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"accountingDate\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"status\": \"Creada\",\n  \"total\": 500,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1b2f989d-a536-43e2-a950-86422385f642","name":"Validation failed. Codes: ITEMS_REQUIRED, PAYMENTS_REQUIRED, SUPPLIER_NOT_FOUND, ITEM_TOTAL_INVALID, PURCHASE_CATEGORY_NOT_FOUND, PAYMENTS_TOTAL_MISMATCH, PAYMENT_AMOUNT_INVALID, PAYMENT_METHOD_NOT_FOUND, PAYMENT_TYPE_NOT_SUPPORTED, EXCHANGE_RATE_REQUIRED, PAYMENT_FX_MISMATCH, RESPONSIBLE_USER_NOT_IN_ORGANIZATION.","originalRequest":{"url":{"path":["v1","purchases","expenses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-07-09\",\n  \"accountingDate\": \"2026-07-09\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"supplierTaxId\": \"30711610126\",\n  \"supplierId\": 1,\n  \"observation\": \"Gastos varios de oficina\",\n  \"referenceNumber\": 123,\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f6e8e77b-e620-423f-9a92-62af6727ab70","name":"List other expenses (cursor-paginated)","request":{"name":"List other expenses (cursor-paginated)","description":{"content":"Returns a page of other expenses. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","purchases","other-expenses"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Filter by supplier"},{"disabled":false,"key":"status","value":"<string>","description":"Filter by status (Creada/Anulada/Pagada)"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by date from (YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by date to (YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fd4a5b3d-95e2-415f-85e3-00df0703c887","name":"Paginated other expenses (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","purchases","other-expenses"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"supplier_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"123\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4f99a5a4-e0d4-4ed2-a414-c2c200a2f166","name":"Create other expense","request":{"name":"Create other expense","description":{"content":"Records a purchase expense split by category items and paid with one or more payment methods. Registers treasury movements and generates the OE journal entry when accounting is enabled. A bank account or cash register in a foreign currency goes down by the payment's `foreignAmount` (default amount / exchangeRate); `amount` stays in the organization's currency.","type":"text/plain"},"url":{"path":["v1","purchases","other-expenses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"accountingDate\": \"<string>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"supplierTaxId\": \"<string>\",\n  \"supplierId\": \"<number>\",\n  \"observation\": \"<string>\",\n  \"referenceNumber\": \"<number>\",\n  \"userId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4c55be2b-f9af-4c17-9834-22c4b04c5f05","name":"Created other expense","originalRequest":{"url":{"path":["v1","purchases","other-expenses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-07-09\",\n  \"accountingDate\": \"2026-07-09\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"supplierTaxId\": \"30711610126\",\n  \"supplierId\": 1,\n  \"observation\": \"Gastos varios de oficina\",\n  \"referenceNumber\": 123,\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"referenceNumber\": 7,\n  \"observation\": \"Gastos varios de oficina\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"accountingDate\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"status\": \"Creada\",\n  \"total\": 500,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fd6341bd-db60-44b3-9e85-7289626e48f6","name":"Validation failed. Codes: ITEMS_REQUIRED, PAYMENTS_REQUIRED, SUPPLIER_NOT_FOUND, ITEM_TOTAL_INVALID, PURCHASE_CATEGORY_NOT_FOUND, PAYMENTS_TOTAL_MISMATCH, PAYMENT_AMOUNT_INVALID, PAYMENT_METHOD_NOT_FOUND, PAYMENT_TYPE_NOT_SUPPORTED, EXCHANGE_RATE_REQUIRED, PAYMENT_FX_MISMATCH, RESPONSIBLE_USER_NOT_IN_ORGANIZATION.","originalRequest":{"url":{"path":["v1","purchases","other-expenses"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-07-09\",\n  \"accountingDate\": \"2026-07-09\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"supplierTaxId\": \"30711610126\",\n  \"supplierId\": 1,\n  \"observation\": \"Gastos varios de oficina\",\n  \"referenceNumber\": 123,\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"de1c4a7a-7059-4d64-910c-0124933e3092","name":"Get other expense by id (with items and payment entries)","request":{"name":"Get other expense by id (with items and payment entries)","description":{"content":"Returns a single other expense with its category items and payment-method entries; 404s if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","expenses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e577d589-9aa2-4493-bc36-1a7f4bab421c","name":"Other expense","originalRequest":{"url":{"path":["v1","purchases","expenses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"referenceNumber\": 7,\n  \"observation\": \"Gastos varios de oficina\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"accountingDate\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"status\": \"Creada\",\n  \"total\": 500,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59588e8e-8f5c-4a2c-b3a2-91d12f8eece7","name":"OTHER_EXPENSE_NOT_FOUND — other expense does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","expenses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ef226139-b35c-4b47-8f09-1f2d15471338","name":"Get other expense by id (with items and payment entries)","request":{"name":"Get other expense by id (with items and payment entries)","description":{"content":"Returns a single other expense with its category items and payment-method entries; 404s if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","other-expenses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4f5ea384-646e-43d4-80ac-357b598f5598","name":"Other expense","originalRequest":{"url":{"path":["v1","purchases","other-expenses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"referenceNumber\": 7,\n  \"observation\": \"Gastos varios de oficina\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"accountingDate\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"status\": \"Creada\",\n  \"total\": 500,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0b937bec-c942-48ff-ae8c-9c079c67f15f","name":"OTHER_EXPENSE_NOT_FOUND — other expense does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","other-expenses",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5206fc6e-d699-4a50-802a-a34a97116c24","name":"Void (anular) an other expense","request":{"name":"Void (anular) an other expense","description":{"content":"Reverts cash/bank balances and check/retention statuses. The expense is kept with status Anulada.","type":"text/plain"},"url":{"path":["v1","purchases","expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3a24a76f-06ce-4db9-9d10-fb21bf03b83f","name":"Voided other expense","originalRequest":{"url":{"path":["v1","purchases","expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"referenceNumber\": 7,\n  \"observation\": \"Gastos varios de oficina\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"accountingDate\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"status\": \"Creada\",\n  \"total\": 500,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad4ec61c-d05b-4975-8f3e-7763c37db691","name":"Validation failed. Codes: OTHER_EXPENSE_ALREADY_VOIDED, PAYMENT_CHECK_ALREADY_DEPOSITED, JOURNAL_ENTRY_PERIOD_LOCKED, FISCAL_YEAR_CLOSED. JOURNAL_ENTRY_PERIOD_LOCKED: the journal entry date falls inside a locked accounting period — unlock the period before voiding. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","purchases","expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95e6ab0b-14e8-4d76-afbf-8aad4d3115bc","name":"OTHER_EXPENSE_NOT_FOUND — other expense does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8ee005ba-c7a8-4292-b3f4-e026c6bfd328","name":"Void (anular) an other expense","request":{"name":"Void (anular) an other expense","description":{"content":"Reverts cash/bank balances and check/retention statuses. The expense is kept with status Anulada.","type":"text/plain"},"url":{"path":["v1","purchases","other-expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9d24bfae-f8de-4a77-9bfc-67afe47b4190","name":"Voided other expense","originalRequest":{"url":{"path":["v1","purchases","other-expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"referenceNumber\": 7,\n  \"observation\": \"Gastos varios de oficina\",\n  \"date\": \"2026-07-09T00:00:00.000Z\",\n  \"accountingDate\": \"2026-07-09T00:00:00.000Z\",\n  \"createdAt\": \"2026-07-09T10:00:00.000Z\",\n  \"status\": \"Creada\",\n  \"total\": 500,\n  \"supplierId\": 1,\n  \"journalEntryId\": 100,\n  \"supplier\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"178a30fd-8e4f-4bae-9c40-0d0ef4139d2b","name":"Validation failed. Codes: OTHER_EXPENSE_ALREADY_VOIDED, PAYMENT_CHECK_ALREADY_DEPOSITED, JOURNAL_ENTRY_PERIOD_LOCKED, FISCAL_YEAR_CLOSED. JOURNAL_ENTRY_PERIOD_LOCKED: the journal entry date falls inside a locked accounting period — unlock the period before voiding. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","purchases","other-expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59e6ead5-d2f9-4ab2-b6e2-614eb89faab1","name":"OTHER_EXPENSE_NOT_FOUND — other expense does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","other-expenses",":id","anular"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"12d69030-1b7a-458f-9a02-99e551160e68","name":"Compras - Proveedores","description":{"content":"Manage your supplier master data — fiscal name, CUIT, tax category, payment terms. Suppliers are referenced by id from purchase receipts and payment orders. Deletes are soft, so historical receipts keep their supplier context.","type":"text/plain"},"item":[{"id":"dd21d122-5717-485b-8aa8-371692ee2c3b","name":"List suppliers (cursor-paginated)","request":{"name":"List suppliers (cursor-paginated)","description":{"content":"Returns a page of suppliers. Use cursor from nextCursor for the next page.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor for next page"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"search","value":"<string>","description":"Filter by business name, tax ID, or email (partial match)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"70de3c16-bf41-4821-85cf-3b61d6b2a622","name":"Paginated suppliers (data, nextCursor, hasMore)","originalRequest":{"url":{"path":["v1","purchases","suppliers"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"search","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3c974a5a-43a1-479d-8e04-4802f73c52ef","name":"Create supplier","request":{"name":"Create supplier","description":{"content":"Creates a supplier for the current organization. When taxId is a valid CUIT, missing fields (business name, address, city, tax category) are auto-filled from ARCA padrón; rejects duplicate CUITs within the org.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"purchaseConditionId\": \"<number>\",\n  \"businessName\": \"<string>\",\n  \"taxCategoryId\": \"<number>\",\n  \"documentTypeId\": \"<number>\",\n  \"taxId\": \"<string>\",\n  \"address\": \"<string>\",\n  \"city\": \"<string>\",\n  \"postalCode\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"email\": \"<string>\",\n  \"locationId\": \"<integer>\",\n  \"observations\": \"<string>\",\n  \"accountType\": \"<string>\",\n  \"accountCode\": \"<string>\",\n  \"accountBank\": \"<string>\",\n  \"fiscalConfig\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"5de1634a-2958-4e3a-a8fd-a7d61f03592e","name":"Created supplier","originalRequest":{"url":{"path":["v1","purchases","suppliers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"purchaseConditionId\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"locationId\": 1,\n  \"observations\": \"<string>\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"compras@distribuidoranorte.com.ar\",\n  \"taxCategoryId\": 1,\n  \"locationId\": 1,\n  \"purchaseConditionId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"observations\": null,\n  \"lastUpdatedUserId\": \"auth0|abc\",\n  \"userId\": \"auth0|abc\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"documentTypeId\": 80,\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5ee6ed71-d562-4d3b-99f2-f16e1ce4fff6","name":"Validation failed. Codes: INVALID_CUIT, BUSINESS_NAME_REQUIRED, TAX_CATEGORY_REQUIRED, TAX_CATEGORY_NOT_FOUND, TAX_CATEGORY_NOT_IN_ORG_REGIME, TAX_ID_DUPLICATE, ORGANIZATION_NOT_FOUND.","originalRequest":{"url":{"path":["v1","purchases","suppliers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"purchaseConditionId\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"locationId\": 1,\n  \"observations\": \"<string>\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"58e9711e-0b41-4a4d-927f-040a1a852bde","name":"Lookup CUIT for supplier auto-fill","request":{"name":"Lookup CUIT for supplier auto-fill","description":{"content":"Validates CUIT and fetches business data from AFIP via system certificate.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cuit","value":"<string>","description":"(Required) CUIT to look up (11 digits, with or without dashes)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3d634ded-83d8-42fa-99dc-6dba8d9cb3e6","name":"CUIT lookup result","originalRequest":{"url":{"path":["v1","purchases","suppliers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"suggestion\": {\n    \"nullable\": true,\n    \"description\": \"Auto-fill suggestion built from ARCA padrón. `null` when the CUIT is not registered.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15adcf5f-3050-4d50-97ff-c2bf27b8d262","name":"INVALID_CUIT — malformed or bad check digit.","originalRequest":{"url":{"path":["v1","purchases","suppliers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"79b065da-d960-401d-ad72-112dc13041c3","name":"AFIP_PERSONA_NOT_FOUND — no taxpayer registered in AFIP for this CUIT.","originalRequest":{"url":{"path":["v1","purchases","suppliers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"63569341-922c-4a9a-9f7d-b72d5bf48f5a","name":"AFIP_WSCI_ERROR — upstream AFIP (WSCI) failure. See providerMessage.","originalRequest":{"url":{"path":["v1","purchases","suppliers","lookup-cuit"],"host":["{{baseUrl}}"],"query":[{"key":"cuit","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Gateway","code":502,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1338215e-f480-400f-9f22-01ff43afad5e","name":"Export suppliers as CSV (cursor-based, streaming)","request":{"name":"Export suppliers as CSV (cursor-based, streaming)","description":{"content":"Streams the organization's suppliers as a CSV download (id, business name, tax ID, address, tax category, purchase condition, bank account) using keyset pagination; honors the search and active_only filters.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"search","value":"<string>","description":"Filter by business name, tax ID, or email (partial match)"},{"disabled":false,"key":"active_only","value":"<boolean>","description":"Include only active suppliers (default true)"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"510d9782-139c-40d2-826e-c756f422fc41","name":"CSV file download","originalRequest":{"url":{"path":["v1","purchases","suppliers","export"],"host":["{{baseUrl}}"],"query":[{"key":"search","value":"<string>"},{"key":"active_only","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a2d3ffba-af7c-415f-8f47-9abacac97cdc","name":"Get supplier by id","request":{"name":"Get supplier by id","description":{"content":"Returns a single supplier of the current organization by id, including tax category, purchase condition, location, and document type. 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1c692f75-8672-41fe-9068-f0b58457b3f9","name":"Supplier","originalRequest":{"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"compras@distribuidoranorte.com.ar\",\n  \"taxCategoryId\": 1,\n  \"locationId\": 1,\n  \"purchaseConditionId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"observations\": null,\n  \"lastUpdatedUserId\": \"auth0|abc\",\n  \"userId\": \"auth0|abc\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"documentTypeId\": 80,\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a16d095c-cbe7-49d5-85ce-7cd45a9d492f","name":"Not found","originalRequest":{"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"abf221af-02bc-424a-aa48-eba467a58bd0","name":"Update supplier","request":{"name":"Update supplier","description":{"content":"Updates the supplier's editable fields (business name, taxId, tax category, address, contact, bank account). Re-validates CUIT and org-uniqueness when taxId changes; 404 if not found in this organization.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"businessName\": \"<string>\",\n  \"taxCategoryId\": \"<number>\",\n  \"purchaseConditionId\": \"<number>\",\n  \"documentTypeId\": \"<number>\",\n  \"taxId\": \"<string>\",\n  \"address\": \"<string>\",\n  \"city\": \"<string>\",\n  \"postalCode\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"email\": \"<string>\",\n  \"locationId\": \"<integer>\",\n  \"observations\": \"<string>\",\n  \"accountType\": \"<string>\",\n  \"accountCode\": \"<string>\",\n  \"accountBank\": \"<string>\",\n  \"fiscalConfig\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"993806e2-4d4b-4aa5-9cd0-67b9d355c33e","name":"Updated supplier","originalRequest":{"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"purchaseConditionId\": 1,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"locationId\": 1,\n  \"observations\": \"<string>\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"compras@distribuidoranorte.com.ar\",\n  \"taxCategoryId\": 1,\n  \"locationId\": 1,\n  \"purchaseConditionId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"observations\": null,\n  \"lastUpdatedUserId\": \"auth0|abc\",\n  \"userId\": \"auth0|abc\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"documentTypeId\": 80,\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2cfeaf6b-7818-4ac0-8c87-4121b810a837","name":"Validation failed. Codes: INVALID_CUIT, TAX_CATEGORY_NOT_FOUND, TAX_CATEGORY_NOT_IN_ORG_REGIME, TAX_ID_DUPLICATE, ORGANIZATION_NOT_FOUND.","originalRequest":{"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"purchaseConditionId\": 1,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"locationId\": 1,\n  \"observations\": \"<string>\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e0b66a66-402d-4e4a-862d-930c3de1bf26","name":"SUPPLIER_NOT_FOUND — supplier does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxCategoryId\": 8,\n  \"purchaseConditionId\": 1,\n  \"documentTypeId\": 180,\n  \"taxId\": \"30345678901\",\n  \"address\": \"Av. Corrientes 1234\",\n  \"city\": \"Buenos Aires\",\n  \"postalCode\": \"C1043AAZ\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"contacto@distribuidoranorte.com.ar\",\n  \"locationId\": 1,\n  \"observations\": \"<string>\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bced4c48-bb73-4ff2-87d7-005a530845dc","name":"Delete supplier (soft delete)","request":{"name":"Delete supplier (soft delete)","description":{"content":"Soft-deletes a single supplier of the current organization by id (sets deleted_at) and returns 204. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5cf2821d-7ed7-4ad8-ad4b-012e079d05d0","name":"Deleted","originalRequest":{"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"8dd00df1-578c-4208-ad78-2e7f8a75b61d","name":"SUPPLIER_NOT_FOUND — supplier does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","purchases","suppliers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"43c40440-dca1-4a47-b817-5f5a030a6630","name":"Get existing supplier by CUIT or create with AFIP data","request":{"name":"Get existing supplier by CUIT or create with AFIP data","description":{"content":"Looks up supplier by CUIT. If not found, auto-creates using AFIP padron data.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers","get-or-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"taxId\": \"<string>\",\n  \"businessName\": \"<string>\",\n  \"address\": \"<string>\",\n  \"taxCategoryId\": \"<number>\",\n  \"purchaseConditionId\": \"<number>\",\n  \"documentTypeId\": \"<number>\",\n  \"locationId\": \"<number>\",\n  \"userId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"782ec5fa-78ff-478d-ad3a-d74a75861e89","name":"Existing or newly created supplier","originalRequest":{"url":{"path":["v1","purchases","suppliers","get-or-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"taxId\": \"30345678901\",\n  \"businessName\": \"<string>\",\n  \"address\": \"<string>\",\n  \"taxCategoryId\": \"<number>\",\n  \"purchaseConditionId\": \"<number>\",\n  \"documentTypeId\": \"<number>\",\n  \"locationId\": \"<number>\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"businessName\": \"Distribuidora Norte SRL\",\n  \"taxId\": \"30345678901\",\n  \"postalCode\": \"C1043AAZ\",\n  \"city\": \"Buenos Aires\",\n  \"phone\": \"+54 11 4444-5555\",\n  \"email\": \"compras@distribuidoranorte.com.ar\",\n  \"taxCategoryId\": 1,\n  \"locationId\": 1,\n  \"purchaseConditionId\": 1,\n  \"address\": \"Av. Corrientes 1234\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"observations\": null,\n  \"lastUpdatedUserId\": \"auth0|abc\",\n  \"userId\": \"auth0|abc\",\n  \"accountType\": \"CHECKING\",\n  \"accountCode\": \"0000123456\",\n  \"accountBank\": \"Banco Galicia\",\n  \"documentTypeId\": 80,\n  \"fiscalConfig\": {\n    \"subjectToWithholding\": true,\n    \"withholdingRate\": 15\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba0e80e3-c7a6-4e4f-9d50-707c50995a13","name":"Validation failed. Codes: TAX_ID_REQUIRED, INVALID_CUIT, ORGANIZATION_NOT_FOUND, RESPONSIBLE_USER_NOT_IN_ORGANIZATION.","originalRequest":{"url":{"path":["v1","purchases","suppliers","get-or-create"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"taxId\": \"30345678901\",\n  \"businessName\": \"<string>\",\n  \"address\": \"<string>\",\n  \"taxCategoryId\": \"<number>\",\n  \"purchaseConditionId\": \"<number>\",\n  \"documentTypeId\": \"<number>\",\n  \"locationId\": \"<number>\",\n  \"userId\": \"5c1f9f3e-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"249df0bc-a5cc-4a2a-8e2e-95cb93e85889","name":"Bulk delete suppliers (soft delete)","request":{"name":"Bulk delete suppliers (soft delete)","description":{"content":"Soft-deletes the given supplier ids for the current organization (sets deleted_at) and returns how many were deleted; ids not found or belonging to another organization are skipped.","type":"text/plain"},"url":{"path":["v1","purchases","suppliers","bulk-delete"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"<number>\",\n    \"<number>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"39fc27a6-e273-45c9-a382-fd064e86a3fa","name":"Number of deleted suppliers","originalRequest":{"url":{"path":["v1","purchases","suppliers","bulk-delete"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"<number>\",\n    \"<number>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"deleted\": 3\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"c5a2337f-8aa9-4381-8afd-240770222100","name":"Compras - Reportes","description":{"content":"","type":"text/plain"},"item":[{"id":"15937d10-488a-4bf8-9587-23aac5ad33b9","name":"Compras por Rubro","request":{"name":"Compras por Rubro","description":{"content":"Purchase spend grouped by expense category (rubro) over a date range, netting NC de compra. Uncategorized lines fold into 'Sin rubro'. Optional supplier filter. Excludes voided and deleted receipts.","type":"text/plain"},"url":{"path":["v1","purchases","reports","purchases-by-category"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"supplier_id","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3ecf54b6-d59a-4dfe-9c71-792d508e8dc3","name":"Spend rows by rubro, highest first","originalRequest":{"url":{"path":["v1","purchases","reports","purchases-by-category"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"supplier_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"categoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"rubro\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cantidad\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"categoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"rubro\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cantidad\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0ea6eaf6-19d2-44e9-ae3a-37cba93ee95b","name":"Libro IVA Compras","request":{"name":"Libro IVA Compras","description":{"content":"VAT purchases book for a date range. Credit notes are listed with negative amounts. Excludes voided and deleted receipts.","type":"text/plain"},"url":{"path":["v1","purchases","reports","vat-book"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"page","value":"<number>"},{"disabled":false,"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"05e6dad7-d809-4e78-bbe7-f0b9ae72092e","name":"Paginated VAT book rows","originalRequest":{"url":{"path":["v1","purchases","reports","vat-book"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 145,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"totals\": {\n    \"description\": \"Per-column sums over the whole date range (Libro IVA footer)\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"66f4418c-3f09-41cf-b762-1bcb5092121e","name":"Export Libro IVA Compras as CSV","request":{"name":"Export Libro IVA Compras as CSV","description":{"content":"Streams the VAT purchases book for a date range as CSV, with credit notes as negative amounts, excluding voided and deleted receipts.","type":"text/plain"},"url":{"path":["v1","purchases","reports","vat-book","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d18e7843-0d46-45ae-be78-94469606ccb8","originalRequest":{"url":{"path":["v1","purchases","reports","vat-book","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a26b9900-ad99-4814-895e-df89dd12894e","name":"IVA Digital Compras — Comprobantes (fixed-width text)","request":{"name":"IVA Digital Compras — Comprobantes (fixed-width text)","description":{"content":"CITI / IVA Digital Compras REG record — one line per non-voided purchase receipt. Fixed-width AFIP layout (v1 ReporteCitiItem.ToComprasRowString parity). Uses magnitudes (abs).","type":"text/plain"},"url":{"path":["v1","purchases","reports","iva-digital","compras"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7f2effb3-922f-4dd4-a4b6-ec6c711512d6","name":"Fixed-width text file","originalRequest":{"url":{"path":["v1","purchases","reports","iva-digital","compras"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"0239c03c-181c-4e86-a402-aea9e7a2aa74","name":"REPORT_NOT_AVAILABLE_FOR_COUNTRY — AFIP/ARCA format, only for organizations that emit electronically through AFIP (Argentina).","originalRequest":{"url":{"path":["v1","purchases","reports","iva-digital","compras"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2bd2a5a0-1192-4b05-a134-06e912bc6325","name":"IVA Digital Compras — Alicuotas (fixed-width text)","request":{"name":"IVA Digital Compras — Alicuotas (fixed-width text)","description":{"content":"CITI / IVA Digital Compras CBTE record — one line per non-zero IVA bracket (Letra A only). Fixed-width AFIP layout (v1 ReporteCitiItem.ToComprasAlicuotasString parity).","type":"text/plain"},"url":{"path":["v1","purchases","reports","iva-digital","compras-alicuotas"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3b9bc7b6-2623-4b9b-8c15-d595db325437","name":"Fixed-width text file","originalRequest":{"url":{"path":["v1","purchases","reports","iva-digital","compras-alicuotas"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"6bf02d07-4d71-484d-b219-766724fb7db2","name":"REPORT_NOT_AVAILABLE_FOR_COUNTRY — AFIP/ARCA format, only for organizations that emit electronically through AFIP (Argentina).","originalRequest":{"url":{"path":["v1","purchases","reports","iva-digital","compras-alicuotas"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b44fe52b-09a7-4617-bd56-9aef6c961c65","name":"Cuenta corriente proveedor","request":{"name":"Cuenta corriente proveedor","description":{"content":"Chronological merge of purchase receipts (debit; credit notes as credit) and non-voided payment orders (credit) with running balance.","type":"text/plain"},"url":{"path":["v1","purchases","reports","supplier-account",":supplierId"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"<number>"},{"disabled":false,"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"supplierId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"656a8461-43bd-49b3-942e-5dd019762b3d","name":"Paginated supplier account movements + final balance","originalRequest":{"url":{"path":["v1","purchases","reports","supplier-account",":supplierId"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"supplierId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 20,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"finalBalance\": 1210\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"097a7dcb-ee2a-4215-8d20-44954941a506","name":"Cuentas a pagar por vencimiento","request":{"name":"Cuentas a pagar por vencimiento","description":{"content":"Receipts with pending balance (total_paid < total, not voided), ordered by due date with days overdue.","type":"text/plain"},"url":{"path":["v1","purchases","reports","payables-due"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"supplier_id","value":"<number>"},{"disabled":false,"key":"date_to","value":"<string>","description":"Only receipts due up to this date"},{"disabled":false,"key":"page","value":"<number>"},{"disabled":false,"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"907d65dc-7369-49c8-81c0-5d199549f3ce","name":"Paginated payables due","originalRequest":{"url":{"path":["v1","purchases","reports","payables-due"],"host":["{{baseUrl}}"],"query":[{"key":"supplier_id","value":"<number>"},{"key":"date_to","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 20,\n  \"page\": 1,\n  \"pageSize\": 50\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"890e87b2-37fa-46bd-96a4-3f319987dfcc","name":"Accounting - Asientos","description":{"content":"Manage manual journal entries and read computed financial views over the journal — Profit & Loss for a date range and Balance Sheet at a point in time. Most journal entries are created automatically by the sales, purchase, and finance modules; this endpoint covers the manual adjustments your accountant posts at month-end.","type":"text/plain"},"item":[{"id":"4d74810b-02ea-4866-a82c-93521980e49d","name":"List journal entries with pagination","request":{"name":"List journal entries with pagination","description":{"content":"Returns a paginated list of the organization's journal entries (asientos), filterable by module, date range and manual vs auto-generated origin.","type":"text/plain"},"url":{"path":["v1","accounting","journal-entries"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"1"},{"disabled":false,"key":"limit","value":"20"},{"disabled":false,"key":"module","value":"<string>","description":"Filter by module (ventas, compras, tesoreria, manual)"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter from date (ISO string)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter to date (ISO string)"},{"disabled":false,"key":"is_manual","value":"<boolean>","description":"Filter manual entries only"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"10c36bfb-8829-4f91-8d84-3e9fa407e53d","name":"Paginated journal entries (items, total)","originalRequest":{"url":{"path":["v1","accounting","journal-entries"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"},{"key":"module","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"is_manual","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 145\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5b5308b5-fed9-4343-b4ae-4043fa293d02","name":"Create a manual journal entry","request":{"name":"Create a manual journal entry","description":{"content":"Creates a manual journal entry; line items must balance (total debit == total credit) and the date must fall in an open fiscal year and an unlocked period.","type":"text/plain"},"url":{"path":["v1","accounting","journal-entries"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6198c6c2-875c-49bc-a95a-2f76afceccd9","name":"Created journal entry","originalRequest":{"url":{"path":["v1","accounting","journal-entries"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"description\": \"Cobranza factura 00001\",\n  \"module\": \"ventas\",\n  \"isManual\": false,\n  \"operationType\": \"INVOICE\",\n  \"associatedReceipt\": 123,\n  \"userId\": 1,\n  \"fiscalYearId\": 1,\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"071b6085-6998-481d-824d-98bd4ca64758","name":"Validation failed. Codes: ACCOUNTING_DISABLED, JOURNAL_ENTRY_ITEMS_REQUIRED, JOURNAL_ENTRY_NOT_BALANCED, FISCAL_YEAR_CLOSED, DATE_LOCKED, INVALID_JOURNAL_ACCOUNT_IDS.","originalRequest":{"url":{"path":["v1","accounting","journal-entries"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65873115-f15d-4fbc-9b76-d8b8cd7ef3d3","name":"FISCAL_YEAR_NOT_FOUND — fiscal year does not exist.","originalRequest":{"url":{"path":["v1","accounting","journal-entries"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ee948739-1ea1-4472-9608-8848ce853416","name":"Get profit and loss report","request":{"name":"Get profit and loss report","description":{"content":"Computes the profit & loss (estado de resultados) over the given date range, aggregating result-account balances grouped by account.","type":"text/plain"},"url":{"path":["v1","accounting","journal-entries","reports","profit-loss"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"195123fb-fae5-403d-8767-5cceed9abe21","name":"Profit and loss report grouped by account","originalRequest":{"url":{"path":["v1","accounting","journal-entries","reports","profit-loss"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"income\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"expenses\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totalIncome\": 100000,\n  \"totalExpenses\": 60000,\n  \"netResult\": 40000\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"54a915f5-95e5-470b-8150-7c0e61e4ce06","name":"Get balance sheet report","request":{"name":"Get balance sheet report","description":{"content":"Computes the balance sheet (estado de situación patrimonial) as of the given date, aggregating account balances grouped by category.","type":"text/plain"},"url":{"path":["v1","accounting","journal-entries","reports","balance-sheet"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"as_of_date","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5e271e9c-25bf-43a7-bb8e-8cea57e18bd1","name":"Balance sheet grouped by account category","originalRequest":{"url":{"path":["v1","accounting","journal-entries","reports","balance-sheet"],"host":["{{baseUrl}}"],"query":[{"key":"as_of_date","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"assets\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"liabilities\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"equity\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totalAssets\": 250000,\n  \"totalLiabilities\": 150000,\n  \"totalEquity\": 100000\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"93a3939f-cb7e-4bd5-b423-56b81dec0c31","name":"Get a journal entry with its items","request":{"name":"Get a journal entry with its items","description":{"content":"Returns a single journal entry (asiento) with its debit/credit line items.","type":"text/plain"},"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d6d8a8ed-01c3-4f1f-88de-0ed8b8e73f43","name":"Journal entry with line items","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"description\": \"Cobranza factura 00001\",\n  \"module\": \"ventas\",\n  \"isManual\": false,\n  \"operationType\": \"INVOICE\",\n  \"associatedReceipt\": 123,\n  \"userId\": 1,\n  \"fiscalYearId\": 1,\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"32fc7530-b8b0-41d2-b0ab-c6cb14293d8b","name":"ACCOUNTING_DISABLED — accounting is not enabled for this organization.","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6628bae9-4d5a-4b30-a011-42a338da2a41","name":"JOURNAL_ENTRY_NOT_FOUND — journal entry does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f9995680-b289-446d-a3b8-6b2039dec3dc","name":"Edit a manual journal entry","request":{"name":"Edit a manual journal entry","description":{"content":"Edits a manual journal entry (auto-generated entries cannot be edited); items must stay balanced (debit == credit) and fall in an open, unlocked period.","type":"text/plain"},"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"1e724013-2970-43a6-960d-9fb84c4d6018","name":"Updated journal entry","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"description\": \"Cobranza factura 00001\",\n  \"module\": \"ventas\",\n  \"isManual\": false,\n  \"operationType\": \"INVOICE\",\n  \"associatedReceipt\": 123,\n  \"userId\": 1,\n  \"fiscalYearId\": 1,\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e4bd86c5-dda2-4973-a3d9-9ded7c4c8dd3","name":"Validation failed. Codes: ACCOUNTING_DISABLED, CANNOT_EDIT_AUTO_ENTRY, JOURNAL_ENTRY_ITEMS_REQUIRED, JOURNAL_ENTRY_NOT_BALANCED, FISCAL_YEAR_CLOSED, DATE_LOCKED, INVALID_JOURNAL_ACCOUNT_IDS.","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"64e3727b-cc5a-488c-92d7-cb44febd2aae","name":"JOURNAL_ENTRY_NOT_FOUND — journal entry does not exist. FISCAL_YEAR_NOT_FOUND — fiscal year does not exist.","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"description\": \"<string>\",\n  \"fiscalYearId\": \"<number>\",\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"991576bc-c08d-46f5-ba33-41480cd85df9","name":"Delete a manual journal entry","request":{"name":"Delete a manual journal entry","description":{"content":"Deletes a manual journal entry; auto-generated entries cannot be deleted.","type":"text/plain"},"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4280fdb1-96a7-4424-a317-94e9a649eae9","name":"Deletion confirmation","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"deleted\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e6c0d76e-f458-4405-b7c2-0d96dc517419","name":"Validation failed. Codes: ACCOUNTING_DISABLED, CANNOT_DELETE_AUTO_ENTRY.","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"064714c7-b547-4225-b6da-5ab3b0d4e80e","name":"JOURNAL_ENTRY_NOT_FOUND — journal entry does not exist.","originalRequest":{"url":{"path":["v1","accounting","journal-entries",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"f83ff379-e85e-47ce-9938-1c8bd5aeb8bc","name":"Accounting - Bloqueos","description":{"content":"Lock past accounting periods so journal entries with dates inside the lock window can't be created or modified. Use locks to freeze the books after a period close — adjustments must then be posted in a later period.","type":"text/plain"},"item":[{"id":"7189b105-b273-4f8c-ab15-6a043acfe084","name":"List accounting locks","request":{"name":"List accounting locks","description":{"content":"Returns the organization's accounting locks — date periods in which posting journal entries is blocked.","type":"text/plain"},"url":{"path":["v1","accounting","accounting-locks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b459a206-a4fd-4f57-a529-f1af96db4856","name":"List of accounting locks","originalRequest":{"url":{"path":["v1","accounting","accounting-locks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"fiscalYearId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"fiscalYearId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f1e0970c-b144-4eb1-b6f9-9ba96f08641d","name":"Create an accounting lock","request":{"name":"Create an accounting lock","description":{"content":"Creates an accounting lock over a start/end date period, optionally tied to a fiscal year, blocking journal entries dated within it.","type":"text/plain"},"url":{"path":["v1","accounting","accounting-locks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"fiscalYearId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"cc1e079b-f41f-480c-977d-3ff9bffbf244","name":"Created lock","originalRequest":{"url":{"path":["v1","accounting","accounting-locks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"fiscalYearId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"startDate\": \"2026-01-01T00:00:00.000Z\",\n  \"endDate\": \"2026-03-31T23:59:59.000Z\",\n  \"name\": \"Q1 2026 Cierre\",\n  \"isActive\": true,\n  \"fiscalYearId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b226f25-c64e-43c3-b82b-7af85109fd1f","name":"ACCOUNTING_DISABLED — accounting is not enabled.","originalRequest":{"url":{"path":["v1","accounting","accounting-locks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"fiscalYearId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eb714119-48ca-49e5-83dd-82410fcb28b3","name":"FISCAL_YEAR_NOT_FOUND — fiscal year does not exist.","originalRequest":{"url":{"path":["v1","accounting","accounting-locks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"fiscalYearId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"36a988cb-b25b-4ce9-8de8-d6a274cecfd0","name":"Update an accounting lock","request":{"name":"Update an accounting lock","description":{"content":"Updates an accounting lock's date period, name or active state.","type":"text/plain"},"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"46e105df-14bb-4a16-bdcc-bbd491296f58","name":"Updated lock","originalRequest":{"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"startDate\": \"2026-01-01T00:00:00.000Z\",\n  \"endDate\": \"2026-03-31T23:59:59.000Z\",\n  \"name\": \"Q1 2026 Cierre\",\n  \"isActive\": true,\n  \"fiscalYearId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa20f177-5781-4aaf-8cee-0bc5904643bd","name":"ACCOUNTING_DISABLED — accounting is not enabled.","originalRequest":{"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"31acc226-75fa-4176-9496-36e82b71f681","name":"ACCOUNTING_LOCK_NOT_FOUND — lock does not exist.","originalRequest":{"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e66de158-f613-4a1d-b086-21475f9d7b22","name":"Delete an accounting lock","request":{"name":"Delete an accounting lock","description":{"content":"Deletes an accounting lock, reopening its date period for posting journal entries.","type":"text/plain"},"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"36092e96-a159-4ea5-8d91-56836565f9ea","name":"Deletion confirmation","originalRequest":{"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"deleted\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40d5f03f-3aa8-4887-91c6-4f6ccfa16525","name":"ACCOUNTING_DISABLED — accounting is not enabled.","originalRequest":{"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff8510c4-1498-4b70-ba61-3a8765837361","name":"ACCOUNTING_LOCK_NOT_FOUND — lock does not exist.","originalRequest":{"url":{"path":["v1","accounting","accounting-locks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"70aaf7c1-87be-453d-bb23-e96be779e5d0","name":"Accounting - Costo de mercaderías vendidas","description":{"content":"","type":"text/plain"},"item":[{"id":"49b7ff89-22c7-438e-8b3d-3bfd5f08279e","name":"Preview the month's cost of goods sold (CMV)","request":{"name":"Preview the month's cost of goods sold (CMV)","description":{"content":"Read-only. CMV = Σ quantity × unit cost (snapshotted on each line when the receipt was issued) over the month's issued Facturas − the same over credit notes that return stock. Voided receipts (and the credit note that voids one), drafts, debit notes, observation lines, free-text lines and services are excluded; lines without a cost snapshot are excluded and reported in `missingCost`. The month is the receipts' calendar date. Also returns the accounts the entry would post to, the month's existing CMV entry and whether the period is locked.","type":"text/plain"},"url":{"path":["v1","accounting","cmv"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"month","value":"<string>","description":"(Required) YYYY-MM"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"56590550-8108-42fa-b05b-1327a69321a5","name":"Month preview","originalRequest":{"url":{"path":["v1","accounting","cmv"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"month\": \"2026-10\",\n  \"dateFrom\": \"2026-10-01\",\n  \"dateTo\": \"2026-10-31\",\n  \"eligible\": {\n    \"trackStock\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"total\": 9000,\n  \"salesCost\": 10000,\n  \"returnsCost\": 1000,\n  \"products\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"missingCost\": {\n    \"lines\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receipts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"accounts\": {\n    \"cmv\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"inventory\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"journalEntry\": {\n    \"nullable\": true,\n    \"description\": \"The month's current CMV entry, if any.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"locked\": false,\n  \"lockReason\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3944615e-77af-4849-9517-52c7a4b165ce","name":"Codes: ACCOUNTING_DISABLED, CMV_INVALID_MONTH.","originalRequest":{"url":{"path":["v1","accounting","cmv"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"07c9edbd-4758-4206-be5f-d764a8a3079d","name":"Generate or regenerate the month's CMV journal entry","request":{"name":"Generate or regenerate the month's CMV journal entry","description":{"content":"One summary entry per organization and month: Debe cost of goods sold / Haber inventory (sides swapped when returns outweigh sales). Regenerating replaces the month's previous CMV entry in the same transaction; a zero CMV posts nothing. CMV = Σ quantity × unit cost (snapshotted on each line when the receipt was issued) over the month's issued Facturas − the same over credit notes that return stock. Voided receipts (and the credit note that voids one), drafts, debit notes, observation lines, free-text lines and services are excluded; lines without a cost snapshot are excluded and reported in `missingCost`. The month is the receipts' calendar date. Requires stock tracking. Refused when the month overlaps an accounting lock or its fiscal year is closed.","type":"text/plain"},"url":{"path":["v1","accounting","cmv"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"month\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"1fbb2025-3d6c-4447-be1e-6811cdb71712","name":"Generated entry","originalRequest":{"url":{"path":["v1","accounting","cmv"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"month\": \"2026-10\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"month\": \"2026-10\",\n  \"total\": 9000,\n  \"journalEntryId\": 3022,\n  \"replacedJournalEntryId\": 3021,\n  \"missingCost\": {\n    \"lines\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receipts\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8e716ae6-be06-4f59-9afd-9b4d82ee9a63","name":"Codes: ACCOUNTING_DISABLED, CMV_INVALID_MONTH, CMV_STOCK_TRACKING_DISABLED, CMV_PERIOD_LOCKED, CMV_ACCOUNT_NOT_CONFIGURED, DATE_OUTSIDE_FISCAL_YEAR, DATE_LOCKED, JOURNAL_ENTRY_PERIOD_LOCKED.","originalRequest":{"url":{"path":["v1","accounting","cmv"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"month\": \"2026-10\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5ef47848-81ea-4c2a-a249-616d3ad380bf","name":"Get the CMV entry's accounts","request":{"name":"Get the CMV entry's accounts","description":{"content":"The configured cost and inventory accounts (null = the chart's default code, also returned).","type":"text/plain"},"url":{"path":["v1","accounting","cmv","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a6917a4b-ee4b-4895-a73c-790fca9ce821","name":"CMV accounts","originalRequest":{"url":{"path":["v1","accounting","cmv","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"cmvAccountId\": null,\n  \"inventoryAccountId\": null,\n  \"defaults\": {\n    \"description\": \"Codes used when an account is not configured.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c434177-2b84-4003-b290-be93d826edde","name":"Codes: ACCOUNTING_DISABLED.","originalRequest":{"url":{"path":["v1","accounting","cmv","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0f4a7816-a969-42b1-ab8f-e05a382cce2c","name":"Set the CMV entry's accounts","request":{"name":"Set the CMV entry's accounts","description":{"content":"Pick the cost / inventory accounts from the organization's chart; `null` reverts to the default code.","type":"text/plain"},"url":{"path":["v1","accounting","cmv","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"cmvAccountId\": \"<object>\",\n  \"inventoryAccountId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4187357c-34d7-498d-8a0e-8ad188c79550","name":"Updated CMV accounts","originalRequest":{"url":{"path":["v1","accounting","cmv","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"cmvAccountId\": \"<object>\",\n  \"inventoryAccountId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"cmvAccountId\": null,\n  \"inventoryAccountId\": null,\n  \"defaults\": {\n    \"description\": \"Codes used when an account is not configured.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1bb2eea4-3e87-4d43-a18a-c1741947152f","name":"Codes: ACCOUNTING_DISABLED, INVALID_JOURNAL_ACCOUNT_IDS.","originalRequest":{"url":{"path":["v1","accounting","cmv","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"cmvAccountId\": \"<object>\",\n  \"inventoryAccountId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6970b663-933d-4230-afa9-746bc8771ffd","name":"Accounting - Ejercicios","description":{"content":"Manage fiscal years (ejercicios contables). Create one per fiscal period with start/end dates, then call `POST :id/close` once the period is done so reports stop including in-progress entries and locks can be enforced over closed periods.","type":"text/plain"},"item":[{"id":"82a6c027-6831-4955-a45c-1d89b18601eb","name":"List fiscal years","request":{"name":"List fiscal years","description":{"content":"Returns the organization's fiscal years (ejercicios contables) with their open/closed state.","type":"text/plain"},"url":{"path":["v1","accounting","fiscal-years"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c73b6f9b-1010-42ec-8d95-bd602d098c9b","name":"List of fiscal years","originalRequest":{"url":{"path":["v1","accounting","fiscal-years"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isClosed\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"startDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"endDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isClosed\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"88fce192-713f-42f9-ac1b-68766d4d7a92","name":"Create a fiscal year","request":{"name":"Create a fiscal year","description":{"content":"Creates the fiscal year. If a CLOSED, contiguous predecessor exists (ending the day before this year's start date), its asiento de apertura is materialized automatically in the same transaction (idempotent).","type":"text/plain"},"url":{"path":["v1","accounting","fiscal-years"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6804f420-5510-49e8-95ce-1d194b8d473e","name":"Created fiscal year","originalRequest":{"url":{"path":["v1","accounting","fiscal-years"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"startDate\": \"2026-01-01T00:00:00.000Z\",\n  \"endDate\": \"2026-12-31T23:59:59.000Z\",\n  \"name\": \"Ejercicio 2026\",\n  \"isActive\": true,\n  \"isClosed\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b181c56c-baaa-4208-addc-88609edd8979","name":"Update a fiscal year","request":{"name":"Update a fiscal year","description":{"content":"Updates a fiscal year's fields; fails if the fiscal year is already closed.","type":"text/plain"},"url":{"path":["v1","accounting","fiscal-years",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"16b8b557-bd5d-4351-bfb3-a43baecb757c","name":"Updated fiscal year","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"startDate\": \"2026-01-01T00:00:00.000Z\",\n  \"endDate\": \"2026-12-31T23:59:59.000Z\",\n  \"name\": \"Ejercicio 2026\",\n  \"isActive\": true,\n  \"isClosed\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cb166de2-e672-4f1a-b8c5-9e7f09cc9db1","name":"Validation failed. Codes: ACCOUNTING_DISABLED, FISCAL_YEAR_CLOSED.","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b0f9247-1ba2-4237-b320-dfa8115fb3bf","name":"FISCAL_YEAR_NOT_FOUND — fiscal year does not exist.","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"startDate\": \"<string>\",\n  \"endDate\": \"<string>\",\n  \"name\": \"<string>\",\n  \"isActive\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"541b4c33-f79a-4e27-a700-f0cef6235248","name":"Close a fiscal year","request":{"name":"Close a fiscal year","description":{"content":"Closes the fiscal year and, by default, generates a refundición de cuentas de resultado (CIERRE journal entry) that zeroes all result accounts (categories 4 & 5) against 'Resultado del Ejercicio' (account code 3.1.001). Pass `generate_closing_entry=false` to close without generating the entry.","type":"text/plain"},"url":{"path":["v1","accounting","fiscal-years",":id","close"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"generate_closing_entry","value":"<boolean>","description":"Whether to generate the refundición closing entry (default: true)"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4bc8be0a-c557-4fc2-b147-e3d22076587d","name":"Closed fiscal year + optional closing entry ID","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id","close"],"host":["{{baseUrl}}"],"query":[{"key":"generate_closing_entry","value":"<boolean>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"startDate\": \"2026-01-01T00:00:00.000Z\",\n  \"endDate\": \"2026-12-31T23:59:59.000Z\",\n  \"name\": \"Ejercicio 2026\",\n  \"isActive\": true,\n  \"isClosed\": false,\n  \"closingEntryId\": {},\n  \"aperturaEntryId\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"499ad43b-7c4e-4bc5-98ca-cc40c35d2e98","name":"Validation failed. Codes: ACCOUNTING_DISABLED, FISCAL_YEAR_ALREADY_CLOSED, RESULTADO_EJERCICIO_ACCOUNT_NOT_FOUND, JOURNAL_ENTRY_NOT_BALANCED.","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id","close"],"host":["{{baseUrl}}"],"query":[{"key":"generate_closing_entry","value":"<boolean>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a927f354-82f2-453c-a38f-0a19778f25ee","name":"FISCAL_YEAR_NOT_FOUND — fiscal year does not exist.","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id","close"],"host":["{{baseUrl}}"],"query":[{"key":"generate_closing_entry","value":"<boolean>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3c3494b0-113c-4947-8e6a-099503f12eb3","name":"Generate the asiento de apertura for a fiscal year","request":{"name":"Generate the asiento de apertura for a fiscal year","description":{"content":"Materializes the asiento de apertura for this fiscal year, carrying forward the closing balances of all patrimonial accounts (categories 1/2/3 — Activo/Pasivo/PN) from its contiguous, CLOSED predecessor. Use this on the create-new-then-close-old ordering, where closing the predecessor happened before this year existed. Idempotent: returns the existing apertura id if one already exists.","type":"text/plain"},"url":{"path":["v1","accounting","fiscal-years",":id","open"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9fbae442-ada9-4a61-baff-ac7899db7e3a","name":"Fiscal year + generated (or pre-existing) apertura entry ID","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id","open"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"startDate\": \"2026-01-01T00:00:00.000Z\",\n  \"endDate\": \"2026-12-31T23:59:59.000Z\",\n  \"name\": \"Ejercicio 2026\",\n  \"isActive\": true,\n  \"isClosed\": false,\n  \"aperturaEntryId\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c02a84f-8364-4e31-b072-d5a9d49ed217","name":"Validation failed. Codes: ACCOUNTING_DISABLED, PRIOR_FISCAL_YEAR_NOT_CLOSED, PRIOR_FISCAL_YEAR_NOT_REFUNDIDO, DATE_LOCKED, JOURNAL_ENTRY_NOT_BALANCED.","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id","open"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5ba316e7-54fc-4cb1-adf3-9b9101c4d2e6","name":"FISCAL_YEAR_NOT_FOUND — fiscal year or its contiguous predecessor does not exist.","originalRequest":{"url":{"path":["v1","accounting","fiscal-years",":id","open"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"b97e35e1-2dd2-43b2-afeb-f61aa89b1e2b","name":"Accounting - Plan de Cuentas","description":{"content":"Manage the chart of accounts (plan de cuentas) — the tree of accounts every journal entry posts against. Set the code, name, type (asset/liability/equity/income/expense), and parent account; entries automatically aggregate up the tree in reports.","type":"text/plain"},"item":[{"id":"76e234fe-8aa1-458c-979b-f0975f2ed25c","name":"List journal accounts (plan de cuentas)","request":{"name":"List journal accounts (plan de cuentas)","description":{"content":"Returns the organization's chart of accounts (plan de cuentas).","type":"text/plain"},"url":{"path":["v1","accounting","journal-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"30c30b3c-af2e-4778-a3e9-4fa4fdbc7405","name":"List of journal accounts","originalRequest":{"url":{"path":["v1","accounting","journal-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"category\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"current\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"subcategory\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"category\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"current\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"subcategory\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"faa6d1ee-887c-4a9e-9857-fcc32f4c195b","name":"Create a journal account","request":{"name":"Create a journal account","description":{"content":"Creates a new account in the organization's chart of accounts (plan de cuentas).","type":"text/plain"},"url":{"path":["v1","accounting","journal-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"code\": \"<string>\",\n  \"name\": \"<string>\",\n  \"category\": \"<number>\",\n  \"current\": \"<number>\",\n  \"subcategory\": \"<number>\",\n  \"number\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3fa38603-b27f-446b-aaa5-76a9e6563544","name":"Created journal account","originalRequest":{"url":{"path":["v1","accounting","journal-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"code\": \"<string>\",\n  \"name\": \"<string>\",\n  \"category\": \"<number>\",\n  \"current\": \"<number>\",\n  \"subcategory\": \"<number>\",\n  \"number\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"code\": \"1.1.01.001\",\n  \"name\": \"Caja Pesos\",\n  \"category\": 1,\n  \"current\": 1,\n  \"subcategory\": 1,\n  \"number\": 1\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3feacab3-e200-4acc-a973-940c247d1563","name":"Export the chart of accounts (plan de cuentas) as CSV","request":{"name":"Export the chart of accounts (plan de cuentas) as CSV","description":{"content":"Streams the organization's chart of accounts as a downloadable CSV file (Codigo, Nombre, Categoria, Subcategoria, Numero), ordered by category. Opens directly in Excel/Sheets.","type":"text/plain"},"url":{"path":["v1","accounting","journal-accounts","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dd9cf8da-c53d-4684-afc9-92cc8c0bc96d","originalRequest":{"url":{"path":["v1","accounting","journal-accounts","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"10feef0f-4c46-4b07-a9b9-03e43eea12cc","name":"Update a journal account","request":{"name":"Update a journal account","description":{"content":"Updates an existing account in the chart of accounts.","type":"text/plain"},"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"code\": \"<string>\",\n  \"name\": \"<string>\",\n  \"category\": \"<number>\",\n  \"current\": \"<number>\",\n  \"subcategory\": \"<number>\",\n  \"number\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"bd8d8e08-952f-4de4-927c-6417397db431","name":"Updated journal account","originalRequest":{"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"code\": \"<string>\",\n  \"name\": \"<string>\",\n  \"category\": \"<number>\",\n  \"current\": \"<number>\",\n  \"subcategory\": \"<number>\",\n  \"number\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"code\": \"1.1.01.001\",\n  \"name\": \"Caja Pesos\",\n  \"category\": 1,\n  \"current\": 1,\n  \"subcategory\": 1,\n  \"number\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9500d421-98fb-410a-814c-d46997094ff5","name":"ACCOUNTING_DISABLED — accounting is not enabled.","originalRequest":{"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"code\": \"<string>\",\n  \"name\": \"<string>\",\n  \"category\": \"<number>\",\n  \"current\": \"<number>\",\n  \"subcategory\": \"<number>\",\n  \"number\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"69bf2e62-159f-498a-bb0a-b702af846dd3","name":"JOURNAL_ACCOUNT_NOT_FOUND — account does not exist.","originalRequest":{"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"code\": \"<string>\",\n  \"name\": \"<string>\",\n  \"category\": \"<number>\",\n  \"current\": \"<number>\",\n  \"subcategory\": \"<number>\",\n  \"number\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"06d465d9-71df-4b51-bc01-b9cb3cf6a697","name":"Delete a journal account","request":{"name":"Delete a journal account","description":{"content":"Deletes a journal account; fails if the account is already referenced by journal entries (in use).","type":"text/plain"},"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f88c4f7c-553b-4af4-bfd4-c1a620a55fa3","name":"Deletion confirmation","originalRequest":{"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"deleted\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b1c3522-458c-40c9-9a1f-e811b42dcacc","name":"Validation failed. Codes: ACCOUNTING_DISABLED, JOURNAL_ACCOUNT_IN_USE.","originalRequest":{"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f7e4fc80-bbfd-47a9-ac4f-041a11769a96","name":"JOURNAL_ACCOUNT_NOT_FOUND — account does not exist.","originalRequest":{"url":{"path":["v1","accounting","journal-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"be1fccec-03bc-48d1-9b24-1119d135a4db","name":"Accounting - Reportes","description":{"content":"Pull the formal accounting reports your accountant signs off on — Libro Mayor (general ledger with running balances), Libro Diario (chronological journal), and Balance de Sumas y Saldos (trial balance). Each report has both a JSON endpoint for in-app views and a CSV export endpoint.","type":"text/plain"},"item":[{"id":"2bad92e6-775f-4b58-86ff-1b8067d9932c","name":"General Ledger (Libro Mayor) — account movements with running balance","request":{"name":"General Ledger (Libro Mayor) — account movements with running balance","description":{"content":"Returns paginated account movements over the date range with a running balance per account, optionally filtered to a single account.","type":"text/plain"},"url":{"path":["v1","accounting","reports","general-ledger"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"account_id","value":"<number>"},{"disabled":false,"key":"page","value":"<number>"},{"disabled":false,"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ac82cc44-d897-4f6a-acdb-dfcfecdbee73","name":"Paginated general ledger movements with running balance","originalRequest":{"url":{"path":["v1","accounting","reports","general-ledger"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"account_id","value":"<number>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 145,\n  \"page\": 1,\n  \"pageSize\": 50\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0c0ba73e-7742-4eb1-9007-b3f9d28f6c91","name":"Export General Ledger as CSV","request":{"name":"Export General Ledger as CSV","description":{"content":"Streams the General Ledger (Libro Mayor) for the date range as a downloadable CSV file, optionally filtered to a single account. Ranges with more than 200000 journal lines are refused with REPORT_EXPORT_TOO_LARGE.","type":"text/plain"},"url":{"path":["v1","accounting","reports","general-ledger","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"account_id","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"42954b8a-bbf5-4eaf-ba48-35b40494a4ca","name":"CSV file download","originalRequest":{"url":{"path":["v1","accounting","reports","general-ledger","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"account_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"5664b0bd-67b7-40d1-8568-cbac4209784d","name":"Validation failed. Codes: DATE_RANGE_REQUIRED, REPORT_EXPORT_TOO_LARGE","originalRequest":{"url":{"path":["v1","accounting","reports","general-ledger","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"account_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f877b76a-d4bb-4a0e-9643-500925ea747a","name":"Daily Book (Libro Diario) — chronological journal entries","request":{"name":"Daily Book (Libro Diario) — chronological journal entries","description":{"content":"Returns paginated chronological journal entries over the date range, one row per debit/credit line item.","type":"text/plain"},"url":{"path":["v1","accounting","reports","daily-book"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"page","value":"<number>"},{"disabled":false,"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"71a5ea07-cb16-444e-93c5-0837e3131ac8","name":"Paginated chronological journal entries (one row per item)","originalRequest":{"url":{"path":["v1","accounting","reports","daily-book"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 145,\n  \"page\": 1,\n  \"pageSize\": 50\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"332188c3-fda4-45b4-822b-b882d858b2e1","name":"Export Daily Book as CSV","request":{"name":"Export Daily Book as CSV","description":{"content":"Streams the Daily Book (Libro Diario) for the date range as a downloadable CSV file. Ranges with more than 200000 journal lines are refused with REPORT_EXPORT_TOO_LARGE.","type":"text/plain"},"url":{"path":["v1","accounting","reports","daily-book","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"35d38e8e-8d17-48bf-ae7d-8bcf026e2778","name":"CSV file download","originalRequest":{"url":{"path":["v1","accounting","reports","daily-book","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"084e5dfc-db22-4c00-b932-4d4ff27b8b18","name":"Validation failed. Codes: DATE_RANGE_REQUIRED, REPORT_EXPORT_TOO_LARGE","originalRequest":{"url":{"path":["v1","accounting","reports","daily-book","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bc6bda94-982c-4f44-a9ac-ce391073bee9","name":"Trial Balance (Balance de Sumas y Saldos) — account totals","request":{"name":"Trial Balance (Balance de Sumas y Saldos) — account totals","description":{"content":"Per imputable account: sum of debe, sum of haber and the resulting saldo (deudor/acreedor) over the period, plus a `totals` row where, by double-entry, total debe = total haber. Accepts `from`/`to` (aliases of `date_from`/`date_to`).","type":"text/plain"},"url":{"path":["v1","accounting","reports","trial-balance"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>"},{"disabled":false,"key":"date_to","value":"<string>"},{"disabled":false,"key":"from","value":"<string>","description":"Alias of date_from"},{"disabled":false,"key":"to","value":"<string>","description":"Alias of date_to"},{"disabled":false,"key":"page","value":"<number>"},{"disabled":false,"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"965f3fed-3134-4cd8-b21c-3b21918c155c","name":"Paginated trial balance with per-account totals and a totals row","originalRequest":{"url":{"path":["v1","accounting","reports","trial-balance"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"from","value":"<string>"},{"key":"to","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 145,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"totals\": {\n    \"description\": \"Totals row (total debe = total haber)\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"19f235c6-b4d7-4fc7-8ec8-6a96e6c57c49","name":"Balance de Comprobación (8 columnas)","request":{"name":"Balance de Comprobación (8 columnas)","description":{"content":"Per account: Sumas (debe, haber), Saldos (deudor, acreedor) and the 8-column split of the saldos into Resultado (pérdida/ganancia) vs Patrimonial/Balance (activo/pasivo) driven by the account type (journal_accounts.category: 1=Activo, 2=Pasivo, 3=Patrimonio Neto → Balance; 4=Resultado Positivo, 5=Resultado Negativo → Resultado). Includes column totals. Accepts `from`/`to` (aliases of `date_from`/`date_to`).","type":"text/plain"},"url":{"path":["v1","accounting","reports","balance-comprobacion"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>"},{"disabled":false,"key":"date_to","value":"<string>"},{"disabled":false,"key":"from","value":"<string>","description":"Alias of date_from"},{"disabled":false,"key":"to","value":"<string>","description":"Alias of date_to"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f9f98f6d-4e8b-4934-983f-a8b6b9efac95","name":"8-column trial balance with column totals","originalRequest":{"url":{"path":["v1","accounting","reports","balance-comprobacion"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"from","value":"<string>"},{"key":"to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totals\": {\n    \"description\": \"Totals per column\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"013b9dfb-4b36-4a8f-a2a1-2959978d3152","name":"Export Trial Balance as CSV","request":{"name":"Export Trial Balance as CSV","description":{"content":"Streams the Trial Balance (Sumas y Saldos) for the date range as a downloadable CSV file.","type":"text/plain"},"url":{"path":["v1","accounting","reports","trial-balance","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a6a5a07e-67e6-4076-b1fb-d80791d925e9","originalRequest":{"url":{"path":["v1","accounting","reports","trial-balance","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f6a8fe92-f9e1-4b20-8e60-367cc74fca16","name":"Hierarchical Trial Balance (Sumas y Saldos — Árbol)","request":{"name":"Hierarchical Trial Balance (Sumas y Saldos — Árbol)","description":{"content":"Returns the trial balance as a nested tree grouped by account code prefix. Leaf nodes are accounts with movements; branch nodes carry aggregated subtotals. Zero-balance leaf accounts are excluded. Server-side cap: 2 000 leaf accounts.","type":"text/plain"},"url":{"path":["v1","accounting","reports","trial-balance","tree"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"380fa0b0-8f02-4927-afec-dbd07d84fd91","name":"Hierarchical trial balance tree (complete, no pagination)","originalRequest":{"url":{"path":["v1","accounting","reports","trial-balance","tree"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalDebit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCredit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isLeaf\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"children\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"category\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"code\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalDebit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalCredit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isLeaf\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"children\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"category\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"884ac046-56aa-4c4d-bd68-2a115535f3e2","name":"Finanzas - Bancos","description":{"content":"Manage the list of banks your organization operates with. Bank entries are referenced by id from bank accounts, third-party checks, and own checks.","type":"text/plain"},"item":[{"id":"b5e577be-2534-4694-a9d2-11d8f0cce09d","name":"List banks (active only)","request":{"name":"List banks (active only)","description":{"content":"Returns the organization's active banks (isActive=true), each with its location.","type":"text/plain"},"url":{"path":["v1","finance","banks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1da8304b-02c9-48ba-83dc-a2414ca2197c","name":"List of banks","originalRequest":{"url":{"path":["v1","finance","banks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"locationId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"locationId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1b47dd55-1d59-4ef1-ba66-8651dd25fb01","name":"Create bank","request":{"name":"Create bank","description":{"content":"Creates a bank (marked active) for the organization.","type":"text/plain"},"url":{"path":["v1","finance","banks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"locationId\": \"<integer>\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e74f9545-9f53-41b7-95a9-42fa4fa470f3","name":"Created","originalRequest":{"url":{"path":["v1","finance","banks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Banco Nacion\",\n  \"locationId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Banco Nacion\",\n  \"isActive\": true,\n  \"locationId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8fdd6224-232c-48b2-94c3-b985017ab339","name":"BANK_LOCATION_REQUIRED — no locationId (province) for a non-Spanish organization; Spanish banks are stored with locationId null.","originalRequest":{"url":{"path":["v1","finance","banks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Banco Nacion\",\n  \"locationId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8d96c69c-48d8-4009-a51a-f473fae8cc1f","name":"Get bank by id","request":{"name":"Get bank by id","description":{"content":"Returns a single bank with its location, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5b176b27-5e5e-4db5-83e4-7b6d621d9f56","name":"Bank","originalRequest":{"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Banco Nacion\",\n  \"isActive\": true,\n  \"locationId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"34e37a7e-b438-4b86-820a-a3072a5620e0","name":"BANK_NOT_FOUND — bank does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d7c977be-56d7-41f5-8b3d-c9100ba0683c","name":"Update bank","request":{"name":"Update bank","description":{"content":"Updates a bank's name, active flag, or location; scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"locationId\": \"<integer>\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"faaa6d9b-35bb-4de5-9d43-14ae2c19b452","name":"Updated","originalRequest":{"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Banco Nacion\",\n  \"locationId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Banco Nacion\",\n  \"isActive\": true,\n  \"locationId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9be5067d-449c-4920-a554-345e7c870678","name":"BANK_LOCATION_REQUIRED — no locationId (province) for a non-Spanish organization; Spanish banks are stored with locationId null.","originalRequest":{"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Banco Nacion\",\n  \"locationId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eb77733b-8c78-41a2-a76e-af592ba2b28d","name":"BANK_NOT_FOUND — bank does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Banco Nacion\",\n  \"locationId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d0a22864-c028-4251-baae-f0a2269b6314","name":"Delete bank (soft)","request":{"name":"Delete bank (soft)","description":{"content":"Soft-deletes the bank by setting isActive=false; scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"02b2b457-3476-4ae7-9753-56dbaf3a72b5","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"137a27d1-d7ca-41cc-b379-f21ce5b1ee10","name":"BANK_NOT_FOUND — bank does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","banks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"0ae3351b-a7b6-4229-bf08-aee59000c211","name":"Finanzas - Cajas","description":{"content":"Manage cash registers (cajas) — physical or virtual cash drawers that hold money. Cash registers are referenced by id from fund movements; the histories endpoint returns the running balance and movement audit trail per register.","type":"text/plain"},"item":[{"id":"3c900c6b-caa4-4c1d-bf1d-83a591c13eba","name":"List cash registers (active only)","request":{"name":"List cash registers (active only)","description":{"content":"Returns the organization's cash registers (cajas) with isActive=true, ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","cash-registers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b708a0df-19d2-4f7d-ba95-8848ea6ec75a","name":"List of cash registers","originalRequest":{"url":{"path":["v1","finance","cash-registers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"funds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyLocked\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"funds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyLocked\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6b50c7ad-2bcb-4cb8-a292-fd3a49a52845","name":"Create cash register","request":{"name":"Create cash register","description":{"content":"Creates a cash register for the organization with isActive=true. `currencyId` makes it a cash register in another currency (null = the organization's); its `funds` are in that currency.","type":"text/plain"},"url":{"path":["v1","finance","cash-registers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"funds\": \"<number>\",\n  \"accountId\": \"<integer>\",\n  \"currencyId\": \"<integer>\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9af3a240-6d7c-4fb2-b8cb-1f4e456f4b69","name":"Created","originalRequest":{"url":{"path":["v1","finance","cash-registers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Caja Central\",\n  \"funds\": 50000,\n  \"accountId\": 1,\n  \"currencyId\": 2,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Caja Central\",\n  \"funds\": 50000,\n  \"isActive\": true,\n  \"accountId\": 1,\n  \"currencyId\": null,\n  \"currencyLocked\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cc3d1ea7-257c-4c98-a4ed-751ad4345eec","name":"CASH_REGISTER_ACCOUNT_REQUIRED — no accountId (or < 1) and no default to apply (Spanish organizations default to their 570 account); JOURNAL_ACCOUNT_NOT_FOUND — accountId belongs to another organization or does not exist; CASH_REGISTER_CURRENCY_NOT_FOUND — currencyId does not exist.","originalRequest":{"url":{"path":["v1","finance","cash-registers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Caja Central\",\n  \"funds\": 50000,\n  \"accountId\": 1,\n  \"currencyId\": 2,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"565df8c2-dcf0-4e1b-975d-812a3b13b831","name":"Get cash register by id","request":{"name":"Get cash register by id","description":{"content":"Returns a single cash register scoped to the organization, or 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7a22d0b9-c686-40c5-91d0-79278bf9696f","name":"Cash register","originalRequest":{"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Caja Central\",\n  \"funds\": 50000,\n  \"isActive\": true,\n  \"accountId\": 1,\n  \"currencyId\": null,\n  \"currencyLocked\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"12327601-92b7-421b-aba1-e33775f5246e","name":"CASH_REGISTER_NOT_FOUND — cash register does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"77834edf-b60a-4087-9a56-88084e1f6103","name":"Update cash register","request":{"name":"Update cash register","description":{"content":"Patches editable fields of a cash register (name, isActive, accountId, currencyId). `funds` is server-owned: it changes only through treasury movements. `currencyId` can only change while the cash register has no movements and a zero balance (`currencyLocked` false).","type":"text/plain"},"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"accountId\": \"<integer>\",\n  \"currencyId\": \"<integer>\",\n  \"isActive\": true,\n  \"funds\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9714cf28-4160-45ba-94ae-2e38209d2d32","name":"Updated","originalRequest":{"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Caja Central\",\n  \"accountId\": 1,\n  \"currencyId\": 2,\n  \"isActive\": true,\n  \"funds\": 50000\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Caja Central\",\n  \"funds\": 50000,\n  \"isActive\": true,\n  \"accountId\": 1,\n  \"currencyId\": null,\n  \"currencyLocked\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78a67071-ce89-4a7e-8c1d-cd4f1464bdfa","name":"CASH_REGISTER_ACCOUNT_REQUIRED — no accountId (or < 1) and no default to apply (Spanish organizations default to their 570 account); JOURNAL_ACCOUNT_NOT_FOUND — accountId belongs to another organization or does not exist; CASH_REGISTER_CURRENCY_NOT_FOUND — currencyId does not exist; CASH_REGISTER_CURRENCY_LOCKED — currencyId changes on a cash register that already has movements or a balance other than zero; CASH_REGISTER_FUNDS_NOT_EDITABLE — funds differs from the current value.","originalRequest":{"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Caja Central\",\n  \"accountId\": 1,\n  \"currencyId\": 2,\n  \"isActive\": true,\n  \"funds\": 50000\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a32eb868-1814-4080-b61a-e2bf4c6f8557","name":"CASH_REGISTER_NOT_FOUND — cash register does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Caja Central\",\n  \"accountId\": 1,\n  \"currencyId\": 2,\n  \"isActive\": true,\n  \"funds\": 50000\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6515d093-e913-4e6c-9626-af8f3bd35272","name":"Delete cash register (soft)","request":{"name":"Delete cash register (soft)","description":{"content":"Soft-deletes the cash register by setting isActive=false; the record is retained for historical movements.","type":"text/plain"},"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"634dac0b-f84a-4e4e-b5fa-a852daa7c965","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"95825a8c-5dbb-465e-bc6f-09ac8e4188b9","name":"CASH_REGISTER_NOT_FOUND — cash register does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","cash-registers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6586976b-97bf-4ca9-b1c4-289adda90022","name":"List cash register histories","request":{"name":"List cash register histories","description":{"content":"Returns cash register balance-history entries for the organization, optionally filtered by cash_register_id, ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","cash-registers","histories","all"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cash_register_id","value":"<number>","description":"Filter by cash register"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"badbdcfb-007f-4aa1-8de1-7a476c7fdb5a","name":"List of cash register histories","originalRequest":{"url":{"path":["v1","finance","cash-registers","histories","all"],"host":["{{baseUrl}}"],"query":[{"key":"cash_register_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"concept\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashRegisterId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"concept\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cashRegisterId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"376c9f05-0560-4906-bcc9-dd58f48455cd","name":"Finanzas - Chequeras","description":{"content":"Manage your own checkbooks. Each checkbook tracks the issuing bank, account, and number range; own checks issued from the book draw down its sequential numbers.","type":"text/plain"},"item":[{"id":"54a405af-0b96-4bc8-82db-2f5dd1b41810","name":"List checkbooks","request":{"name":"List checkbooks","description":{"content":"Returns all checkbooks for the organization, each with its bank account.","type":"text/plain"},"url":{"path":["v1","finance","checkbooks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"dac7ffbd-a610-4712-b05d-3be4cf81294e","name":"List of checkbooks","originalRequest":{"url":{"path":["v1","finance","checkbooks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"numberFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"numberTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"numberFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"numberTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"68d0a1b5-2242-4e79-96ed-16bedb094517","name":"Create checkbook","request":{"name":"Create checkbook","description":{"content":"Creates a checkbook (numbering range from/to, name, bank account) for the organization.","type":"text/plain"},"url":{"path":["v1","finance","checkbooks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"numberFrom\": \"<number>\",\n  \"numberTo\": \"<number>\",\n  \"bankAccountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"af790f53-5ae1-4a69-a325-1f3309d13f51","name":"Created","originalRequest":{"url":{"path":["v1","finance","checkbooks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Chequera 001\",\n  \"numberFrom\": 1,\n  \"numberTo\": 50,\n  \"bankAccountId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"numberFrom\": 1,\n  \"numberTo\": 50,\n  \"name\": \"Chequera 001\",\n  \"bankAccountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"68409890-4f45-4e5d-81e5-a22098e92e09","name":"Get checkbook by id","request":{"name":"Get checkbook by id","description":{"content":"Returns a single checkbook with its bank account, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f5c895f1-f556-4c18-a703-dd344144c46e","name":"Checkbook","originalRequest":{"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"numberFrom\": 1,\n  \"numberTo\": 50,\n  \"name\": \"Chequera 001\",\n  \"bankAccountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b447790b-1dea-46b9-b8a8-a568f6fbca34","name":"CHECKBOOK_NOT_FOUND — checkbook does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b49aa71e-c5fc-4611-b08d-565c63edda89","name":"Update checkbook","request":{"name":"Update checkbook","description":{"content":"Updates a checkbook's numbering range, name, or bank account; scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"numberFrom\": \"<number>\",\n  \"numberTo\": \"<number>\",\n  \"bankAccountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6de3cba7-0f60-4e88-ae0a-ce780caaba1c","name":"Updated","originalRequest":{"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Chequera 001\",\n  \"numberFrom\": 1,\n  \"numberTo\": 50,\n  \"bankAccountId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"numberFrom\": 1,\n  \"numberTo\": 50,\n  \"name\": \"Chequera 001\",\n  \"bankAccountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e37a63aa-f6a2-4767-81d8-ad7ed823e0ec","name":"CHECKBOOK_NOT_FOUND — checkbook does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Chequera 001\",\n  \"numberFrom\": 1,\n  \"numberTo\": 50,\n  \"bankAccountId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0b4fa906-2e82-4475-905c-f5af29b54d5c","name":"Delete checkbook","request":{"name":"Delete checkbook","description":{"content":"Hard-deletes a checkbook scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b7e545b9-e510-48e7-8dca-2cce7774f377","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"a62370ce-daa2-4e5a-8542-7148581ba372","name":"CHECKBOOK_NOT_FOUND — checkbook does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","checkbooks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"11cf23fd-2e8a-483e-a218-25a352b9a728","name":"Finanzas - Cheques","description":{"content":"Manage third-party checks you receive from customers. Track the bank, number, due date, and current state (en cartera, depositado, endosado, rechazado, etc.). Checks are referenced from sales-receipt payment methods, deposits, and endorsements.","type":"text/plain"},"item":[{"id":"3cfe3037-521f-463d-873b-fc9e36887985","name":"List checks","request":{"name":"List checks","description":{"content":"Cursor-paginated check listing scoped to the organization, with optional filters by issuing bank, third-party customer, status, and check-date range.","type":"text/plain"},"url":{"path":["v1","finance","checks"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Pagination cursor"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"bank_id","value":"<number>","description":"Filter by issuing bank"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter by third-party customer"},{"disabled":false,"key":"status","value":"<string>","description":"Filter by check status"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by check date >= (ISO date)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by check date <= (ISO date)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"905c0d5c-aa04-4220-9e97-d44a9e85b128","name":"Paginated list of checks","originalRequest":{"url":{"path":["v1","finance","checks"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"bank_id","value":"<number>"},{"key":"customer_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e455c3d0-f1a6-433c-9beb-0f6b9cd4bd8a","name":"Create check","request":{"name":"Create check","description":{"content":"Registers a check (own or third-party) for the organization.","type":"text/plain"},"url":{"path":["v1","finance","checks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"number\": \"<string>\",\n  \"status\": \"<string>\",\n  \"isOwn\": \"<boolean>\",\n  \"bankId\": \"<number>\",\n  \"customerId\": \"<number>\",\n  \"dueDate\": \"<string>\",\n  \"clearedDate\": \"<string>\",\n  \"accountNumber\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"db39597c-fe5d-4dad-b9a4-afdabc1db367","name":"Created","originalRequest":{"url":{"path":["v1","finance","checks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": \"00012345\",\n  \"status\": \"Cartera\",\n  \"isOwn\": false,\n  \"bankId\": 1,\n  \"customerId\": 12,\n  \"dueDate\": \"2026-02-15T12:00:00Z\",\n  \"clearedDate\": \"2026-02-20T12:00:00Z\",\n  \"accountNumber\": \"0123-4-56789012-3\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-15T00:00:00.000Z\",\n  \"clearedDate\": null,\n  \"amount\": 50000,\n  \"number\": \"00012345\",\n  \"status\": \"PENDING\",\n  \"accountNumber\": \"0123-4-56789012-3\",\n  \"isOwn\": false,\n  \"bankId\": 1,\n  \"customerId\": 12,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2de97829-3508-44a8-8b72-25b909c34080","name":"Get check by id","request":{"name":"Get check by id","description":{"content":"Returns a single check with its issuing bank and third-party customer, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2e55319b-7b82-4811-b927-4d98028af3bd","name":"Check","originalRequest":{"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-15T00:00:00.000Z\",\n  \"clearedDate\": null,\n  \"amount\": 50000,\n  \"number\": \"00012345\",\n  \"status\": \"PENDING\",\n  \"accountNumber\": \"0123-4-56789012-3\",\n  \"isOwn\": false,\n  \"bankId\": 1,\n  \"customerId\": 12,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24f53c77-8e69-4d47-8989-c30c68e89b8b","name":"CHECK_NOT_FOUND — check does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"954992df-418d-47c7-a8fb-813a6992d0e8","name":"Update check","request":{"name":"Update check","description":{"content":"Updates an existing check's fields (dates, amount, number, status, bank, customer); scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"number\": \"<string>\",\n  \"isOwn\": \"<boolean>\",\n  \"bankId\": \"<number>\",\n  \"customerId\": \"<number>\",\n  \"dueDate\": \"<string>\",\n  \"clearedDate\": \"<string>\",\n  \"accountNumber\": \"<string>\",\n  \"status\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8649bb33-453c-43c7-90b3-7bec7243d008","name":"Updated","originalRequest":{"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": \"00012345\",\n  \"isOwn\": false,\n  \"bankId\": 1,\n  \"customerId\": 12,\n  \"dueDate\": \"2026-02-15T12:00:00Z\",\n  \"clearedDate\": \"2026-02-20T12:00:00Z\",\n  \"accountNumber\": \"0123-4-56789012-3\",\n  \"status\": \"Entregado\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-15T00:00:00.000Z\",\n  \"clearedDate\": null,\n  \"amount\": 50000,\n  \"number\": \"00012345\",\n  \"status\": \"PENDING\",\n  \"accountNumber\": \"0123-4-56789012-3\",\n  \"isOwn\": false,\n  \"bankId\": 1,\n  \"customerId\": 12,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ce9a6c37-3ca5-4160-857f-70d57da1078a","name":"CHECK_NOT_FOUND — check does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": \"00012345\",\n  \"isOwn\": false,\n  \"bankId\": 1,\n  \"customerId\": 12,\n  \"dueDate\": \"2026-02-15T12:00:00Z\",\n  \"clearedDate\": \"2026-02-20T12:00:00Z\",\n  \"accountNumber\": \"0123-4-56789012-3\",\n  \"status\": \"Entregado\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3839735b-ace5-4c8c-b51e-9fd3dc51a9fb","name":"Delete check","request":{"name":"Delete check","description":{"content":"Hard-deletes a check scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"93c81878-00db-4dbc-9b11-9c2e83c4247d","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"d4370319-e727-48a5-a331-4113989c26cc","name":"CHECK_NOT_FOUND — check does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f8cd0267-a873-49d6-937b-36581d711270","name":"Return / bounce a third-party check (Devuelto)","request":{"name":"Return / bounce a third-party check (Devuelto)","description":{"content":"Marks a third-party check as Devuelto; allowed only from Depositado (reverses the bank-account credit) or Entregado (no balance change); rejected if already returned.","type":"text/plain"},"url":{"path":["v1","finance","checks",":id","return"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"returnDate\": \"<dateTime>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"1988daa3-4fc2-4fdd-90b5-c8719f41a151","name":"Check marked as Devuelto; bank credit reversed if was Depositado","originalRequest":{"url":{"path":["v1","finance","checks",":id","return"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"returnDate\": \"2026-06-15T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"dueDate\": \"2026-02-15T00:00:00.000Z\",\n  \"clearedDate\": null,\n  \"amount\": 50000,\n  \"number\": \"00012345\",\n  \"status\": \"PENDING\",\n  \"accountNumber\": \"0123-4-56789012-3\",\n  \"isOwn\": false,\n  \"bankId\": 1,\n  \"customerId\": 12,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e31bdc1-fcc6-4dad-b45e-6ae3f432973b","name":"CHECK_ALREADY_RETURNED — already returned. CHECK_INVALID_STATE_FOR_RETURN — current state is not Depositado or Entregado. CHECK_DEPOSIT_NOT_FOUND — deposited check has no deposit record to reverse.","originalRequest":{"url":{"path":["v1","finance","checks",":id","return"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"returnDate\": \"2026-06-15T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"776d751f-8586-4a58-8fd9-404f37a83dbb","name":"CHECK_NOT_FOUND — check not found.","originalRequest":{"url":{"path":["v1","finance","checks",":id","return"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"returnDate\": \"2026-06-15T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6d4f4c34-8707-4351-ac9a-0931b9e5ae13","name":"Finanzas - Cheques Propios","description":{"content":"Manage your own checks issued to suppliers. Each check is drawn from a checkbook (which tracks sequential numbering) and references the receiving party.","type":"text/plain"},"item":[{"id":"02597e8d-2b57-48f7-b600-112fe0718854","name":"List own checks","request":{"name":"List own checks","description":{"content":"Returns a cursor-paginated list of own checks (cheques propios) with optional filters by bank account, supplier, status, and check-date range.","type":"text/plain"},"url":{"path":["v1","finance","own-checks"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Pagination cursor"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"bank_account_id","value":"<number>","description":"Filter by bank account"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Filter by supplier"},{"disabled":false,"key":"status","value":"<string>","description":"Filter by own-check status"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by check date >= (ISO date)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by check date <= (ISO date)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f3adc281-0411-47cd-ade1-317de415df00","name":"Paginated list of own checks","originalRequest":{"url":{"path":["v1","finance","own-checks"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"bank_account_id","value":"<number>"},{"key":"supplier_id","value":"<number>"},{"key":"status","value":"<string>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fa835bc4-307a-450b-a94d-5badc9e1a6d1","name":"Create own check","request":{"name":"Create own check","description":{"content":"Creates an own check in a draft status (Borrador or Emitido), validating that the check number is unique per bank account within the organization.","type":"text/plain"},"url":{"path":["v1","finance","own-checks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"number\": \"<number>\",\n  \"status\": \"<string>\",\n  \"bankAccountId\": \"<number>\",\n  \"paymentDate\": \"<string>\",\n  \"supplierId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"14983b69-f7f9-4b38-b451-a0c4ca6c70f9","name":"Created","originalRequest":{"url":{"path":["v1","finance","own-checks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"paymentDate\": \"2026-02-15T12:00:00Z\",\n  \"supplierId\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"paymentDate\": \"2026-02-15T00:00:00.000Z\",\n  \"supplierId\": 5,\n  \"userId\": \"auth0|abc\",\n  \"bankAccountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5b3ba8f8-d38d-4a27-b374-38fbfbf10aa7","name":"OWN_CHECK_INVALID_STATUS_TRANSITION — status is not Borrador or Emitido. OWN_CHECK_ALREADY_USED — check number already exists on the bank account.","originalRequest":{"url":{"path":["v1","finance","own-checks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"paymentDate\": \"2026-02-15T12:00:00Z\",\n  \"supplierId\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3621cc24-e492-4952-a9bc-c46e355b5748","name":"Get own check by id","request":{"name":"Get own check by id","description":{"content":"Returns a single own check scoped to the organization, or 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"24618ae2-ea6f-4774-bbdd-9e1e484dfd51","name":"Own check","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"paymentDate\": \"2026-02-15T00:00:00.000Z\",\n  \"supplierId\": 5,\n  \"userId\": \"auth0|abc\",\n  \"bankAccountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f55546d5-4a03-45d7-86a1-62ab3241a8e6","name":"OWN_CHECK_NOT_FOUND — own check does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"565e4c8c-fc62-4113-aea8-f4b48667b394","name":"Update own check","request":{"name":"Update own check","description":{"content":"Patches editable fields of an own check (date, amount, number, status, paymentDate, supplierId, bankAccountId). The responsible user is never changed. A Borrador or Emitido check may move to Borrador, Emitido or Anulado; Entregado and Pagado come from payment orders and /pay, and a check past draft keeps its status. Once the check is Entregado, Pagado or Anulado, amount and bankAccountId are frozen.","type":"text/plain"},"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"number\": \"<number>\",\n  \"status\": \"<string>\",\n  \"bankAccountId\": \"<number>\",\n  \"paymentDate\": \"<string>\",\n  \"supplierId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"73de6bde-1bd6-4ff8-a659-5b92072492b0","name":"Updated","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"paymentDate\": \"2026-02-15T12:00:00Z\",\n  \"supplierId\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"paymentDate\": \"2026-02-15T00:00:00.000Z\",\n  \"supplierId\": 5,\n  \"userId\": \"auth0|abc\",\n  \"bankAccountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5b43380e-a00a-415b-8c01-f952d16bffc2","name":"OWN_CHECK_INVALID_STATUS_TRANSITION — status change not allowed (target not Borrador/Emitido/Anulado, or the check is past draft). OWN_CHECK_IMMUTABLE_FIELD — amount or bankAccountId changed on a check past draft.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"paymentDate\": \"2026-02-15T12:00:00Z\",\n  \"supplierId\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"56976982-3b4e-45a7-8769-7bbe4b04cd65","name":"OWN_CHECK_NOT_FOUND — own check does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"paymentDate\": \"2026-02-15T12:00:00Z\",\n  \"supplierId\": 5\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"73dae4ba-e5b0-48f2-b8fe-0b14f27dd6e2","name":"Delete own check","request":{"name":"Delete own check","description":{"content":"Hard-deletes a draft (Borrador or Emitido) own check scoped to the organization; returns 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2318ba4c-dea6-46d3-b40b-6fdb2a91793f","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"39f04e0d-dbb6-4027-bf27-027924731b1b","name":"OWN_CHECK_DELETE_NOT_ALLOWED — the check is Entregado, Pagado or Anulado; only draft checks can be deleted.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"461045ea-17b2-4b80-8cc9-88ae32bd29c9","name":"OWN_CHECK_NOT_FOUND — own check does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"754e4191-480f-4c7b-afd7-36fc3df53c5a","name":"Confirm payment of an own check (Pagado)","request":{"name":"Confirm payment of an own check (Pagado)","description":{"content":"Marks the own check as Pagado, stamps the payment date, and debits the linked bank account balance; rejects checks already Pagado or Anulado.","type":"text/plain"},"url":{"path":["v1","finance","own-checks",":id","pay"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"paymentDate\": \"<dateTime>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"859e4963-6455-47d8-a1dd-64e1a2a9056a","name":"Own check marked as paid and bank account debited","originalRequest":{"url":{"path":["v1","finance","own-checks",":id","pay"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"paymentDate\": \"2026-03-20T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"amount\": 50000,\n  \"number\": 12345,\n  \"status\": \"PENDING\",\n  \"paymentDate\": \"2026-02-15T00:00:00.000Z\",\n  \"supplierId\": 5,\n  \"userId\": \"auth0|abc\",\n  \"bankAccountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"af3b6067-949c-4d45-9f44-2c483da43d8d","name":"OWN_CHECK_ALREADY_PAID — already paid. OWN_CHECK_CANCELLED — already cancelled.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id","pay"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"paymentDate\": \"2026-03-20T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00f793fb-11c7-4ea6-84a8-9a80cab529ad","name":"OWN_CHECK_NOT_FOUND — own check not found.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id","pay"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"paymentDate\": \"2026-03-20T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"777f8a75-46ec-4e71-bbda-27cb7632de78","name":"Exchange (canje) an own check for a new one","request":{"name":"Exchange (canje) an own check for a new one","description":{"content":"Cancels (Anulado) the old check and creates a replacement in Entregado inheriting amount and supplier; posts a canje journal entry when accounting is enabled.","type":"text/plain"},"url":{"path":["v1","finance","own-checks",":id","exchange"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"newNumber\": \"<number>\",\n  \"newBankAccountId\": \"<number>\",\n  \"newDate\": \"<dateTime>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7049e285-2b79-476f-9c0e-9c867a49c060","name":"Old check cancelled, new check created","originalRequest":{"url":{"path":["v1","finance","own-checks",":id","exchange"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"newNumber\": 2002,\n  \"newBankAccountId\": 5,\n  \"newDate\": \"2026-04-15T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"oldCheck\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"newCheck\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentDate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"46125836-9e57-4254-ba5c-2fbd93b218e8","name":"OWN_CHECK_ALREADY_CANCELLED — old check already cancelled. OWN_CHECK_ALREADY_PAID — old check already paid. OWN_CHECK_ALREADY_USED — new check number already exists.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id","exchange"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"newNumber\": 2002,\n  \"newBankAccountId\": 5,\n  \"newDate\": \"2026-04-15T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1ada2402-9af7-46c1-b2b3-0e71ebff3a0f","name":"OWN_CHECK_NOT_FOUND — old check not found.","originalRequest":{"url":{"path":["v1","finance","own-checks",":id","exchange"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"newNumber\": 2002,\n  \"newBankAccountId\": 5,\n  \"newDate\": \"2026-04-15T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"772596be-613e-48a6-932b-50933d83c309","name":"Finanzas - Cuentas Bancarias","description":{"content":"Manage the bank accounts your organization operates. Each account is tied to a bank and a currency; deposits, transfers, and bank movements reference the account by id. The histories endpoint returns the per-account movement log with running balance.","type":"text/plain"},"item":[{"id":"ff94a068-d471-484c-b70b-6946e209aa9b","name":"List bank accounts (active only)","request":{"name":"List bank accounts (active only)","description":{"content":"Returns the organization's bank accounts with isActive=true (including bank and currency relations), ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","bank-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2085ecd0-555d-4455-82cc-3879c54c001c","name":"List of bank accounts","originalRequest":{"url":{"path":["v1","finance","bank-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"issuesChecks\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"onlinePayment\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"issuesChecks\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"onlinePayment\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c17bd001-a157-43f1-8f12-0d0697064cdc","name":"Create bank account","request":{"name":"Create bank account","description":{"content":"Creates a bank account for the organization with isActive=true.","type":"text/plain"},"url":{"path":["v1","finance","bank-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"number\": \"<string>\",\n  \"name\": \"<string>\",\n  \"bankId\": \"<integer>\",\n  \"currencyId\": \"<number>\",\n  \"accountId\": \"<integer>\",\n  \"isActive\": true,\n  \"balance\": \"<number>\",\n  \"issuesChecks\": \"<boolean>\",\n  \"onlinePayment\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"125f38ee-087b-43e4-98c9-8f631f43ce1c","name":"Created","originalRequest":{"url":{"path":["v1","finance","bank-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"isActive\": true,\n  \"balance\": 100000.5,\n  \"issuesChecks\": \"<boolean>\",\n  \"onlinePayment\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"balance\": 100000.5,\n  \"issuesChecks\": true,\n  \"isActive\": true,\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"onlinePayment\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"019cb67d-1123-46fb-a3df-89c011dadd28","name":"BANK_ACCOUNT_BANK_REQUIRED — no bankId (or < 1); BANK_NOT_FOUND — bankId of another organization; BANK_ACCOUNT_ACCOUNT_REQUIRED — no accountId (or < 1) and no default to apply (Spanish organizations default to their 572 account); JOURNAL_ACCOUNT_NOT_FOUND — accountId of another organization.","originalRequest":{"url":{"path":["v1","finance","bank-accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"isActive\": true,\n  \"balance\": 100000.5,\n  \"issuesChecks\": \"<boolean>\",\n  \"onlinePayment\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4c1ad861-2c67-49a3-a34a-54e9890883fd","name":"Get bank account by id","request":{"name":"Get bank account by id","description":{"content":"Returns a single bank account scoped to the organization, or 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"529bfbf1-30a9-46a5-bece-9c9038ce424f","name":"Bank account","originalRequest":{"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"balance\": 100000.5,\n  \"issuesChecks\": true,\n  \"isActive\": true,\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"onlinePayment\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c284bc73-6ca1-457c-bbb0-7e8c09796039","name":"BANK_ACCOUNT_NOT_FOUND — bank account does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ce336f58-8d0e-4262-bfdc-d10aea628585","name":"Update bank account","request":{"name":"Update bank account","description":{"content":"Patches editable fields of a bank account (number, name, issuesChecks, isActive, bankId, currencyId, accountId, onlinePayment). `balance` is server-owned: it changes only through treasury movements.","type":"text/plain"},"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"number\": \"<string>\",\n  \"name\": \"<string>\",\n  \"bankId\": \"<integer>\",\n  \"currencyId\": \"<number>\",\n  \"accountId\": \"<integer>\",\n  \"isActive\": true,\n  \"issuesChecks\": \"<boolean>\",\n  \"onlinePayment\": \"<boolean>\",\n  \"balance\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c0685e13-e3f6-41d4-981f-20c7f0fc4fc7","name":"Updated","originalRequest":{"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"isActive\": true,\n  \"issuesChecks\": \"<boolean>\",\n  \"onlinePayment\": \"<boolean>\",\n  \"balance\": 100000.5\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"balance\": 100000.5,\n  \"issuesChecks\": true,\n  \"isActive\": true,\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"onlinePayment\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"934af60e-2425-4c73-90fa-8cb5a2e54cfb","name":"BANK_ACCOUNT_BANK_REQUIRED — no bankId (or < 1); BANK_NOT_FOUND — bankId of another organization; BANK_ACCOUNT_ACCOUNT_REQUIRED — no accountId (or < 1) and no default to apply (Spanish organizations default to their 572 account); JOURNAL_ACCOUNT_NOT_FOUND — accountId of another organization; BANK_ACCOUNT_BALANCE_NOT_EDITABLE — balance differs from the current value.","originalRequest":{"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"isActive\": true,\n  \"issuesChecks\": \"<boolean>\",\n  \"onlinePayment\": \"<boolean>\",\n  \"balance\": 100000.5\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"22fcbb13-ada0-4d2c-abe0-73500ab278d3","name":"BANK_ACCOUNT_NOT_FOUND — bank account does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"number\": \"0001-12345-6\",\n  \"name\": \"Cuenta Corriente Pesos\",\n  \"bankId\": 1,\n  \"currencyId\": 1,\n  \"accountId\": 1,\n  \"isActive\": true,\n  \"issuesChecks\": \"<boolean>\",\n  \"onlinePayment\": \"<boolean>\",\n  \"balance\": 100000.5\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c79cbff7-e34a-4555-814b-38b298b2a9ad","name":"Delete bank account (soft)","request":{"name":"Delete bank account (soft)","description":{"content":"Soft-deletes the bank account by setting isActive=false; the record is retained for historical movements.","type":"text/plain"},"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fee789cb-012f-47c5-884f-81237bff8d93","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ee6d07fe-4b48-4a75-8ee6-e38bedc05128","name":"BANK_ACCOUNT_NOT_FOUND — bank account does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","bank-accounts",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"968451e2-e004-45eb-8e78-10cf7b66562c","name":"List bank account histories","request":{"name":"List bank account histories","description":{"content":"Returns bank account balance-history entries for the organization, optionally filtered by bank_account_id, ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","bank-accounts","histories","all"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"bank_account_id","value":"<number>","description":"Filter by bank account"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3f8513f5-21cd-4076-84a7-5530e659c521","name":"List of bank account histories","originalRequest":{"url":{"path":["v1","finance","bank-accounts","histories","all"],"host":["{{baseUrl}}"],"query":[{"key":"bank_account_id","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"concept\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"concept\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"balance\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"d54a0fef-2fd1-43ec-b4ce-2c23a5a700f4","name":"Finanzas - Depósitos","description":{"content":"Manage check deposits to a bank account. A deposit groups one or more third-party checks (en cartera) and produces a fund movement on the destination account so balances stay in sync.","type":"text/plain"},"item":[{"id":"f1effc29-a011-4205-a04b-e579152cffd8","name":"List deposits","request":{"name":"List deposits","description":{"content":"Cursor-paginated deposit listing. Filters mirror v1 GetDepositoFilter: bank account and deposit-date range.","type":"text/plain"},"url":{"path":["v1","finance","deposits"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Pagination cursor"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"account_id","value":"<number>","description":"Filter by bank account id"},{"disabled":false,"key":"date_from","value":"<string>","description":"Deposit date from (inclusive, YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Deposit date to (inclusive, YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b2cab2d8-5351-487a-bc21-6665b4436c57","name":"Paginated list of deposits","originalRequest":{"url":{"path":["v1","finance","deposits"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"account_id","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"78e3ac8a-73e3-47dd-b1b3-3823d9a674eb","name":"Create deposit","request":{"name":"Create deposit","description":{"content":"Creates a deposit. If checkIds is provided, runs the check-deposit flow: every check must be in Cartera, the total is computed from the checks, checks are marked Depositado, and an accounting entry is generated.","type":"text/plain"},"url":{"path":["v1","finance","deposits"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"creditDate\": \"<dateTime>\",\n  \"depositDate\": \"<dateTime>\",\n  \"ticketNumber\": \"<string>\",\n  \"total\": \"<number>\",\n  \"accountId\": \"<number>\",\n  \"concept\": \"<string>\",\n  \"checkIds\": [\n    \"<number>\",\n    \"<number>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c46a9651-83ff-4fc5-9f86-112d5a8fd9fa","name":"Created","originalRequest":{"url":{"path":["v1","finance","deposits"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditDate\": \"2026-01-15T12:00:00Z\",\n  \"depositDate\": \"2026-01-14T12:00:00Z\",\n  \"ticketNumber\": \"TKT-00012345\",\n  \"total\": 25000.5,\n  \"accountId\": 1,\n  \"concept\": \"Depósito mostrador\",\n  \"checkIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"concept\": \"Depósito mostrador\",\n  \"creditDate\": \"2026-01-15T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T10:00:00.000Z\",\n  \"depositDate\": \"2026-01-14T12:00:00.000Z\",\n  \"ticketNumber\": \"TKT-00012345\",\n  \"total\": 25000.5,\n  \"accountId\": 1,\n  \"journalEntryId\": 100,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9ce04895-1722-4605-bfe9-056557bf3eab","name":"DEPOSIT_CHECK_INVALID_STATE — a check is not in Cartera (only checks in the wallet can be deposited). DEPOSIT_CHECK_NOT_FOUND — a check does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","deposits"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"creditDate\": \"2026-01-15T12:00:00Z\",\n  \"depositDate\": \"2026-01-14T12:00:00Z\",\n  \"ticketNumber\": \"TKT-00012345\",\n  \"total\": 25000.5,\n  \"accountId\": 1,\n  \"concept\": \"Depósito mostrador\",\n  \"checkIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2acf65d6-cbe1-4ad4-89a7-4cf3292ae73d","name":"Get deposit by id","request":{"name":"Get deposit by id","description":{"content":"Returns a single deposit with its bank account, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6e59cff4-b2fd-47be-8b4e-c846986d9c58","name":"Deposit","originalRequest":{"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"concept\": \"Depósito mostrador\",\n  \"creditDate\": \"2026-01-15T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T10:00:00.000Z\",\n  \"depositDate\": \"2026-01-14T12:00:00.000Z\",\n  \"ticketNumber\": \"TKT-00012345\",\n  \"total\": 25000.5,\n  \"accountId\": 1,\n  \"journalEntryId\": 100,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d31321a7-713b-48ba-a309-7815e68d8a37","name":"DEPOSIT_NOT_FOUND — deposit does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e3c40f79-484b-4ca0-afd9-5773834e4e89","name":"Update deposit","request":{"name":"Update deposit","description":{"content":"Updates a deposit's fields; scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"creditDate\": \"<dateTime>\",\n  \"depositDate\": \"<dateTime>\",\n  \"ticketNumber\": \"<string>\",\n  \"total\": \"<number>\",\n  \"accountId\": \"<number>\",\n  \"concept\": \"<string>\",\n  \"checkIds\": [\n    \"<number>\",\n    \"<number>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"34391d38-9c42-4030-a660-1ebcdcbdbd11","name":"Updated","originalRequest":{"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"creditDate\": \"2026-01-15T12:00:00Z\",\n  \"depositDate\": \"2026-01-14T12:00:00Z\",\n  \"ticketNumber\": \"TKT-00012345\",\n  \"total\": 25000.5,\n  \"accountId\": 1,\n  \"concept\": \"Depósito mostrador\",\n  \"checkIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"concept\": \"Depósito mostrador\",\n  \"creditDate\": \"2026-01-15T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T10:00:00.000Z\",\n  \"depositDate\": \"2026-01-14T12:00:00.000Z\",\n  \"ticketNumber\": \"TKT-00012345\",\n  \"total\": 25000.5,\n  \"accountId\": 1,\n  \"journalEntryId\": 100,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b9ae987b-7401-4749-8608-37ab80835f62","name":"DEPOSIT_NOT_FOUND — deposit does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"creditDate\": \"2026-01-15T12:00:00Z\",\n  \"depositDate\": \"2026-01-14T12:00:00Z\",\n  \"ticketNumber\": \"TKT-00012345\",\n  \"total\": 25000.5,\n  \"accountId\": 1,\n  \"concept\": \"Depósito mostrador\",\n  \"checkIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bdb4c922-8a43-4180-b300-b783d5120b76","name":"Delete deposit","request":{"name":"Delete deposit","description":{"content":"Deletes a deposit in one transaction: reverts linked checks to Cartera, removes items and the auto journal entry, then reverses the bank credit; blocked if the accounting period is locked, or if any of its checks already left Depositado through this deposit (returned or re-deposited).","type":"text/plain"},"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"77829c2e-79e9-4b3a-945c-6ff981f4ccbd","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"1c0a996c-35ec-49c1-8bc9-b61c12b9c9ba","name":"DEPOSIT_DELETE_NOT_ALLOWED: a check of the deposit was already returned (its credit was reversed) or re-deposited elsewhere. JOURNAL_ENTRY_PERIOD_LOCKED: the journal entry date falls inside a locked accounting period — unlock the period before deleting. FISCAL_YEAR_CLOSED: the journal entry belongs to a closed fiscal year — record the correction in the open year instead.","originalRequest":{"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"924c0544-9fe6-4a70-882a-bd6c1cf5f289","name":"DEPOSIT_NOT_FOUND — deposit does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","deposits",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3ac15714-9e7f-4db1-86c5-ee1cd3e895a5","name":"List deposit items","request":{"name":"List deposit items","description":{"content":"Returns the deposit items (each linking a deposited check) for the given deposit, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","deposits",":id","items"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d107232e-9ea1-4aba-9fbd-df491dc2bc80","name":"List of deposit items","originalRequest":{"url":{"path":["v1","finance","deposits",":id","items"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"checkId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"depositId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"checkId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"depositId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"f66765fc-96cd-4f7c-96e8-519345439fae","name":"DEPOSIT_NOT_FOUND — deposit does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","deposits",":id","items"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"8c3c27d1-ae57-4bb5-8d10-93503d424396","name":"Finanzas - Medios de Pago","description":{"content":"Manage the payment methods (cash, card, transfer, check, MP, etc.) your organization accepts and the per-method entries that capture provider-specific configuration (acquirer fees, settlement days, etc.). Payment methods are referenced from receipts when recording how a sale was collected.","type":"text/plain"},"item":[{"id":"50438600-630f-41d8-8f82-9bb952fa5802","name":"List payment methods (active only)","request":{"name":"List payment methods (active only)","description":{"content":"Returns the current organization's active payment methods (name, currency, payment-method type) ordered by id; inactive/soft-deleted ones are excluded.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"cf33fa84-18e0-4948-9652-28eb2525f311","name":"List of payment methods","originalRequest":{"url":{"path":["v1","finance","payment-methods"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentMethodTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currencyId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentMethodTypeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a3d3f68d-aea0-41ee-9ee6-4c932502db5e","name":"Create payment method","request":{"name":"Create payment method","description":{"content":"Creates a payment method (name, currencyId, paymentMethodTypeId combo item) for the current organization; created active by default.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"currencyId\": \"<number>\",\n  \"paymentMethodTypeId\": \"<number>\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4b609f43-e5b2-4ec7-b6a9-806a0d0c6b00","name":"Created","originalRequest":{"url":{"path":["v1","finance","payment-methods"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Efectivo Pesos\",\n  \"currencyId\": 1,\n  \"paymentMethodTypeId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Efectivo Pesos\",\n  \"isActive\": true,\n  \"currencyId\": 1,\n  \"paymentMethodTypeId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e8ecbe1e-a73c-4a2a-b047-9a7133a377ad","name":"Get payment method by id","request":{"name":"Get payment method by id","description":{"content":"Returns a single payment method of the current organization by id, including its currency and payment-method type. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5524595e-0e7f-4f1b-941a-89a85cebb5d8","name":"Payment method","originalRequest":{"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Efectivo Pesos\",\n  \"isActive\": true,\n  \"currencyId\": 1,\n  \"paymentMethodTypeId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e4527b3-d22e-411b-b933-cdc5c703ddf0","name":"PAYMENT_METHOD_NOT_FOUND — payment method does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1cc586ed-a74a-4fc8-8c56-7e429d9b487e","name":"Update payment method","request":{"name":"Update payment method","description":{"content":"Updates a payment method's name, active flag, currency, or type for the current organization. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"currencyId\": \"<number>\",\n  \"paymentMethodTypeId\": \"<number>\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"38606c44-e179-4f38-bc0d-3ba7ffa4e862","name":"Updated","originalRequest":{"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Efectivo Pesos\",\n  \"currencyId\": 1,\n  \"paymentMethodTypeId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Efectivo Pesos\",\n  \"isActive\": true,\n  \"currencyId\": 1,\n  \"paymentMethodTypeId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d3972d1b-de6b-4d20-b5d4-54a34b3c6ea3","name":"PAYMENT_METHOD_NOT_FOUND — payment method does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Efectivo Pesos\",\n  \"currencyId\": 1,\n  \"paymentMethodTypeId\": 1,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"10c9b171-a903-4c41-90ef-f8aeb93de3d4","name":"Delete payment method (soft)","request":{"name":"Delete payment method (soft)","description":{"content":"Soft-deletes a payment method by setting isActive=false for the current organization; returns 204. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7c53d4d4-dde1-40c0-926e-2677d56191db","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ca3982ee-ca66-4d2c-b92e-58f586b47ed1","name":"PAYMENT_METHOD_NOT_FOUND — payment method does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","payment-methods",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"54c7cc0f-a157-409f-913e-25ad2078c111","name":"List all payment method entries","request":{"name":"List all payment method entries","description":{"content":"Returns all payment-method entries (movements) of the current organization with their payment method, ordered by id. Each entry records an income/expense amount, date, and reference.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods","entries","all"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f6af22e8-7dae-4e73-801b-7cb3d2e1a132","name":"List of payment method entries","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries","all"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"operationNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"referenceNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"entryType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentMethodId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"externalEntityId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"operationNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"referenceNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"entryType\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentMethodId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"externalEntityId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"15e23ded-f7f5-48b7-8839-3b8245884704","name":"Get payment method entry by id","request":{"name":"Get payment method entry by id","description":{"content":"Returns a single payment-method entry of the current organization by id, including its payment method. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ecebfac1-6ee0-47ae-94a7-a1b61f7478da","name":"Payment method entry","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Pago contado\",\n  \"operationNumber\": \"OP-12345\",\n  \"referenceNumber\": 1001,\n  \"amount\": 1500.5,\n  \"date\": \"2026-01-15T10:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T10:00:00.000Z\",\n  \"entryType\": \"income\",\n  \"accountId\": 1,\n  \"paymentMethodId\": 1,\n  \"externalEntityId\": 42\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ecd1f195-d52e-441c-9309-e056cfe0d48f","name":"PAYMENT_METHOD_ENTRY_NOT_FOUND — payment method entry does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"30a01685-2a8f-49d7-947c-06fac516ed1b","name":"Update payment method entry","request":{"name":"Update payment method entry","description":{"content":"Updates a payment-method entry's fields (description, amount, date, entryType, account, payment method, references) for the current organization. Responds 404 if not found in this organization.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"referenceNumber\": \"<number>\",\n  \"amount\": \"<number>\",\n  \"date\": \"<dateTime>\",\n  \"entryType\": \"<string>\",\n  \"accountId\": \"<number>\",\n  \"paymentMethodId\": \"<number>\",\n  \"operationNumber\": \"<string>\",\n  \"externalEntityId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"f7cd4964-0fe8-40b7-8402-433b313eec91","name":"Updated","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Pago contado\",\n  \"referenceNumber\": 1001,\n  \"amount\": 1500.5,\n  \"date\": \"2025-04-28T10:00:00Z\",\n  \"entryType\": \"income\",\n  \"accountId\": 1,\n  \"paymentMethodId\": 1,\n  \"operationNumber\": \"OP-12345\",\n  \"externalEntityId\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Pago contado\",\n  \"operationNumber\": \"OP-12345\",\n  \"referenceNumber\": 1001,\n  \"amount\": 1500.5,\n  \"date\": \"2026-01-15T10:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T10:00:00.000Z\",\n  \"entryType\": \"income\",\n  \"accountId\": 1,\n  \"paymentMethodId\": 1,\n  \"externalEntityId\": 42\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"33bdc9e9-0a4b-47b0-8c1c-8f8ee9331004","name":"PAYMENT_METHOD_ENTRY_LINKED — the entry belongs to a payment order, expense, collection or card cancellation; change that document instead.","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Pago contado\",\n  \"referenceNumber\": 1001,\n  \"amount\": 1500.5,\n  \"date\": \"2025-04-28T10:00:00Z\",\n  \"entryType\": \"income\",\n  \"accountId\": 1,\n  \"paymentMethodId\": 1,\n  \"operationNumber\": \"OP-12345\",\n  \"externalEntityId\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"775c0b32-fd76-4169-accc-80145e1e97fc","name":"PAYMENT_METHOD_ENTRY_NOT_FOUND — payment method entry does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Pago contado\",\n  \"referenceNumber\": 1001,\n  \"amount\": 1500.5,\n  \"date\": \"2025-04-28T10:00:00Z\",\n  \"entryType\": \"income\",\n  \"accountId\": 1,\n  \"paymentMethodId\": 1,\n  \"operationNumber\": \"OP-12345\",\n  \"externalEntityId\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c6429e96-150c-4144-94ae-a256765ad2d2","name":"Delete payment method entry","request":{"name":"Delete payment method entry","description":{"content":"Permanently deletes a payment-method entry of the current organization by id (hard delete); returns 204. Responds 404 if it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6749f8f0-fdb2-417a-ad98-950364710fb4","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"e0cbb65a-2da3-4f2a-8293-e8198dac6513","name":"PAYMENT_METHOD_ENTRY_LINKED — the entry belongs to a payment order, expense, collection or card cancellation; change that document instead.","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8798f2a2-d65c-4cd6-a61c-6f7d35facfcf","name":"PAYMENT_METHOD_ENTRY_NOT_FOUND — payment method entry does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries",":entryId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"entryId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"805c6b5f-10a3-483c-ab76-d64659a6b983","name":"Create payment method entry","request":{"name":"Create payment method entry","description":{"content":"Creates a payment-method entry (movement) for the current organization: description, amount, date, entryType (income/expense), account, and payment method; optionally linked to an external entity.","type":"text/plain"},"url":{"path":["v1","finance","payment-methods","entries"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"description\": \"<string>\",\n  \"referenceNumber\": \"<number>\",\n  \"amount\": \"<number>\",\n  \"date\": \"<dateTime>\",\n  \"entryType\": \"<string>\",\n  \"accountId\": \"<number>\",\n  \"paymentMethodId\": \"<number>\",\n  \"operationNumber\": \"<string>\",\n  \"externalEntityId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0f99f5c9-5dca-4787-ba9b-42641010c0d5","name":"Created","originalRequest":{"url":{"path":["v1","finance","payment-methods","entries"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"description\": \"Pago contado\",\n  \"referenceNumber\": 1001,\n  \"amount\": 1500.5,\n  \"date\": \"2025-04-28T10:00:00Z\",\n  \"entryType\": \"income\",\n  \"accountId\": 1,\n  \"paymentMethodId\": 1,\n  \"operationNumber\": \"OP-12345\",\n  \"externalEntityId\": 42\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"description\": \"Pago contado\",\n  \"operationNumber\": \"OP-12345\",\n  \"referenceNumber\": 1001,\n  \"amount\": 1500.5,\n  \"date\": \"2026-01-15T10:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T10:00:00.000Z\",\n  \"entryType\": \"income\",\n  \"accountId\": 1,\n  \"paymentMethodId\": 1,\n  \"externalEntityId\": 42\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"c121bca8-8455-4b9b-8f78-8acac4e42520","name":"Finanzas - Movimientos de Fondos","description":{"content":"Manage fund movements — the generic ledger of money moving in and out of cash registers and bank accounts. Most movements are created automatically by other modules (receipts, deposits, transfers); this endpoint covers direct adjustments and the read view of the movement log.","type":"text/plain"},"item":[{"id":"364e87eb-be7e-4bed-a566-b3965b1da35f","name":"List fund movements","request":{"name":"List fund movements","description":{"content":"Cursor-paginated fund-movement listing for the organization, each with its bank account and movement type.","type":"text/plain"},"url":{"path":["v1","finance","fund-movements"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Pagination cursor"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e2b84a61-c809-4209-bbad-7927e092d9bf","name":"Paginated list of fund movements","originalRequest":{"url":{"path":["v1","finance","fund-movements"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"19ceb2cc-d9df-46f8-b92a-77c378f69ddc","name":"Create fund movement","request":{"name":"Create fund movement","description":{"content":"Creates a fund movement and applies its balance effect by type: Deposito (cash->bank), Extraccion (bank->cash), Transferencia (bank->bank); posts an accounting entry when accounting is enabled. `amount` is in the organization's currency. A bank account or cash register in a foreign currency moves `foreignAmount` units instead (e.g. buying dollars: a peso bank account goes down by `amount`, a USD cash register up by amount / exchangeRate); the leg is returned as `fx`.","type":"text/plain"},"url":{"path":["v1","finance","fund-movements"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"bankAccountId\": \"<number>\",\n  \"movementTypeId\": \"<number>\",\n  \"creditDate\": \"<string>\",\n  \"concept\": \"<string>\",\n  \"destinationAccountId\": \"<integer>\",\n  \"cashRegisterId\": \"<integer>\",\n  \"exchangeRate\": \"<number>\",\n  \"foreignAmount\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"398442ce-2cca-4026-a5cd-0c1bc80a8366","name":"Created","originalRequest":{"url":{"path":["v1","finance","fund-movements"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 15000.5,\n  \"bankAccountId\": 1,\n  \"movementTypeId\": 12,\n  \"creditDate\": \"2026-01-16T12:00:00Z\",\n  \"concept\": \"Acreditación cliente\",\n  \"destinationAccountId\": 2,\n  \"cashRegisterId\": 3,\n  \"exchangeRate\": 1000,\n  \"foreignAmount\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"creditDate\": \"2026-01-16T12:00:00.000Z\",\n  \"concept\": \"Acreditación cliente\",\n  \"amount\": 15000.5,\n  \"bankAccountId\": 1,\n  \"destinationAccountId\": 2,\n  \"movementTypeId\": 12,\n  \"cashRegisterId\": null,\n  \"journalEntryId\": null,\n  \"userId\": \"auth0|abc\",\n  \"fx\": {\n    \"description\": \"Movements on a bank account or cash register in a foreign currency only (PAN-420). Absent otherwise.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a07563a3-cc0c-4e20-853f-36ffacf61b40","name":"UNKNOWN_FUND_MOVEMENT_TYPE — movementTypeId is not Deposito, Extraccion or Transferencia; EXCHANGE_RATE_REQUIRED — an account is in a foreign currency and no exchangeRate was sent nor cached for the movement's date; PAYMENT_FX_MISMATCH — foreignAmount × exchangeRate does not give amount; FUND_MOVEMENT_CURRENCY_PAIR_NOT_SUPPORTED — the accounts are in two different foreign currencies (e.g. USD and EUR).","originalRequest":{"url":{"path":["v1","finance","fund-movements"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 15000.5,\n  \"bankAccountId\": 1,\n  \"movementTypeId\": 12,\n  \"creditDate\": \"2026-01-16T12:00:00Z\",\n  \"concept\": \"Acreditación cliente\",\n  \"destinationAccountId\": 2,\n  \"cashRegisterId\": 3,\n  \"exchangeRate\": 1000,\n  \"foreignAmount\": 100\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d8307715-90dd-4d8e-9bde-bf4cf9e8c156","name":"Get fund movement by id","request":{"name":"Get fund movement by id","description":{"content":"Returns a single fund movement with its bank account and movement type, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8ed6ad95-cbdb-4517-9572-1f532b1b99be","name":"Fund movement","originalRequest":{"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"creditDate\": \"2026-01-16T12:00:00.000Z\",\n  \"concept\": \"Acreditación cliente\",\n  \"amount\": 15000.5,\n  \"bankAccountId\": 1,\n  \"destinationAccountId\": 2,\n  \"movementTypeId\": 12,\n  \"cashRegisterId\": null,\n  \"journalEntryId\": null,\n  \"userId\": \"auth0|abc\",\n  \"fx\": {\n    \"description\": \"Movements on a bank account or cash register in a foreign currency only (PAN-420). Absent otherwise.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"782a7295-7811-4f4f-a0a9-4336aaaa3265","name":"FUND_MOVEMENT_NOT_FOUND — fund movement does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7bdeb374-fe6d-46c2-847b-dd95dc227a1f","name":"Update fund movement","request":{"name":"Update fund movement","description":{"content":"Updates a fund movement's fields; scoped to the organization (does not re-apply balance changes).","type":"text/plain"},"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"bankAccountId\": \"<number>\",\n  \"movementTypeId\": \"<number>\",\n  \"creditDate\": \"<string>\",\n  \"concept\": \"<string>\",\n  \"destinationAccountId\": \"<integer>\",\n  \"cashRegisterId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2064cadb-3b4d-40d5-b849-69c200b5f41d","name":"Updated","originalRequest":{"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 15000.5,\n  \"bankAccountId\": 1,\n  \"movementTypeId\": 12,\n  \"creditDate\": \"2026-01-16T12:00:00Z\",\n  \"concept\": \"Acreditación cliente\",\n  \"destinationAccountId\": 2,\n  \"cashRegisterId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"creditDate\": \"2026-01-16T12:00:00.000Z\",\n  \"concept\": \"Acreditación cliente\",\n  \"amount\": 15000.5,\n  \"bankAccountId\": 1,\n  \"destinationAccountId\": 2,\n  \"movementTypeId\": 12,\n  \"cashRegisterId\": null,\n  \"journalEntryId\": null,\n  \"userId\": \"auth0|abc\",\n  \"fx\": {\n    \"description\": \"Movements on a bank account or cash register in a foreign currency only (PAN-420). Absent otherwise.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cda9dbdf-16c1-4659-bd13-b5bf008c63a3","name":"FUND_MOVEMENT_NOT_FOUND — fund movement does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 15000.5,\n  \"bankAccountId\": 1,\n  \"movementTypeId\": 12,\n  \"creditDate\": \"2026-01-16T12:00:00Z\",\n  \"concept\": \"Acreditación cliente\",\n  \"destinationAccountId\": 2,\n  \"cashRegisterId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0e9f12b5-4a59-4b43-94fb-b33b43a10f94","name":"Delete fund movement","request":{"name":"Delete fund movement","description":{"content":"Deletes a fund movement and reverses its balance effect (accounts in a foreign currency by the movement's `fx.foreignAmount`); scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"050bfdce-f4bb-42a1-9fba-376317a4f195","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"3b4dabde-4b84-4021-877e-7e4e8e1efd7d","name":"FUND_MOVEMENT_NOT_FOUND — fund movement does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","fund-movements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"043afee2-1fa3-4429-bca6-74c5d5f62689","name":"Finanzas - Pagos con Tarjeta","description":{"content":"Manage card payments (cobros con tarjeta) — captured at sale time, settled by the acquirer days later. The cancellations endpoint returns voided card payments so reports can net them out.","type":"text/plain"},"item":[{"id":"231f6f90-680e-462f-bc28-4df3686c55f4","name":"List card payments","request":{"name":"List card payments","description":{"content":"Returns a cursor-paginated list of credit-card payments for the organization, ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","card-payments"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Pagination cursor"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"bf2a9866-5bec-4f06-bce6-a29a9332e798","name":"Paginated list of card payments","originalRequest":{"url":{"path":["v1","finance","card-payments"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"89dbe35e-c2f7-4578-8779-e260bb0375a4","name":"Create card payment","request":{"name":"Create card payment","description":{"content":"Creates a credit-card payment for the organization after validating that the referenced credit card exists in the same org.","type":"text/plain"},"url":{"path":["v1","finance","card-payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"total\": \"<number>\",\n  \"totalCancelled\": \"<number>\",\n  \"status\": \"<string>\",\n  \"installments\": \"<number>\",\n  \"cancelledInstallments\": \"<number>\",\n  \"creditCardId\": \"<number>\",\n  \"cancelledDate\": \"<string>\",\n  \"number\": \"<string>\",\n  \"detail\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"18dc9661-25ed-401a-bf13-7ddedf9995bb","name":"Created","originalRequest":{"url":{"path":["v1","finance","card-payments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"total\": 18000.5,\n  \"totalCancelled\": 0,\n  \"status\": \"PENDING\",\n  \"installments\": 3,\n  \"cancelledInstallments\": 0,\n  \"creditCardId\": 1,\n  \"cancelledDate\": \"2026-02-15T12:00:00Z\",\n  \"number\": \"AUTH-987654\",\n  \"detail\": \"Visa Crédito 6 cuotas\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"cancelledDate\": null,\n  \"total\": 18000.5,\n  \"number\": \"AUTH-987654\",\n  \"totalCancelled\": 0,\n  \"status\": \"PENDING\",\n  \"installments\": 3,\n  \"cancelledInstallments\": 0,\n  \"detail\": \"Visa Crédito 6 cuotas\",\n  \"creditCardId\": 1,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d720ac69-66c3-4ff6-8663-4542b177f7a9","name":"Get card payment by id","request":{"name":"Get card payment by id","description":{"content":"Returns a single credit-card payment scoped to the organization, or 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"00404325-95ca-45ed-b8a9-c9cdb6d1bfcf","name":"Card payment","originalRequest":{"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"cancelledDate\": null,\n  \"total\": 18000.5,\n  \"number\": \"AUTH-987654\",\n  \"totalCancelled\": 0,\n  \"status\": \"PENDING\",\n  \"installments\": 3,\n  \"cancelledInstallments\": 0,\n  \"detail\": \"Visa Crédito 6 cuotas\",\n  \"creditCardId\": 1,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dd2786ad-365d-47ac-bdfc-b64acf797e29","name":"CARD_PAYMENT_NOT_FOUND — card payment does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0539beb1-b409-4dfd-8b04-ffd332f3e7e3","name":"Update card payment","request":{"name":"Update card payment","description":{"content":"Patches editable fields of a card payment; re-validates the credit card when creditCardId changes.","type":"text/plain"},"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"total\": \"<number>\",\n  \"totalCancelled\": \"<number>\",\n  \"status\": \"<string>\",\n  \"installments\": \"<number>\",\n  \"cancelledInstallments\": \"<number>\",\n  \"creditCardId\": \"<number>\",\n  \"cancelledDate\": \"<string>\",\n  \"number\": \"<string>\",\n  \"detail\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9097793e-d60d-4563-ba59-b2f1ab236fb3","name":"Updated","originalRequest":{"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"total\": 18000.5,\n  \"totalCancelled\": 0,\n  \"status\": \"PENDING\",\n  \"installments\": 3,\n  \"cancelledInstallments\": 0,\n  \"creditCardId\": 1,\n  \"cancelledDate\": \"2026-02-15T12:00:00Z\",\n  \"number\": \"AUTH-987654\",\n  \"detail\": \"Visa Crédito 6 cuotas\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T12:00:00.000Z\",\n  \"cancelledDate\": null,\n  \"total\": 18000.5,\n  \"number\": \"AUTH-987654\",\n  \"totalCancelled\": 0,\n  \"status\": \"PENDING\",\n  \"installments\": 3,\n  \"cancelledInstallments\": 0,\n  \"detail\": \"Visa Crédito 6 cuotas\",\n  \"creditCardId\": 1,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b214090-741d-46ea-b376-a0ae6793e458","name":"CARD_PAYMENT_NOT_FOUND — card payment does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"total\": 18000.5,\n  \"totalCancelled\": 0,\n  \"status\": \"PENDING\",\n  \"installments\": 3,\n  \"cancelledInstallments\": 0,\n  \"creditCardId\": 1,\n  \"cancelledDate\": \"2026-02-15T12:00:00Z\",\n  \"number\": \"AUTH-987654\",\n  \"detail\": \"Visa Crédito 6 cuotas\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5609224b-cde0-4f98-a4de-07438d29d64d","name":"Delete card payment","request":{"name":"Delete card payment","description":{"content":"Hard-deletes the card payment scoped to the organization; returns 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4154a450-5a6c-4e57-af07-65b61d836dde","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"67987a06-1cd7-42de-b1b6-d0ae0cc469bf","name":"CARD_PAYMENT_NOT_FOUND — card payment does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","card-payments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"038d77bd-a9e7-414d-ba70-9c1f59223a1b","name":"List card payment cancellations","request":{"name":"List card payment cancellations","description":{"content":"Returns the cancellations (cuotas canceladas) recorded against a given card payment, ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","card-payments",":id","cancellations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f5b6b6d6-a311-4a96-9f37-17e8d434b7ca","name":"List of cancellations","originalRequest":{"url":{"path":["v1","finance","card-payments",":id","cancellations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"installments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cardPaymentId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentMethodEntryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"journalEntryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"amount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"installments\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"cardPaymentId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentMethodEntryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"journalEntryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"de03e1de-29c6-450a-80c9-72415712454f","name":"CARD_PAYMENT_NOT_FOUND — card payment does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","card-payments",":id","cancellations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"78ba5b71-7e3a-451f-96ab-d6110b6fa20d","name":"Create a cancellation for a card payment","request":{"name":"Create a cancellation for a card payment","description":{"content":"Records a cancellation (cuota) for a card payment: creates the Egreso payment-method entry, updates parent totals, debits the card's bank account, and posts a journal entry when accounting is enabled.","type":"text/plain"},"url":{"path":["v1","finance","card-payments",":id","cancellations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"installments\": \"<number>\",\n  \"paymentMethodId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"b1d99a6b-8fb8-4a6a-a4a5-d45ab76506b3","name":"Cancellation created","originalRequest":{"url":{"path":["v1","finance","card-payments",":id","cancellations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-06-01T00:00:00Z\",\n  \"amount\": 6000,\n  \"installments\": 3,\n  \"paymentMethodId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-02-15T12:00:00.000Z\",\n  \"date\": \"2026-02-15T12:00:00.000Z\",\n  \"amount\": 6000,\n  \"installments\": 1,\n  \"cardPaymentId\": 1,\n  \"paymentMethodEntryId\": 1,\n  \"journalEntryId\": null,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"37b63c13-f683-4af9-9f14-c3160c53f5a4","name":"CARD_PAYMENT_NOT_FOUND — card payment not found.","originalRequest":{"url":{"path":["v1","finance","card-payments",":id","cancellations"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-06-01T00:00:00Z\",\n  \"amount\": 6000,\n  \"installments\": 3,\n  \"paymentMethodId\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"c145b73b-7088-4830-b82c-2ad4511eefd2","name":"Finanzas - Reportes","description":{"content":"","type":"text/plain"},"item":[{"id":"6f1dce21-4fe3-45c9-99e5-5e20fb67fdca","name":"Treasury movements report (Ingresos/Egresos)","request":{"name":"Treasury movements report (Ingresos/Egresos)","description":{"content":"Returns payment-method entries for the given date range with Ingreso/Egreso totals. v1 equivalent: Reportes/Ingresos + Reportes/Egresos.","type":"text/plain"},"url":{"path":["v1","finance","reports","treasury-movements"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date inclusive (YYYY-MM-DD or ISO 8601)"},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date inclusive (YYYY-MM-DD or ISO 8601)"},{"disabled":false,"key":"entry_type","value":"<string>","description":"Filter by type: Ingreso | Egreso"},{"disabled":false,"key":"page","value":"<number>","description":"Page number (default 1)"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 500)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c89ce901-c24f-452f-8db9-6eb20d480af3","name":"Paginated treasury movements with totals","originalRequest":{"url":{"path":["v1","finance","reports","treasury-movements"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"entry_type","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"total\": 145,\n  \"page\": 1,\n  \"pageSize\": 50,\n  \"totalIngresos\": 250000,\n  \"totalEgresos\": 125000\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"58c1b765-6085-462c-b78f-59dfc730f541","name":"Missing or invalid date params / unknown entry_type","originalRequest":{"url":{"path":["v1","finance","reports","treasury-movements"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"entry_type","value":"<string>"},{"key":"page","value":"<number>"},{"key":"page_size","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"645de15c-8f92-440e-9ded-6e34ee7eb9af","name":"Export treasury movements as CSV","request":{"name":"Export treasury movements as CSV","description":{"content":"Streams the treasury movements (Ingresos/Egresos payment-method entries) for the given date range as a CSV file, optionally filtered by entry_type.","type":"text/plain"},"url":{"path":["v1","finance","reports","treasury-movements","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"entry_type","value":"<string>","description":"Ingreso | Egreso"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fc4aaef7-8356-4d3c-8b84-565ddbf89e6e","originalRequest":{"url":{"path":["v1","finance","reports","treasury-movements","export"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"},{"key":"entry_type","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"39b798db-a534-4274-893c-66ee5b20d352","name":"Cashflow report (per-account inflow/outflow/net)","request":{"name":"Cashflow report (per-account inflow/outflow/net)","description":{"content":"Groups treasury movements (payment_method_entries) by account into inflow (Ingreso), outflow (Egreso) and net, with period totals. Not available for high-volume organizations.","type":"text/plain"},"url":{"path":["v1","finance","cashflow"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) Start date inclusive (YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) End date inclusive (YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4225a36d-a87e-4250-a8b1-b1e425c80649","name":"Per-account cashflow with totals","originalRequest":{"url":{"path":["v1","finance","cashflow"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"accounts\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totals\": {\n    \"totalInflow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalOutflow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"netFlow\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"period\": {\n    \"dateFrom\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dateTo\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"783d8026-37bb-4c31-8dda-f7af36992d1e","name":"Missing/invalid range or high-volume org","originalRequest":{"url":{"path":["v1","finance","cashflow"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e9ed340c-ecc7-4b05-839f-5601b306676b","name":"Finanzas - Retenciones","description":{"content":"Manage tax retentions (IVA, ganancias, IIBB, SUSS) you apply to supplier payments and the retention receipts (constancias de retención) you issue. Retention receipts are linked to the underlying purchase payment so reports can roll them up by period.","type":"text/plain"},"item":[{"id":"cec8cd95-06e0-4509-b344-eac982150d43","name":"List retentions (active only)","request":{"name":"List retentions (active only)","description":{"content":"Returns the organization's retention types (tipos de retención) with isActive=true, ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","retentions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"671807bb-2202-406e-a0f7-94429dbfdb3d","name":"List of retentions","originalRequest":{"url":{"path":["v1","finance","retentions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"abbreviation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"jurisdictionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"depositAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"abbreviation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"description\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isActive\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isValue\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"jurisdictionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"depositAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7fa63c34-d62b-4005-a3b4-d53520634e83","name":"Create retention","request":{"name":"Create retention","description":{"content":"Creates a retention type; when contra-accounts are omitted it resolves the shared activo/pasivo rubros by code from the org chart of accounts.","type":"text/plain"},"url":{"path":["v1","finance","retentions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"abbreviation\": \"<string>\",\n  \"description\": \"<string>\",\n  \"isValue\": \"<boolean>\",\n  \"jurisdictionId\": \"<number>\",\n  \"accountId\": \"<number>\",\n  \"depositAccountId\": \"<number>\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d61bdd73-e174-4235-9a56-240c34fb1c46","name":"Created","originalRequest":{"url":{"path":["v1","finance","retentions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"abbreviation\": \"RG-IIBB\",\n  \"description\": \"Retención IIBB CABA\",\n  \"isValue\": false,\n  \"jurisdictionId\": 1,\n  \"accountId\": 100,\n  \"depositAccountId\": 200,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"abbreviation\": \"RG-IIBB\",\n  \"description\": \"Retención IIBB CABA\",\n  \"isActive\": true,\n  \"isValue\": false,\n  \"accountId\": 100,\n  \"jurisdictionId\": 1,\n  \"depositAccountId\": 200\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a55a5a18-3775-4018-b1e1-632631db9320","name":"List retention receipts","request":{"name":"List retention receipts","description":{"content":"Returns all retention receipts (retenciones practicadas) for the organization, ordered by id.","type":"text/plain"},"url":{"path":["v1","finance","retentions","receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b1542ea8-c0de-4ee3-ab09-2b57087cac96","name":"List of retention receipts","originalRequest":{"url":{"path":["v1","finance","retentions","receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentOrderId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"baseAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"rate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paymentOrderId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"baseAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"rate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4f287e6d-7cff-4118-99a9-28b8eb1ce65d","name":"Create a retention receipt (retención practicada al proveedor)","request":{"name":"Create a retention receipt (retención practicada al proveedor)","description":{"content":"Mirrors v1 NuevaRetencion. The withheld amount (`total`) is entered manually — there is no AFIP calc engine. The receipt is created in `Borrador` with `retentionNumber` null; it becomes `Recibido` and gets its `paymentOrderId`/`retentionNumber` stamped when consumed as a RETENCION valor in a payment order.","type":"text/plain"},"url":{"path":["v1","finance","retentions","receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"retentionId\": \"<number>\",\n  \"supplierId\": \"<number>\",\n  \"total\": \"<number>\",\n  \"date\": \"<string>\",\n  \"number\": \"<string>\",\n  \"baseAmount\": \"<number>\",\n  \"rate\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"91ab7a4a-a5b3-49a1-b58d-7b58014f17a2","name":"Created retention receipt","originalRequest":{"url":{"path":["v1","finance","retentions","receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"retentionId\": 1,\n  \"supplierId\": 12,\n  \"total\": 3000,\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"number\": \"00001-00000123\",\n  \"baseAmount\": 100000,\n  \"rate\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"total\": 1500,\n  \"number\": \"00001-00000123\",\n  \"status\": \"EMITIDO\",\n  \"retentionNumber\": \"00001-00000456\",\n  \"userId\": \"auth0|abc\",\n  \"retentionId\": 1,\n  \"customerId\": 1,\n  \"supplierId\": null,\n  \"paymentOrderId\": null,\n  \"baseAmount\": 100000,\n  \"rate\": 3\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b264ce58-98bb-429b-8553-c598da71eb69","name":"Validation failed. Codes: RETENTION_NOT_FOUND, RETENTION_INACTIVE, RETENTION_RECEIPT_SUPPLIER_REQUIRED.","originalRequest":{"url":{"path":["v1","finance","retentions","receipts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"retentionId\": 1,\n  \"supplierId\": 12,\n  \"total\": 3000,\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"number\": \"00001-00000123\",\n  \"baseAmount\": 100000,\n  \"rate\": 3\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e083d831-c1e9-43e5-b6be-fba6ebd03eec","name":"Download retention certificate PDF via signed URL (public)","request":{"name":"Download retention certificate PDF via signed URL (public)","description":{"content":"Streams the retention certificate PDF for a receipt, authorized by a signed token+expires pair; rejected while the receipt is still in Borrador (certificate not yet issued).","type":"text/plain"},"url":{"path":["v1","finance","retentions","receipts",":receiptId","pdf","download"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"token","value":"<string>","description":"(Required) Signed download token"},{"disabled":false,"key":"expires","value":"<string>","description":"(Required) Token expiration (unix seconds)"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptId","description":"(Required) "}]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"de799afc-1ecc-4d4e-a462-cf9357a96586","name":"Retention certificate PDF file","originalRequest":{"url":{"path":["v1","finance","retentions","receipts",":receiptId","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ff19295e-6979-4ca7-ad13-6fa14907ac64","name":"Invalid or expired token","originalRequest":{"url":{"path":["v1","finance","retentions","receipts",":receiptId","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"c6e4617b-567b-4b19-94cf-c9a3c82706f6","name":"Not found","originalRequest":{"url":{"path":["v1","finance","retentions","receipts",":receiptId","pdf","download"],"host":["{{baseUrl}}"],"query":[{"key":"token","value":"<string>"},{"key":"expires","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b74da20c-a1bd-4382-a556-5f4a47e2de57","name":"Retention receipts report","request":{"name":"Retention receipts report","description":{"content":"Rows enriched with retention type + supplier/customer identity (razón social + CUIT). Mirrors v1 GetRetencionFilterReporte. When no date bounds are provided, defaults to the last month.","type":"text/plain"},"url":{"path":["v1","finance","retentions","receipts","report"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"retention_id","value":"<number>","description":"Filter by retention type"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Filter by supplier"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter by customer"},{"disabled":false,"key":"date_from","value":"<string>","description":"Date from (inclusive, YYYY-MM-DD)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Date to (inclusive, YYYY-MM-DD)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"454f5592-a517-4b0f-825d-6d6ff48459da","name":"Report rows","originalRequest":{"url":{"path":["v1","finance","retentions","receipts","report"],"host":["{{baseUrl}}"],"query":[{"key":"retention_id","value":"<number>"},{"key":"supplier_id","value":"<number>"},{"key":"customer_id","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retention\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retentionId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customerId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplierId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"retention\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"supplier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"customer\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"47fe5b60-3e18-4de5-b764-0d04a6058194","name":"Get retention receipt by id","request":{"name":"Get retention receipt by id","description":{"content":"Returns a single retention receipt scoped to the organization, or 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","retentions","receipts",":receiptId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5e5ecff3-9cc2-450c-ac96-625c5aef587d","name":"Retention receipt","originalRequest":{"url":{"path":["v1","finance","retentions","receipts",":receiptId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"total\": 1500,\n  \"number\": \"00001-00000123\",\n  \"status\": \"EMITIDO\",\n  \"retentionNumber\": \"00001-00000456\",\n  \"userId\": \"auth0|abc\",\n  \"retentionId\": 1,\n  \"customerId\": 1,\n  \"supplierId\": null,\n  \"paymentOrderId\": null,\n  \"baseAmount\": 100000,\n  \"rate\": 3\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4cd4f2b0-b8a0-4c42-9f4c-6f74993ce250","name":"RETENTION_RECEIPT_NOT_FOUND — retention receipt does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","retentions","receipts",":receiptId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"receiptId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a49188e5-a8c7-4287-8899-8bd5a99a2507","name":"Get retention by id","request":{"name":"Get retention by id","description":{"content":"Returns a single retention type scoped to the organization, or 404 if it does not exist or belongs to another org.","type":"text/plain"},"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c2466084-d30f-416b-93d3-4211b34d06ac","name":"Retention","originalRequest":{"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"abbreviation\": \"RG-IIBB\",\n  \"description\": \"Retención IIBB CABA\",\n  \"isActive\": true,\n  \"isValue\": false,\n  \"accountId\": 100,\n  \"jurisdictionId\": 1,\n  \"depositAccountId\": 200\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5733e2ca-f7d5-4543-8c71-ee3ac0d5ab65","name":"RETENTION_NOT_FOUND — retention does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7597babf-1853-481a-a83a-d1459109761c","name":"Update retention","request":{"name":"Update retention","description":{"content":"Patches editable fields of a retention type (abbreviation, description, isActive, isValue, accountId, jurisdictionId, depositAccountId).","type":"text/plain"},"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"abbreviation\": \"<string>\",\n  \"description\": \"<string>\",\n  \"isValue\": \"<boolean>\",\n  \"accountId\": \"<number>\",\n  \"jurisdictionId\": \"<number>\",\n  \"depositAccountId\": \"<number>\",\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ff9419e7-f216-4a11-adc2-338fd6ae7c1d","name":"Updated","originalRequest":{"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"abbreviation\": \"RG-IIBB\",\n  \"description\": \"Retención IIBB CABA\",\n  \"isValue\": false,\n  \"accountId\": 100,\n  \"jurisdictionId\": 1,\n  \"depositAccountId\": 200,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"abbreviation\": \"RG-IIBB\",\n  \"description\": \"Retención IIBB CABA\",\n  \"isActive\": true,\n  \"isValue\": false,\n  \"accountId\": 100,\n  \"jurisdictionId\": 1,\n  \"depositAccountId\": 200\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0d4c177a-9b04-481e-aa7e-d89e78761b26","name":"RETENTION_NOT_FOUND — retention does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"abbreviation\": \"RG-IIBB\",\n  \"description\": \"Retención IIBB CABA\",\n  \"isValue\": false,\n  \"accountId\": 100,\n  \"jurisdictionId\": 1,\n  \"depositAccountId\": 200,\n  \"isActive\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ae1c27f5-4dfb-4994-b5fe-a54e9b57c4d5","name":"Delete retention (soft)","request":{"name":"Delete retention (soft)","description":{"content":"Soft-deletes the retention type by setting isActive=false; the record is retained for historical receipts.","type":"text/plain"},"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f540d147-ef43-47f1-94f0-335f544d0664","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"e7f29eaf-74f9-4ee3-8f05-057178235524","name":"RETENTION_NOT_FOUND — retention does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","retentions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"26144870-0047-4423-810e-01aca164b348","name":"Finanzas - Tarjetas de Crédito","description":{"content":"Manage the credit-card master data (issuer, brand, BIN, settlement plan) used by card-payment entries. The catalog drives dropdowns when recording a sale paid by card.","type":"text/plain"},"item":[{"id":"e59b289d-61e6-46ee-b690-0f99b1da49d5","name":"List credit cards","request":{"name":"List credit cards","description":{"content":"Returns all credit cards for the organization, each with its bank account.","type":"text/plain"},"url":{"path":["v1","finance","credit-cards"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9d0ae2a6-d618-41b2-80fc-218cdc18122b","name":"List of credit cards","originalRequest":{"url":{"path":["v1","finance","credit-cards"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"db5c744f-8dc5-419c-b8cc-b915ff9207f3","name":"Create credit card","request":{"name":"Create credit card","description":{"content":"Creates a credit card (number, status, bank account, accounting account) for the organization.","type":"text/plain"},"url":{"path":["v1","finance","credit-cards"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"number\": \"<string>\",\n  \"status\": \"<string>\",\n  \"bankAccountId\": \"<number>\",\n  \"accountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"381336fc-84cb-4202-9cbf-cebbc5ed8e6f","name":"Created","originalRequest":{"url":{"path":["v1","finance","credit-cards"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"number\": \"4111111111111111\",\n  \"status\": \"active\",\n  \"bankAccountId\": 1,\n  \"accountId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"number\": \"Visa Black\",\n  \"status\": \"active\",\n  \"bankAccountId\": 1,\n  \"accountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a3de69bc-1139-46fa-b4f2-ef603f664785","name":"Get credit card by id","request":{"name":"Get credit card by id","description":{"content":"Returns a single credit card with its bank account, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"40ede266-c186-4b37-9ee6-3dd1137c9ead","name":"Credit card","originalRequest":{"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"number\": \"Visa Black\",\n  \"status\": \"active\",\n  \"bankAccountId\": 1,\n  \"accountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"059fe6d1-18b0-4b20-b64c-8e1dfe3c3c6e","name":"CREDIT_CARD_NOT_FOUND — credit card does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"af35bef5-f2af-468b-8405-bc3dd92d321d","name":"Update credit card","request":{"name":"Update credit card","description":{"content":"Updates a credit card's number, status, bank account, or accounting account; scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"number\": \"<string>\",\n  \"status\": \"<string>\",\n  \"bankAccountId\": \"<number>\",\n  \"accountId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9173abff-7fb5-4d45-b7d2-c32bff2cbac1","name":"Updated","originalRequest":{"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"number\": \"4111111111111111\",\n  \"status\": \"active\",\n  \"bankAccountId\": 1,\n  \"accountId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"number\": \"Visa Black\",\n  \"status\": \"active\",\n  \"bankAccountId\": 1,\n  \"accountId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b69af80d-9682-4fb8-b050-465a472fe147","name":"CREDIT_CARD_NOT_FOUND — credit card does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"number\": \"4111111111111111\",\n  \"status\": \"active\",\n  \"bankAccountId\": 1,\n  \"accountId\": 1\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5cd0692e-49d6-4640-a673-291f4b9d7dd1","name":"Delete credit card","request":{"name":"Delete credit card","description":{"content":"Hard-deletes a credit card scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"bb44ac59-c796-4982-8196-34e70015f27e","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"f21d752d-311d-458c-b4d3-256a2e32b996","name":"CREDIT_CARD_NOT_FOUND — credit card does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","credit-cards",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"be9a8d60-54fc-4b7d-9270-4e50fbf5d4d3","name":"Finanzas - Transferencias","description":{"content":"Manage bank transfers — money moving between two of your own accounts/registers. A transfer produces two fund movements (one debit, one credit) so balances stay in sync.","type":"text/plain"},"item":[{"id":"1c344609-9367-4362-bb7b-4ad6cbb3dfb9","name":"List transfers","request":{"name":"List transfers","description":{"content":"Cursor-paginated transfer listing for the organization, with optional filters by bank account, customer, supplier, and transfer-date range.","type":"text/plain"},"url":{"path":["v1","finance","transfers"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Pagination cursor"},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)"},{"disabled":false,"key":"bank_account_id","value":"<number>","description":"Filter by bank account"},{"disabled":false,"key":"customer_id","value":"<number>","description":"Filter by customer"},{"disabled":false,"key":"supplier_id","value":"<number>","description":"Filter by supplier"},{"disabled":false,"key":"date_from","value":"<string>","description":"Filter by transfer date >= (ISO date)"},{"disabled":false,"key":"date_to","value":"<string>","description":"Filter by transfer date <= (ISO date)"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"809853b8-5f9c-4089-9b38-c1eb608aceea","name":"Paginated list of transfers","originalRequest":{"url":{"path":["v1","finance","transfers"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"bank_account_id","value":"<number>"},{"key":"customer_id","value":"<number>"},{"key":"supplier_id","value":"<number>"},{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJpZCI6MTIzfQ==\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"590394b6-3ebb-4be6-af43-be474a48688d","name":"Create transfer","request":{"name":"Create transfer","description":{"content":"Creates a bank-account transfer for the organization, validating the referenced bank account, customer, and supplier.","type":"text/plain"},"url":{"path":["v1","finance","transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"status\": \"<string>\",\n  \"bankAccountId\": \"<number>\",\n  \"customerId\": \"<integer>\",\n  \"supplierId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"1f60680c-9317-422b-9e78-9f500e4a774c","name":"Created","originalRequest":{"url":{"path":["v1","finance","transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 75000,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"customerId\": 12,\n  \"supplierId\": 7\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"amount\": 75000,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"customerId\": 12,\n  \"supplierId\": null,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dc36e493-5753-4c79-b39d-5b3bb8b60185","name":"Get transfer by id","request":{"name":"Get transfer by id","description":{"content":"Returns a single transfer with its bank account, scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1aa05622-1b36-4cea-94ce-080164d3e39e","name":"Transfer","originalRequest":{"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"amount\": 75000,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"customerId\": 12,\n  \"supplierId\": null,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a0f2d2d0-29b6-4674-8d86-fcf7900f27ab","name":"TRANSFER_NOT_FOUND — transfer does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"160b0eb0-9476-4009-9f19-77e0ae1ac3ae","name":"Update transfer","request":{"name":"Update transfer","description":{"content":"Updates a transfer's fields, validating referenced bank account, customer, and supplier; scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<dateTime>\",\n  \"amount\": \"<number>\",\n  \"status\": \"<string>\",\n  \"bankAccountId\": \"<number>\",\n  \"customerId\": \"<integer>\",\n  \"supplierId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"97a057ab-f0b9-4b94-be5d-84f3b99eac79","name":"Updated","originalRequest":{"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 75000,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"customerId\": 12,\n  \"supplierId\": 7\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"date\": \"2026-01-15T00:00:00.000Z\",\n  \"amount\": 75000,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"customerId\": 12,\n  \"supplierId\": null,\n  \"userId\": \"auth0|abc\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"728f638d-e3d6-4201-b96e-a52586ebd178","name":"TRANSFER_NOT_FOUND — transfer does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-01-15T12:00:00Z\",\n  \"amount\": 75000,\n  \"status\": \"PENDING\",\n  \"bankAccountId\": 1,\n  \"customerId\": 12,\n  \"supplierId\": 7\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8f5a9c0e-dca5-40aa-b5b1-0304573fc2d1","name":"Delete transfer","request":{"name":"Delete transfer","description":{"content":"Hard-deletes a transfer scoped to the organization.","type":"text/plain"},"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a660c7cc-1a46-4863-8a10-57a6a99df925","name":"Deleted","originalRequest":{"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"2db48f93-4c30-420e-910d-a8d968102962","name":"TRANSFER_NOT_FOUND — transfer does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","finance","transfers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"520deb71-48b5-4259-9c93-50372d436f66","name":"Personal - Asistencia","description":{"content":"","type":"text/plain"},"item":[{"id":"15e6de5f-0d5a-48be-8da5-aa3ea48daab8","name":"List check-in sites","request":{"name":"List check-in sites","description":{"content":"Every branch of the organization with its check-in settings — location and geofence radius, allowed IPs, photo mode and retention — or the defaults when none were saved (`configured: false`), plus a count of its kiosks by status.","type":"text/plain"},"url":{"path":["v1","attendance","sites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"18de7c74-a2a8-4d15-853e-586c0cacbedb","name":"Sites, by branch name.","originalRequest":{"url":{"path":["v1","attendance","sites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"128833ff-1a2a-486f-b57a-df73714d8ea5","name":"Update a site's check-in settings","request":{"name":"Update a site's check-in settings","description":{"content":"Creates or updates the settings of a branch. Fields left out keep their value. Latitude and longitude go together (both null removes the geofence: check-ins are then flagged `NO_SITE_LOCATION`, informative only). `allowedIps` accepts IPv4/IPv6 addresses or CIDRs; a non-empty list flags check-ins from other IPs (`IP_NOT_ALLOWED`) — it never blocks them. `pinFallbackEnabled` lets the branch's kiosks accept document number + PIN checks for employees without a phone; every such check is flagged for review (`PIN_FALLBACK`) and asks for an evidence photo. `geoCheckinEnabled` lets employees check in from the Peakly app with their phone's location against the geofence, without the kiosk QR (passkey still required; the site needs coordinates); `geoPolicy` decides what happens out of the radius: `reject` refuses the check-in, `observe` records it flagged for review.","type":"text/plain"},"url":{"path":["v1","attendance","sites",":branchId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"branchId","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"latitude\": \"<number>\",\n  \"longitude\": \"<number>\",\n  \"radiusM\": \"<number>\",\n  \"allowedIps\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"photoMode\": \"<string>\",\n  \"photoRetentionDays\": \"<number>\",\n  \"pinFallbackEnabled\": \"<boolean>\",\n  \"geoCheckinEnabled\": \"<boolean>\",\n  \"geoPolicy\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"501ee67a-30f8-44eb-b9a7-243a7a3e31d8","name":"The site after the update.","originalRequest":{"url":{"path":["v1","attendance","sites",":branchId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"branchId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150,\n  \"allowedIps\": [\n    \"190.2.3.0/24\",\n    \"200.1.1.1\"\n  ],\n  \"photoMode\": \"<string>\",\n  \"photoRetentionDays\": 90,\n  \"pinFallbackEnabled\": true,\n  \"geoCheckinEnabled\": true,\n  \"geoPolicy\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"branchId\": 3,\n  \"branchName\": \"Sucursal Centro\",\n  \"configured\": false,\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150,\n  \"allowedIps\": [\n    \"190.2.3.0/24\"\n  ],\n  \"photoMode\": \"evidence\",\n  \"photoRetentionDays\": 90,\n  \"pinFallbackEnabled\": false,\n  \"geoCheckinEnabled\": false,\n  \"geoPolicy\": \"reject\",\n  \"updatedAt\": \"1977-10-31T06:02:37.486Z\",\n  \"kiosks\": {\n    \"active\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pending\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"revoked\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastSeenAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95281349-690f-4f07-bccf-8478140d2a1b","name":"ATTENDANCE_SITE_INVALID_LOCATION — only one coordinate sent, out of range, or app location check-in enabled on a site without coordinates; ATTENDANCE_SITE_INVALID_IP — an entry is not an IP or CIDR (listed in `details`); BAD_REQUEST — radius (20–5000), retention (1–730) or photo mode out of range.","originalRequest":{"url":{"path":["v1","attendance","sites",":branchId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"branchId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150,\n  \"allowedIps\": [\n    \"190.2.3.0/24\",\n    \"200.1.1.1\"\n  ],\n  \"photoMode\": \"<string>\",\n  \"photoRetentionDays\": 90,\n  \"pinFallbackEnabled\": true,\n  \"geoCheckinEnabled\": true,\n  \"geoPolicy\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8266fc93-f3ed-49ef-ac06-70815681cbf8","name":"ATTENDANCE_BRANCH_NOT_FOUND — the branch does not exist, was deleted or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","sites",":branchId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"branchId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150,\n  \"allowedIps\": [\n    \"190.2.3.0/24\",\n    \"200.1.1.1\"\n  ],\n  \"photoMode\": \"<string>\",\n  \"photoRetentionDays\": 90,\n  \"pinFallbackEnabled\": true,\n  \"geoCheckinEnabled\": true,\n  \"geoPolicy\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7cc6264f-fb5e-4577-9608-ce4b6691c467","name":"List kiosks","request":{"name":"List kiosks","description":{"content":"Every kiosk of the organization with its branch, status and last heartbeat. `online` is true for an active kiosk heard from in the last 10 minutes.","type":"text/plain"},"url":{"path":["v1","attendance","kiosks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"721a502c-ae7d-4559-aa3c-ee1492df4e44","name":"Kiosks, by branch.","originalRequest":{"url":{"path":["v1","attendance","kiosks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"841d6e25-9abd-4e45-a258-3a67ab3cc364","name":"Create a kiosk","request":{"name":"Create a kiosk","description":{"content":"Registers a kiosk for a branch and returns its one-time pairing code (8 characters, valid 10 minutes). Open `/kiosco` on the tablet and type the code there. The code is returned only in this response.","type":"text/plain"},"url":{"path":["v1","attendance","kiosks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"branchId\": \"<number>\",\n  \"name\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7d0a8e49-c826-4f3a-96e2-fae5a473784c","name":"The pending kiosk and its pairing code.","originalRequest":{"url":{"path":["v1","attendance","kiosks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"branchId\": 3,\n  \"name\": \"Entrada principal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"kiosk\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastSeenAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"online\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pairingExpiresAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"revokedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pairingCode\": \"K7M2XQ9P\",\n  \"pairingExpiresAt\": \"1974-06-03T13:17:52.354Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7bfbf9fc-8964-4912-b512-a78f466c225a","name":"ATTENDANCE_BRANCH_NOT_FOUND — the branch does not exist, was deleted or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","kiosks"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"branchId\": 3,\n  \"name\": \"Entrada principal\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"078acd35-cb7e-4f6a-834b-93e1e922b978","name":"Issue a new pairing code","request":{"name":"Issue a new pairing code","description":{"content":"New one-time code for a pending or active kiosk — a code that expired, or a replacement tablet. The paired tablet keeps working until the new code is used; pairing then rotates the kiosk's device token and QR secret, so the old tablet stops working.","type":"text/plain"},"url":{"path":["v1","attendance","kiosks",":id","pairing-code"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c227a758-9b71-4275-a3ce-3a77e04b1e56","name":"The kiosk and its new pairing code.","originalRequest":{"url":{"path":["v1","attendance","kiosks",":id","pairing-code"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"kiosk\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastSeenAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"online\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pairingExpiresAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"revokedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"pairingCode\": \"K7M2XQ9P\",\n  \"pairingExpiresAt\": \"1974-06-03T13:17:52.354Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9ef633b9-c27b-418b-b059-4c4545a68857","name":"KIOSK_NOT_FOUND — the kiosk does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","kiosks",":id","pairing-code"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b407aaff-334c-40b1-a0e3-2dfc9e53f454","name":"KIOSK_REVOKED — revoked kiosks cannot be paired again; create a new one.","originalRequest":{"url":{"path":["v1","attendance","kiosks",":id","pairing-code"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9dad0c68-6df6-46c1-841b-253a2fe41386","name":"Revoke a kiosk","request":{"name":"Revoke a kiosk","description":{"content":"Unpairs the kiosk for good (lost or stolen tablet): its device token stops working at once and every QR it can still draw stops verifying. Idempotent.","type":"text/plain"},"url":{"path":["v1","attendance","kiosks",":id","revoke"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"58080e19-678e-4099-8724-153b079bbe98","name":"The revoked kiosk.","originalRequest":{"url":{"path":["v1","attendance","kiosks",":id","revoke"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"branchId\": 3,\n  \"branchName\": \"Sucursal Centro\",\n  \"name\": \"Entrada principal\",\n  \"status\": \"revoked\",\n  \"lastSeenAt\": \"1962-01-24T11:40:20.532Z\",\n  \"online\": true,\n  \"pairingExpiresAt\": \"1995-07-05T03:24:26.409Z\",\n  \"createdAt\": \"1974-08-13T05:18:07.712Z\",\n  \"revokedAt\": \"1998-05-15T04:29:42.161Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"305834e7-f1ae-41a1-bce8-4d5bf695eee1","name":"KIOSK_NOT_FOUND — the kiosk does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","kiosks",":id","revoke"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"de56962c-7dfa-4854-b275-7315d6e5655f","name":"Daily attendance board","request":{"name":"Daily attendance board","description":{"content":"One row per active employee for a Buenos Aires date: their work day (first entry, exit, worked minutes, segments, status) and last event, plus KPIs — present, working now, not checked in, flagged. A work day belongs to the date of its first entry, so a night shift shows on the day it started.","type":"text/plain"},"url":{"path":["v1","attendance","days"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date","value":"<string>","description":"YYYY-MM-DD (Buenos Aires). Default: today."},{"disabled":false,"key":"branch_id","value":"<number>","description":"Only employees of this branch."},{"disabled":false,"key":"status","value":"<string>","description":"Only rows whose work day has this status; `not_checked_in` = no events that day, no approved leave and a shift (or no schedule at all); `no_shift` = no events and no shift that day (day off, holiday, or no slot on that weekday); `on_leave` = an approved leave covers the date (F2.4)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0eec0ec3-7453-409a-a89b-8d8640a37248","name":"Board of the date.","originalRequest":{"url":{"path":["v1","attendance","days"],"host":["{{baseUrl}}"],"query":[{"key":"date","value":"2026-09-26"},{"key":"branch_id","value":"<number>"},{"key":"status","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"date\": \"2026-09-26\",\n  \"kpis\": {\n    \"description\": \"Over every active employee (after branch filter, before status filter).\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2acc501f-8155-4717-ad9a-bdfdd67c5f7b","name":"ATTENDANCE_INVALID_DATE_RANGE — `date` is not YYYY-MM-DD.","originalRequest":{"url":{"path":["v1","attendance","days"],"host":["{{baseUrl}}"],"query":[{"key":"date","value":"2026-09-26"},{"key":"branch_id","value":"<number>"},{"key":"status","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3d2c0f7f-4e68-4497-bbfd-9b5ff7835aa8","name":"Employee attendance timeline","request":{"name":"Employee attendance timeline","description":{"content":"Work days and events of one employee between two Buenos Aires dates (inclusive, at most 62 days), each event with its risk flags, latest review and whether it has a photo.","type":"text/plain"},"url":{"path":["v1","attendance","employees",":id","timeline"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"from","value":"<string>","description":"(Required) YYYY-MM-DD, inclusive."},{"disabled":false,"key":"to","value":"<string>","description":"(Required) YYYY-MM-DD, inclusive. At most 62 days after `from`."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"63492f63-4edd-4e43-ade0-7bfbef43fa93","name":"Timeline of the range.","originalRequest":{"url":{"path":["v1","attendance","employees",":id","timeline"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01"},{"key":"to","value":"2026-09-30"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"employee\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"firstName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documentNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"from\": \"2026-09-01\",\n  \"to\": \"2026-09-30\",\n  \"workDays\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"events\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"leaves\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5083d4ff-c9fc-4b1c-b07f-0c90d981229c","name":"ATTENDANCE_INVALID_DATE_RANGE — `from`/`to` malformed, reversed, or more than 62 days apart.","originalRequest":{"url":{"path":["v1","attendance","employees",":id","timeline"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01"},{"key":"to","value":"2026-09-30"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"641166ee-db8f-4073-92c6-cbcf662f4ab7","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","employees",":id","timeline"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01"},{"key":"to","value":"2026-09-30"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5000ae85-eccf-4441-aeb1-a2e8d78220ea","name":"Get an attendance event","request":{"name":"Get an attendance event","description":{"content":"One check-in with its location, distance to the site, IP, risk flags, every review (newest first) and, when the site takes photos, a signed URL of the evidence photo valid for 5 minutes.","type":"text/plain"},"url":{"path":["v1","attendance","events",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"383df23e-6161-4436-8be0-7a122b627725","name":"The event.","originalRequest":{"url":{"path":["v1","attendance","events",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"event\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"employeeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"kind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"occurredAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"source\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"kioskId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deviceId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"latitude\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"longitude\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"accuracyM\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"distanceM\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"remoteSiteId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"ip\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"riskScore\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"riskFlags\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"flagged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"review\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasPhoto\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"employee\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"firstName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"documentNumber\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"kioskName\": \"string\",\n  \"photoUrl\": \"string\",\n  \"photoPurged\": false,\n  \"reviews\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"11a18dfd-585b-4065-afb1-464438d04eb1","name":"ATTENDANCE_EVENT_NOT_FOUND — the event does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","events",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ec868732-d1c0-4244-ba0c-e5bef279832f","name":"Review an attendance event","request":{"name":"Review an attendance event","description":{"content":"Records a decision on an event: `ok` accepts it (a flagged event stops flagging its day), `invalid` removes it from the worked hours. The latest review wins; events are never edited. Returns the recomputed work day.","type":"text/plain"},"url":{"path":["v1","attendance","events",":id","review"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"decision\": \"<string>\",\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0d150485-8c7d-4b7b-9225-efa7a510c2ba","name":"The review and the recomputed work day.","originalRequest":{"url":{"path":["v1","attendance","events",":id","review"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"decision\": \"<string>\",\n  \"note\": \"Llegó con el celular sin GPS; lo vi en la sucursal.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"review\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"decision\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"note\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedByUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"workDay\": {\n    \"nullable\": true,\n    \"description\": \"The recomputed work day of the event (null if it has none left).\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d412ae5-cb13-49c6-8299-19c3db9f059c","name":"ATTENDANCE_EVENT_NOT_FOUND — the event does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","events",":id","review"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"decision\": \"<string>\",\n  \"note\": \"Llegó con el celular sin GPS; lo vi en la sucursal.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"57c5b07c-1fa7-41fa-aab7-c33431b98c09","name":"List attendance corrections","request":{"name":"List attendance corrections","description":{"content":"Corrections of missing entries/exits requested by employees or loaded by admins, newest first, cursor-paginated. Filter by status (e.g. `pending` for the inbox) and employee.","type":"text/plain"},"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"<string>","description":"Only corrections in this status."},{"disabled":false,"key":"employee_id","value":"<number>","description":"Only corrections of this employee."},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor: the `nextCursor` of the previous page."},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a4cbe4ce-2021-45f9-935f-02cb23a3ff7f","name":"A page of corrections.","originalRequest":{"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"employee_id","value":"<number>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"118\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c1e1468d-f044-4a17-b391-5693583ef877","name":"INVALID_CURSOR — `cursor` is not a value returned as `nextCursor`.","originalRequest":{"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"employee_id","value":"<number>"},{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6039109a-4070-4a26-8352-c804d36cb874","name":"Load a correction directly","request":{"name":"Load a correction directly","description":{"content":"Adds a missing entry or exit for an employee as an already-approved correction signed by the caller: a new event is recorded (events are never edited) and the work day recomputed. The time must be in the past, at most 31 days old, and fall on `date` or — for a night-shift exit — the next day (Buenos Aires).","type":"text/plain"},"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"kind\": \"<string>\",\n  \"at\": \"<string>\",\n  \"reason\": \"<string>\",\n  \"employeeId\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"63c8b4c5-c9d5-4e6f-bdd7-f06bb4b46aec","name":"The approved correction and the recomputed work day.","originalRequest":{"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-09-25\",\n  \"kind\": \"<string>\",\n  \"at\": \"2026-09-25T18:05:00-03:00\",\n  \"reason\": \"Me olvidé de fichar la salida.\",\n  \"employeeId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"correction\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"employeeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"employee\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"kind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"at\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reason\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestedBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestedByUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedByUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedByEmployeeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewerName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewNote\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"resultingEventId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"workDay\": {\n    \"nullable\": true,\n    \"description\": \"The recomputed work day that now holds the new event (null when rejected).\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"38b5bab5-39a7-4da8-80d0-816fb8ec1328","name":"ATTENDANCE_CORRECTION_IN_FUTURE / ATTENDANCE_CORRECTION_TOO_OLD (more than 31 days) / ATTENDANCE_CORRECTION_DATE_MISMATCH (`at` is neither on `date` nor the next day) / ATTENDANCE_INVALID_DATE_RANGE (`date` malformed).","originalRequest":{"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-09-25\",\n  \"kind\": \"<string>\",\n  \"at\": \"2026-09-25T18:05:00-03:00\",\n  \"reason\": \"Me olvidé de fichar la salida.\",\n  \"employeeId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1cd27710-3670-4298-8f26-b0fae61a50c3","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-09-25\",\n  \"kind\": \"<string>\",\n  \"at\": \"2026-09-25T18:05:00-03:00\",\n  \"reason\": \"Me olvidé de fichar la salida.\",\n  \"employeeId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"73c7849e-c0d1-4c9f-a617-cd88a298af63","name":"ATTENDANCE_CORRECTION_DUPLICATE — the employee has a pending correction for that same time: approve it instead.","originalRequest":{"url":{"path":["v1","attendance","corrections"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-09-25\",\n  \"kind\": \"<string>\",\n  \"at\": \"2026-09-25T18:05:00-03:00\",\n  \"reason\": \"Me olvidé de fichar la salida.\",\n  \"employeeId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e874e28e-9585-4d38-8953-927eefb09001","name":"Approve an attendance correction","request":{"name":"Approve an attendance correction","description":{"content":"Approves a pending correction: a new event with the proposed time is recorded (source `correction`) and the work day recomputed, in one transaction. Returns the correction and the work day that now holds the event.","type":"text/plain"},"url":{"path":["v1","attendance","corrections",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"91ed2e37-9839-4eea-a922-515bdaa33966","name":"The approved correction and the recomputed work day.","originalRequest":{"url":{"path":["v1","attendance","corrections",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Confirmado con el encargado del turno.\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"correction\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"employeeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"employee\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"kind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"at\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reason\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestedBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestedByUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedByUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedByEmployeeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewerName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewNote\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"resultingEventId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"workDay\": {\n    \"nullable\": true,\n    \"description\": \"The recomputed work day that now holds the new event (null when rejected).\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bda3a30b-ab3f-48d4-a10f-c97a8ca3cb01","name":"ATTENDANCE_CORRECTION_NOT_FOUND — the correction does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","corrections",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Confirmado con el encargado del turno.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ba1cfbb-9d19-4e2c-8e35-ba90a53b8c1e","name":"ATTENDANCE_CORRECTION_NOT_PENDING — it was already approved, rejected or cancelled.","originalRequest":{"url":{"path":["v1","attendance","corrections",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Confirmado con el encargado del turno.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ad579e53-eb16-49c1-abc7-79dc81eafc8a","name":"Reject an attendance correction","request":{"name":"Reject an attendance correction","description":{"content":"Rejects a pending correction, optionally with a note the employee sees. No event is recorded.","type":"text/plain"},"url":{"path":["v1","attendance","corrections",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7799398e-1d4e-41ae-b8a2-e2a8d72a4d4e","name":"The rejected correction (`workDay` is null).","originalRequest":{"url":{"path":["v1","attendance","corrections",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Confirmado con el encargado del turno.\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"correction\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"employeeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"employee\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"date\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"kind\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"at\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reason\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"status\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestedBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requestedByUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedByUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedByEmployeeId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewerName\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reviewNote\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"resultingEventId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"workDay\": {\n    \"nullable\": true,\n    \"description\": \"The recomputed work day that now holds the new event (null when rejected).\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24697c74-1f38-44f7-bce2-bdaa20fc4187","name":"ATTENDANCE_CORRECTION_NOT_FOUND — the correction does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","corrections",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Confirmado con el encargado del turno.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5ac35c4-58ba-49e7-9766-2d84967da3e5","name":"ATTENDANCE_CORRECTION_NOT_PENDING — it was already approved, rejected or cancelled.","originalRequest":{"url":{"path":["v1","attendance","corrections",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Confirmado con el encargado del turno.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ad6544c3-f0d0-40f4-a77a-7c052e891591","name":"Employee monthly timesheet (PDF)","request":{"name":"Employee monthly timesheet (PDF)","description":{"content":"The planilla horaria of one employee for a month, as required by art. 52 of the Ley de Contrato de Trabajo: employer and employee data, one row per day with entries, exits, worked hours and observations (including approved corrections), the monthly total and signature lines. Times in Buenos Aires.","type":"text/plain"},"url":{"path":["v1","attendance","employees",":id","timesheet.pdf"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"month","value":"<string>","description":"(Required) Month (YYYY-MM), not after the current one."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/pdf"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f16e8fc4-a41b-4ecc-b2ef-1dc533e1ea31","name":"The timesheet PDF.","originalRequest":{"url":{"path":["v1","attendance","employees",":id","timesheet.pdf"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-09"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"3e62a2b1-f237-45fd-9141-065ebc46e767","name":"ATTENDANCE_INVALID_MONTH — `month` is not YYYY-MM or is a future month.","originalRequest":{"url":{"path":["v1","attendance","employees",":id","timesheet.pdf"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-09"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/pdf"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/pdf"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"2b9f7915-ea89-4049-9916-906bd401d9ef","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","employees",":id","timesheet.pdf"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-09"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/pdf"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/pdf"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5ce6ca7c-4b57-4103-ab8f-dbe4debdcfb5","name":"Get attendance settings","request":{"name":"Get attendance settings","description":{"content":"Organization-wide attendance settings: whether employees who checked in today and have no check-out get an email reminder, and at what hour (Buenos Aires), whether national días no laborables count as holidays, whether planned unpaid breaks are deducted (`unpaidBreakMode`), and after how many hours pending approvals are reminded to their approver (`pendingReminderHours`). Defaults when never saved: enabled, 22 h, días no laborables not observed, breaks not deducted (`none`), no reminder (null).","type":"text/plain"},"url":{"path":["v1","attendance","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4d932897-1918-458e-8e7e-9bdf56860b90","name":"Current settings (or the defaults).","originalRequest":{"url":{"path":["v1","attendance","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"missedCheckoutReminderEnabled\": true,\n  \"missedCheckoutReminderHour\": 22,\n  \"observeNonWorkingDays\": false,\n  \"unpaidBreakMode\": \"none\",\n  \"pendingReminderHours\": null\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"082ec26c-8ff2-43ff-b6f1-ae5cff723839","name":"Update attendance settings","request":{"name":"Update attendance settings","description":{"content":"Updates the organization's attendance settings. Fields left out keep their value. The missed check-out reminder hour is a Buenos Aires hour from 17 to 23; the reminder runs hourly in that window and emails each organization at its hour. `observeNonWorkingDays` makes the national `no_laborable` and `puente` days holidays for the organization. `unpaidBreakMode: scheduled` deducts from each closed day the slots' planned unpaid break that was not punched (applies to days recomputed afterwards). `pendingReminderHours` (1–336, null = off): every day at 09:00 each approver gets one email with the leaves, corrections and overtime pending for longer.","type":"text/plain"},"url":{"path":["v1","attendance","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"missedCheckoutReminderEnabled\": \"<boolean>\",\n  \"missedCheckoutReminderHour\": \"<integer>\",\n  \"observeNonWorkingDays\": \"<boolean>\",\n  \"unpaidBreakMode\": \"<string>\",\n  \"pendingReminderHours\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"598a9764-837f-48b2-a1ba-d1e39eef9d20","name":"Settings after the update.","originalRequest":{"url":{"path":["v1","attendance","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"missedCheckoutReminderEnabled\": true,\n  \"missedCheckoutReminderHour\": 21,\n  \"observeNonWorkingDays\": true,\n  \"unpaidBreakMode\": \"scheduled\",\n  \"pendingReminderHours\": 48\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"missedCheckoutReminderEnabled\": true,\n  \"missedCheckoutReminderHour\": 22,\n  \"observeNonWorkingDays\": false,\n  \"unpaidBreakMode\": \"none\",\n  \"pendingReminderHours\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ebf6fa59-bb40-41c4-bc84-ae9e86002c02","name":"ATTENDANCE_SETTINGS_INVALID — a field has the wrong type, the hour is outside 17–23, `unpaidBreakMode` is not none / scheduled or `pendingReminderHours` is not null / 1–336 (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"missedCheckoutReminderEnabled\": true,\n  \"missedCheckoutReminderHour\": 21,\n  \"observeNonWorkingDays\": true,\n  \"unpaidBreakMode\": \"scheduled\",\n  \"pendingReminderHours\": 48\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"087ebc04-b572-4028-bb58-b0c7e9ced65e","name":"List work schedules","request":{"name":"List work schedules","description":{"content":"Weekly schedule templates with their slots (weekday 1 = Monday … 7 = Sunday, HH:MM Buenos Aires; a slot whose end is not after its start crosses midnight), tolerance and how many employees follow each one today or later. Archived ones only with `include_archived=true`.","type":"text/plain"},"url":{"path":["v1","attendance","schedules"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"include_archived","value":"<boolean>","description":"Also return archived schedules (default false)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0deb5678-abe2-4e53-ad4b-d3ea2353a554","name":"Schedules, by name.","originalRequest":{"url":{"path":["v1","attendance","schedules"],"host":["{{baseUrl}}"],"query":[{"key":"include_archived","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1a1432e3-e24a-44bf-885e-f380bf589861","name":"Create a work schedule","request":{"name":"Create a work schedule","description":{"content":"Creates a weekly template. Several slots per day are allowed; they may not overlap (a slot crossing midnight runs into the next day). Tolerance defaults to 15 minutes: that long after a slot's start without an entry raises a no-show alert.","type":"text/plain"},"url":{"path":["v1","attendance","schedules"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"toleranceMinutes\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"5dba8be5-fdca-4ae8-a22a-630d67e39deb","name":"The new schedule.","originalRequest":{"url":{"path":["v1","attendance","schedules"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Lunes a viernes 9 a 18\",\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"toleranceMinutes\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Lunes a viernes 9 a 18\",\n  \"toleranceMinutes\": 15,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"assignedEmployees\": 12,\n  \"archivedAt\": \"1986-06-14T06:32:00.813Z\",\n  \"createdAt\": \"1994-02-02T20:06:07.307Z\",\n  \"updatedAt\": \"2009-04-07T19:42:24.134Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9cf205c3-511f-466e-83c1-aca51d9d1b13","name":"ATTENDANCE_SCHEDULE_INVALID — a slot has a bad weekday or time, or two slots overlap (listed in `details`); BAD_REQUEST — name or tolerance (0–240) out of range.","originalRequest":{"url":{"path":["v1","attendance","schedules"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Lunes a viernes 9 a 18\",\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"toleranceMinutes\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"26760a0c-68c4-4429-8f34-a6a8fbd593bc","name":"Get a work schedule","request":{"name":"Get a work schedule","description":{"content":"One schedule with its slots.","type":"text/plain"},"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7f724567-51af-49c2-8ca3-de220bf4e482","name":"The schedule.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Lunes a viernes 9 a 18\",\n  \"toleranceMinutes\": 15,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"assignedEmployees\": 12,\n  \"archivedAt\": \"1989-07-06T13:18:05.283Z\",\n  \"createdAt\": \"1983-11-28T09:10:33.074Z\",\n  \"updatedAt\": \"1967-09-15T09:32:40.910Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a83bdeac-5de5-4b9a-8f61-bfb54ad8e72e","name":"ATTENDANCE_SCHEDULE_NOT_FOUND — the schedule does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bd095e89-a7b8-4aa3-b32e-76ffba7bdb2b","name":"Update a work schedule","request":{"name":"Update a work schedule","description":{"content":"Fields left out keep their value; `slots`, when sent, replaces every slot. Changes apply from now on to everyone who follows the schedule (alerts already raised stay as they were).","type":"text/plain"},"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"toleranceMinutes\": \"<number>\",\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d8ae551b-3fdf-4862-b9fc-dcf2e568c865","name":"The schedule after the update.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Turno mañana\",\n  \"toleranceMinutes\": 10,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Lunes a viernes 9 a 18\",\n  \"toleranceMinutes\": 15,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"assignedEmployees\": 12,\n  \"archivedAt\": \"1989-07-06T13:18:05.283Z\",\n  \"createdAt\": \"1983-11-28T09:10:33.074Z\",\n  \"updatedAt\": \"1967-09-15T09:32:40.910Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9e5b8599-94a4-4f46-83cd-e8bd5906f9a6","name":"ATTENDANCE_SCHEDULE_INVALID — a slot has a bad weekday or time, or two slots overlap (listed in `details`); BAD_REQUEST — name or tolerance (0–240) out of range.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Turno mañana\",\n  \"toleranceMinutes\": 10,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"16e3bdfa-6b09-4c89-a0bb-ce0d9c7891bc","name":"ATTENDANCE_SCHEDULE_NOT_FOUND — the schedule does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Turno mañana\",\n  \"toleranceMinutes\": 10,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"acdd9b4e-86af-4ea7-b30c-d625fde30fd0","name":"ATTENDANCE_SCHEDULE_ARCHIVED — archived schedules cannot be edited.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Turno mañana\",\n  \"toleranceMinutes\": 10,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"63068673-508d-432b-8b43-a5957c6b9f69","name":"Archive a work schedule","request":{"name":"Archive a work schedule","description":{"content":"Archives the schedule (never deleted: past assignments keep pointing to it). Refused while someone follows it today or from a later date. Archiving an archived schedule returns it unchanged.","type":"text/plain"},"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3b661a38-5906-4fdb-a5be-8031bd7ea358","name":"The archived schedule.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"name\": \"Lunes a viernes 9 a 18\",\n  \"toleranceMinutes\": 15,\n  \"slots\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"assignedEmployees\": 12,\n  \"archivedAt\": \"1989-07-06T13:18:05.283Z\",\n  \"createdAt\": \"1983-11-28T09:10:33.074Z\",\n  \"updatedAt\": \"1967-09-15T09:32:40.910Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"056a97ee-b367-454f-8173-4a65f9aa89eb","name":"ATTENDANCE_SCHEDULE_NOT_FOUND — the schedule does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e08829a8-c1bc-4863-ae46-dd6501a2e4a8","name":"ATTENDANCE_SCHEDULE_IN_USE — reassign its employees first.","originalRequest":{"url":{"path":["v1","attendance","schedules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7742ff45-e059-459e-902c-e87ef9b3c3f3","name":"Get an employee's schedule","request":{"name":"Get an employee's schedule","description":{"content":"The assignment in force today (Buenos Aires) with its schedule, and every assignment newest first, future ones included.","type":"text/plain"},"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4442dcf7-ed15-4850-8549-9006ceadaa30","name":"Current assignment and history.","originalRequest":{"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"employeeId\": 12,\n  \"current\": {\n    \"nullable\": true,\n    \"description\": \"Assignment in force today (Buenos Aires), with its schedule.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"history\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a0f601d-3d4a-4a6b-948f-e8b61077d1de","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8c0afca0-4152-4cde-ba85-44d92bf76ad3","name":"Assign a schedule to an employee","request":{"name":"Assign a schedule to an employee","description":{"content":"The employee follows `scheduleId` from `validFrom`; the previous assignment closes the day before. History is never overwritten: `validFrom` must be after the start of the latest assignment. `scheduleId: null` only ends the current assignment. Re-sending the assignment already open is a no-op.","type":"text/plain"},"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"scheduleId\": \"<number>\",\n  \"validFrom\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"29890ddb-927f-4ef1-b888-1cacc4d931db","name":"Current assignment and history after the change.","originalRequest":{"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"scheduleId\": 4,\n  \"validFrom\": \"2026-10-05\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"employeeId\": 12,\n  \"current\": {\n    \"nullable\": true,\n    \"description\": \"Assignment in force today (Buenos Aires), with its schedule.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"history\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4bc980fe-3666-4f08-b1c1-6763889d7e1c","name":"ATTENDANCE_SCHEDULE_INVALID — `validFrom` is not a real date.","originalRequest":{"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"scheduleId\": 4,\n  \"validFrom\": \"2026-10-05\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2ded512b-995b-4244-8e05-ab8485b5a271","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization. ATTENDANCE_SCHEDULE_NOT_FOUND — the schedule does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"scheduleId\": 4,\n  \"validFrom\": \"2026-10-05\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5ff078f-cca6-47e4-b3bf-b1d28d0f345e","name":"ATTENDANCE_SCHEDULE_ASSIGNMENT_CONFLICT — `validFrom` is not after the latest assignment's start; ATTENDANCE_SCHEDULE_ARCHIVED — the schedule is archived.","originalRequest":{"url":{"path":["v1","employees",":id","schedule"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"scheduleId\": 4,\n  \"validFrom\": \"2026-10-05\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"044d5be3-cf24-4112-a96d-28e1b1c79eb6","name":"List attendance alerts","request":{"name":"List attendance alerts","description":{"content":"No-show alerts: an employee had a slot in their schedule, its tolerance passed and there was no entry since 2 h before its start. Raised every 5 minutes, around the clock, and emailed to the employee's supervisor, or to the organization's admins. An alert resolves when the employee checks in. Default: today's open alerts.","type":"text/plain"},"url":{"path":["v1","attendance","alerts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"from","value":"<string>","description":"First slot date (YYYY-MM-DD, Buenos Aires). Default: today."},{"disabled":false,"key":"to","value":"<string>","description":"Last slot date, inclusive (at most 62 days after `from`). Default: `from`."},{"disabled":false,"key":"status","value":"open","description":"`open`: nobody checked in yet; `resolved`: the employee checked in later."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7edf7147-2d65-4f74-857e-7a6cea931a75","name":"Alerts of the range.","originalRequest":{"url":{"path":["v1","attendance","alerts"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-01"},{"key":"status","value":"open"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"from\": \"2026-10-01\",\n  \"to\": \"2026-10-01\",\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"09f8b8fa-e4af-4a78-8a17-5a18042e0227","name":"ATTENDANCE_INVALID_DATE_RANGE — `from`/`to` malformed, reversed, or more than 62 days apart.","originalRequest":{"url":{"path":["v1","attendance","alerts"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-01"},{"key":"status","value":"open"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c85ac414-2e06-41eb-8b4b-7ae1aedb663a","name":"List per-site pay band rates","request":{"name":"List per-site pay band rates","description":{"content":"Sites' own hourly rates for live pay bands. A minute worked at a site with its own rate for the minute's band is valued at that rate in the hours report; the band that covers the minute does not change. Filter one site with `site_id`.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands","site-rates"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"site_id","value":"<number>","description":"Only the rates of this site (branch)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"332ff4d1-7189-4c14-8fc8-e3655ccf09d4","name":"Rates.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","site-rates"],"host":["{{baseUrl}}"],"query":[{"key":"site_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f9062d30-e354-4c38-adb9-3edaa21f1202","name":"ATTENDANCE_BRANCH_NOT_FOUND — the site is not a branch of the organization.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","site-rates"],"host":["{{baseUrl}}"],"query":[{"key":"site_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"750ff58f-3df9-416e-a059-f8cd5365e25d","name":"Set a site's rate for a pay band","request":{"name":"Set a site's rate for a pay band","description":{"content":"Creates or replaces the site's own hourly rate for the band. The hours report uses it from the next query, for every month.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands","site-rates",":siteId",":payBandId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"siteId","description":"(Required) The site (branch)."},{"disabled":false,"type":"any","value":"<number>","key":"payBandId","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"hourlyRate\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"04fc6f60-1637-4c00-9000-f1f9724aaaec","name":"The site's rate.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","site-rates",":siteId",":payBandId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"siteId","description":"(Required) The site (branch)."},{"disabled":false,"type":"any","value":"<number>","key":"payBandId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"hourlyRate\": 6000\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"siteId\": 3,\n  \"payBandId\": 7,\n  \"hourlyRate\": 6000,\n  \"updatedAt\": \"1996-06-03T05:24:11.281Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a48bfb12-b022-4a85-a954-4f617f50e12b","name":"BAD_REQUEST — rate below 0 or with more than 2 decimals.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","site-rates",":siteId",":payBandId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"siteId","description":"(Required) The site (branch)."},{"disabled":false,"type":"any","value":"<number>","key":"payBandId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"hourlyRate\": 6000\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6d782a17-0cd4-4847-93a7-bf07475c8d7a","name":"ATTENDANCE_BRANCH_NOT_FOUND — the site is not a branch of the organization. ATTENDANCE_PAY_BAND_NOT_FOUND — the band does not exist or belongs to another organization. An archived band also answers 404.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","site-rates",":siteId",":payBandId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"siteId","description":"(Required) The site (branch)."},{"disabled":false,"type":"any","value":"<number>","key":"payBandId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"hourlyRate\": 6000\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5225e2b2-aa40-4f10-b3e8-fc1259b67a2f","name":"Remove a site's rate for a pay band","request":{"name":"Remove a site's rate for a pay band","description":{"content":"The band's base rate applies again at that site. Removing a rate that does not exist is a no-op.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands","site-rates",":siteId",":payBandId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"siteId","description":"(Required) The site (branch)."},{"disabled":false,"type":"any","value":"<number>","key":"payBandId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a40ca76d-8737-4e78-acad-2825a8386eef","name":"Removed.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","site-rates",":siteId",":payBandId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"siteId","description":"(Required) The site (branch)."},{"disabled":false,"type":"any","value":"<number>","key":"payBandId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"37de5673-f2cc-4a80-8e5a-45816a17f58f","name":"ATTENDANCE_BRANCH_NOT_FOUND — the site is not a branch of the organization.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","site-rates",":siteId",":payBandId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"siteId","description":"(Required) The site (branch)."},{"disabled":false,"type":"any","value":"<number>","key":"payBandId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e20beedb-12d6-4324-ab6a-f0bd5a3f7f82","name":"List pay bands","request":{"name":"List pay bands","description":{"content":"Hour bands with their reference hourly rate, highest priority first. A worked minute belongs to the live band of highest priority whose weekdays include the minute's Buenos Aires weekday and whose window includes its time (a window whose end is not after its start wraps midnight); otherwise to \"Sin franja\". Archived ones only with `include_archived=true`.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"include_archived","value":"<boolean>","description":"Also return archived bands (default false)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6766855f-784e-4491-be31-1addf7ee65af","name":"Bands.","originalRequest":{"url":{"path":["v1","attendance","pay-bands"],"host":["{{baseUrl}}"],"query":[{"key":"include_archived","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9d179e29-cec4-4992-bb6e-1fc3da306555","name":"Create a pay band","request":{"name":"Create a pay band","description":{"content":"Every live band of the organization shares one currency.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"weekdays\": [\n    \"<number>\",\n    \"<number>\"\n  ],\n  \"startTime\": \"<string>\",\n  \"endTime\": \"<string>\",\n  \"hourlyRate\": \"<number>\",\n  \"priority\": \"<number>\",\n  \"currencyId\": \"<number>\",\n  \"holidayOnly\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c6646fd4-867c-450d-956e-acf580ec540d","name":"The new band.","originalRequest":{"url":{"path":["v1","attendance","pay-bands"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"priority\": 20,\n  \"currencyId\": 1,\n  \"holidayOnly\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"currencyId\": 1,\n  \"priority\": 20,\n  \"holidayOnly\": false,\n  \"archivedAt\": \"1969-09-06T19:35:16.196Z\",\n  \"createdAt\": \"2012-02-23T22:07:54.280Z\",\n  \"updatedAt\": \"1991-10-25T01:22:01.892Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2d674095-8741-46f3-bc02-b9cc2c6ff64c","name":"ATTENDANCE_PAY_BAND_INVALID — bad time or currency (listed in `details`); BAD_REQUEST — name, weekdays (1–7), rate (≥ 0, 2 decimals) or priority (0–1000) out of range.","originalRequest":{"url":{"path":["v1","attendance","pay-bands"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"priority\": 20,\n  \"currencyId\": 1,\n  \"holidayOnly\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fca02443-8037-46af-b525-2dc3767a6e48","name":"Load the suggested pay bands","request":{"name":"Load the suggested pay bands","description":{"content":"Creates Feriado (every day, 00:00–24:00, priority 40, holiday-only: it counts only on the employee's holidays), Fin de semana (Sat–Sun, 00:00–24:00, priority 30), Nocturna (Mon–Fri, 20:00–08:00, priority 20) and Diurna (Mon–Fri, 08:00–20:00, priority 10), with rate 0 until the admin sets it. Only when the organization has no live band.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands","template"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"47829c38-028e-401d-968d-51c6265f7181","name":"The organization's bands after loading.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","template"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"52251946-241d-4e1e-a415-3687f780a93b","name":"ATTENDANCE_PAY_BANDS_NOT_EMPTY — there are bands already.","originalRequest":{"url":{"path":["v1","attendance","pay-bands","template"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"63cffdda-9b06-4041-996f-844ac72a3ed7","name":"Update a pay band","request":{"name":"Update a pay band","description":{"content":"Fields left out keep their value. The hours report always uses the current bands.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"weekdays\": [\n    \"<number>\",\n    \"<number>\"\n  ],\n  \"startTime\": \"<string>\",\n  \"endTime\": \"<string>\",\n  \"hourlyRate\": \"<number>\",\n  \"priority\": \"<number>\",\n  \"currencyId\": \"<number>\",\n  \"holidayOnly\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d61668db-9acb-414b-afb3-4fa01898f7b8","name":"The band after the update.","originalRequest":{"url":{"path":["v1","attendance","pay-bands",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"priority\": 20,\n  \"currencyId\": 1,\n  \"holidayOnly\": true\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"currencyId\": 1,\n  \"priority\": 20,\n  \"holidayOnly\": false,\n  \"archivedAt\": \"1999-03-05T08:44:58.981Z\",\n  \"createdAt\": \"2014-04-30T21:00:46.078Z\",\n  \"updatedAt\": \"1992-12-22T15:18:33.155Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"01853498-c4c3-49e4-8b0f-6c8d6f49d47a","name":"ATTENDANCE_PAY_BAND_INVALID — bad time or currency (listed in `details`); BAD_REQUEST — name, weekdays (1–7), rate (≥ 0, 2 decimals) or priority (0–1000) out of range.","originalRequest":{"url":{"path":["v1","attendance","pay-bands",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"priority\": 20,\n  \"currencyId\": 1,\n  \"holidayOnly\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6280b43d-fb80-4bfb-91fa-054a2f28a453","name":"ATTENDANCE_PAY_BAND_NOT_FOUND — the band does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","pay-bands",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"priority\": 20,\n  \"currencyId\": 1,\n  \"holidayOnly\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2706167e-9a4e-4d65-b263-031d3f8ed1da","name":"Archive a pay band","request":{"name":"Archive a pay band","description":{"content":"The band stops counting; its minutes go to the next band or to \"Sin franja\". Archiving twice is a no-op.","type":"text/plain"},"url":{"path":["v1","attendance","pay-bands",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e8990c15-365b-4335-9734-601626f9b479","name":"The archived band.","originalRequest":{"url":{"path":["v1","attendance","pay-bands",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"name\": \"Nocturna\",\n  \"weekdays\": [\n    1,\n    2,\n    3,\n    4,\n    5\n  ],\n  \"startTime\": \"20:00\",\n  \"endTime\": \"08:00\",\n  \"hourlyRate\": 2500.5,\n  \"currencyId\": 1,\n  \"priority\": 20,\n  \"holidayOnly\": false,\n  \"archivedAt\": \"1999-03-05T08:44:58.981Z\",\n  \"createdAt\": \"2014-04-30T21:00:46.078Z\",\n  \"updatedAt\": \"1992-12-22T15:18:33.155Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7174a55e-dbe5-4def-9852-49f81f8b5a2d","name":"ATTENDANCE_PAY_BAND_NOT_FOUND — the band does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","pay-bands",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"de62f9d0-ed58-4d46-a0d6-86540c229b29","name":"Hours by pay band","request":{"name":"Hours by pay band","description":{"content":"For a month (Buenos Aires): per employee, the minutes worked in each live band and their reference amount (minutes / 60 × hourly rate). The rate is the site's own rate for the band when the minutes were worked at a site that has one (the site of a segment is the branch of its entry event, else of its exit, else the employee's branch; `siteRate` marks those cells), else the band's base rate. Built from the work days' closed segments, minute by minute in Buenos Aires time, so a shift crossing midnight splits by each minute's weekday. Open days count nothing; incomplete days count their closed segments. A reference value, not a payslip.","type":"text/plain"},"url":{"path":["v1","attendance","band-hours"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"month","value":"<string>","description":"YYYY-MM (Buenos Aires). Default: the current month."},{"disabled":false,"key":"siteId","value":"<number>","description":"Only employees of this site (branch)."},{"disabled":false,"key":"employeeId","value":"<number>","description":"Only this employee."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a349519d-a472-43a4-9b58-8effb80c19be","name":"Report of the month.","originalRequest":{"url":{"path":["v1","attendance","band-hours"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"siteId","value":"3"},{"key":"employeeId","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"month\": \"2026-10\",\n  \"currency\": \"ARS\",\n  \"bands\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totals\": {\n    \"bands\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"totalAmount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"overtime50Minutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"overtime100Minutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nightMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"overtimeBankMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b1a7d38-9112-4efc-9095-9adde27241bf","name":"ATTENDANCE_INVALID_MONTH — `month` is not YYYY-MM or is after the current month.","originalRequest":{"url":{"path":["v1","attendance","band-hours"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"siteId","value":"3"},{"key":"employeeId","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"36812e5a-5c5a-4d38-8f86-90bb5a93fca7","name":"ATTENDANCE_BRANCH_NOT_FOUND — `siteId` is not a branch of the organization; EMPLOYEE_NOT_FOUND — `employeeId` is not one of its employees.","originalRequest":{"url":{"path":["v1","attendance","band-hours"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"siteId","value":"3"},{"key":"employeeId","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"90ce5978-a1b3-4791-a713-4d0183000c1a","name":"Export hours by pay band","request":{"name":"Export hours by pay band","description":{"content":"The same report as a file. XLSX: sheet \"Resumen\" (per employee and band: hours in decimal and h:mm, amount; totals) and sheet \"Detalle\" (employee, date, site, band, minutes, hourly rate, whether it is the site's own rate, amount). CSV (UTF-8 with BOM): the summary only.","type":"text/plain"},"url":{"path":["v1","attendance","band-hours","export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"month","value":"<string>","description":"YYYY-MM (Buenos Aires). Default: the current month."},{"disabled":false,"key":"siteId","value":"<number>","description":"Only employees of this site (branch)."},{"disabled":false,"key":"employeeId","value":"<number>","description":"Only this employee."},{"disabled":false,"key":"format","value":"xlsx"}],"variable":[]},"header":[{"key":"Accept","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6d80f257-465b-4061-8397-f38a5d41b78a","name":"The file, as an attachment.","originalRequest":{"url":{"path":["v1","attendance","band-hours","export"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"siteId","value":"3"},{"key":"employeeId","value":"12"},{"key":"format","value":"xlsx"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"854a53f7-d411-4e0d-a950-d0dfefb733be","name":"ATTENDANCE_INVALID_MONTH — `month` is not YYYY-MM or is after the current month.","originalRequest":{"url":{"path":["v1","attendance","band-hours","export"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"siteId","value":"3"},{"key":"employeeId","value":"12"},{"key":"format","value":"xlsx"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"3182c365-88f0-43cb-a593-ac0624d0bc94","name":"ATTENDANCE_BRANCH_NOT_FOUND — `siteId` is not a branch of the organization; EMPLOYEE_NOT_FOUND — `employeeId` is not one of its employees.","originalRequest":{"url":{"path":["v1","attendance","band-hours","export"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"siteId","value":"3"},{"key":"employeeId","value":"12"},{"key":"format","value":"xlsx"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"76dcb068-1ffc-4e85-bb91-901d48c79c1c","name":"List holidays","request":{"name":"List holidays","description":{"content":"National holidays of the year (official calendar, including provincial ones with the organization's sites in that province) merged with the organization's own holidays. A holiday is not an expected work day: no-show alerts skip it and pay bands marked `holidayOnly` apply on it. `no_laborable` and `puente` days count only when the organization turned on `observeNonWorkingDays` in the attendance settings.","type":"text/plain"},"url":{"path":["v1","attendance","holidays"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"year","value":"<number>","description":"Calendar year. Default: the current year (Buenos Aires)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"427ed73e-c3e8-4c6c-bc04-b58fd02270d9","name":"Holidays of the year, by date.","originalRequest":{"url":{"path":["v1","attendance","holidays"],"host":["{{baseUrl}}"],"query":[{"key":"year","value":"2026"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"year\": 2026,\n  \"observeNonWorkingDays\": false,\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59d1b661-0245-47ec-9367-39f3b22a1542","name":"BAD_REQUEST — `year` is not an integer from 2000 to 2100.","originalRequest":{"url":{"path":["v1","attendance","holidays"],"host":["{{baseUrl}}"],"query":[{"key":"year","value":"2026"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"147978b6-b6d3-4267-82fc-859a51e253d9","name":"Add an organization holiday","request":{"name":"Add an organization holiday","description":{"content":"Adds a day off of the organization (a provincial holiday, the union's day…), for every site or only the listed ones. One per date.","type":"text/plain"},"url":{"path":["v1","attendance","organization-holidays"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"date\": \"<string>\",\n  \"name\": \"<string>\",\n  \"appliesToBranchIds\": [\n    \"<number>\",\n    \"<number>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"95ac6983-b869-4d5f-ba15-80cce67904e4","name":"The new holiday.","originalRequest":{"url":{"path":["v1","attendance","organization-holidays"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-09-26\",\n  \"name\": \"Día del Empleado de Comercio\",\n  \"appliesToBranchIds\": [\n    3\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"date\": \"2026-11-10\",\n  \"name\": \"Visita de Su Santidad el Papa León XIV\",\n  \"source\": \"national\",\n  \"kind\": \"inamovible\",\n  \"scope\": \"province\",\n  \"provinceCode\": 0,\n  \"provinceName\": \"Ciudad Autónoma de Buenos Aires\",\n  \"appliesToBranchIds\": [\n    3\n  ],\n  \"observed\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a74df2f6-6e20-4191-92b9-5347edc2dd1d","name":"ATTENDANCE_HOLIDAY_INVALID — bad date or name, empty site list, or a site of another organization (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","organization-holidays"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-09-26\",\n  \"name\": \"Día del Empleado de Comercio\",\n  \"appliesToBranchIds\": [\n    3\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a27c1a8f-3adc-4f61-90b7-9f7b0f34e37a","name":"ATTENDANCE_HOLIDAY_DUPLICATE — there is already one on that date.","originalRequest":{"url":{"path":["v1","attendance","organization-holidays"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"date\": \"2026-09-26\",\n  \"name\": \"Día del Empleado de Comercio\",\n  \"appliesToBranchIds\": [\n    3\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"66e49481-6f47-4962-a836-c692cee6187e","name":"Delete an organization holiday","request":{"name":"Delete an organization holiday","description":{"content":"Deletes one of the organization's own holidays. National holidays cannot be deleted.","type":"text/plain"},"url":{"path":["v1","attendance","organization-holidays",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0f3d29bb-d136-446c-86b0-58989b960042","name":"The deleted holiday.","originalRequest":{"url":{"path":["v1","attendance","organization-holidays",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"date\": \"2026-11-10\",\n  \"name\": \"Visita de Su Santidad el Papa León XIV\",\n  \"source\": \"organization\",\n  \"kind\": \"trasladable\",\n  \"scope\": \"national\",\n  \"provinceCode\": 0,\n  \"provinceName\": \"Ciudad Autónoma de Buenos Aires\",\n  \"appliesToBranchIds\": [\n    3\n  ],\n  \"observed\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28451d53-9eda-488e-9999-c2d20789570f","name":"ATTENDANCE_HOLIDAY_NOT_FOUND — it does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","organization-holidays",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0e09bc53-db5e-42c2-ae5c-ce195a3c38cd","name":"List schedule overrides","request":{"name":"List schedule overrides","description":{"content":"Day-off and one-off shift changes between two dates (default: today and the next 30 days; at most 62 days), optionally for one employee.","type":"text/plain"},"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"from","value":"<string>","description":"First date (YYYY-MM-DD). Default: today (Buenos Aires)."},{"disabled":false,"key":"to","value":"<string>","description":"Last date, inclusive, at most 62 days after `from`. Default: `from` + 30 days."},{"disabled":false,"key":"employee_id","value":"<number>","description":"Only this employee."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"62958112-85bc-4eeb-b73a-80955b111c2d","name":"Overrides by date.","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"from\": \"2026-10-01\",\n  \"to\": \"2026-10-31\",\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4fd5db2e-bcbd-465d-a5c4-bfec7053d68b","name":"ATTENDANCE_INVALID_DATE_RANGE — bad or too long range.","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"984b7319-ce1f-452b-bb62-5c19ea26220d","name":"Add a schedule override","request":{"name":"Add a schedule override","description":{"content":"Changes an employee's plan for one date: `day_off` (no shift) or `shift` (one shift instead of the schedule's slots; it also applies on a holiday). It rules the expected time of that day, its absence and its no-show alert. One per employee and date; up to 62 days back and a year ahead. Bulk changes = one POST per employee.","type":"text/plain"},"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"employeeId\": \"<number>\",\n  \"date\": \"<string>\",\n  \"kind\": \"<string>\",\n  \"startTime\": \"<string>\",\n  \"endTime\": \"<string>\",\n  \"reason\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3e5959e0-15b6-4f3d-ad14-d6cc9df56278","name":"The new override.","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"date\": \"2026-10-09\",\n  \"kind\": \"<string>\",\n  \"startTime\": \"14:00\",\n  \"endTime\": \"22:00\",\n  \"reason\": \"Cambio de turno con Pérez\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 41,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"date\": \"2026-10-09\",\n  \"kind\": \"shift\",\n  \"startTime\": \"14:00\",\n  \"endTime\": \"22:00\",\n  \"reason\": \"string\",\n  \"createdAt\": \"1959-12-16T01:30:59.761Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd48b0fd-18d7-403f-bdc7-2d55ff464772","name":"ATTENDANCE_SCHEDULE_OVERRIDE_INVALID — bad date, out of range, or bad times (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"date\": \"2026-10-09\",\n  \"kind\": \"<string>\",\n  \"startTime\": \"14:00\",\n  \"endTime\": \"22:00\",\n  \"reason\": \"Cambio de turno con Pérez\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"94ebc09e-89f1-419a-953c-b38875df85b0","name":"EMPLOYEE_NOT_FOUND — not an employee of the organization.","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"date\": \"2026-10-09\",\n  \"kind\": \"<string>\",\n  \"startTime\": \"14:00\",\n  \"endTime\": \"22:00\",\n  \"reason\": \"Cambio de turno con Pérez\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d81fc7a-4733-40fa-a010-9d352676c673","name":"ATTENDANCE_SCHEDULE_OVERRIDE_DUPLICATE — the employee already has one that date.","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"date\": \"2026-10-09\",\n  \"kind\": \"<string>\",\n  \"startTime\": \"14:00\",\n  \"endTime\": \"22:00\",\n  \"reason\": \"Cambio de turno con Pérez\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"57947a6c-f3a0-455b-a6fe-de0ff9177681","name":"Delete a schedule override","request":{"name":"Delete a schedule override","description":{"content":"The day goes back to the schedule (or the holiday) it had.","type":"text/plain"},"url":{"path":["v1","attendance","schedule-overrides",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"369be91b-f81c-46c7-8b37-b61bb9b60e60","name":"The deleted override.","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 41,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"date\": \"2026-10-09\",\n  \"kind\": \"shift\",\n  \"startTime\": \"14:00\",\n  \"endTime\": \"22:00\",\n  \"reason\": \"string\",\n  \"createdAt\": \"1959-12-16T01:30:59.761Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53121c85-4928-4725-867c-4ebd482cc711","name":"ATTENDANCE_SCHEDULE_OVERRIDE_NOT_FOUND — the override does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","schedule-overrides",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b398b62f-ebe2-42b3-b6e5-bd86ef649392","name":"Get the overtime policy","request":{"name":"Get the overtime policy","description":{"content":"How overtime is computed: basis (schedule or thresholds), daily and weekly thresholds, Saturday cutoff for 100 %, rounding, whether it needs approval, night reduction, the monthly / annual caps, the daily cap warning and where overtime goes (paid, hour bank or the approver's choice, with the bank multiplier). Defaults when never saved: the legal ones (Ley 11.544, LCT art. 200–201, Dto. 484/2000), no daily cap, paid.","type":"text/plain"},"url":{"path":["v1","attendance","overtime-policy"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"955e9094-abb4-4410-9d22-aed1b5a27414","name":"Current policy (or the defaults).","originalRequest":{"url":{"path":["v1","attendance","overtime-policy"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"basis\": \"schedule\",\n  \"dailyThresholdMinutes\": 480,\n  \"weeklyThresholdMinutes\": 2880,\n  \"saturdayCutoff\": \"13:00\",\n  \"roundingMinutes\": 0,\n  \"requiresApproval\": false,\n  \"nightReduction\": true,\n  \"monthlyCapMinutes\": 1800,\n  \"annualCapMinutes\": 12000,\n  \"dailyCapMinutes\": null,\n  \"compensation\": \"pay\",\n  \"bankMultiplier\": 1,\n  \"isDefault\": false,\n  \"updatedAt\": \"2025-03-27T22:22:05.767Z\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8dade47f-f27f-4573-8e4f-85867c37b581","name":"Update the overtime policy","request":{"name":"Update the overtime policy","description":{"content":"Fields left out keep their value. A change recomputes the overtime of the current month; earlier months keep what they had until recomputed. Collective agreements may set other rules: the policy is per organization.","type":"text/plain"},"url":{"path":["v1","attendance","overtime-policy"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"basis\": \"<string>\",\n  \"dailyThresholdMinutes\": \"<integer>\",\n  \"weeklyThresholdMinutes\": \"<integer>\",\n  \"saturdayCutoff\": \"<object>\",\n  \"roundingMinutes\": \"<number>\",\n  \"requiresApproval\": \"<boolean>\",\n  \"nightReduction\": \"<boolean>\",\n  \"monthlyCapMinutes\": \"<integer>\",\n  \"annualCapMinutes\": \"<integer>\",\n  \"dailyCapMinutes\": \"<integer>\",\n  \"compensation\": \"<string>\",\n  \"bankMultiplier\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"fd75c1d9-3059-4c7a-8b80-ebea5d6f1959","name":"Policy after the update.","originalRequest":{"url":{"path":["v1","attendance","overtime-policy"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"basis\": \"<string>\",\n  \"dailyThresholdMinutes\": 480,\n  \"weeklyThresholdMinutes\": 2880,\n  \"saturdayCutoff\": \"<object>\",\n  \"roundingMinutes\": \"<number>\",\n  \"requiresApproval\": \"<boolean>\",\n  \"nightReduction\": \"<boolean>\",\n  \"monthlyCapMinutes\": 1800,\n  \"annualCapMinutes\": 12000,\n  \"dailyCapMinutes\": 180,\n  \"compensation\": \"<string>\",\n  \"bankMultiplier\": 1.5\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"basis\": \"schedule\",\n  \"dailyThresholdMinutes\": 480,\n  \"weeklyThresholdMinutes\": 2880,\n  \"saturdayCutoff\": \"13:00\",\n  \"roundingMinutes\": 0,\n  \"requiresApproval\": false,\n  \"nightReduction\": true,\n  \"monthlyCapMinutes\": 1800,\n  \"annualCapMinutes\": 12000,\n  \"dailyCapMinutes\": null,\n  \"compensation\": \"pay\",\n  \"bankMultiplier\": 1,\n  \"isDefault\": false,\n  \"updatedAt\": \"2025-03-27T22:22:05.767Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"157ed1bc-402f-4124-87fa-f5cd186c0bc1","name":"ATTENDANCE_OVERTIME_POLICY_INVALID — a field has the wrong type or range (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","overtime-policy"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"basis\": \"<string>\",\n  \"dailyThresholdMinutes\": 480,\n  \"weeklyThresholdMinutes\": 2880,\n  \"saturdayCutoff\": \"<object>\",\n  \"roundingMinutes\": \"<number>\",\n  \"requiresApproval\": \"<boolean>\",\n  \"nightReduction\": \"<boolean>\",\n  \"monthlyCapMinutes\": 1800,\n  \"annualCapMinutes\": 12000,\n  \"dailyCapMinutes\": 180,\n  \"compensation\": \"<string>\",\n  \"bankMultiplier\": 1.5\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8470a9e7-a81b-4bf9-8600-3a72184f3597","name":"Overtime by employee for a month","request":{"name":"Overtime by employee for a month","description":{"content":"Per employee: worked, overtime at 50 % and 100 % that counts, night minutes, minutes pending or rejected, overtime sent to the hour bank, and the usage of the monthly and annual caps (`near` from 80 %, `exceeded` past the cap — overtime is never truncated). `days` lists the days with overtime or an approval request, with their destination and the `DAILY_CAP_EXCEEDED` flag.","type":"text/plain"},"url":{"path":["v1","attendance","overtime"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"month","value":"<string>","description":"YYYY-MM (Buenos Aires). Default: the current month."},{"disabled":false,"key":"site_id","value":"<number>","description":"Only employees of this site (branch)."},{"disabled":false,"key":"employee_id","value":"<number>","description":"Only this employee."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"56127056-750c-499e-9191-8f2658d96857","name":"Monthly overtime summary.","originalRequest":{"url":{"path":["v1","attendance","overtime"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"site_id","value":"3"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"month\": \"2026-10\",\n  \"policy\": {\n    \"basis\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dailyThresholdMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"weeklyThresholdMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"saturdayCutoff\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"roundingMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requiresApproval\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nightReduction\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"monthlyCapMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"annualCapMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dailyCapMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"compensation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankMultiplier\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isDefault\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totals\": {\n    \"overtime50Minutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"overtime100Minutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nightMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"pendingMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"nearCap\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"exceededCap\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankedMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankCreditMinutes\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"dailyCapExceededDays\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c6e8656a-83d2-4429-9b31-e14b7cc0bc3e","name":"ATTENDANCE_INVALID_MONTH — `month` is not YYYY-MM or is in the future.","originalRequest":{"url":{"path":["v1","attendance","overtime"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"site_id","value":"3"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"acee0afe-b96c-4469-b29c-9166b60e61c6","name":"ATTENDANCE_BRANCH_NOT_FOUND / EMPLOYEE_NOT_FOUND — the site or employee is not the organization's.","originalRequest":{"url":{"path":["v1","attendance","overtime"],"host":["{{baseUrl}}"],"query":[{"key":"month","value":"2026-10"},{"key":"site_id","value":"3"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2752eb79-ac2f-44ec-857a-b256e7cbf420","name":"List overtime approval requests","request":{"name":"List overtime approval requests","description":{"content":"Requests created when the policy requires approval: one per employee and day with overtime, newest date first (at most 200). Default status: pending.","type":"text/plain"},"url":{"path":["v1","attendance","overtime","approvals"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"pending"},{"disabled":false,"key":"from","value":"<string>","description":"First date (YYYY-MM-DD)."},{"disabled":false,"key":"to","value":"<string>","description":"Last date, inclusive (at most 62 days after `from`)."},{"disabled":false,"key":"employee_id","value":"<number>","description":"Only this employee."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c500ea54-a145-4a72-bdc5-36997b4df1a9","name":"Requests.","originalRequest":{"url":{"path":["v1","attendance","overtime","approvals"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"pending"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e621e6f0-04a5-4d19-96c0-52b71f9d85df","name":"ATTENDANCE_INVALID_DATE_RANGE — bad range.","originalRequest":{"url":{"path":["v1","attendance","overtime","approvals"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"pending"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-10-31"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8ddb5f9b-9009-4f7e-951b-0ee09c5bec03","name":"Approve a day's overtime","request":{"name":"Approve a day's overtime","description":{"content":"The day's overtime starts counting (reports, caps, exports). Under `compensation: choose`, `destination` says whether it is paid or goes to the hour bank; under `bank` it always goes to the bank.","type":"text/plain"},"url":{"path":["v1","attendance","overtime",":employeeId",":date","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e356b6ec-89aa-4102-9575-555e8420f339","name":"The request after the decision.","originalRequest":{"url":{"path":["v1","attendance","overtime",":employeeId",":date","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Cierre de inventario.\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 31,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"date\": \"2026-10-05\",\n  \"overtime50Minutes\": 60,\n  \"overtime100Minutes\": 30,\n  \"minutes\": 90,\n  \"workedMinutes\": 630,\n  \"expectedMinutes\": 540,\n  \"status\": \"approved\",\n  \"destination\": \"bank\",\n  \"bankCreditMinutes\": 0,\n  \"flags\": [],\n  \"automatic\": false,\n  \"reviewerName\": \"López, Juan\",\n  \"reviewedAt\": \"1989-06-23T17:35:13.573Z\",\n  \"note\": \"string\",\n  \"createdAt\": \"1956-02-16T01:47:18.497Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b8e6f8b-413b-4cce-a573-934971b7eb71","name":"ATTENDANCE_OVERTIME_DESTINATION_REQUIRED — the policy is `choose` and `destination` is missing or not pay / bank.","originalRequest":{"url":{"path":["v1","attendance","overtime",":employeeId",":date","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Cierre de inventario.\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"98e845c8-3b53-4e35-96c5-37f7d8be35b7","name":"ATTENDANCE_OVERTIME_APPROVAL_NOT_FOUND — no overtime request for that employee and date in the organization.","originalRequest":{"url":{"path":["v1","attendance","overtime",":employeeId",":date","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Cierre de inventario.\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e76efea2-db0d-429f-b2ba-51d3c34873fc","name":"ATTENDANCE_OVERTIME_APPROVAL_NOT_PENDING — it was already approved or rejected.","originalRequest":{"url":{"path":["v1","attendance","overtime",":employeeId",":date","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Cierre de inventario.\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"aada7a04-a670-47cd-a272-3e409a5d50bd","name":"Reject a day's overtime","request":{"name":"Reject a day's overtime","description":{"content":"The day's overtime does not count. If the day's minutes change later, a new pending request replaces it.","type":"text/plain"},"url":{"path":["v1","attendance","overtime",":employeeId",":date","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6e137994-8375-4650-8bf3-63041a7a889f","name":"The request after the decision.","originalRequest":{"url":{"path":["v1","attendance","overtime",":employeeId",":date","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Cierre de inventario.\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 31,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"date\": \"2026-10-05\",\n  \"overtime50Minutes\": 60,\n  \"overtime100Minutes\": 30,\n  \"minutes\": 90,\n  \"workedMinutes\": 630,\n  \"expectedMinutes\": 540,\n  \"status\": \"pending\",\n  \"destination\": \"pay\",\n  \"bankCreditMinutes\": 0,\n  \"flags\": [],\n  \"automatic\": false,\n  \"reviewerName\": \"López, Juan\",\n  \"reviewedAt\": \"1959-04-04T18:40:29.568Z\",\n  \"note\": \"string\",\n  \"createdAt\": \"1981-05-05T09:40:17.017Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7883212e-c1fe-404d-8983-63517b950a0d","name":"ATTENDANCE_OVERTIME_APPROVAL_NOT_FOUND — no overtime request for that employee and date in the organization.","originalRequest":{"url":{"path":["v1","attendance","overtime",":employeeId",":date","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Cierre de inventario.\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d7222a89-38d2-4859-ad04-33d24ced4e28","name":"ATTENDANCE_OVERTIME_APPROVAL_NOT_PENDING — it was already approved or rejected.","originalRequest":{"url":{"path":["v1","attendance","overtime",":employeeId",":date","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"employeeId","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"date","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"Cierre de inventario.\",\n  \"destination\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4f9e9d05-f98c-4791-8996-f06384a3e7df","name":"Get an employee's hour bank","request":{"name":"Get an employee's hour bank","description":{"content":"Balance (sum of every movement) and the movements, newest first (at most 500): overtime credits, leave debits and manual adjustments.","type":"text/plain"},"url":{"path":["v1","attendance","hour-bank"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"employee_id","value":"<number>","description":"(Required) The employee whose bank to read."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"a05de381-c214-44f1-8588-5aad8d3db4be","name":"Balance and movements.","originalRequest":{"url":{"path":["v1","attendance","hour-bank"],"host":["{{baseUrl}}"],"query":[{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"balanceMinutes\": 330,\n  \"movements\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"truncated\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"797b4fe3-3351-41f7-9700-146a76253b81","name":"BAD_REQUEST — `employee_id` missing or not a positive integer.","originalRequest":{"url":{"path":["v1","attendance","hour-bank"],"host":["{{baseUrl}}"],"query":[{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3f18c4ce-1e7e-43a3-b64f-ea9945fbda39","name":"EMPLOYEE_NOT_FOUND — not an employee of the organization.","originalRequest":{"url":{"path":["v1","attendance","hour-bank"],"host":["{{baseUrl}}"],"query":[{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eb4e4165-60b8-458c-90c5-11b99bdc9d53","name":"List hour-bank balances","request":{"name":"List hour-bank balances","description":{"content":"The balance of every active employee plus anyone with movements, sorted by last name.","type":"text/plain"},"url":{"path":["v1","attendance","hour-bank","balances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"site_id","value":"<number>","description":"Only employees of this site (branch)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4e48fb0c-7421-4514-8cf7-52898a00c3b0","name":"Balances.","originalRequest":{"url":{"path":["v1","attendance","hour-bank","balances"],"host":["{{baseUrl}}"],"query":[{"key":"site_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ac60180-c8ab-4569-aaf0-569e4fad7e10","name":"ATTENDANCE_BRANCH_NOT_FOUND — the site is not the organization's.","originalRequest":{"url":{"path":["v1","attendance","hour-bank","balances"],"host":["{{baseUrl}}"],"query":[{"key":"site_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c6b862aa-24c3-4069-be8b-5e69025cc467","name":"Adjust an employee's hour bank","request":{"name":"Adjust an employee's hour bank","description":{"content":"Appends a manual movement (+ credit, − debit) with a required note, e.g. an initial balance agreed with the employee. The ledger is append-only: a mistake is fixed with an opposite adjustment. It may leave the balance negative.","type":"text/plain"},"url":{"path":["v1","attendance","hour-bank","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"employeeId\": \"<integer>\",\n  \"minutes\": \"<integer>\",\n  \"note\": \"<object>\",\n  \"date\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"fa7ef0fc-442d-4a64-964c-d01774c0814d","name":"The movement.","originalRequest":{"url":{"path":["v1","attendance","hour-bank","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"minutes\": 660,\n  \"note\": \"<object>\",\n  \"date\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"date\": \"2026-10-05\",\n  \"minutes\": 150,\n  \"source\": \"overtime\",\n  \"sourceRef\": \"2026-10-05\",\n  \"note\": null,\n  \"createdByName\": \"Sole Gómez\",\n  \"createdAt\": \"2021-05-01T05:32:33.002Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3974b8c0-3ba0-492a-86dd-8a5b9ee2fd26","name":"ATTENDANCE_HOUR_BANK_ADJUSTMENT_INVALID — bad employee, minutes, date or note (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","hour-bank","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"minutes\": 660,\n  \"note\": \"<object>\",\n  \"date\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6d628007-d57d-4bf5-a0ee-d81b06728d5a","name":"EMPLOYEE_NOT_FOUND — not an employee of the organization.","originalRequest":{"url":{"path":["v1","attendance","hour-bank","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"minutes\": 660,\n  \"note\": \"<object>\",\n  \"date\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"956a228c-7677-4aff-b68d-cae99288b329","name":"List payroll concepts","request":{"name":"List payroll concepts","description":{"content":"Every figure the monthly export can carry (worked hours, overtime at 50 % and 100 % to pay, night hours, absences, lateness, hour-bank credit and debit, and one per leave type), with the organization's payroll concept code, label and whether it is exported. Never saved = enabled without a code (the column is named by its label).","type":"text/plain"},"url":{"path":["v1","attendance","payroll-concepts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8042dfe2-ba24-41f6-8e19-003cb65cfd5b","name":"Concepts, in export order.","originalRequest":{"url":{"path":["v1","attendance","payroll-concepts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a28580be-4b44-4932-8e55-79f2b133ffc0","name":"Update payroll concepts","request":{"name":"Update payroll concepts","description":{"content":"Changes the listed sources only: `conceptCode` (≤ 20 characters, null = none), `label` (≤ 80, null = the default) and `enabled`. Two enabled sources cannot share a code.","type":"text/plain"},"url":{"path":["v1","attendance","payroll-concepts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"concepts\": [\n    \"<object>\",\n    \"<object>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0a93029d-a336-4dde-b13f-3f09bc19fa46","name":"Every concept after the update.","originalRequest":{"url":{"path":["v1","attendance","payroll-concepts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"concepts\": [\n    {\n      \"source\": \"overtime_50\",\n      \"conceptCode\": \"1050\",\n      \"enabled\": true\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"924da25e-fd0e-4a4a-929d-66eec95aca43","name":"ATTENDANCE_PAYROLL_CONCEPTS_INVALID — unknown source, bad code or label, or a repeated code (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","payroll-concepts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"concepts\": [\n    {\n      \"source\": \"overtime_50\",\n      \"conceptCode\": \"1050\",\n      \"enabled\": true\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a619c9cb-dbb6-47c4-9812-c50432e6ecf2","name":"Preview the monthly payroll export","request":{"name":"Preview the monthly payroll export","description":{"content":"The rows and columns the export of a period will have, and its warnings: month in progress, open / incomplete / flagged days, pending overtime and leaves, employees without CUIL or legajo. Warnings never block the export.","type":"text/plain"},"url":{"path":["v1","attendance","payroll-export","preview"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"period","value":"<string>","description":"YYYY-MM (Buenos Aires), required; not after the current month."},{"disabled":false,"key":"site_id","value":"<number>","description":"Only employees of this site (branch)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c86fd637-f935-4580-9599-13ae48d8f3d4","name":"Preview of the period.","originalRequest":{"url":{"path":["v1","attendance","payroll-export","preview"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"},{"key":"site_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"period\": \"2026-10\",\n  \"from\": \"2026-10-01\",\n  \"to\": \"2026-10-31\",\n  \"siteId\": null,\n  \"columns\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"warnings\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0771c422-a081-409b-a058-69f3538c2eef","name":"ATTENDANCE_INVALID_MONTH — `period` is missing, not YYYY-MM or after the current month.","originalRequest":{"url":{"path":["v1","attendance","payroll-export","preview"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"},{"key":"site_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fb364441-03e6-4e0f-807d-188b8cee0d0e","name":"ATTENDANCE_BRANCH_NOT_FOUND — `site_id` is not a branch of the organization.","originalRequest":{"url":{"path":["v1","attendance","payroll-export","preview"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"},{"key":"site_id","value":"3"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0c4f1635-4398-48d1-826f-271cdd4e1b7c","name":"Export the monthly payroll figures","request":{"name":"Export the monthly payroll figures","description":{"content":"XLSX: sheet \"Novedades\" (legajo, name, CUIL, site, then one column per enabled concept, headed by its code or label) and sheet \"Detalle\" (one row per employee and day). CSV (UTF-8 with BOM): the first sheet only. Each export is recorded in the history.","type":"text/plain"},"url":{"path":["v1","attendance","payroll-export"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"period","value":"<string>","description":"YYYY-MM (Buenos Aires), required; not after the current month."},{"disabled":false,"key":"site_id","value":"<number>","description":"Only employees of this site (branch)."},{"disabled":false,"key":"format","value":"xlsx"}],"variable":[]},"header":[{"key":"Accept","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1573975e-efef-4fa2-a387-4eef7f0df60b","name":"The file, as an attachment.","originalRequest":{"url":{"path":["v1","attendance","payroll-export"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"},{"key":"site_id","value":"3"},{"key":"format","value":"xlsx"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"09891f71-6913-409b-9f28-79ce4c8cad8c","name":"ATTENDANCE_INVALID_MONTH — `period` is missing, not YYYY-MM or after the current month.","originalRequest":{"url":{"path":["v1","attendance","payroll-export"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"},{"key":"site_id","value":"3"},{"key":"format","value":"xlsx"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"1fce77ce-df56-4beb-bfe2-02c39fbfd49e","name":"ATTENDANCE_BRANCH_NOT_FOUND — `site_id` is not a branch of the organization.","originalRequest":{"url":{"path":["v1","attendance","payroll-export"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"},{"key":"site_id","value":"3"},{"key":"format","value":"xlsx"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"717757d4-b097-4e85-8aee-45cbe6a11bfe","name":"History of payroll exports","request":{"name":"History of payroll exports","description":{"content":"Newest first, at most 100.","type":"text/plain"},"url":{"path":["v1","attendance","payroll-exports"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"period","value":"<string>","description":"Only exports of this period."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2b71715e-bdf2-4aad-8555-2d7b698bc33d","name":"Exports.","originalRequest":{"url":{"path":["v1","attendance","payroll-exports"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bd73f90a-335f-405f-b5df-04bb32e1adca","name":"ATTENDANCE_INVALID_MONTH — `period` is not YYYY-MM.","originalRequest":{"url":{"path":["v1","attendance","payroll-exports"],"host":["{{baseUrl}}"],"query":[{"key":"period","value":"2026-10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"22dde893-120e-4ccc-8e52-75d8459da5d9","name":"Recompute work days","request":{"name":"Recompute work days","description":{"content":"Queues a background job that recomputes the work days (with the current schedules, breaks and overtime policy), the absences and the overtime of a date range of at most 93 days. Poll the job until `done` or `failed`. One job per organization at a time.","type":"text/plain"},"url":{"path":["v1","attendance","work-days","recompute"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"from\": \"<object>\",\n  \"to\": \"<object>\",\n  \"employeeIds\": [\n    \"<number>\",\n    \"<number>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2ec5f1ab-07b7-461a-aa74-0296c66a3670","name":"The queued job.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"from\": \"<object>\",\n  \"to\": \"<object>\",\n  \"employeeIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Accepted","code":202,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"status\": \"queued\",\n  \"from\": \"2026-09-01\",\n  \"to\": \"2026-10-02\",\n  \"employeeIds\": null,\n  \"totalEmployees\": 23,\n  \"processedEmployees\": 9,\n  \"failedEmployees\": 0,\n  \"error\": null,\n  \"requestedByName\": \"Sole Gómez\",\n  \"createdAt\": \"1989-10-02T16:00:27.935Z\",\n  \"startedAt\": \"1988-04-05T18:25:20.568Z\",\n  \"finishedAt\": \"1993-11-08T14:01:07.240Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18931d03-ad43-4709-98df-3458699941d0","name":"ATTENDANCE_RECOMPUTE_INVALID — bad dates, a range above 93 days or bad employee ids (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"from\": \"<object>\",\n  \"to\": \"<object>\",\n  \"employeeIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a361dfaa-3536-4275-9ee0-76f2ef33422e","name":"EMPLOYEE_NOT_FOUND — an employee of another organization.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"from\": \"<object>\",\n  \"to\": \"<object>\",\n  \"employeeIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e02d2e0-d524-4366-b69c-a5ea72c92491","name":"ATTENDANCE_RECOMPUTE_IN_PROGRESS — another recompute of the organization is queued or running.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"from\": \"<object>\",\n  \"to\": \"<object>\",\n  \"employeeIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3323dd88-646b-4fb6-8664-858efd8fda9d","name":"ATTENDANCE_RECOMPUTE_UNAVAILABLE — the job could not be queued.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"from\": \"<object>\",\n  \"to\": \"<object>\",\n  \"employeeIds\": [\n    12,\n    15\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e31fb094-6bce-439c-b90a-10d5d2ce818b","name":"Preview a recompute","request":{"name":"Preview a recompute","description":{"content":"Dry run of `POST /attendance/work-days/recompute` with the same parameters: simulates the recompute (nothing is written) and counts the work days whose worked minutes, status or counted overtime would change, and the overtime decisions that are kept. Takes at most ~20 s; past that `complete` is false and the counts are a lower bound.","type":"text/plain"},"url":{"path":["v1","attendance","work-days","recompute","preview"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"from","value":"<string>","description":"(Required) First date (YYYY-MM-DD)."},{"disabled":false,"key":"to","value":"<string>","description":"Last date (default today). Same limits as the recompute."},{"disabled":false,"key":"employee_ids","value":"<string>","description":"Only these employees, comma-separated (≤ 500). Default: same as the recompute."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"89a3ea54-4f8b-4ca0-8614-249daec173c5","name":"The counts.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute","preview"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01"},{"key":"to","value":"2026-10-02"},{"key":"employee_ids","value":"12,15"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"from\": \"2026-09-01\",\n  \"to\": \"2026-10-02\",\n  \"employeeIds\": null,\n  \"totalEmployees\": 23,\n  \"checkedEmployees\": 23,\n  \"complete\": true,\n  \"days\": 12,\n  \"workedMinutesChanged\": 4,\n  \"statusChanged\": 1,\n  \"overtimeChanged\": 9,\n  \"decidedOvertimeKept\": 3,\n  \"decisionMinutesChanged\": 1,\n  \"newPendingRequests\": 0\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6f31c9df-bbcc-4232-965f-e9b94464de72","name":"ATTENDANCE_RECOMPUTE_INVALID — same validation as the recompute (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute","preview"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01"},{"key":"to","value":"2026-10-02"},{"key":"employee_ids","value":"12,15"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7ba28e73-8e33-4391-981e-4a9bf3e9e09a","name":"EMPLOYEE_NOT_FOUND — an employee of another organization.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute","preview"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01"},{"key":"to","value":"2026-10-02"},{"key":"employee_ids","value":"12,15"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ef97739b-97e1-4d3a-a2b7-6ac489f3f555","name":"Get a recompute job","request":{"name":"Get a recompute job","description":{"content":"Status and progress (employees processed / total).","type":"text/plain"},"url":{"path":["v1","attendance","work-days","recompute",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c9735fc4-7a29-42be-b615-c67943520c0e","name":"The job.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"status\": \"queued\",\n  \"from\": \"2026-09-01\",\n  \"to\": \"2026-10-02\",\n  \"employeeIds\": null,\n  \"totalEmployees\": 23,\n  \"processedEmployees\": 9,\n  \"failedEmployees\": 0,\n  \"error\": null,\n  \"requestedByName\": \"Sole Gómez\",\n  \"createdAt\": \"1957-01-03T18:59:26.908Z\",\n  \"startedAt\": \"1966-04-24T16:13:30.818Z\",\n  \"finishedAt\": \"1956-01-31T20:02:19.884Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a24ba2d0-6fe2-4ae7-868e-57b569a22857","name":"ATTENDANCE_RECOMPUTE_JOB_NOT_FOUND — unknown job or another organization's.","originalRequest":{"url":{"path":["v1","attendance","work-days","recompute",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f7281354-4566-4cff-8afc-3a6bd26198c3","name":"List remote check-in places","request":{"name":"List remote check-in places","description":{"content":"Places where employees with remote check-in in `geofence` mode are measured (\"Casa\", \"Cliente X\"). A place without `employeeId` applies to every employee of the organization. `employee_id` returns the places that apply to that employee (theirs and the organization-wide ones). Archived ones only with `include_archived=true`.","type":"text/plain"},"url":{"path":["v1","attendance","remote-sites"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"employee_id","value":"<integer>","description":"Only the places that apply to this employee: theirs and the organization-wide ones."},{"disabled":false,"key":"include_archived","value":"<boolean>","description":"Also return archived places (default false)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ec75d2d1-c85a-4b02-8a91-afb79d1df45f","name":"Places, by label.","originalRequest":{"url":{"path":["v1","attendance","remote-sites"],"host":["{{baseUrl}}"],"query":[{"key":"employee_id","value":"12"},{"key":"include_archived","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7ba2ebd-8d77-4087-84ad-64bff5c73b31","name":"EMPLOYEE_NOT_FOUND — `employee_id` is not an employee of the organization.","originalRequest":{"url":{"path":["v1","attendance","remote-sites"],"host":["{{baseUrl}}"],"query":[{"key":"employee_id","value":"12"},{"key":"include_archived","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e101bb74-2fbb-4eb8-b492-4220d7e6f8a3","name":"Create a remote check-in place","request":{"name":"Create a remote check-in place","description":{"content":"Remote check-in never rejects by distance: outside every place's radius the event is recorded with OUTSIDE_REMOTE_SITE.","type":"text/plain"},"url":{"path":["v1","attendance","remote-sites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"label\": \"<string>\",\n  \"latitude\": \"<number>\",\n  \"longitude\": \"<number>\",\n  \"employeeId\": \"<integer>\",\n  \"radiusM\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7349497f-336c-4272-8d86-76b4d62c15ce","name":"The new place.","originalRequest":{"url":{"path":["v1","attendance","remote-sites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"employeeId\": 12,\n  \"radiusM\": 150\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"employeeId\": 12,\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150,\n  \"archivedAt\": null,\n  \"createdAt\": \"1968-01-26T17:38:57.551Z\",\n  \"updatedAt\": \"2008-01-02T03:21:20.226Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5e5ae9bc-e57d-47a3-8c47-0913515b4a3b","name":"BAD_REQUEST — label empty or longer than 80, latitude outside −90..90, longitude outside −180..180, or radiusM outside 20..5000.","originalRequest":{"url":{"path":["v1","attendance","remote-sites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"employeeId\": 12,\n  \"radiusM\": 150\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13d2e6d3-0b36-42ac-b7e0-49261ccb3a71","name":"EMPLOYEE_NOT_FOUND — `employeeId` is not an employee of the organization.","originalRequest":{"url":{"path":["v1","attendance","remote-sites"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"employeeId\": 12,\n  \"radiusM\": 150\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a44ff1d8-183c-49c6-b80d-08e35d84fdab","name":"Update a remote check-in place","request":{"name":"Update a remote check-in place","description":{"content":"Fields left out keep their value; `employeeId: null` makes it organization-wide.","type":"text/plain"},"url":{"path":["v1","attendance","remote-sites",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"employeeId\": \"<integer>\",\n  \"label\": \"<string>\",\n  \"latitude\": \"<number>\",\n  \"longitude\": \"<number>\",\n  \"radiusM\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"de158add-56c9-4abb-8be3-1ae7fe6377b7","name":"The place after the update.","originalRequest":{"url":{"path":["v1","attendance","remote-sites",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"employeeId\": 12,\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150,\n  \"archivedAt\": null,\n  \"createdAt\": \"1968-01-26T17:38:57.551Z\",\n  \"updatedAt\": \"2008-01-02T03:21:20.226Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d11b4a5-db60-4f6a-922b-bb7166821309","name":"BAD_REQUEST — label empty or longer than 80, latitude outside −90..90, longitude outside −180..180, or radiusM outside 20..5000.","originalRequest":{"url":{"path":["v1","attendance","remote-sites",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ab0871d3-ee49-40f6-a5d0-12c640d8606d","name":"ATTENDANCE_REMOTE_SITE_NOT_FOUND — the place does not exist or belongs to another organization. EMPLOYEE_NOT_FOUND — `employeeId` is not an employee of the organization.","originalRequest":{"url":{"path":["v1","attendance","remote-sites",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"08d2f690-c346-4b38-8784-2a0760da60e3","name":"Archive a remote check-in place","request":{"name":"Archive a remote check-in place","description":{"content":"The place stops applying; past events keep it. Archiving twice is a no-op.","type":"text/plain"},"url":{"path":["v1","attendance","remote-sites",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"af8f748b-e302-41ff-8361-dca70604d72b","name":"The archived place.","originalRequest":{"url":{"path":["v1","attendance","remote-sites",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"employeeId\": 12,\n  \"label\": \"Casa\",\n  \"latitude\": -34.603722,\n  \"longitude\": -58.381592,\n  \"radiusM\": 150,\n  \"archivedAt\": null,\n  \"createdAt\": \"1968-01-26T17:38:57.551Z\",\n  \"updatedAt\": \"2008-01-02T03:21:20.226Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b4e392d-73b0-4ffd-8dc0-94fe234d4d71","name":"ATTENDANCE_REMOTE_SITE_NOT_FOUND — the place does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","remote-sites",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2599b49a-b6bd-443a-b522-c00fca01e0c5","name":"Sync the roster from an external system","request":{"name":"Sync the roster from an external system","description":{"content":"Send the FULL desired roster — every site (branch) and every employee that should be active — whenever it changes and once a day; Peakly reconciles. Idempotent: a second identical run reports everything `unchanged`. Sites and employees are matched by `externalId` (stored as `providerId`), else linked to an unlinked branch with the same name, or an unlinked employee with the same DNI (else the same email), else created. Conservative: names, documents, emails, branch addresses, coordinates and geo settings already in Peakly are never overwritten — differences come back in `drift`. Phone and hire date are only filled when empty. Employees get the branch of their only site (none or several → no branch). Linked active employees missing from the payload are deactivated today; inactive ones present are reactivated. Linked sites missing from the payload get app check-in turned off. New sites with coordinates get app check-in on (radius 150 m, out-of-radius observed). Items that cannot be applied come back in `skipped` with a reason; they never fail the batch. `dryRun: true` returns the same report and writes nothing. `inviteNewEmployees: true` emails an invitation to each employee created by the run, after it commits.","type":"text/plain"},"url":{"path":["v1","attendance","roster-sync"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"source\": \"<string>\",\n  \"sites\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"employees\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dryRun\": false,\n  \"inviteNewEmployees\": false,\n  \"allowMassDeactivation\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"043e2f2d-0d67-41f4-a349-033717885b3f","name":"What was (or, on a dry run, would be) created, linked, changed and skipped.","originalRequest":{"url":{"path":["v1","attendance","roster-sync"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"cuidarnos\",\n  \"sites\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"employees\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dryRun\": false,\n  \"inviteNewEmployees\": false,\n  \"allowMassDeactivation\": false\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"dryRun\": false,\n  \"sites\": {\n    \"created\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"linked\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"disabled\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"drift\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"employees\": {\n    \"created\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"linked\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reassigned\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"reactivated\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deactivated\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updated\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"invited\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"unchanged\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"drift\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"skipped\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53939829-0123-449f-8934-73e2bf76952f","name":"ROSTER_SYNC_EMPTY_SNAPSHOT — `sites` or `employees` is empty; ROSTER_SYNC_DUPLICATE_EXTERNAL_ID — an `externalId` repeats within `sites` or `employees` (listed in `details`); ROSTER_SYNC_MASS_DEACTIVATION — the run would deactivate more than half of the linked active employees and more than 5 (resend with `allowMassDeactivation: true`); BAD_REQUEST — body shape (lengths, max 500 sites / 2000 employees, `source` format, `hireDate` YYYY-MM-DD).","originalRequest":{"url":{"path":["v1","attendance","roster-sync"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"cuidarnos\",\n  \"sites\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"employees\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dryRun\": false,\n  \"inviteNewEmployees\": false,\n  \"allowMassDeactivation\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"591144de-46dd-4b01-96b2-dcab4ba41fdd","name":"A concurrent write outside the sync took a document number, email or branch name between planning and writing; nothing was applied — retry.","originalRequest":{"url":{"path":["v1","attendance","roster-sync"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"cuidarnos\",\n  \"sites\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"employees\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"dryRun\": false,\n  \"inviteNewEmployees\": false,\n  \"allowMassDeactivation\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"063dc4ba-c45b-4417-9883-cd311508016a","name":"Personal - Campos del legajo","description":{"content":"","type":"text/plain"},"item":[{"id":"2f775dd3-8e62-4732-808d-98934271925e","name":"Get employee field settings","request":{"name":"Get employee field settings","description":{"content":"Which employee fields the organization requires, shows as optional or hides, plus its custom fields. Organizations that never configured anything get the defaults. Use it to build the employee form and the import columns.","type":"text/plain"},"url":{"path":["v1","employee-field-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"de09a4c3-7ccf-48fe-8f0c-55467663715f","name":"Effective field settings.","originalRequest":{"url":{"path":["v1","employee-field-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"systemFields\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f512e810-eea0-4473-a833-08d38cb3a306","name":"Replace employee field settings","request":{"name":"Replace employee field settings","description":{"content":"Send the full list of configurable fields (base fields and custom fields). System fields (name, document, email) cannot be sent. Making a field required applies to the next create or update of each employee; existing records are not re-validated.","type":"text/plain"},"url":{"path":["v1","employee-field-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ae0277b5-bec7-4693-820e-edcccb7d0f57","name":"Effective field settings after the change.","originalRequest":{"url":{"path":["v1","employee-field-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"systemFields\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e0f2d60b-5c2d-4fd8-a25e-8a1f4cf7c7ae","name":"Codes: EMPLOYEE_INVALID_FIELD_SETTINGS, EMPLOYEE_FIELD_NOT_CONFIGURABLE.","originalRequest":{"url":{"path":["v1","employee-field-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fields\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"963cec96-9cd5-4ccb-9298-b17502ece7c0","name":"Personal - Empleados","description":{"content":"","type":"text/plain"},"item":[{"id":"fd0cdf4a-7290-447d-8907-41253eab9441","name":"List employees (cursor-paginated)","request":{"name":"List employees (cursor-paginated)","description":{"content":"Returns a page of the organization's employees ordered by last name, first name. Active employees only unless `status` says otherwise. Pass `nextCursor` as `cursor` to get the next page.","type":"text/plain"},"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor from a previous page's nextCursor."},{"disabled":false,"key":"page_size","value":"<number>","description":"Page size (default 50, max 100)."},{"disabled":false,"key":"status","value":"<string>","description":"Filter by status. Default `active`."},{"disabled":false,"key":"branch_id","value":"<number>","description":"Only employees of this branch."},{"disabled":false,"key":"supervisor_id","value":"<number>","description":"Only direct reports of this employee."},{"disabled":false,"key":"q","value":"<string>","description":"Case-insensitive partial match on first/last name (either order), document number, email or employee number."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ae3194a7-c8cb-40a6-aee3-9825226b8282","name":"Page of employees (data, nextCursor, hasMore).","originalRequest":{"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"status","value":"<string>"},{"key":"branch_id","value":"<number>"},{"key":"supervisor_id","value":"<number>"},{"key":"q","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"eyJsIjoiZ29uemFsZXoiLCJmIjoibWFyaWEiLCJpZCI6MTJ9\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e97a24f2-c0b9-4dc6-8310-0b3af9fdf688","name":"EMPLOYEE_INVALID_CURSOR — cursor was not issued by this endpoint.","originalRequest":{"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"page_size","value":"50"},{"key":"status","value":"<string>"},{"key":"branch_id","value":"<number>"},{"key":"supervisor_id","value":"<number>"},{"key":"q","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fe411978-d7bd-4c35-9ab3-f3ba8869fe61","name":"Create employee","request":{"name":"Create employee","description":{"content":"Creates an active employee. Name, document and email are always required; other fields follow the organization's field settings (GET /employee-field-settings). Fields configured as hidden are ignored.","type":"text/plain"},"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"firstName\": \"<string>\",\n  \"lastName\": \"<string>\",\n  \"documentNumber\": \"<string>\",\n  \"email\": \"<string>\",\n  \"employeeNumber\": \"<string>\",\n  \"documentType\": \"DNI\",\n  \"cuil\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"birthDate\": \"<string>\",\n  \"address\": \"<string>\",\n  \"branchId\": \"<integer>\",\n  \"supervisorId\": \"<integer>\",\n  \"hasFamilyDependants\": \"<boolean>\",\n  \"hireDate\": \"<string>\",\n  \"customFields\": {\n    \"key_0\": true,\n    \"key_1\": true,\n    \"key_2\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"49c77d56-7fd0-4409-b1fc-e742206a1ad7","name":"Created employee.","originalRequest":{"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentNumber\": \"30.123.456\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"employeeNumber\": \"A-0042\",\n  \"documentType\": \"DNI\",\n  \"cuil\": \"27-30123456-8\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"employeeNumber\": \"A-0042\",\n  \"providerId\": \"cuidadora-k57abc\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30123456\",\n  \"cuil\": \"27301234568\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"terminationDate\": null,\n  \"status\": \"active\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"hasUserAccount\": false,\n  \"hasKioskPin\": false,\n  \"remoteMode\": \"none\",\n  \"createdAt\": \"2026-09-26T12:00:00.000Z\",\n  \"updatedAt\": \"2026-09-26T12:00:00.000Z\",\n  \"createdByUserId\": 5,\n  \"updatedByUserId\": 5\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"72708e90-08dd-49d6-bdfe-2995ccac5043","name":"Validation failed. Codes: EMPLOYEE_REQUIRED_FIELD_MISSING, EMPLOYEE_INVALID_DOCUMENT, EMPLOYEE_INVALID_CUIL, EMPLOYEE_INVALID_EMAIL, EMPLOYEE_INVALID_DATE, EMPLOYEE_FIELD_TOO_LONG, EMPLOYEE_INVALID_CUSTOM_FIELD, EMPLOYEE_INVALID_BRANCH, EMPLOYEE_INVALID_SUPERVISOR.","originalRequest":{"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentNumber\": \"30.123.456\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"employeeNumber\": \"A-0042\",\n  \"documentType\": \"DNI\",\n  \"cuil\": \"27-30123456-8\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d758c00-5659-4c20-bb7a-fc54b9585b0d","name":"`supervisorId` set or changed without the `attendance:approve` permission, or the email of an employee who supervises others changed without it (`EMPLOYEE_SUPERVISOR_IDENTITY_FORBIDDEN`).","originalRequest":{"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentNumber\": \"30.123.456\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"employeeNumber\": \"A-0042\",\n  \"documentType\": \"DNI\",\n  \"cuil\": \"27-30123456-8\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c055a4f-465c-4475-a336-a5f44aeb9384","name":"Codes: EMPLOYEE_DUPLICATE_DOCUMENT, EMPLOYEE_DUPLICATE_EMAIL.","originalRequest":{"url":{"path":["v1","employees"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentNumber\": \"30.123.456\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"employeeNumber\": \"A-0042\",\n  \"documentType\": \"DNI\",\n  \"cuil\": \"27-30123456-8\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ee92271d-9e86-41f3-ba4c-9c92f7c83386","name":"Download the employee import template","request":{"name":"Download the employee import template","description":{"content":"Excel template with one column per field the organization shows (system fields plus required and optional fields, custom fields included), and an instructions sheet.","type":"text/plain"},"url":{"path":["v1","employees","import","template"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"92a351c6-34de-4f59-a146-4aab85f33afd","name":"Excel file (.xlsx).","originalRequest":{"url":{"path":["v1","employees","import","template"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2b16049f-37ca-4b2d-8638-baf23beec43e","name":"Import employees from a spreadsheet","request":{"name":"Import employees from a spreadsheet","description":{"content":"Creates or updates employees from an .xlsx/.xls/.csv file (upsert by document number), validating each row with the same rules as the API. Runs synchronously (up to 1000 rows) and returns the outcome of every row. With `dry_run=true` it only validates and writes nothing.","type":"text/plain"},"url":{"path":["v1","employees","import"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"dry_run","value":"<boolean>","description":"Validate only (default false)."}],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) "}]}},"response":[{"id":"751d01e5-2ac4-4a38-bc53-afcfaad0aef9","name":"Per-row results.","originalRequest":{"url":{"path":["v1","employees","import"],"host":["{{baseUrl}}"],"query":[{"key":"dry_run","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"total\": 25,\n  \"imported\": 24,\n  \"errors\": 1,\n  \"dryRun\": false,\n  \"results\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"resultPath\": \"3274/1727366400000_empleados_resultado.xlsx\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1884bbb5-c206-488f-9bad-407fc60d6362","name":"Codes: EMPLOYEE_IMPORT_INVALID_FILE, EMPLOYEE_IMPORT_TOO_MANY_ROWS.","originalRequest":{"url":{"path":["v1","employees","import"],"host":["{{baseUrl}}"],"query":[{"key":"dry_run","value":"<boolean>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","type":"file"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c72fcd10-9867-489f-890f-efa82e85a6b6","name":"Get employee by id","request":{"name":"Get employee by id","description":{"content":"Returns one employee of the organization, active or not.","type":"text/plain"},"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"01eb11f2-5f02-4dd7-bdf1-16e858fafe7e","name":"Employee.","originalRequest":{"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"employeeNumber\": \"A-0042\",\n  \"providerId\": \"cuidadora-k57abc\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30123456\",\n  \"cuil\": \"27301234568\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"terminationDate\": null,\n  \"status\": \"active\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"hasUserAccount\": false,\n  \"hasKioskPin\": false,\n  \"remoteMode\": \"none\",\n  \"createdAt\": \"2026-09-26T12:00:00.000Z\",\n  \"updatedAt\": \"2026-09-26T12:00:00.000Z\",\n  \"createdByUserId\": 5,\n  \"updatedByUserId\": 5\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2cd6e3f5-aa48-42f2-9ffa-5862a4c232e2","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3423b1a0-5877-4372-bdaa-bde3644d39cc","name":"Update employee","request":{"name":"Update employee","description":{"content":"Send only the fields to change; null clears an optional field. `customFields` is merged into the stored values. The resulting record must satisfy the organization's current field settings. Status is changed with deactivate/reactivate.","type":"text/plain"},"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"employeeNumber\": \"<string>\",\n  \"firstName\": \"<string>\",\n  \"lastName\": \"<string>\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"<string>\",\n  \"cuil\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"birthDate\": \"<string>\",\n  \"address\": \"<string>\",\n  \"branchId\": \"<integer>\",\n  \"supervisorId\": \"<integer>\",\n  \"hasFamilyDependants\": \"<boolean>\",\n  \"hireDate\": \"<string>\",\n  \"customFields\": {\n    \"key_0\": false,\n    \"key_1\": 7120.331313975663\n  },\n  \"remoteMode\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"39d526db-c660-4865-9186-6d08b4668a42","name":"Updated employee.","originalRequest":{"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeNumber\": \"A-0042\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30.123.456\",\n  \"cuil\": \"27-30123456-8\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"remoteMode\": \"geofence\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"employeeNumber\": \"A-0042\",\n  \"providerId\": \"cuidadora-k57abc\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30123456\",\n  \"cuil\": \"27301234568\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"terminationDate\": null,\n  \"status\": \"active\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"hasUserAccount\": false,\n  \"hasKioskPin\": false,\n  \"remoteMode\": \"none\",\n  \"createdAt\": \"2026-09-26T12:00:00.000Z\",\n  \"updatedAt\": \"2026-09-26T12:00:00.000Z\",\n  \"createdByUserId\": 5,\n  \"updatedByUserId\": 5\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a206b93a-8bf6-4d46-8934-efd70c6a04e1","name":"Validation failed. Codes: EMPLOYEE_REQUIRED_FIELD_MISSING, EMPLOYEE_INVALID_DOCUMENT, EMPLOYEE_INVALID_CUIL, EMPLOYEE_INVALID_EMAIL, EMPLOYEE_INVALID_DATE, EMPLOYEE_FIELD_TOO_LONG, EMPLOYEE_INVALID_CUSTOM_FIELD, EMPLOYEE_INVALID_BRANCH, EMPLOYEE_INVALID_SUPERVISOR.","originalRequest":{"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeNumber\": \"A-0042\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30.123.456\",\n  \"cuil\": \"27-30123456-8\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"remoteMode\": \"geofence\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3eef91f2-7e13-45fc-adf4-93732cc77d07","name":"`remoteMode` changed without the `attendance:manage` permission, or `supervisorId` set or changed without the `attendance:approve` permission, or the email of an employee who supervises others changed without it (`EMPLOYEE_SUPERVISOR_IDENTITY_FORBIDDEN`).","originalRequest":{"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeNumber\": \"A-0042\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30.123.456\",\n  \"cuil\": \"27-30123456-8\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"remoteMode\": \"geofence\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"89a23379-f2fb-4569-92c1-5f07fd018785","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeNumber\": \"A-0042\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30.123.456\",\n  \"cuil\": \"27-30123456-8\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"remoteMode\": \"geofence\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"216ecb30-46b1-44fa-b567-e6ce1ee5e6c8","name":"Codes: EMPLOYEE_DUPLICATE_DOCUMENT, EMPLOYEE_DUPLICATE_EMAIL.","originalRequest":{"url":{"path":["v1","employees",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"employeeNumber\": \"A-0042\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30.123.456\",\n  \"cuil\": \"27-30123456-8\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"remoteMode\": \"geofence\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4e2e9828-4f1c-4741-bae5-d66790c21ed0","name":"Deactivate employee (offboarding)","request":{"name":"Deactivate employee (offboarding)","description":{"content":"Sets status `inactive` and the termination date (default: today in Argentina). Employees are never deleted. Calling it again only updates the termination date.","type":"text/plain"},"url":{"path":["v1","employees",":id","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"terminationDate\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"f1b87aff-2270-4677-bbf2-d37e27acd20f","name":"Deactivated employee.","originalRequest":{"url":{"path":["v1","employees",":id","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"terminationDate\": \"2026-09-30\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"employeeNumber\": \"A-0042\",\n  \"providerId\": \"cuidadora-k57abc\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30123456\",\n  \"cuil\": \"27301234568\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"terminationDate\": null,\n  \"status\": \"active\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"hasUserAccount\": false,\n  \"hasKioskPin\": false,\n  \"remoteMode\": \"none\",\n  \"createdAt\": \"2026-09-26T12:00:00.000Z\",\n  \"updatedAt\": \"2026-09-26T12:00:00.000Z\",\n  \"createdByUserId\": 5,\n  \"updatedByUserId\": 5\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e335def-1ec9-4d5a-b2e8-9bea2a2709b6","name":"EMPLOYEE_INVALID_DATE — termination date before the hire date.","originalRequest":{"url":{"path":["v1","employees",":id","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"terminationDate\": \"2026-09-30\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5ba6724a-ae95-4827-b3f9-408e6a012f7d","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id","deactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"terminationDate\": \"2026-09-30\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6395c763-4a69-45da-949c-337d28d89415","name":"Reactivate employee","request":{"name":"Reactivate employee","description":{"content":"Sets status `active` and clears the termination date. No-op for an active employee.","type":"text/plain"},"url":{"path":["v1","employees",":id","reactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"87e9b61b-00b6-4f12-9117-9d35f33b7ec6","name":"Reactivated employee.","originalRequest":{"url":{"path":["v1","employees",":id","reactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 12,\n  \"employeeNumber\": \"A-0042\",\n  \"providerId\": \"cuidadora-k57abc\",\n  \"firstName\": \"María\",\n  \"lastName\": \"González\",\n  \"documentType\": \"DNI\",\n  \"documentNumber\": \"30123456\",\n  \"cuil\": \"27301234568\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"phone\": \"+54 11 5555-1234\",\n  \"birthDate\": \"1990-04-12\",\n  \"address\": \"Av. Corrientes 1234, CABA\",\n  \"branchId\": 3,\n  \"supervisorId\": 7,\n  \"hasFamilyDependants\": false,\n  \"hireDate\": \"2024-03-01\",\n  \"terminationDate\": null,\n  \"status\": \"active\",\n  \"customFields\": {\n    \"custom_talle_remera\": \"M\"\n  },\n  \"hasUserAccount\": false,\n  \"hasKioskPin\": false,\n  \"remoteMode\": \"none\",\n  \"createdAt\": \"2026-09-26T12:00:00.000Z\",\n  \"updatedAt\": \"2026-09-26T12:00:00.000Z\",\n  \"createdByUserId\": 5,\n  \"updatedByUserId\": 5\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"daf0feef-6987-489d-991b-4e4153b4a483","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id","reactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dfe4a013-2825-4744-8ba9-991cf2af60fb","name":"Invite an employee to link their Peakly account","request":{"name":"Invite an employee to link their Peakly account","description":{"content":"Issues a one-time invitation for an active employee whose record is not yet linked to an account, and emails it to the employee's address. The link expires in 7 days; issuing a new invitation revokes the previous pending one. The employee accepts it logged in with the same email. The response includes the acceptance link so it can also be shared by other means. Inviting an employee who supervises others also requires the attendance:approve permission (an API key needs a creator who holds it).","type":"text/plain"},"url":{"path":["v1","employees",":id","invite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"sendEmail\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a686fac4-2cad-4698-bf32-100692ad70bd","name":"Invitation issued.","originalRequest":{"url":{"path":["v1","employees",":id","invite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"sendEmail\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"invitationId\": 31,\n  \"expiresAt\": \"2026-10-03T12:00:00.000Z\",\n  \"email\": \"maria.gonzalez@empresa.com.ar\",\n  \"inviteUrl\": \"https://peakly.ar/equipo/invitacion/3q2-7wEj…\",\n  \"emailSent\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e037afe-9c2a-4ce0-a143-baf2c636815c","name":"EMPLOYEE_SUPERVISOR_IDENTITY_FORBIDDEN — the employee supervises others and the caller (for an API key, its creator) lacks the `attendance:approve` permission.","originalRequest":{"url":{"path":["v1","employees",":id","invite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"sendEmail\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9e11235c-807c-467f-a81b-9ef4be629140","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id","invite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"sendEmail\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7fb04aa-c46f-44c7-9fed-efd0ddc1e080","name":"EMPLOYEE_NOT_ACTIVE — the employee is inactive; EMPLOYEE_ALREADY_LINKED — the record is already linked to an account.","originalRequest":{"url":{"path":["v1","employees",":id","invite"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"sendEmail\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f740fb8b-1ad3-453d-ac26-a1bc33308e6d","name":"Get the employee's latest invitation","request":{"name":"Get the employee's latest invitation","description":{"content":"Status of the most recent invitation (`pending`, `expired`, `accepted` or `revoked`), or `invitation: null` if none was ever sent. The code is never returned again.","type":"text/plain"},"url":{"path":["v1","employees",":id","invitation"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"006b5bf1-7a6c-4914-863d-f84327f458b5","name":"Latest invitation or null.","originalRequest":{"url":{"path":["v1","employees",":id","invitation"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"invitation\": {\n    \"nullable\": true,\n    \"description\": \"The employee's most recent invitation, or null if none was ever sent.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"61e4f786-602a-4be2-af7f-a1d6c9c220ac","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","employees",":id","invitation"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ad1870a9-5b05-4ee0-af53-a78d9e196d93","name":"List an employee's devices","request":{"name":"List an employee's devices","description":{"content":"Passkeys the employee registered to clock in, newest first, with their status. Key material is never returned.","type":"text/plain"},"url":{"path":["v1","employees",":id","devices"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2a963366-dd68-406a-9914-0438f2988070","name":"Devices.","originalRequest":{"url":{"path":["v1","employees",":id","devices"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dad0e55b-ebca-4492-bacd-f3e45fe2f992","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization; DEVICE_NOT_FOUND — the device is not one of this employee's.","originalRequest":{"url":{"path":["v1","employees",":id","devices"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7b94286e-66fc-42b2-b0c8-74948e1f8511","name":"Approve a device","request":{"name":"Approve a device","description":{"content":"Makes a `pending_approval` device the employee's active one and revokes the previously active device, atomically. No-op on the already active device.","type":"text/plain"},"url":{"path":["v1","employees",":id","devices",":deviceId","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"deviceId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2b15ac2d-a7b8-4709-b82a-8fade872d2ad","name":"Approved (now active) device.","originalRequest":{"url":{"path":["v1","employees",":id","devices",":deviceId","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"deviceId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"employeeId\": 12,\n  \"label\": \"iPhone de María\",\n  \"userAgent\": \"string\",\n  \"status\": \"active\",\n  \"transports\": [\n    \"internal\",\n    \"hybrid\"\n  ],\n  \"approvedByUserId\": null,\n  \"approvedAt\": null,\n  \"revokedAt\": null,\n  \"lastUsedAt\": null,\n  \"createdAt\": \"2026-09-26T12:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c02694b-bec9-4ffd-811a-d46184836f4d","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization; DEVICE_NOT_FOUND — the device is not one of this employee's.","originalRequest":{"url":{"path":["v1","employees",":id","devices",":deviceId","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"deviceId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59a54728-5c8e-47a8-8429-4b25c30d7ee2","name":"DEVICE_NOT_PENDING — the device was revoked; EMPLOYEE_NOT_ACTIVE — the employee is inactive.","originalRequest":{"url":{"path":["v1","employees",":id","devices",":deviceId","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"deviceId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b739458d-650e-42a0-a686-5aa3e8de8906","name":"Revoke a device","request":{"name":"Revoke a device","description":{"content":"The device can no longer be used to clock in. Idempotent. Offboarding an employee revokes all their devices automatically.","type":"text/plain"},"url":{"path":["v1","employees",":id","devices",":deviceId","revoke"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"deviceId","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"45807cdd-91db-40e3-b1eb-e968d6cdb02d","name":"Revoked device.","originalRequest":{"url":{"path":["v1","employees",":id","devices",":deviceId","revoke"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"deviceId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 7,\n  \"employeeId\": 12,\n  \"label\": \"iPhone de María\",\n  \"userAgent\": \"string\",\n  \"status\": \"active\",\n  \"transports\": [\n    \"internal\",\n    \"hybrid\"\n  ],\n  \"approvedByUserId\": null,\n  \"approvedAt\": null,\n  \"revokedAt\": null,\n  \"lastUsedAt\": null,\n  \"createdAt\": \"2026-09-26T12:00:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4d32c3a-e622-48c3-a274-215c4768d455","name":"EMPLOYEE_NOT_FOUND — the employee does not exist or belongs to another organization; DEVICE_NOT_FOUND — the device is not one of this employee's.","originalRequest":{"url":{"path":["v1","employees",":id","devices",":deviceId","revoke"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"deviceId","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"5b9a6232-e345-4577-baaa-ae8fcd5eb829","name":"Personal - Intranet","description":{"content":"","type":"text/plain"},"item":[{"id":"a4981df1-961b-4a60-ba77-560ebbdc4115","name":"List announcements","request":{"name":"List announcements","description":{"content":"Drafts, published and archived announcements of the organization, newest first (at most 200), with read receipts for the published ones.","type":"text/plain"},"url":{"path":["v1","intranet","announcements"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"<string>","description":"Only this status. Default: every status."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"869a4767-c7bc-40b1-8e74-ae7e841cdec5","name":"Announcements.","originalRequest":{"url":{"path":["v1","intranet","announcements"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b6fbe9c-a0d6-48ab-871a-aa4c8b71bfbb","name":"BAD_REQUEST — `status` is not draft, published or archived.","originalRequest":{"url":{"path":["v1","intranet","announcements"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"79f8fe2c-a40f-424b-a58e-14a8531ca5a9","name":"Create an announcement","request":{"name":"Create an announcement","description":{"content":"Creates a draft. Employees see nothing until it is published. The body is Markdown; clients render it sanitized (no raw HTML). The audience is everyone or a list of sites (branch ids).","type":"text/plain"},"url":{"path":["v1","intranet","announcements"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"bodyMd\": \"<string>\",\n  \"audience\": {\n    \"description\": \"Default: everyone.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"requiresAck\": \"<boolean>\",\n  \"notifyByEmail\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"182fd05d-e108-43eb-9376-d558b319a207","name":"The new draft.","originalRequest":{"url":{"path":["v1","intranet","announcements"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\\n\\n- Turno mañana: 10–14\\n- Turno tarde: 14–18\",\n  \"audience\": {\n    \"description\": \"Default: everyone.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true,\n  \"status\": \"published\",\n  \"publishedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"archivedAt\": null,\n  \"emailStatus\": \"sent\",\n  \"createdAt\": \"2026-10-02T11:40:00.000Z\",\n  \"updatedAt\": \"2026-10-02T11:55:00.000Z\",\n  \"stats\": {\n    \"nullable\": true,\n    \"description\": \"Read receipts; null for drafts.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1fbd55df-d100-467a-985f-292907c6f819","name":"INTRANET_ANNOUNCEMENT_INVALID — empty or too long title or body, or a site of another organization (listed in `details`).","originalRequest":{"url":{"path":["v1","intranet","announcements"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\\n\\n- Turno mañana: 10–14\\n- Turno tarde: 14–18\",\n  \"audience\": {\n    \"description\": \"Default: everyone.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9597c2fa-f56b-464a-9f70-e024ac2abde9","name":"Get an announcement","request":{"name":"Get an announcement","description":{"content":"One announcement with its read receipts summary (null for drafts).","type":"text/plain"},"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"265246b0-f08f-4f09-a8c1-41226e290c32","name":"The announcement.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true,\n  \"status\": \"published\",\n  \"publishedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"archivedAt\": null,\n  \"emailStatus\": \"sent\",\n  \"createdAt\": \"2026-10-02T11:40:00.000Z\",\n  \"updatedAt\": \"2026-10-02T11:55:00.000Z\",\n  \"stats\": {\n    \"nullable\": true,\n    \"description\": \"Read receipts; null for drafts.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa51d6f3-f4c9-4e7f-9ace-1d9084f10280","name":"INTRANET_ANNOUNCEMENT_NOT_FOUND — it does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9df5e9a8-246f-410c-bd34-33125948b3c4","name":"Edit a draft announcement","request":{"name":"Edit a draft announcement","description":{"content":"Changes the fields sent. Only drafts: a published announcement is archived and a new one written, so nobody confirms a text that changed after they read it.","type":"text/plain"},"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"bodyMd\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\",\n  \"notifyByEmail\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"09c8e5af-f41a-4d93-9667-2a5cd65aaaea","name":"The edited draft.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"bodyMd\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\",\n  \"notifyByEmail\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true,\n  \"status\": \"published\",\n  \"publishedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"archivedAt\": null,\n  \"emailStatus\": \"sent\",\n  \"createdAt\": \"2026-10-02T11:40:00.000Z\",\n  \"updatedAt\": \"2026-10-02T11:55:00.000Z\",\n  \"stats\": {\n    \"nullable\": true,\n    \"description\": \"Read receipts; null for drafts.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c2a72d42-48cb-4c33-9d0a-6b21f53716ea","name":"INTRANET_ANNOUNCEMENT_INVALID — see create.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"bodyMd\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\",\n  \"notifyByEmail\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"549bfd6e-5884-46df-a8d0-fa0967bdfd0b","name":"INTRANET_ANNOUNCEMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"bodyMd\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\",\n  \"notifyByEmail\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8eeb924d-c643-4df0-99f4-0cfd88802d05","name":"INTRANET_ANNOUNCEMENT_NOT_DRAFT — it was already published or archived.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"bodyMd\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\",\n  \"notifyByEmail\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"80db44a9-7d88-4a11-b291-176d673ac23b","name":"Delete a draft announcement","request":{"name":"Delete a draft announcement","description":{"content":"Deletes a draft. Published announcements are archived instead.","type":"text/plain"},"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6730e021-f559-48ce-865d-593ffc9b8e05","name":"The deleted draft.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true,\n  \"status\": \"published\",\n  \"publishedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"archivedAt\": null,\n  \"emailStatus\": \"sent\",\n  \"createdAt\": \"2026-10-02T11:40:00.000Z\",\n  \"updatedAt\": \"2026-10-02T11:55:00.000Z\",\n  \"stats\": {\n    \"nullable\": true,\n    \"description\": \"Read receipts; null for drafts.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"407e82c5-c2c3-433f-9fb5-af636019cd1c","name":"INTRANET_ANNOUNCEMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e90b92be-d8aa-4978-b06e-e3d96dadcc08","name":"INTRANET_ANNOUNCEMENT_NOT_DRAFT — it was published.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9969a8b3-7181-4deb-89af-571f68ab415c","name":"Publish an announcement","request":{"name":"Publish an announcement","description":{"content":"Makes a draft visible in the intranet of every active employee in its audience. With `notifyByEmail`, the audience is emailed within minutes, in batches (employees with an email only).","type":"text/plain"},"url":{"path":["v1","intranet","announcements",":id","publish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"136b5e47-65d1-46ed-aeb1-9cf335e54caa","name":"The published announcement.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id","publish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true,\n  \"status\": \"published\",\n  \"publishedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"archivedAt\": null,\n  \"emailStatus\": \"sent\",\n  \"createdAt\": \"2026-10-02T11:40:00.000Z\",\n  \"updatedAt\": \"2026-10-02T11:55:00.000Z\",\n  \"stats\": {\n    \"nullable\": true,\n    \"description\": \"Read receipts; null for drafts.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3cad9e2b-1684-4be2-877d-3fd63e9fabf5","name":"INTRANET_ANNOUNCEMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id","publish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"acb40ee8-6847-4667-b059-aa84dee22628","name":"INTRANET_ANNOUNCEMENT_NOT_DRAFT — it was already published or archived.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id","publish"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"64ccc2d1-a594-4358-84e4-79c0b7ac237c","name":"Archive an announcement","request":{"name":"Archive an announcement","description":{"content":"Hides it from the intranet (pending emails stop). Reads and confirmations are kept. Archiving twice is a no-op.","type":"text/plain"},"url":{"path":["v1","intranet","announcements",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2628106e-975b-445e-a458-08abaa06b233","name":"The archived announcement.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"title\": \"Cambio de horario en feriados\",\n  \"bodyMd\": \"El **lunes 12** abrimos de 10 a 18.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"notifyByEmail\": true,\n  \"status\": \"published\",\n  \"publishedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"archivedAt\": null,\n  \"emailStatus\": \"sent\",\n  \"createdAt\": \"2026-10-02T11:40:00.000Z\",\n  \"updatedAt\": \"2026-10-02T11:55:00.000Z\",\n  \"stats\": {\n    \"nullable\": true,\n    \"description\": \"Read receipts; null for drafts.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e89e48a6-5b0d-4eed-a610-1f9398ce704d","name":"INTRANET_ANNOUNCEMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9743c698-3930-4ea7-be20-06968f6a0024","name":"Announcement read receipts","request":{"name":"Announcement read receipts","description":{"content":"How many active employees of the audience opened and confirmed it, and who is missing (not confirmed when a confirmation is asked, else not opened; at most 500). Drafts answer zeros.","type":"text/plain"},"url":{"path":["v1","intranet","announcements",":id","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"816bf4d2-f3f6-42dd-bbc4-263c3b27c29f","name":"Read receipts.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"requiresAck\": true,\n  \"version\": 2,\n  \"audienceCount\": 42,\n  \"readCount\": 30,\n  \"ackedCount\": 25,\n  \"pendingCount\": 17,\n  \"pending\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"pendingTruncated\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5b9ef55-5b5c-466e-80c7-e518fea747b7","name":"INTRANET_ANNOUNCEMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","announcements",":id","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7170d19b-5c9c-44be-8ce6-c404704bb386","name":"List documents","request":{"name":"List documents","description":{"content":"Documents of the organization (active first, then by title; at most 200) with the confirmations of their current version.","type":"text/plain"},"url":{"path":["v1","intranet","documents"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5dbd6123-2464-4702-b437-bc090f227a14","name":"Documents.","originalRequest":{"url":{"path":["v1","intranet","documents"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fb4ab689-e9a5-4fb7-816a-8517769a57a2","name":"Upload a document","request":{"name":"Upload a document","description":{"content":"Uploads a document (version 1) for everyone or some sites. Multipart: `file` plus `title`, optional `description`, `requiresAck` (\"true\"/\"false\") and `audience` (JSON). Files are private: they are downloaded through short signed URLs.","type":"text/plain"},"url":{"path":["v1","intranet","documents"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes."},{"key":"title","value":"<string>","type":"text","description":"(Required) "},{"key":"description","value":"<string>","type":"text","description":""},{"key":"requiresAck","value":"<string>","type":"text","description":" (This can only be one of true,false)"},{"key":"audience","value":"<string>","type":"text","description":""}]}},"response":[{"id":"c3463360-db88-4d5d-91c7-2e947530d293","name":"The new document.","originalRequest":{"url":{"path":["v1","intranet","documents"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"(Required) ","type":"text/plain"},"key":"title","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"description","value":"<string>","type":"text"},{"description":{"content":" (This can only be one of true,false)","type":"text/plain"},"key":"requiresAck","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"audience","value":"{\"all\":false,\"branchIds\":[3]}","type":"text"}]}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"title\": \"Reglamento interno\",\n  \"description\": \"Versión aprobada en septiembre.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"version\": 2,\n  \"fileName\": \"reglamento-2026.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"sizeBytes\": 182044,\n  \"status\": \"active\",\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-09-01T12:00:00.000Z\",\n  \"updatedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"stats\": {\n    \"description\": \"Confirmations of the current version.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"versions\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"723df902-f271-4f42-8a0d-a5d0b1ebee12","name":"INTRANET_DOCUMENT_INVALID — bad title, description or audience (a site of another organization included). INTRANET_DOCUMENT_FILE_INVALID — no file, empty, or not a PDF, PNG, JPEG, DOCX or XLSX.","originalRequest":{"url":{"path":["v1","intranet","documents"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"(Required) ","type":"text/plain"},"key":"title","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"description","value":"<string>","type":"text"},{"description":{"content":" (This can only be one of true,false)","type":"text/plain"},"key":"requiresAck","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"audience","value":"{\"all\":false,\"branchIds\":[3]}","type":"text"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"93f59aeb-ddf6-4853-bfba-bf01e8de12b2","name":"PAYLOAD_TOO_LARGE — the file is over 10 MB.","originalRequest":{"url":{"path":["v1","intranet","documents"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"(Required) ","type":"text/plain"},"key":"title","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"description","value":"<string>","type":"text"},{"description":{"content":" (This can only be one of true,false)","type":"text/plain"},"key":"requiresAck","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"audience","value":"{\"all\":false,\"branchIds\":[3]}","type":"text"}]}},"status":"Request Entity Too Large","code":413,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b35fa8ee-f18c-4f4a-9191-0445f4af1787","name":"INTRANET_STORAGE_NOT_CONFIGURED — document storage is not available.","originalRequest":{"url":{"path":["v1","intranet","documents"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"(Required) ","type":"text/plain"},"key":"title","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"description","value":"<string>","type":"text"},{"description":{"content":" (This can only be one of true,false)","type":"text/plain"},"key":"requiresAck","value":"<string>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"audience","value":"{\"all\":false,\"branchIds\":[3]}","type":"text"}]}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dccdf18b-a8bf-4580-8b3a-51e75e565f46","name":"Get a document","request":{"name":"Get a document","description":{"content":"One document with every version, newest first.","type":"text/plain"},"url":{"path":["v1","intranet","documents",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2cd89eac-c68e-4632-8e6b-f648c7ad559d","name":"The document.","originalRequest":{"url":{"path":["v1","intranet","documents",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"title\": \"Reglamento interno\",\n  \"description\": \"Versión aprobada en septiembre.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"version\": 2,\n  \"fileName\": \"reglamento-2026.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"sizeBytes\": 182044,\n  \"status\": \"active\",\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-09-01T12:00:00.000Z\",\n  \"updatedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"stats\": {\n    \"description\": \"Confirmations of the current version.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"versions\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15776832-e067-4386-a21d-13fe99fa205f","name":"INTRANET_DOCUMENT_NOT_FOUND — it does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","intranet","documents",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"80ac5033-9c7d-4c77-86f2-70c44df05edf","name":"Edit a document","request":{"name":"Edit a document","description":{"content":"Changes title, description, audience or whether a confirmation is asked. The file stays: upload a new version to change it.","type":"text/plain"},"url":{"path":["v1","intranet","documents",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"description\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c094913a-f573-43f3-a9b9-b7dd6f30a057","name":"The edited document.","originalRequest":{"url":{"path":["v1","intranet","documents",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"description\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"title\": \"Reglamento interno\",\n  \"description\": \"Versión aprobada en septiembre.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"version\": 2,\n  \"fileName\": \"reglamento-2026.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"sizeBytes\": 182044,\n  \"status\": \"active\",\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-09-01T12:00:00.000Z\",\n  \"updatedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"stats\": {\n    \"description\": \"Confirmations of the current version.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"versions\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5aedb533-5534-4296-b44b-e2eb5180f35d","name":"INTRANET_DOCUMENT_INVALID — see upload.","originalRequest":{"url":{"path":["v1","intranet","documents",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"description\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7fba3e3-3701-496f-84c8-ac78cef8e636","name":"INTRANET_DOCUMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","documents",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"title\": \"<string>\",\n  \"description\": \"<string>\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"125e9698-b4be-4bc8-a7e0-906e2dad26be","name":"Upload a new version","request":{"name":"Upload a new version","description":{"content":"Replaces the document's file: the version goes up by one and every confirmation starts over (employees confirm the new version). Older versions stay downloadable here.","type":"text/plain"},"url":{"path":["v1","intranet","documents",":id","versions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes."}]}},"response":[{"id":"536905a8-0865-443b-b57b-9dcfa3b0105e","name":"The document at its new version.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","versions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"title\": \"Reglamento interno\",\n  \"description\": \"Versión aprobada en septiembre.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"version\": 2,\n  \"fileName\": \"reglamento-2026.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"sizeBytes\": 182044,\n  \"status\": \"active\",\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-09-01T12:00:00.000Z\",\n  \"updatedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"stats\": {\n    \"description\": \"Confirmations of the current version.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"versions\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e0e0cd3d-5f2c-4214-938b-da52258a6624","name":"INTRANET_DOCUMENT_FILE_INVALID — no file, empty, or not a PDF, PNG, JPEG, DOCX or XLSX.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","versions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"77fddab5-fb69-47b6-921f-65a124ce1f62","name":"INTRANET_DOCUMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","versions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eeaea3c1-41a6-4985-a61b-6708ce2625bf","name":"INTRANET_DOCUMENT_ARCHIVED — the document is archived. INTRANET_DOCUMENT_VERSION_CHANGED — another version was uploaded at the same time.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","versions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"933aefa3-bf37-4890-b2ad-00274ad0081b","name":"PAYLOAD_TOO_LARGE — the file is over 10 MB.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","versions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Request Entity Too Large","code":413,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a7066b8e-eb4d-4ab7-a272-9abaaf2a8945","name":"INTRANET_STORAGE_NOT_CONFIGURED.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","versions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) PDF, PNG, JPEG, DOCX or XLSX, up to 10 MB. The type is read from the file's bytes.","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bb12020a-403d-42d0-9cb3-725615d1a367","name":"Archive a document","request":{"name":"Archive a document","description":{"content":"Hides it from the intranet. Versions and confirmations are kept. Archiving twice is a no-op.","type":"text/plain"},"url":{"path":["v1","intranet","documents",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"070e5f04-35b6-4fb3-823a-264336c0776e","name":"The archived document.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 4,\n  \"title\": \"Reglamento interno\",\n  \"description\": \"Versión aprobada en septiembre.\",\n  \"audience\": {\n    \"all\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"branchIds\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"requiresAck\": true,\n  \"version\": 2,\n  \"fileName\": \"reglamento-2026.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"sizeBytes\": 182044,\n  \"status\": \"active\",\n  \"archivedAt\": null,\n  \"createdAt\": \"2026-09-01T12:00:00.000Z\",\n  \"updatedAt\": \"2026-10-02T12:00:00.000Z\",\n  \"stats\": {\n    \"description\": \"Confirmations of the current version.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"versions\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4958e1ad-3cb1-423b-a71d-4a1914b90fb7","name":"INTRANET_DOCUMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","archive"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6676cfd8-313d-43bc-80ad-c15d49b36d08","name":"Download a document","request":{"name":"Download a document","description":{"content":"A signed URL (valid 5 minutes) for the current version or the one in `version`.","type":"text/plain"},"url":{"path":["v1","intranet","documents",":id","download"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"version","value":"<number>","description":"Version to download. Default: the current one."}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2b24b631-b499-4df3-b479-96d2ac30dee2","name":"Signed URL.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","download"],"host":["{{baseUrl}}"],"query":[{"key":"version","value":"1"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"url\": \"https://storage.example/…signed…\",\n  \"fileName\": \"reglamento-2026.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"version\": 2,\n  \"expiresAt\": \"2026-10-02T12:05:00.000Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6cb6c65a-0e78-4ed1-92c0-2915f4e72459","name":"BAD_REQUEST — `version` is not a positive integer.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","download"],"host":["{{baseUrl}}"],"query":[{"key":"version","value":"1"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5ebe27f2-2b59-430d-94cd-707710967fee","name":"INTRANET_DOCUMENT_NOT_FOUND — the document or that version does not exist.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","download"],"host":["{{baseUrl}}"],"query":[{"key":"version","value":"1"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da6fc984-313a-4c53-b109-c8a82909d030","name":"INTRANET_STORAGE_NOT_CONFIGURED.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","download"],"host":["{{baseUrl}}"],"query":[{"key":"version","value":"1"}],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"afbf5c6a-db70-482b-9a53-f27c513c8670","name":"Document confirmations","request":{"name":"Document confirmations","description":{"content":"How many active employees of the audience confirmed the current version, and who is missing (at most 500, with the last version each one confirmed). A document that asks for no confirmation answers no pending employees.","type":"text/plain"},"url":{"path":["v1","intranet","documents",":id","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"150da673-f3ed-47e6-a665-345ab4ca2bd7","name":"Confirmations.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"requiresAck\": true,\n  \"version\": 2,\n  \"audienceCount\": 42,\n  \"readCount\": 30,\n  \"ackedCount\": 25,\n  \"pendingCount\": 17,\n  \"pending\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"pendingTruncated\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4571830-60e4-4e82-8299-563a6c29a8ce","name":"INTRANET_DOCUMENT_NOT_FOUND.","originalRequest":{"url":{"path":["v1","intranet","documents",":id","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"60a63d22-a85c-4f3f-90c4-0fc9d38c9aa5","name":"Get directory settings","request":{"name":"Get directory settings","description":{"content":"The fields the employee directory shows besides the name, and the ones that can be added. Email and phone show only for employees who opted in from their intranet.","type":"text/plain"},"url":{"path":["v1","intranet","directory-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"4013caaa-c8b3-4e04-b4b3-9a81ead471b2","name":"Directory settings.","originalRequest":{"url":{"path":["v1","intranet","directory-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"fields\": [\n    \"branch_id\",\n    \"phone\"\n  ],\n  \"available\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"24c520f1-484e-443b-aa06-cd25555b5af1","name":"Replace directory settings","request":{"name":"Replace directory settings","description":{"content":"Sends the full list of fields to show, in order. Empty = name only.","type":"text/plain"},"url":{"path":["v1","intranet","directory-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"fields\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"5c758d6d-40d5-4a0c-8e5c-46be8d50152b","name":"Directory settings after the change.","originalRequest":{"url":{"path":["v1","intranet","directory-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fields\": [\n    \"branch_id\",\n    \"phone\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"fields\": [\n    \"branch_id\",\n    \"phone\"\n  ],\n  \"available\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f6df5cd-cce3-489d-ad08-ad6971686ab1","name":"INTRANET_DIRECTORY_SETTINGS_INVALID — a field that does not exist, cannot be shown (CUIL, document, address, birth date, numeric/date custom fields) or is hidden in the employee field settings.","originalRequest":{"url":{"path":["v1","intranet","directory-settings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fields\": [\n    \"branch_id\",\n    \"phone\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"0ddd6cda-1ce7-4e89-bad5-0571eb019483","name":"Personal - Licencias","description":{"content":"","type":"text/plain"},"item":[{"id":"1705d815-bda1-44a1-ade8-a725b456cb14","name":"List leave types","request":{"name":"List leave types","description":{"content":"The organization's leave types. The first read seeds the system catalog (vacaciones, enfermedad, nacimiento, matrimonio, fallecimiento, examen, sin goce, otra) with the LCT defaults.","type":"text/plain"},"url":{"path":["v1","attendance","leave-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"c4def410-717d-466b-afe8-d0b61cb4ce0b","name":"Leave types, by `sortOrder`.","originalRequest":{"url":{"path":["v1","attendance","leave-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"60f7314d-6f66-473c-9fe5-550fa9133e2c","name":"Add a leave type","request":{"name":"Add a leave type","description":{"content":"A type of the organization's own (a collective agreement's leave, for instance).","type":"text/plain"},"url":{"path":["v1","attendance","leave-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ca465785-1e52-41ad-a7f7-4d0b90bd1d76","name":"The new type.","originalRequest":{"url":{"path":["v1","attendance","leave-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Mudanza\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 3,\n  \"systemKey\": \"nacimiento\",\n  \"name\": \"Vacaciones\",\n  \"paid\": true,\n  \"countsAs\": \"working_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": 7,\n  \"maxDaysPerRequest\": null,\n  \"maxDaysPerYear\": null,\n  \"active\": true,\n  \"sortOrder\": 10,\n  \"hasBalance\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bd2502dd-e0f2-46a0-a387-88c9fb57469d","name":"ATTENDANCE_LEAVE_TYPE_INVALID — bad fields (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","leave-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Mudanza\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a04a1a7-4568-4550-bb3a-bf348a5af8ce","name":"ATTENDANCE_LEAVE_TYPE_DUPLICATE — another type has that name.","originalRequest":{"url":{"path":["v1","attendance","leave-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Mudanza\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"03c1bd22-1f1f-4e68-8d99-97f06a0cbd95","name":"Update a leave type","request":{"name":"Update a leave type","description":{"content":"Any field but the catalog key. `active: false` hides it from new requests; existing requests keep it. Days already counted do not change.","type":"text/plain"},"url":{"path":["v1","attendance","leave-types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3ac48c89-16ef-498f-a966-9e388b9b3db2","name":"The type.","originalRequest":{"url":{"path":["v1","attendance","leave-types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Mudanza\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 3,\n  \"systemKey\": \"nacimiento\",\n  \"name\": \"Vacaciones\",\n  \"paid\": true,\n  \"countsAs\": \"working_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": 7,\n  \"maxDaysPerRequest\": null,\n  \"maxDaysPerYear\": null,\n  \"active\": true,\n  \"sortOrder\": 10,\n  \"hasBalance\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0167c50f-b7ed-4a4b-b7e2-3a45f9437e9f","name":"ATTENDANCE_LEAVE_TYPE_INVALID — bad fields.","originalRequest":{"url":{"path":["v1","attendance","leave-types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Mudanza\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c62f16a9-375b-481d-85ac-6a4ff5bba935","name":"ATTENDANCE_LEAVE_TYPE_NOT_FOUND — unknown or another organization's.","originalRequest":{"url":{"path":["v1","attendance","leave-types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Mudanza\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"85fa3f63-57de-4cef-a9d5-2bf7846c7fcd","name":"ATTENDANCE_LEAVE_TYPE_DUPLICATE — another type has that name.","originalRequest":{"url":{"path":["v1","attendance","leave-types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"Mudanza\",\n  \"paid\": true,\n  \"countsAs\": \"calendar_days\",\n  \"requiresCertificate\": false,\n  \"requiresApproval\": true,\n  \"employeeCanRequest\": true,\n  \"consumesHourBank\": false,\n  \"minDaysPerRequest\": \"<number>\",\n  \"maxDaysPerRequest\": \"<number>\",\n  \"maxDaysPerYear\": \"<number>\",\n  \"sortOrder\": \"<number>\",\n  \"active\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"119ac6f0-12b1-4c87-99e6-4c0e8743a2b7","name":"List leaves","request":{"name":"List leaves","description":{"content":"Leaves overlapping `from`…`to` (both optional; at most 366 days), by status, employee, type or site. Sorted by start date; at most 500 (`truncated`). `status=pending` is the approvals inbox.","type":"text/plain"},"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"<string>","description":"Default: every status."},{"disabled":false,"key":"from","value":"<string>","description":"Leaves that end on or after this date."},{"disabled":false,"key":"to","value":"<string>","description":"Leaves that start on or before this date (range ≤ 366 days)."},{"disabled":false,"key":"employee_id","value":"<number>"},{"disabled":false,"key":"leave_type_id","value":"<number>"},{"disabled":false,"key":"branch_id","value":"<number>","description":"Employees of this site."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"003cf601-8a1c-42e7-8fd2-0fe333a3f833","name":"Leaves.","originalRequest":{"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-12-31"},{"key":"employee_id","value":"12"},{"key":"leave_type_id","value":"3"},{"key":"branch_id","value":"2"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"truncated\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c86a75db-0b9f-45b5-9e62-cbad950d4327","name":"ATTENDANCE_INVALID_DATE_RANGE — bad range.","originalRequest":{"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"from","value":"2026-10-01"},{"key":"to","value":"2026-12-31"},{"key":"employee_id","value":"12"},{"key":"leave_type_id","value":"3"},{"key":"branch_id","value":"2"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"35fb9a7d-9919-4fb3-932d-033b4ab351f7","name":"Load a leave","request":{"name":"Load a leave","description":{"content":"Loads a leave for an employee, approved at once unless `status: pending`. Same rules as an employee's request (overlap, balance, limits), up to 400 days back. An approved leave makes its days expected off: no absence, no no-show alert, no overtime.","type":"text/plain"},"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"leaveTypeId\": \"<number>\",\n  \"fromDate\": \"<string>\",\n  \"toDate\": \"<string>\",\n  \"employeeId\": \"<number>\",\n  \"reason\": \"<string>\",\n  \"periodYear\": \"<number>\",\n  \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a64f99b3-9f8a-4928-a887-234ad448a4ec","name":"The leave.","originalRequest":{"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"leaveTypeId\": 3,\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"employeeId\": 12,\n  \"reason\": \"<string>\",\n  \"periodYear\": 2026,\n  \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 17,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"leaveType\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"systemKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countsAs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requiresCertificate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"days\": 14,\n  \"periodYear\": 2026,\n  \"status\": \"pending\",\n  \"reason\": \"string\",\n  \"requestedBy\": \"employee\",\n  \"reviewerName\": \"Gabriel Pan\",\n  \"reviewedAt\": \"1951-05-18T09:44:31.387Z\",\n  \"reviewNote\": \"string\",\n  \"cancelledAt\": \"2026-07-07T08:27:33.546Z\",\n  \"certificate\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warnings\": [\n    \"not_monday\",\n    \"no_working_day\"\n  ],\n  \"createdAt\": \"1982-10-31T08:01:38.887Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7006ba11-81f9-422c-adcc-385ae2e6fe4f","name":"ATTENDANCE_LEAVE_INVALID — bad or out-of-range dates, an inactive type, or a rule of the type (minimum/maximum days, listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"leaveTypeId\": 3,\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"employeeId\": 12,\n  \"reason\": \"<string>\",\n  \"periodYear\": 2026,\n  \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c546a2f1-51ec-4cd6-a07f-6528db27a223","name":"EMPLOYEE_NOT_FOUND or ATTENDANCE_LEAVE_TYPE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"leaveTypeId\": 3,\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"employeeId\": 12,\n  \"reason\": \"<string>\",\n  \"periodYear\": 2026,\n  \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00f0c92a-d68b-41e3-85c5-e91d42ebd644","name":"ATTENDANCE_LEAVE_OVERLAP (another pending or approved leave on those dates), ATTENDANCE_LEAVE_INSUFFICIENT_BALANCE (vacation balance) or ATTENDANCE_LEAVE_LIMIT_EXCEEDED (yearly limit of the type).","originalRequest":{"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"leaveTypeId\": 3,\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"employeeId\": 12,\n  \"reason\": \"<string>\",\n  \"periodYear\": 2026,\n  \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0eb18507-5db6-48f1-b20c-b49f581d338f","name":"HOUR_BANK_INSUFFICIENT — the type consumes the hour bank and the balance does not cover the leave's planned minutes.","originalRequest":{"url":{"path":["v1","attendance","leaves"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"leaveTypeId\": 3,\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"employeeId\": 12,\n  \"reason\": \"<string>\",\n  \"periodYear\": 2026,\n  \"status\": \"approved\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a9e386d8-05b3-4051-9646-550699a1178d","name":"Preview a leave","request":{"name":"Preview a leave","description":{"content":"Days it would count, the vacation balance, the legal reminders and why it would be refused — without saving anything.","type":"text/plain"},"url":{"path":["v1","attendance","leaves","preview"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"leave_type_id","value":"<number>","description":"(Required) "},{"disabled":false,"key":"from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"to","value":"<string>","description":"(Required) "},{"disabled":false,"key":"period_year","value":"<number>"},{"disabled":false,"key":"employee_id","value":"<number>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3d01d9ef-f679-4860-a2ef-54351bb75404","name":"The preview.","originalRequest":{"url":{"path":["v1","attendance","leaves","preview"],"host":["{{baseUrl}}"],"query":[{"key":"leave_type_id","value":"3"},{"key":"from","value":"2026-12-07"},{"key":"to","value":"2026-12-20"},{"key":"period_year","value":"2026"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"days\": 14,\n  \"countsAs\": \"calendar_days\",\n  \"periodYear\": 2026,\n  \"warnings\": [\n    \"not_monday\",\n    \"not_monday\"\n  ],\n  \"balance\": {\n    \"nullable\": true,\n    \"description\": \"Vacations: the period's balance before this request.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"violation\": {\n    \"nullable\": true,\n    \"description\": \"Why it would be refused (null = it can be requested; overlaps are checked on submit).\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"sickLeave\": {\n    \"nullable\": true,\n    \"description\": \"Sickness type only: the year's paid sick-leave allowance before this request (LCT art. 208). Exceeding it adds the warning `sick_leave_over_allowance`; it never blocks.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"475c01b4-cf6d-4576-a5fa-f30a85839abc","name":"ATTENDANCE_LEAVE_INVALID — bad or out-of-range dates, an inactive type, or a rule of the type (minimum/maximum days, listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","leaves","preview"],"host":["{{baseUrl}}"],"query":[{"key":"leave_type_id","value":"3"},{"key":"from","value":"2026-12-07"},{"key":"to","value":"2026-12-20"},{"key":"period_year","value":"2026"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f27a19b-add9-40be-bf17-6a5c554a2ed1","name":"EMPLOYEE_NOT_FOUND or ATTENDANCE_LEAVE_TYPE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","attendance","leaves","preview"],"host":["{{baseUrl}}"],"query":[{"key":"leave_type_id","value":"3"},{"key":"from","value":"2026-12-07"},{"key":"to","value":"2026-12-20"},{"key":"period_year","value":"2026"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"87b514dc-6f37-485c-8fb9-68971a863e75","name":"Get a leave","request":{"name":"Get a leave","description":{"content":"One leave with its type, reviewer, certificate metadata and legal reminders.","type":"text/plain"},"url":{"path":["v1","attendance","leaves",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9dffedf6-2123-4f4b-873f-df931e3627b0","name":"The leave.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 17,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"leaveType\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"systemKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countsAs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requiresCertificate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"days\": 14,\n  \"periodYear\": 2026,\n  \"status\": \"approved\",\n  \"reason\": \"string\",\n  \"requestedBy\": \"employee\",\n  \"reviewerName\": \"Gabriel Pan\",\n  \"reviewedAt\": \"1982-08-07T09:14:27.785Z\",\n  \"reviewNote\": \"string\",\n  \"cancelledAt\": \"2007-11-29T21:12:47.362Z\",\n  \"certificate\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warnings\": [\n    \"short_notice\",\n    \"not_monday\"\n  ],\n  \"createdAt\": \"1983-12-27T08:20:25.685Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b29ffb74-8dea-4a2b-9d4e-82cb8545c4b7","name":"ATTENDANCE_LEAVE_NOT_FOUND — the leave does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b7830007-ebc3-482d-a9c1-90d9073e15e1","name":"Approve a leave","request":{"name":"Approve a leave","description":{"content":"Approves a pending leave. Its days become expected off and the work days in the range are recomputed. The employee is emailed.","type":"text/plain"},"url":{"path":["v1","attendance","leaves",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"945df715-f0a2-41e1-adf1-077e34161067","name":"The leave after the decision.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 17,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"leaveType\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"systemKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countsAs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requiresCertificate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"days\": 14,\n  \"periodYear\": 2026,\n  \"status\": \"approved\",\n  \"reason\": \"string\",\n  \"requestedBy\": \"employee\",\n  \"reviewerName\": \"Gabriel Pan\",\n  \"reviewedAt\": \"1982-08-07T09:14:27.785Z\",\n  \"reviewNote\": \"string\",\n  \"cancelledAt\": \"2007-11-29T21:12:47.362Z\",\n  \"certificate\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warnings\": [\n    \"short_notice\",\n    \"not_monday\"\n  ],\n  \"createdAt\": \"1983-12-27T08:20:25.685Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ffb2482-ab8f-4c41-aae3-1411bbdc79d3","name":"ATTENDANCE_LEAVE_NOT_FOUND — the leave does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"159d7d33-91f0-441b-ac74-873108e4011e","name":"ATTENDANCE_LEAVE_NOT_PENDING (already decided or cancelled), ATTENDANCE_LEAVE_CERTIFICATE_REQUIRED (the type needs one and none is attached), ATTENDANCE_LEAVE_INSUFFICIENT_BALANCE or ATTENDANCE_LEAVE_LIMIT_EXCEEDED.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3643a5d1-2d12-478e-bb59-757b7f05a7a1","name":"HOUR_BANK_INSUFFICIENT — the type consumes the hour bank and the balance does not cover the leave's planned minutes.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","approve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"72dfaf6f-80a5-4f2c-86d0-1803c69be9b6","name":"Reject a leave","request":{"name":"Reject a leave","description":{"content":"Rejects a pending leave. The employee is emailed.","type":"text/plain"},"url":{"path":["v1","attendance","leaves",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"178b9339-e65c-4f6f-b474-dcaa54b18ab9","name":"The leave after the decision.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 17,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"leaveType\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"systemKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countsAs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requiresCertificate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"days\": 14,\n  \"periodYear\": 2026,\n  \"status\": \"approved\",\n  \"reason\": \"string\",\n  \"requestedBy\": \"employee\",\n  \"reviewerName\": \"Gabriel Pan\",\n  \"reviewedAt\": \"1982-08-07T09:14:27.785Z\",\n  \"reviewNote\": \"string\",\n  \"cancelledAt\": \"2007-11-29T21:12:47.362Z\",\n  \"certificate\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warnings\": [\n    \"short_notice\",\n    \"not_monday\"\n  ],\n  \"createdAt\": \"1983-12-27T08:20:25.685Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad0c6579-8997-48af-b72f-ed6ebb07efd7","name":"ATTENDANCE_LEAVE_NOT_FOUND — the leave does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e210c9bb-3dab-4d91-81d0-af89a89d5b37","name":"ATTENDANCE_LEAVE_NOT_PENDING — already decided or cancelled.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","reject"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"37aa0a4d-5dfc-413c-af0a-deeaf23131ed","name":"Cancel a leave","request":{"name":"Cancel a leave","description":{"content":"Cancels a pending or approved leave (never deleted). An approved one gives its days back to the balance, and its days go back to the schedule: past days without punches become absences again.","type":"text/plain"},"url":{"path":["v1","attendance","leaves",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"f74e4873-2e47-4b87-a63d-cc109bb751d8","name":"The cancelled leave.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 17,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"leaveType\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"systemKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countsAs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requiresCertificate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"days\": 14,\n  \"periodYear\": 2026,\n  \"status\": \"approved\",\n  \"reason\": \"string\",\n  \"requestedBy\": \"employee\",\n  \"reviewerName\": \"Gabriel Pan\",\n  \"reviewedAt\": \"1982-08-07T09:14:27.785Z\",\n  \"reviewNote\": \"string\",\n  \"cancelledAt\": \"2007-11-29T21:12:47.362Z\",\n  \"certificate\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warnings\": [\n    \"short_notice\",\n    \"not_monday\"\n  ],\n  \"createdAt\": \"1983-12-27T08:20:25.685Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa106018-a793-4028-a1bd-3668afb64934","name":"ATTENDANCE_LEAVE_NOT_FOUND — the leave does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7fdedcd-c5cf-4f8c-9574-9104db7c28ff","name":"ATTENDANCE_LEAVE_NOT_PENDING — rejected or already cancelled.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"note\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1eba7d30-f901-4f9a-9835-b8b43de9394a","name":"Attach a certificate","request":{"name":"Attach a certificate","description":{"content":"PDF, PNG or JPEG up to 10 MB; replaces the previous one. Private storage.","type":"text/plain"},"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) "}]}},"response":[{"id":"f4a7ef3a-0682-4299-8b45-356cac1cee64","name":"The leave with its certificate.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 17,\n  \"employeeId\": 12,\n  \"employeeName\": \"Pérez, Ana\",\n  \"leaveType\": {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"systemKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"paid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"countsAs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"requiresCertificate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"fromDate\": \"2026-12-07\",\n  \"toDate\": \"2026-12-20\",\n  \"days\": 14,\n  \"periodYear\": 2026,\n  \"status\": \"approved\",\n  \"reason\": \"string\",\n  \"requestedBy\": \"employee\",\n  \"reviewerName\": \"Gabriel Pan\",\n  \"reviewedAt\": \"1982-08-07T09:14:27.785Z\",\n  \"reviewNote\": \"string\",\n  \"cancelledAt\": \"2007-11-29T21:12:47.362Z\",\n  \"certificate\": {\n    \"nullable\": true,\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"warnings\": [\n    \"short_notice\",\n    \"not_monday\"\n  ],\n  \"createdAt\": \"1983-12-27T08:20:25.685Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"70b8f4cb-4a2a-46a5-8029-e0c7b78bf7f5","name":"ATTENDANCE_LEAVE_CERTIFICATE_INVALID — no file, empty, or not a PDF, PNG or JPEG.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06618f87-77c1-4ead-8655-fe74d91b0eb9","name":"ATTENDANCE_LEAVE_NOT_FOUND — the leave does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e9fc88de-2a73-4821-b585-b4a442308792","name":"ATTENDANCE_LEAVE_NOT_PENDING — rejected or cancelled.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7af288b0-8cd0-499a-82df-b4b45f0b6999","name":"PAYLOAD_TOO_LARGE — the file is over 10 MB.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Request Entity Too Large","code":413,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a6ac1f36-ffc4-415c-b864-1a946114ab5f","name":"ATTENDANCE_LEAVE_STORAGE_NOT_CONFIGURED — certificate storage is not available.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"}]}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"09b41235-4355-4409-91fe-e83741564b35","name":"Download a certificate","request":{"name":"Download a certificate","description":{"content":"A signed URL valid 5 minutes. Medical certificates are health data: request it on click, never cache it. Every download is audited.","type":"text/plain"},"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"91d212ae-68c0-4824-8293-4cbcde124877","name":"The signed URL.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"url\": \"https://…signed…\",\n  \"fileName\": \"certificado.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"expiresAt\": \"1990-02-27T02:55:37.075Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"053510b9-e2d3-43d8-9acd-f3fa6c90a4ce","name":"ATTENDANCE_LEAVE_NOT_FOUND or ATTENDANCE_LEAVE_CERTIFICATE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"84659a23-4120-46e5-a398-5e215c8f2ad8","name":"ATTENDANCE_LEAVE_STORAGE_NOT_CONFIGURED.","originalRequest":{"url":{"path":["v1","attendance","leaves",":id","certificate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c8633695-7b84-4f0e-970d-66800dce49c7","name":"Download the balances import template","request":{"name":"Download the balances import template","description":{"content":"Columns legajo, cuil, empleado (reference, ignored), tipo, año, días, nota; one prefilled row per active employee with tipo Vacaciones and the current year. Fill `días` (a row without days is skipped) and upload it to the import.","type":"text/plain"},"url":{"path":["v1","attendance","leave-balances","import","template"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"format","value":"xlsx"}],"variable":[]},"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b79f7567-b89f-4f3e-8999-91d29564f477","name":"The template, as an attachment.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","import","template"],"host":["{{baseUrl}}"],"query":[{"key":"format","value":"xlsx"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"42c3aa91-1da2-40bf-a194-c1cd6eab09f8","name":"Import initial vacation balances","request":{"name":"Import initial vacation balances","description":{"content":"An .xlsx or .csv (≤ 1 MB, ≤ 2,000 rows) with legajo and/or CUIL, tipo, año, días and nota. `dryRun` true (default) only validates and reports each row; false writes every valid row as an append-only balance adjustment (`source: import`) in one transaction and leaves the invalid ones out.","type":"text/plain"},"url":{"path":["v1","attendance","leave-balances","import"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"(Required) "},{"key":"dryRun","value":"true","type":"text","description":""}]}},"response":[{"id":"bae1deec-75d7-4bd3-b0fe-4e074c300461","name":"Report per row.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","import"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"dryRun","value":"true","type":"text"}]}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"dryRun\": true,\n  \"summary\": {\n    \"total\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"valid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"invalid\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"skipped\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"imported\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"rows\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"955b4112-fa19-49f1-aaa2-bec4f2f7d98e","name":"ATTENDANCE_LEAVE_IMPORT_INVALID — no file, not xlsx/csv, unreadable, a missing column or too many rows (listed in `details`).","originalRequest":{"url":{"path":["v1","attendance","leave-balances","import"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"dryRun","value":"true","type":"text"}]}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6fe1c9f2-058c-4366-b4de-fe3ea096761a","name":"The file is above 1 MB.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","import"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"file","value":"<binary>","type":"text"},{"description":{"content":"","type":"text/plain"},"key":"dryRun","value":"true","type":"text"}]}},"status":"Request Entity Too Large","code":413,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2a4c330a-a926-4d19-99ef-94191575f46b","name":"List vacation balances","request":{"name":"List vacation balances","description":{"content":"Vacation balance of a period (calendar year) for the active employees: entitlement by seniority at December 31 (LCT art. 150, or art. 153 proportional), adjustments, approved and pending days. Computed on read, never stored.","type":"text/plain"},"url":{"path":["v1","attendance","leave-balances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"year","value":"<number>","description":"Default: the current year (Buenos Aires)."},{"disabled":false,"key":"branch_id","value":"<number>"},{"disabled":false,"key":"employee_id","value":"<number>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"7caf731b-8587-42b7-81e8-270016981da4","name":"Balances, by last name.","originalRequest":{"url":{"path":["v1","attendance","leave-balances"],"host":["{{baseUrl}}"],"query":[{"key":"year","value":"2026"},{"key":"branch_id","value":"2"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"year\": 2026,\n  \"leaveTypeId\": 3,\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"42c18f51-5c7a-4c49-b836-1246750efe3b","name":"EMPLOYEE_NOT_FOUND — `employee_id` of another organization.","originalRequest":{"url":{"path":["v1","attendance","leave-balances"],"host":["{{baseUrl}}"],"query":[{"key":"year","value":"2026"},{"key":"branch_id","value":"2"},{"key":"employee_id","value":"12"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dde2fb2a-2984-4b8e-ab21-2b0e08bbd80f","name":"List balance adjustments","request":{"name":"List balance adjustments","description":{"content":"The append-only ledger of an employee's manual adjustments, newest first.","type":"text/plain"},"url":{"path":["v1","attendance","leave-balances","adjustments"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"employee_id","value":"<number>","description":"(Required) "},{"disabled":false,"key":"year","value":"<number>","description":"Default: every year."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"48667a0d-240a-46cf-ada5-423a0c18c0d4","name":"Adjustments.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","adjustments"],"host":["{{baseUrl}}"],"query":[{"key":"employee_id","value":"12"},{"key":"year","value":"2026"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"664d07cf-5103-4dcf-95c5-278ca3adb5ff","name":"EMPLOYEE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","adjustments"],"host":["{{baseUrl}}"],"query":[{"key":"employee_id","value":"12"},{"key":"year","value":"2026"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3c77b85b-581c-455a-8f66-1ac8a2edc846","name":"Adjust a vacation balance","request":{"name":"Adjust a vacation balance","description":{"content":"Adds (positive) or takes (negative) days to an employee's period: the initial balance when the module starts, a carry-over, a correction. Never edited or deleted: a mistake is fixed with an opposite adjustment.","type":"text/plain"},"url":{"path":["v1","attendance","leave-balances","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"employeeId\": \"<number>\",\n  \"year\": \"<number>\",\n  \"days\": \"<number>\",\n  \"reason\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"da078a5c-7dbd-425d-be66-cad11ec715d0","name":"The adjustment.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"year\": 2026,\n  \"days\": 3,\n  \"reason\": \"Saldo inicial al activar el módulo\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 5,\n  \"employeeId\": 12,\n  \"year\": 2026,\n  \"days\": -2,\n  \"reason\": \"Saldo inicial al activar el módulo\",\n  \"createdByName\": \"Gabriel Pan\",\n  \"source\": \"manual\",\n  \"createdAt\": \"1993-08-23T20:55:01.406Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"26c4f1bb-f28b-4a30-a0df-ee3791b34583","name":"ATTENDANCE_LEAVE_ADJUSTMENT_INVALID — zero days or no reason.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"year\": 2026,\n  \"days\": 3,\n  \"reason\": \"Saldo inicial al activar el módulo\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b84fcf4f-1fc4-42c2-a786-cb45fd5c716a","name":"EMPLOYEE_NOT_FOUND.","originalRequest":{"url":{"path":["v1","attendance","leave-balances","adjustments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"employeeId\": 12,\n  \"year\": 2026,\n  \"days\": 3,\n  \"reason\": \"Saldo inicial al activar el módulo\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6155cd01-ea8d-418e-892c-06101208ac1b","name":"Procesos","description":{"content":"","type":"text/plain"},"item":[{"id":"a9e522d1-05dd-4e66-8403-f0480ba12ed9","name":"List bulk-action jobs (cross-domain) for the Procesos screen","request":{"name":"List bulk-action jobs (cross-domain) for the Procesos screen","description":{"content":"Returns a cursor-paginated, keyset-ordered page of bulk-action jobs (email/PDF/void/CSV export) filtered by status, type and scope (mine/org), plus the active-job count.","type":"text/plain"},"url":{"path":["v1","bulk-actions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"status","value":"<string>"},{"disabled":false,"key":"type","value":"<string>"},{"disabled":false,"key":"page_size","value":"<number>"},{"disabled":false,"key":"cursor","value":"<string>"},{"disabled":false,"key":"scope","value":"<string>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"ea8f0d4b-9c8f-46cf-aff4-a0c65c64fc58","originalRequest":{"url":{"path":["v1","bulk-actions"],"host":["{{baseUrl}}"],"query":[{"key":"status","value":"<string>"},{"key":"type","value":"<string>"},{"key":"page_size","value":"<number>"},{"key":"cursor","value":"<string>"},{"key":"scope","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"activeCount\": 6175.265544113077,\n  \"nextCursor\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"970a9f0e-758e-49f2-9a19-da5dbcd22a8b","name":"Get a single bulk-action job's status","request":{"name":"Get a single bulk-action job's status","description":{"content":"Returns the current status and progress of a bulk-action job by UUID; 404s if it does not exist in the organization.","type":"text/plain"},"url":{"path":["v1","bulk-actions",":jobId","status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"fd48308c-725f-4cd9-a4de-f91b0092c3c4","originalRequest":{"url":{"path":["v1","bulk-actions",":jobId","status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"jobId\": \"string\",\n  \"type\": \"sales-receipts-bulk-void\",\n  \"status\": \"failed\",\n  \"totalCount\": 8947.537277591564,\n  \"doneCount\": 4468.32700378351,\n  \"skippedCount\": 4815.457322313854,\n  \"failedCount\": 9841.156365886494,\n  \"createdAt\": \"string\",\n  \"receiptStatuses\": {},\n  \"downloadUrl\": {},\n  \"errorMessage\": {},\n  \"resourceContext\": {},\n  \"createdBy\": {},\n  \"completedAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b53162e8-df04-4e24-9581-ef78368c4553","name":"Job not found","originalRequest":{"url":{"path":["v1","bulk-actions",":jobId","status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a3c30166-6511-4955-a668-02f5ebf0d65f","name":"Best-effort cancel a queued/running bulk-action job","request":{"name":"Best-effort cancel a queued/running bulk-action job","description":{"content":"Flags a queued/running job as cancelled so the worker stops between batches (never mid-batch); 409s if the job already terminated.","type":"text/plain"},"url":{"path":["v1","bulk-actions",":jobId","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"10ecc226-ceeb-4168-91c1-c90e804f9da4","originalRequest":{"url":{"path":["v1","bulk-actions",":jobId","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"jobId\": \"string\",\n  \"type\": \"sales-receipts-bulk-void\",\n  \"status\": \"failed\",\n  \"totalCount\": 8947.537277591564,\n  \"doneCount\": 4468.32700378351,\n  \"skippedCount\": 4815.457322313854,\n  \"failedCount\": 9841.156365886494,\n  \"createdAt\": \"string\",\n  \"receiptStatuses\": {},\n  \"downloadUrl\": {},\n  \"errorMessage\": {},\n  \"resourceContext\": {},\n  \"createdBy\": {},\n  \"completedAt\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"03bdfff9-8b7c-491f-b459-f173baa09561","name":"Job not found","originalRequest":{"url":{"path":["v1","bulk-actions",":jobId","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"fc58f374-7672-4466-ac4e-997cf4e8c874","name":"Job already terminated","originalRequest":{"url":{"path":["v1","bulk-actions",":jobId","cancel"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"jobId","description":"(Required) Bulk action job UUID"}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"96c2fb6a-4c79-46f8-84ce-eeff74a4dc26","name":"Reportes - Grupos","description":{"content":"","type":"text/plain"},"item":[{"id":"941f7896-4126-427b-aae0-92f3efeff44a","name":"List income-tree nodes (flat; compose the tree via parentId)","request":{"name":"List income-tree nodes (flat; compose the tree via parentId)","description":{"content":"Returns all income-group nodes of the current organization as a flat list (id, name, parentId, productId); the client composes the tree via parentId. A node with a productId is a product leaf.","type":"text/plain"},"url":{"path":["v1","management","income-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"6fd60d38-a4b0-4c0d-ae3b-8ac367ccf7de","originalRequest":{"url":{"path":["v1","management","income-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parentId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parentId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"productId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c06da82c-ca28-4017-83d3-b3550a1a825e","name":"Create an income-tree node (group or product leaf)","request":{"name":"Create an income-tree node (group or product leaf)","description":{"content":"Creates an income-group node for the current organization; pass productId to make it a product leaf. Parent must be an in-org group node (not a leaf), else INVALID_PARENT/INVALID_TREE.","type":"text/plain"},"url":{"path":["v1","management","income-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"productId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9eb3ab7b-d551-4a91-a0ea-4de53a80b3f7","originalRequest":{"url":{"path":["v1","management","income-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Ventas de servicios\",\n  \"parentId\": \"<object>\",\n  \"productId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Ventas de servicios\",\n  \"parentId\": null,\n  \"productId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"36af9aa1-e9ad-4a0d-bbe9-79b2659d7a8f","name":"INVALID_PARENT / INVALID_TREE","originalRequest":{"url":{"path":["v1","management","income-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Ventas de servicios\",\n  \"parentId\": \"<object>\",\n  \"productId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bf38e3eb-b816-49f1-8a45-8ad838ff6ab5","name":"Update an income-tree node","request":{"name":"Update an income-tree node","description":{"content":"Updates an income node's name, parent, or product-leaf reference; reparenting forbids leaf parents, self-parent, and cycles, and a node with children cannot become a leaf. 404 if not found in this org.","type":"text/plain"},"url":{"path":["v1","management","income-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"productId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6ccc7dd5-d6be-4c10-85d8-eefb3db2846f","originalRequest":{"url":{"path":["v1","management","income-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"productId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Ventas de servicios\",\n  \"parentId\": null,\n  \"productId\": 12\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da510b4b-feaf-46ba-9b0b-d82aa218f431","originalRequest":{"url":{"path":["v1","management","income-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"productId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d68c8c87-36d5-4c46-b492-23ab3822678c","name":"Delete an income-tree node (soft; must have no children)","request":{"name":"Delete an income-tree node (soft; must have no children)","description":{"content":"Soft-deletes an income node of the current organization by id; rejects deletion with INVALID_TREE when the node still has children. Returns 204; 404 if not found in this organization.","type":"text/plain"},"url":{"path":["v1","management","income-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"99223556-5177-482a-8736-89e291cc77fc","name":"Deleted","originalRequest":{"url":{"path":["v1","management","income-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"2a9c55a0-24a3-46d8-945d-904fb77854c9","originalRequest":{"url":{"path":["v1","management","income-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a42a2bc0-9d97-4b90-9488-60bf2cb21c3b","name":"List expense-tree nodes (flat; compose the tree via parentId)","request":{"name":"List expense-tree nodes (flat; compose the tree via parentId)","description":{"content":"Returns all expense-group nodes of the current organization as a flat list (id, name, parentId, purchaseCategoryId); the client composes the tree via parentId. A node with a purchaseCategoryId is a rubro leaf.","type":"text/plain"},"url":{"path":["v1","management","expense-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1caa6428-f992-45bf-ad5c-2507cd28e45d","originalRequest":{"url":{"path":["v1","management","expense-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parentId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"name\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"parentId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"purchaseCategoryId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ae7db4f2-6442-41e2-88ec-3f98a7dbbc68","name":"Create an expense-tree node (group or rubro leaf)","request":{"name":"Create an expense-tree node (group or rubro leaf)","description":{"content":"Creates an expense-group node for the current organization; pass purchaseCategoryId to make it a rubro leaf. Parent must be an in-org group node (not a leaf), else INVALID_PARENT/INVALID_TREE.","type":"text/plain"},"url":{"path":["v1","management","expense-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"purchaseCategoryId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"72718472-9cff-41b6-ac22-ba8bab4141f5","originalRequest":{"url":{"path":["v1","management","expense-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Costos operativos\",\n  \"parentId\": \"<object>\",\n  \"purchaseCategoryId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Costos operativos\",\n  \"parentId\": null,\n  \"purchaseCategoryId\": 7\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e39a600-9b95-4095-939e-68268b2855c9","name":"INVALID_PARENT / INVALID_TREE","originalRequest":{"url":{"path":["v1","management","expense-groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Costos operativos\",\n  \"parentId\": \"<object>\",\n  \"purchaseCategoryId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b5925201-2792-4f58-a6bf-aaf4d3d557eb","name":"Update an expense-tree node","request":{"name":"Update an expense-tree node","description":{"content":"Updates an expense node's name, parent, or purchase-category leaf reference; reparenting forbids leaf parents, self-parent, and cycles, and a node with children cannot become a leaf. 404 if not found in this org.","type":"text/plain"},"url":{"path":["v1","management","expense-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"purchaseCategoryId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6affc8b4-ab4b-42a4-9b94-9013e64df1a7","originalRequest":{"url":{"path":["v1","management","expense-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"purchaseCategoryId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"name\": \"Costos operativos\",\n  \"parentId\": null,\n  \"purchaseCategoryId\": 7\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"48add2f8-8882-497e-8eca-125b314410f7","originalRequest":{"url":{"path":["v1","management","expense-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"parentId\": \"<object>\",\n  \"purchaseCategoryId\": \"<object>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eefc4c8d-1a32-4042-b0c3-ee95adc228b9","name":"Delete an expense-tree node (soft; must have no children)","request":{"name":"Delete an expense-tree node (soft; must have no children)","description":{"content":"Soft-deletes an expense node of the current organization by id; rejects deletion with INVALID_TREE when the node still has children. Returns 204; 404 if not found in this organization.","type":"text/plain"},"url":{"path":["v1","management","expense-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"56228337-0ada-4fbd-8e43-bfec48fb1af4","name":"Deleted","originalRequest":{"url":{"path":["v1","management","expense-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"9c0a5c77-c8e2-4f82-8a04-e65af107a539","originalRequest":{"url":{"path":["v1","management","expense-groups",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"954b9ac7-0864-4f12-a536-fe41a7bd8180","name":"Grupos de Ingresos/Egresos — management P&L over a date range","request":{"name":"Grupos de Ingresos/Egresos — management P&L over a date range","description":{"content":"Both user-defined trees with a per-node net amount (leaf = its sales/purchases in the range, NC netted; group = Σ children), plus income/expense totals and the result. Refused for high-volume orgs (REPORT_UNAVAILABLE_HIGH_VOLUME).","type":"text/plain"},"url":{"path":["v1","management","reports","income-expense"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"date_from","value":"<string>","description":"(Required) "},{"disabled":false,"key":"date_to","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"3102c10c-e0bd-46d9-9296-c620ae8a4d23","originalRequest":{"url":{"path":["v1","management","reports","income-expense"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"income\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"expense\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"totalIncome\": 500000,\n  \"totalExpense\": 320000,\n  \"result\": 180000\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9a54c04e-2f66-4f2a-ac92-60b1b804ca75","name":"INVALID_DATE_RANGE or REPORT_UNAVAILABLE_HIGH_VOLUME","originalRequest":{"url":{"path":["v1","management","reports","income-expense"],"host":["{{baseUrl}}"],"query":[{"key":"date_from","value":"<string>"},{"key":"date_to","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"a19b5f51-aea5-40d1-b166-41a63ffb6201","name":"Reportes - Personalizados","description":{"content":"","type":"text/plain"},"item":[{"id":"e127c18b-6ddb-4048-86c4-5cd9f05e2e89","name":"List report datasets","request":{"name":"List report datasets","description":{"content":"The datasets the caller can read (sales receipts, attendance work days) with their fields, filter operators, measures, the longest date range allowed for the organization and a default spec.","type":"text/plain"},"url":{"path":["v1","reports","datasets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"5475da34-3ba2-4cf4-9987-684efcc7b088","name":"Datasets the caller can read.","originalRequest":{"url":{"path":["v1","reports","datasets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9fc19bf3-e17e-46fe-ba86-281ef1764ce8","name":"Search values for an entity field","request":{"name":"Search values for an entity field","description":{"content":"Options for entity filters: customers (name or CUIT), branches, receipt books (point of sale), employees, users (organization members), currencies and provinces. `q` searches; `ids` returns the labels of those ids instead. At most `limit` (default 20) options.","type":"text/plain"},"url":{"path":["v1","reports","lookups",":lookup"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"q","value":"<string>","description":"Search text (name, CUIT, document or point of sale number)."},{"disabled":false,"key":"ids","value":"<string>","description":"Comma-separated ids: returns their labels instead of searching."},{"disabled":false,"key":"limit","value":"20"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"lookup","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"9824c481-1e01-4096-bae0-192e8d74eab0","name":"Matching options.","originalRequest":{"url":{"path":["v1","reports","lookups",":lookup"],"host":["{{baseUrl}}"],"query":[{"key":"q","value":"<string>"},{"key":"ids","value":"1,2"},{"key":"limit","value":"20"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"lookup","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06299990-8af8-427e-a6b8-661e673f9596","name":"Unknown lookup, or `ids`/`limit` malformed.","originalRequest":{"url":{"path":["v1","reports","lookups",":lookup"],"host":["{{baseUrl}}"],"query":[{"key":"q","value":"<string>"},{"key":"ids","value":"1,2"},{"key":"limit","value":"20"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"lookup","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e057895-083a-4518-be78-dbf14a488cfd","name":"REPORT_DATASET_FORBIDDEN — the caller's role cannot read the dataset.","originalRequest":{"url":{"path":["v1","reports","lookups",":lookup"],"host":["{{baseUrl}}"],"query":[{"key":"q","value":"<string>"},{"key":"ids","value":"1,2"},{"key":"limit","value":"20"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"lookup","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2ff4e7ca-5034-4094-a3fa-e5d0d4973410","name":"Run a report","request":{"name":"Run a report","description":{"content":"Runs a report spec: grouped rows (at most `limit`, default 1000, max 10000; `meta.truncated` says whether more exist) and the totals over every matching row. Sales amounts follow the receipt field contract: credit notes subtract, and `currency: ars` (default) converts foreign-currency receipts with their own exchange rate. Without a status filter only issued receipts count. High-volume organizations read the daily rollup when the spec allows it (`meta.source = rollup`).","type":"text/plain"},"url":{"path":["v1","reports","query"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"dataset\": \"<string>\",\n  \"filters\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupBy\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"measures\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"sort\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"limit\": 1000,\n  \"currency\": \"ars\",\n  \"view\": {\n    \"description\": \"Stored with the spec; ignored by the query.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"962a867f-1568-4a87-aef6-ba7372bc3e20","name":"Report result.","originalRequest":{"url":{"path":["v1","reports","query"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"dataset\": \"sales\",\n  \"filters\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupBy\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"measures\": [\n    \"count\",\n    \"total\"\n  ],\n  \"sort\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"limit\": 1000,\n  \"currency\": \"ars\",\n  \"view\": {\n    \"description\": \"Stored with the spec; ignored by the query.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"columns\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"rows\": [\n    {\n      \"key_0\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"key_1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    },\n    {\n      \"key_0\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"key_1\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"key_2\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  ],\n  \"totals\": {\n    \"key_0\": 3849.0328138417594,\n    \"key_1\": 3001.752711388164\n  },\n  \"meta\": {\n    \"rowCount\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"truncated\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"source\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"tookMs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"warnings\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d027ead8-a728-4c90-8c0d-10d142b92129","name":"REPORT_INVALID_SPEC — the spec is malformed or names a field, measure or operator the dataset does not have; `details` lists every problem. REPORT_DATE_RANGE_REQUIRED — no `between` filter on the dataset's date field. REPORT_DATE_RANGE_TOO_LARGE — the range is longer than the dataset allows for the organization (the message says the maximum).","originalRequest":{"url":{"path":["v1","reports","query"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"dataset\": \"sales\",\n  \"filters\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupBy\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"measures\": [\n    \"count\",\n    \"total\"\n  ],\n  \"sort\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"limit\": 1000,\n  \"currency\": \"ars\",\n  \"view\": {\n    \"description\": \"Stored with the spec; ignored by the query.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f4329554-1a81-4e3e-acc7-43f0cca19fd0","name":"REPORT_DATASET_FORBIDDEN — the caller's role cannot read the dataset.","originalRequest":{"url":{"path":["v1","reports","query"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"dataset\": \"sales\",\n  \"filters\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupBy\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"measures\": [\n    \"count\",\n    \"total\"\n  ],\n  \"sort\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"limit\": 1000,\n  \"currency\": \"ars\",\n  \"view\": {\n    \"description\": \"Stored with the spec; ignored by the query.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"98770130-37e7-49ab-b4d7-66f88ebfda5a","name":"REPORT_TIMEOUT — the query ran past 30 seconds; narrow the date range or add filters.","originalRequest":{"url":{"path":["v1","reports","query"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"dataset\": \"sales\",\n  \"filters\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"groupBy\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"measures\": [\n    \"count\",\n    \"total\"\n  ],\n  \"sort\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"limit\": 1000,\n  \"currency\": \"ars\",\n  \"view\": {\n    \"description\": \"Stored with the spec; ignored by the query.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6a103aa1-bf28-4453-b1fa-51c3c3cb2f36","name":"Export a report","request":{"name":"Export a report","description":{"content":"Runs a spec and returns it as CSV (UTF-8 with BOM) or XLSX: a header row with the column labels, one row per group (every group, the spec's `limit` does not apply) and a final Total row. At most 50000 rows.","type":"text/plain"},"url":{"path":["v1","reports","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"text/csv"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"format\": \"<string>\",\n  \"fileName\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"acbdf6c2-59d9-43a3-96b8-2f413bdeee05","name":"The file, as an attachment.","originalRequest":{"url":{"path":["v1","reports","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"format\": \"<string>\",\n  \"fileName\": \"ventas-septiembre\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"a8e198ec-e268-458d-b9f3-e89a9b9b3177","name":"REPORT_INVALID_SPEC — the spec is malformed or names a field, measure or operator the dataset does not have; `details` lists every problem. REPORT_DATE_RANGE_REQUIRED — no `between` filter on the dataset's date field. REPORT_DATE_RANGE_TOO_LARGE — the range is longer than the dataset allows for the organization (the message says the maximum). REPORT_EXPORT_TOO_LARGE — more than 50000 rows.","originalRequest":{"url":{"path":["v1","reports","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"format\": \"<string>\",\n  \"fileName\": \"ventas-septiembre\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"c5952178-6bc4-41e6-8273-961bbea0c9b1","name":"REPORT_DATASET_FORBIDDEN — the caller's role cannot read the dataset.","originalRequest":{"url":{"path":["v1","reports","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"format\": \"<string>\",\n  \"fileName\": \"ventas-septiembre\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"89371154-e480-4c9c-92f8-2e2470bc4d4a","name":"REPORT_TIMEOUT — the query ran past 30 seconds; narrow the date range or add filters.","originalRequest":{"url":{"path":["v1","reports","export"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"text/csv"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"format\": \"<string>\",\n  \"fileName\": \"ventas-septiembre\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"text/csv"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5e019be6-1452-4d65-84a4-24117d03fa16","name":"List report templates","request":{"name":"List report templates","description":{"content":"Ready-made specs (sales by month, by customer, by branch and month; hours by employee and month; flagged work days by site) for the datasets the caller can read.","type":"text/plain"},"url":{"path":["v1","reports","templates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"995ef95d-dc3e-415b-884a-5151ac2f0c17","name":"Templates.","originalRequest":{"url":{"path":["v1","reports","templates"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"985db482-1087-42ae-b662-a4374befe58c","name":"List saved report views","request":{"name":"List saved report views","description":{"content":"The caller's views plus those shared with the organization, for the datasets the caller can read. Pinned first, then by name.","type":"text/plain"},"url":{"path":["v1","reports","views"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"271e0452-f7ec-4ba2-816f-07410476eaba","name":"Saved views.","originalRequest":{"url":{"path":["v1","reports","views"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"da3ee6b6-504e-48cf-a9c2-1ffbc6703b45","name":"Save a report view","request":{"name":"Save a report view","description":{"content":"Saves a spec under a name, private or shared with the organization. The spec is validated like a query.","type":"text/plain"},"url":{"path":["v1","reports","views"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": false,\n  \"templateKey\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"efbb478a-f686-412c-87d7-d9b368a1df1b","name":"The saved view.","originalRequest":{"url":{"path":["v1","reports","views"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Ventas por mes\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": false,\n  \"templateKey\": \"ventas-por-mes\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 9555.075982168402,\n  \"name\": \"string\",\n  \"dataset\": \"sales\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"private\",\n  \"pinned\": true,\n  \"ownerUserId\": 7622.073084330834,\n  \"ownerName\": \"string\",\n  \"isOwner\": false,\n  \"templateKey\": \"string\",\n  \"createdAt\": \"string\",\n  \"updatedAt\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0960ad92-44d5-4628-afa3-7003a495af2d","name":"REPORT_INVALID_SPEC — the spec is malformed or names a field, measure or operator the dataset does not have; `details` lists every problem. REPORT_DATE_RANGE_REQUIRED — no `between` filter on the dataset's date field. REPORT_DATE_RANGE_TOO_LARGE — the range is longer than the dataset allows for the organization (the message says the maximum).","originalRequest":{"url":{"path":["v1","reports","views"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Ventas por mes\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": false,\n  \"templateKey\": \"ventas-por-mes\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"60b2fda9-8879-4cb6-8b3e-d6db2bc60f67","name":"REPORT_DATASET_FORBIDDEN — the caller's role cannot read the dataset.","originalRequest":{"url":{"path":["v1","reports","views"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Ventas por mes\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": false,\n  \"templateKey\": \"ventas-por-mes\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"44735512-605b-4e4d-a39a-2e9207df43b3","name":"Update a saved report view","request":{"name":"Update a saved report view","description":{"content":"Name, spec, visibility or pinned. Owner only.","type":"text/plain"},"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"74c3978e-21c8-4701-b6d6-28f650e36959","name":"The updated view.","originalRequest":{"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 9555.075982168402,\n  \"name\": \"string\",\n  \"dataset\": \"sales\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"private\",\n  \"pinned\": true,\n  \"ownerUserId\": 7622.073084330834,\n  \"ownerName\": \"string\",\n  \"isOwner\": false,\n  \"templateKey\": \"string\",\n  \"createdAt\": \"string\",\n  \"updatedAt\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d756574a-1d85-4def-b1cf-f759426699d3","name":"REPORT_INVALID_SPEC — the spec is malformed or names a field, measure or operator the dataset does not have; `details` lists every problem. REPORT_DATE_RANGE_REQUIRED — no `between` filter on the dataset's date field. REPORT_DATE_RANGE_TOO_LARGE — the range is longer than the dataset allows for the organization (the message says the maximum).","originalRequest":{"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"91020e23-45a1-480a-9378-ac96392a8e3e","name":"REPORT_VIEW_FORBIDDEN — only the owner can change it. REPORT_DATASET_FORBIDDEN — the caller's role cannot read the dataset.","originalRequest":{"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bed4155b-979e-4566-ab97-445a33c26289","name":"REPORT_VIEW_NOT_FOUND — no such view in the organization, or another user's private view.","originalRequest":{"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"spec\": {\n    \"dataset\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"filters\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"groupBy\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"measures\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"sort\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"limit\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"currency\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"view\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"visibility\": \"<string>\",\n  \"pinned\": \"<boolean>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"334f917d-e98c-4764-87f5-0176d2291e5f","name":"Delete a saved report view","request":{"name":"Delete a saved report view","description":{"content":"Owner only.","type":"text/plain"},"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"2b235f9c-4b10-44cc-bdb4-da51639935cd","name":"Deleted.","originalRequest":{"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"5eb8642b-5431-4d49-bfac-cdc01659d357","name":"REPORT_VIEW_FORBIDDEN — only the owner can delete it.","originalRequest":{"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"85023ab7-3441-4932-9eda-483536a964fb","name":"REPORT_VIEW_NOT_FOUND — no such view in the organization, or another user's private view.","originalRequest":{"url":{"path":["v1","reports","views",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"7cdf563e-a6e7-43c9-bb73-40213e5e66a6","name":"Sistema - Soporte","description":{"content":"","type":"text/plain"},"item":[{"id":"b181a223-9c1b-4eb0-a192-c51adc820b97","name":"Check paid support eligibility","request":{"name":"Check paid support eligibility","description":{"content":"Checks membership and paid-support eligibility. Trial and unsubscribed organizations can use the help center and assistant, not open or reply to human tickets.","type":"text/plain"},"url":{"path":["v1","support","tickets","eligibility"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"cfd569b8-6177-4a65-a499-854677163631","originalRequest":{"url":{"path":["v1","support","tickets","eligibility"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"canCreate\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bced33c5-8151-4500-a149-1a937f6ce950","name":"List the current organization's support tickets","request":{"name":"List the current organization's support tickets","description":{"content":"Returns up to 25 tickets with state filtering, keyset cursor and per-member public-message unread status. Never lists another organization's tickets.","type":"text/plain"},"url":{"path":["v1","support","tickets"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"cursor","value":"<string>","description":"Cursor opaco retornado por la página anterior."},{"disabled":false,"key":"state","value":"<string>"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"88c1922b-7c8b-4a00-833d-ea2c4a5fe412","originalRequest":{"url":{"path":["v1","support","tickets"],"host":["{{baseUrl}}"],"query":[{"key":"cursor","value":"<string>"},{"key":"state","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"canCreate\": false,\n  \"items\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3e43ce6a-d3fd-423d-b1fa-d9291a4b341b","name":"Open a support ticket","request":{"name":"Open a support ticket","description":{"content":"Paid subscriptions only, excluding trials. Accepts a 10–20000 character message, priority and stable retry key; optional attachments are at most five JPEG/PNG/GIF/WebP/PDF files of 5 MB each, validated by magic bytes. Ten tickets per organization per hour. Acknowledgement and email/Slack notifications are enqueued atomically; network delivery never blocks ticket creation.","type":"text/plain"},"url":{"path":["v1","support","tickets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"message","value":"<string>","type":"text","description":"(Required) Mensaje del solicitante; el título se deriva de su primera línea."},{"key":"priority","value":"<string>","type":"text","description":"(Required)  (This can only be one of critical,high,medium,low)"},{"key":"idempotencyKey","value":"<string>","type":"text","description":"(Required) Clave estable para reintentar el mismo envío sin duplicarlo."},{"key":"pageUrl","value":"<string>","type":"text","description":"Ruta de la app desde donde se abrió la consulta; contexto no confiable."}]}},"response":[{"id":"4804f334-b7f6-4509-8885-89887489cb9c","originalRequest":{"url":{"path":["v1","support","tickets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) Mensaje del solicitante; el título se deriva de su primera línea.","type":"text/plain"},"key":"message","value":"<string>","type":"text"},{"description":{"content":"(Required)  (This can only be one of critical,high,medium,low)","type":"text/plain"},"key":"priority","value":"<string>","type":"text"},{"description":{"content":"(Required) Clave estable para reintentar el mismo envío sin duplicarlo.","type":"text/plain"},"key":"idempotencyKey","value":"<string>","type":"text"},{"description":{"content":"Ruta de la app desde donde se abrió la consulta; contexto no confiable.","type":"text/plain"},"key":"pageUrl","value":"<string>","type":"text"}]}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"number\": \"string\",\n  \"created\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44b73452-7115-49aa-b61a-f7df250ac2c6","name":"SUPPORT_PAID_SUBSCRIPTION_REQUIRED","originalRequest":{"url":{"path":["v1","support","tickets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) Mensaje del solicitante; el título se deriva de su primera línea.","type":"text/plain"},"key":"message","value":"<string>","type":"text"},{"description":{"content":"(Required)  (This can only be one of critical,high,medium,low)","type":"text/plain"},"key":"priority","value":"<string>","type":"text"},{"description":{"content":"(Required) Clave estable para reintentar el mismo envío sin duplicarlo.","type":"text/plain"},"key":"idempotencyKey","value":"<string>","type":"text"},{"description":{"content":"Ruta de la app desde donde se abrió la consulta; contexto no confiable.","type":"text/plain"},"key":"pageUrl","value":"<string>","type":"text"}]}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"a280ce3b-3252-4dcd-a57c-18c9081c9388","name":"Retry key already used for different content","originalRequest":{"url":{"path":["v1","support","tickets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) Mensaje del solicitante; el título se deriva de su primera línea.","type":"text/plain"},"key":"message","value":"<string>","type":"text"},{"description":{"content":"(Required)  (This can only be one of critical,high,medium,low)","type":"text/plain"},"key":"priority","value":"<string>","type":"text"},{"description":{"content":"(Required) Clave estable para reintentar el mismo envío sin duplicarlo.","type":"text/plain"},"key":"idempotencyKey","value":"<string>","type":"text"},{"description":{"content":"Ruta de la app desde donde se abrió la consulta; contexto no confiable.","type":"text/plain"},"key":"pageUrl","value":"<string>","type":"text"}]}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ede714be-ec12-47c4-a14d-2b4c1082b56e","name":"SUPPORT_RATE_LIMIT","originalRequest":{"url":{"path":["v1","support","tickets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) Mensaje del solicitante; el título se deriva de su primera línea.","type":"text/plain"},"key":"message","value":"<string>","type":"text"},{"description":{"content":"(Required)  (This can only be one of critical,high,medium,low)","type":"text/plain"},"key":"priority","value":"<string>","type":"text"},{"description":{"content":"(Required) Clave estable para reintentar el mismo envío sin duplicarlo.","type":"text/plain"},"key":"idempotencyKey","value":"<string>","type":"text"},{"description":{"content":"Ruta de la app desde donde se abrió la consulta; contexto no confiable.","type":"text/plain"},"key":"pageUrl","value":"<string>","type":"text"}]}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"90f56f1d-db3a-4185-b96e-ad0c7cbc967d","name":"Read a support ticket's public conversation","request":{"name":"Read a support ticket's public conversation","description":{"content":"Returns at most 100 public non-draft customer/staff/system messages. Internal notes and agent drafts are never returned. Cross-organization identifiers return 404. Only messages returned to this member advance the read marker.","type":"text/plain"},"url":{"path":["v1","support","tickets",":number"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"after_message_id","value":"<string>","description":"ID decimal del último mensaje recibido, sin redondeo numérico."}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"d55e3272-6c62-481f-a92d-201f1b69e95a","originalRequest":{"url":{"path":["v1","support","tickets",":number"],"host":["{{baseUrl}}"],"query":[{"key":"after_message_id","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"canCreate\": true,\n  \"ticket\": {\n    \"number\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"title\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"state\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"priority\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"messages\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextMessageId\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8deff8cc-a2f8-4d1c-bc3c-6f7b1fcd7c42","name":"Ticket not found in this organization","originalRequest":{"url":{"path":["v1","support","tickets",":number"],"host":["{{baseUrl}}"],"query":[{"key":"after_message_id","value":"<string>"}],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b7101444-ffa7-4bdc-9bda-67c65d44ef0d","name":"Reply to a support ticket","request":{"name":"Reply to a support ticket","description":{"content":"Paid members append a public message and optional validated attachments. Moves the ticket to on_peakly, reopening a closed ticket. Stable member-scoped retry keys prevent duplicate messages and Slack notices; foreign ticket numbers return 404.","type":"text/plain"},"url":{"path":["v1","support","tickets",":number","messages"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"formdata","formdata":[{"key":"message","value":"<string>","type":"text","description":"(Required) "},{"key":"idempotencyKey","value":"<string>","type":"text","description":"(Required) "}]}},"response":[{"id":"eaf79fc8-ad3b-4b5f-bda7-8326b6075763","originalRequest":{"url":{"path":["v1","support","tickets",":number","messages"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"message","value":"<string>","type":"text"},{"description":{"content":"(Required) ","type":"text/plain"},"key":"idempotencyKey","value":"<string>","type":"text"}]}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"number\": \"string\",\n  \"created\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6a3b6014-f03b-4cfe-a783-4a21661cff50","name":"SUPPORT_PAID_SUBSCRIPTION_REQUIRED","originalRequest":{"url":{"path":["v1","support","tickets",":number","messages"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"message","value":"<string>","type":"text"},{"description":{"content":"(Required) ","type":"text/plain"},"key":"idempotencyKey","value":"<string>","type":"text"}]}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"4b93d5f9-c9bc-42f1-87db-7b10536cc6c6","name":"Ticket not found in this organization","originalRequest":{"url":{"path":["v1","support","tickets",":number","messages"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{"mode":"formdata","formdata":[{"description":{"content":"(Required) ","type":"text/plain"},"key":"message","value":"<string>","type":"text"},{"description":{"content":"(Required) ","type":"text/plain"},"key":"idempotencyKey","value":"<string>","type":"text"}]}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ede4bf4a-29f0-4f59-9cb0-0aaa823109b0","name":"Mark a support ticket as resolved","request":{"name":"Mark a support ticket as resolved","description":{"content":"Any active member of the same organization can close its ticket idempotently. A later paid customer reply reopens it. Foreign ticket numbers return 404.","type":"text/plain"},"url":{"path":["v1","support","tickets",":number","close"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1dc3b0f3-4dd8-4371-9354-6b38138f9f86","originalRequest":{"url":{"path":["v1","support","tickets",":number","close"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"number\": \"string\",\n  \"state\": \"closed\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0fa67470-a06a-4478-b6cd-7c251f164cb4","name":"Ticket not found in this organization","originalRequest":{"url":{"path":["v1","support","tickets",":number","close"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"632ea1f7-f233-4232-88ea-94388f23f356","name":"Download a private support attachment","request":{"name":"Download a private support attachment","description":{"content":"Resolves the attachment from a public non-draft message of a ticket in the authenticated member's organization, never from a caller-supplied object path. Streams it through the authenticated API without exposing storage-provider URLs or tokens. Internal/draft/foreign attachments return 404.","type":"text/plain"},"url":{"path":["v1","support","tickets",":number","messages",":messageId","attachments",":index"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"messageId","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"index","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/octet-stream"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"474a1ce1-e109-4aee-982e-f247d8ac99f9","originalRequest":{"url":{"path":["v1","support","tickets",":number","messages",":messageId","attachments",":index"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"messageId","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"index","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/octet-stream"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/octet-stream"}],"body":"string","cookie":[],"_postman_previewlanguage":"text"},{"id":"3be3c935-d536-41bc-a0ef-83a35dcaf96b","name":"Attachment not found in this organization's public ticket messages","originalRequest":{"url":{"path":["v1","support","tickets",":number","messages",":messageId","attachments",":index"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"number","description":"(Required) "},{"disabled":false,"type":"any","value":"<string>","key":"messageId","description":"(Required) "},{"disabled":false,"type":"any","value":"<number>","key":"index","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"726d7507-b533-4988-8ebf-b9606a08cfca","name":"Integraciones - AFIP Comprobantes","description":{"content":"","type":"text/plain"},"item":[{"id":"05cf49b5-e2ec-42cb-81cd-d83fba1c76d3","name":"Estado de la integración de comprobantes AFIP","request":{"name":"Estado de la integración de comprobantes AFIP","description":{"content":"Reports whether the AFIP comprobantes reader is live. Currently a skeleton: available=false, pending read-only credentials + the Playwright scraper.","type":"text/plain"},"url":{"path":["v1","integrations","afip-comprobantes","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"4ba702c2-b88a-42e7-9116-acb4ac801ced","originalRequest":{"url":{"path":["v1","integrations","afip-comprobantes","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"provider\": \"AFIP_COMPROBANTES\",\n  \"available\": false,\n  \"reason\": \"Pendiente de credenciales AFIP de solo lectura.\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"34b0c9f3-2b7f-48f8-bfef-bbc72eb32607","name":"Importar comprobantes emitidos en AFIP (pendiente)","request":{"name":"Importar comprobantes emitidos en AFIP (pendiente)","description":{"content":"Pulls the org's externally-issued comprobantes from AFIP and registers them as already-authorized. Throws 503 until credentials + scraper are configured.","type":"text/plain"},"url":{"path":["v1","integrations","afip-comprobantes","import"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"e1281028-f172-4cd0-82e8-aa89b6f7476f","name":"AFIP_COMPROBANTES_NOT_CONFIGURED","originalRequest":{"url":{"path":["v1","integrations","afip-comprobantes","import"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"85769f71-fd5b-491b-97df-b90e51fad86a","name":"Integraciones - Configuración","description":{"content":"","type":"text/plain"},"item":[{"id":"6610607a-d537-4075-8fc5-c6b4c89583a5","name":"Get integration status per provider","request":{"name":"Get integration status per provider","description":{"content":"Returns the connection/integration status for each supported provider for the current organization.","type":"text/plain"},"url":{"path":["v1","provider-configs","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"1622700f-590b-4638-8a59-1961b1004b64","name":"Integration status","originalRequest":{"url":{"path":["v1","provider-configs","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"sparkpost\": true,\n  \"tiendanube\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3188eb68-abfd-4f31-afcd-6bc927baee73","name":"Get OAuth redirect URL for a provider","request":{"name":"Get OAuth redirect URL for a provider","description":{"content":"Returns the authenticated browser start URL for connecting the given provider. The browser establishes a short-lived HttpOnly binding before provider authorization; returns 501 for unsupported providers.","type":"text/plain"},"url":{"path":["v1","provider-configs","oauth"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"provider","value":"<string>","description":"(Required) "}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"653c57f5-2742-485a-8985-2338d1db4a2c","name":"OAuth URL for redirect","originalRequest":{"url":{"path":["v1","provider-configs","oauth"],"host":["{{baseUrl}}"],"query":[{"key":"provider","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"url\": \"https://peakly.ar/api/integrations/oauth/mercadopago/start?organization_id=123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"532b2d4b-4476-4e7f-b67d-dfa384a9bf03","name":"OAuth not implemented for this provider","originalRequest":{"url":{"path":["v1","provider-configs","oauth"],"host":["{{baseUrl}}"],"query":[{"key":"provider","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Implemented","code":501,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0ec15573-a187-4249-ba23-74bce6df4347","name":"Get config by provider","request":{"name":"Get config by provider","description":{"content":"Returns the stored provider config for the given provider, or null when none exists for the current organization.","type":"text/plain"},"url":{"path":["v1","provider-configs","by-provider",":provider"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"provider","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"82a01bef-329c-4228-90b9-df6fa221998d","name":"Provider config, or `null` when none exists for the given provider","originalRequest":{"url":{"path":["v1","provider-configs","by-provider",":provider"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<string>","key":"provider","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"createdAt\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"deletedAt\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"updatedAt\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"hasAuthKey\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"string1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"string2\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"string3\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"provider\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"lastUpdatedUserId\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"userId\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f6e83ed5-f497-4546-9ff4-1d5319d4271e","name":"List provider configs for the current organization","request":{"name":"List provider configs for the current organization","description":{"content":"Returns all provider configs belonging to the current organization.","type":"text/plain"},"url":{"path":["v1","provider-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"be64640a-f9c5-4b82-be20-72a0c0c9a5cc","name":"List of provider configs","originalRequest":{"url":{"path":["v1","provider-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasAuthKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"string1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"string2\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"string3\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"provider\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasAuthKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"string1\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"string2\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"string3\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"provider\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"15e4092f-e35d-4669-a782-ac6969f9b0ac","name":"Create provider config","request":{"name":"Create provider config","description":{"content":"Creates a provider config for the current organization.","type":"text/plain"},"url":{"path":["v1","provider-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"provider\": \"<string>\",\n  \"authKey\": \"<string>\",\n  \"string1\": \"<string>\",\n  \"string2\": \"<string>\",\n  \"string3\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"739e9aab-0c52-45e2-9ae6-1c6e531fc7f1","name":"Created provider config","originalRequest":{"url":{"path":["v1","provider-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"provider\": \"TIENDANUBE\",\n  \"authKey\": \"<string>\",\n  \"string1\": \"<string>\",\n  \"string2\": \"<string>\",\n  \"string3\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"hasAuthKey\": true,\n  \"string1\": null,\n  \"string2\": null,\n  \"string3\": null,\n  \"provider\": \"TIENDANUBE\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"635a4d41-df03-483b-90d0-3ca51dd725a1","name":"Validation failed. Codes: INVALID_PROVIDER.","originalRequest":{"url":{"path":["v1","provider-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"provider\": \"TIENDANUBE\",\n  \"authKey\": \"<string>\",\n  \"string1\": \"<string>\",\n  \"string2\": \"<string>\",\n  \"string3\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d6f2a0e0-123e-498a-abbb-3f13c7fd269a","name":"Get provider config by id","request":{"name":"Get provider config by id","description":{"content":"Returns a single provider config by id, scoped to the current organization; 404 when it does not exist.","type":"text/plain"},"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"adfca342-8cee-4173-900a-f4d2b3a489aa","name":"Provider config","originalRequest":{"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"hasAuthKey\": true,\n  \"string1\": null,\n  \"string2\": null,\n  \"string3\": null,\n  \"provider\": \"TIENDANUBE\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bdc11ab4-4ce8-4713-acaf-1c9e5f612004","name":"Not found","originalRequest":{"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"380e5fbd-4207-4243-965e-5db02041ec9c","name":"Update provider config","request":{"name":"Update provider config","description":{"content":"Updates an existing provider config; 404 when it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"provider\": \"<string>\",\n  \"authKey\": \"<string>\",\n  \"string1\": \"<string>\",\n  \"string2\": \"<string>\",\n  \"string3\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3dd25e0b-5ccf-43aa-8323-eae760fbd627","name":"Updated provider config","originalRequest":{"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"provider\": \"TIENDANUBE\",\n  \"authKey\": \"<string>\",\n  \"string1\": \"<string>\",\n  \"string2\": \"<string>\",\n  \"string3\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"hasAuthKey\": true,\n  \"string1\": null,\n  \"string2\": null,\n  \"string3\": null,\n  \"provider\": \"TIENDANUBE\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f174f876-6555-4c7d-a5b7-bd0c040fb1f7","name":"Validation failed. Codes: INVALID_PROVIDER.","originalRequest":{"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"provider\": \"TIENDANUBE\",\n  \"authKey\": \"<string>\",\n  \"string1\": \"<string>\",\n  \"string2\": \"<string>\",\n  \"string3\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ade650ba-f8c6-4253-8c1e-54a6771a8134","name":"PROVIDER_CONFIG_NOT_FOUND — provider config does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"provider\": \"TIENDANUBE\",\n  \"authKey\": \"<string>\",\n  \"string1\": \"<string>\",\n  \"string2\": \"<string>\",\n  \"string3\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0a387979-d9e5-4194-8ad5-9a13429bdc2c","name":"Delete provider config","request":{"name":"Delete provider config","description":{"content":"Deletes a provider config; 404 when it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e497694a-4e77-494d-9753-c15b63f2fa06","name":"Deleted","originalRequest":{"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ee23e650-2601-4191-8ac4-37c360c06925","name":"PROVIDER_CONFIG_NOT_FOUND — provider config does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","provider-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e4214b3d-f253-4086-8cbc-3a08358375a8","name":"Integraciones - Mercado Pago","description":{"content":"Manage Mercado Pago integrations — the OAuth tokens, refresh tokens, and account ids your organization uses to charge customers via MP. Use the expiring-soon endpoint to surface configs that need re-auth before tokens lapse, and `POST :id/reset-auth` to clear a refresh token after a revocation.","type":"text/plain"},"item":[{"id":"c8ce49f5-2cdf-425a-9d6c-0bc562e59686","name":"Create a Mercado Pago checkout preference for a sales receipt","request":{"name":"Create a Mercado Pago checkout preference for a sales receipt","description":{"content":"Builds a hosted-checkout link for a collectible sales receipt. The receipt UUID is stamped as the preference's external_reference so the settle-only IPN webhook can map the approved payment back to the receipt.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs","preferences"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"salesReceiptId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"207e533c-1ce6-4085-991b-174ca3a24925","name":"Mercado Pago checkout preference","originalRequest":{"url":{"path":["v1","mercado-pago-configs","preferences"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"salesReceiptId\": \"3f2504e0-4f89-41d3-9a0c-0305e82c3301\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"preferenceId\": \"123456789-3f2504e0-4f89-41d3-9a0c-0305e82c3301\",\n  \"initPoint\": \"https://www.mercadopago.com.ar/checkout/v1/redirect?pref_id=...\",\n  \"sandboxInitPoint\": \"https://sandbox.mercadopago.com.ar/checkout/v1/redirect?pref_id=...\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c50badd-dffa-4583-af3e-532f8b7f2c98","name":"MERCADO_PAGO_NOT_CONNECTED — org has no Mercado Pago access token. MERCADO_PAGO_RECEIPT_NOT_FOUND — receipt does not exist or belongs to another org. MERCADO_PAGO_RECEIPT_NOT_COLLECTIBLE — receipt is not collectible (must be Creada with saldo > 0).","originalRequest":{"url":{"path":["v1","mercado-pago-configs","preferences"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"salesReceiptId\": \"3f2504e0-4f89-41d3-9a0c-0305e82c3301\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6780ff66-7cd2-4518-a0af-d27eb39b3ddc","name":"Get or create the Mercado Pago config for the current organization","request":{"name":"Get or create the Mercado Pago config for the current organization","description":{"content":"Returns the current organization's Mercado Pago config, creating a default one if none exists yet.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs","by-organization"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"b57d21ab-6e15-448d-988b-f6eed12ebac3","name":"Mercado Pago config","originalRequest":{"url":{"path":["v1","mercado-pago-configs","by-organization"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"receiptBook\": {\n    \"nullable\": true,\n    \"description\": \"Eagerly-loaded receipt book used for auto-created MP invoices. `null` when `receiptBookId` is unset.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"mpUserId\": \"1234567890\",\n  \"publicKey\": \"APP_USR-pub-***\",\n  \"bankAccountId\": 12,\n  \"isConfigured\": true,\n  \"hasExpired\": false\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"81ce0cf7-520c-4684-a5cd-331f77fac8f8","name":"List Mercado Pago configs for the current organization","request":{"name":"List Mercado Pago configs for the current organization","description":{"content":"Returns all Mercado Pago configs belonging to the current organization.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"e40ee7f6-3626-49cc-a111-e671332b8352","name":"List of Mercado Pago configs","originalRequest":{"url":{"path":["v1","mercado-pago-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createInvoice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"includePaymentButton\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBook\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mpUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"publicKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isConfigured\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasExpired\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  {\n    \"id\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createdAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"deletedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"updatedAt\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"createInvoice\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"includePaymentButton\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"lastUpdatedUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBookId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"receiptBook\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"mpUserId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"publicKey\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"bankAccountId\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"isConfigured\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"hasExpired\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"08adb374-5aff-4d51-b80e-8712d3ba9c9f","name":"Create Mercado Pago config","request":{"name":"Create Mercado Pago config","description":{"content":"Creates a Mercado Pago config for the current organization, including the treasury bank account used to settle payments received via the IPN webhook.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"createInvoice\": \"<boolean>\",\n  \"includePaymentButton\": \"<string>\",\n  \"receiptBookId\": \"<integer>\",\n  \"accessToken\": \"<string>\",\n  \"refreshToken\": \"<string>\",\n  \"expiresAt\": \"<dateTime>\",\n  \"publicKey\": \"<string>\",\n  \"bankAccountId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ae02331d-6e09-40c7-b859-a3ad8ec6554b","name":"Created Mercado Pago config","originalRequest":{"url":{"path":["v1","mercado-pago-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"receiptBookId\": 1,\n  \"accessToken\": \"<string>\",\n  \"refreshToken\": \"<string>\",\n  \"expiresAt\": \"<dateTime>\",\n  \"publicKey\": \"<string>\",\n  \"bankAccountId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"receiptBook\": {\n    \"nullable\": true,\n    \"description\": \"Eagerly-loaded receipt book used for auto-created MP invoices. `null` when `receiptBookId` is unset.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"mpUserId\": \"1234567890\",\n  \"publicKey\": \"APP_USR-pub-***\",\n  \"bankAccountId\": 12,\n  \"isConfigured\": true,\n  \"hasExpired\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c12c3ae5-549d-44fe-8bcd-fc1ab84be634","name":"INVALID_INCLUDE_PAYMENT_BUTTON — invalid includePaymentButton value.","originalRequest":{"url":{"path":["v1","mercado-pago-configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"receiptBookId\": 1,\n  \"accessToken\": \"<string>\",\n  \"refreshToken\": \"<string>\",\n  \"expiresAt\": \"<dateTime>\",\n  \"publicKey\": \"<string>\",\n  \"bankAccountId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"01acc66e-cd8f-4572-b1a0-d1917f29cb3e","name":"Get Mercado Pago config by id","request":{"name":"Get Mercado Pago config by id","description":{"content":"Returns a single Mercado Pago config by id, scoped to the current organization; 404 when it does not exist.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"38556ddb-6359-4729-ba40-31a0fcaed239","name":"Mercado Pago config","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"receiptBook\": {\n    \"nullable\": true,\n    \"description\": \"Eagerly-loaded receipt book used for auto-created MP invoices. `null` when `receiptBookId` is unset.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"mpUserId\": \"1234567890\",\n  \"publicKey\": \"APP_USR-pub-***\",\n  \"bankAccountId\": 12,\n  \"isConfigured\": true,\n  \"hasExpired\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5082d4f6-e6a0-498d-a09e-1ff8c90006b7","name":"MERCADO_PAGO_CONFIG_NOT_FOUND — config does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7482d09a-b8b8-4238-85ba-2cebb5cfa900","name":"Update Mercado Pago config","request":{"name":"Update Mercado Pago config","description":{"content":"Updates an existing Mercado Pago config, such as the payment-button toggle or the treasury bank account used to settle payments.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"body":{"mode":"raw","raw":"{\n  \"createInvoice\": \"<boolean>\",\n  \"includePaymentButton\": \"<string>\",\n  \"receiptBookId\": \"<integer>\",\n  \"accessToken\": \"<string>\",\n  \"refreshToken\": \"<string>\",\n  \"expiresAt\": \"<dateTime>\",\n  \"publicKey\": \"<string>\",\n  \"bankAccountId\": \"<integer>\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"fcef88ee-4186-490a-87c3-2e85bc343be1","name":"Updated Mercado Pago config","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"receiptBookId\": 1,\n  \"accessToken\": \"<string>\",\n  \"refreshToken\": \"<string>\",\n  \"expiresAt\": \"<dateTime>\",\n  \"publicKey\": \"<string>\",\n  \"bankAccountId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 1,\n  \"createdAt\": \"2026-01-15T12:00:00.000Z\",\n  \"deletedAt\": null,\n  \"updatedAt\": \"2026-02-15T12:00:00.000Z\",\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"lastUpdatedUserId\": 7,\n  \"userId\": 1,\n  \"receiptBookId\": 1,\n  \"receiptBook\": {\n    \"nullable\": true,\n    \"description\": \"Eagerly-loaded receipt book used for auto-created MP invoices. `null` when `receiptBookId` is unset.\",\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"mpUserId\": \"1234567890\",\n  \"publicKey\": \"APP_USR-pub-***\",\n  \"bankAccountId\": 12,\n  \"isConfigured\": true,\n  \"hasExpired\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0fd65979-c64e-4bd3-95b2-411088a26f5d","name":"INVALID_INCLUDE_PAYMENT_BUTTON — invalid includePaymentButton value.","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"receiptBookId\": 1,\n  \"accessToken\": \"<string>\",\n  \"refreshToken\": \"<string>\",\n  \"expiresAt\": \"<dateTime>\",\n  \"publicKey\": \"<string>\",\n  \"bankAccountId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c1e561bd-001c-45a0-912d-be238203b023","name":"MERCADO_PAGO_CONFIG_NOT_FOUND — config does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"createInvoice\": true,\n  \"includePaymentButton\": \"ALWAYS\",\n  \"receiptBookId\": 1,\n  \"accessToken\": \"<string>\",\n  \"refreshToken\": \"<string>\",\n  \"expiresAt\": \"<dateTime>\",\n  \"publicKey\": \"<string>\",\n  \"bankAccountId\": 12\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a62ccf8a-3a39-41c8-ba80-496ecbff39c2","name":"Delete Mercado Pago config","request":{"name":"Delete Mercado Pago config","description":{"content":"Deletes a Mercado Pago config; 404 when it does not exist or belongs to another organization.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8bb16f77-0313-449b-842a-5754ff5ea205","name":"Deleted","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"c31c3c2f-a303-4e84-b77a-588a83671b73","name":"MERCADO_PAGO_CONFIG_NOT_FOUND — config does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"56c3baa0-490c-4224-8187-757fd4588c49","name":"Reset auth — clears the stored refresh token so the user must reconnect","request":{"name":"Reset auth — clears the stored refresh token so the user must reconnect","description":{"content":"Clears the stored OAuth tokens for the Mercado Pago config so the organization must reconnect its Mercado Pago account.","type":"text/plain"},"url":{"path":["v1","mercado-pago-configs",":id","reset-auth"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"0a31781d-2070-4be9-bbda-8ff7b5571c26","name":"Auth reset","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id","reset-auth"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"}],"method":"PATCH","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"d12e9ef5-79b1-4a14-a6ab-3a620facc8e0","name":"MERCADO_PAGO_CONFIG_NOT_FOUND — config does not exist or belongs to another organization.","originalRequest":{"url":{"path":["v1","mercado-pago-configs",":id","reset-auth"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) "}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"bc8ca0bd-eb55-4c2a-943f-b0af00cbe216","name":"Integraciones - Uso de la API","description":{"content":"","type":"text/plain"},"item":[{"id":"0587d969-07e0-4824-a6fc-fca5eeddcfb8","name":"Whether API usage monitoring is available","request":{"name":"Whether API usage monitoring is available","description":{"content":"Not gated: tells whether the organization has API usage monitoring, the range limits for this caller and whether the caller sees the whole organization or only its own API key's requests.","type":"text/plain"},"url":{"path":["v1","api-usage","access"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"8c3ced6a-a088-4bf6-bb0c-a2371aa635b3","name":"Availability and limits","originalRequest":{"url":{"path":["v1","api-usage","access"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"enabled\": true,\n  \"maxRangeDays\": 31,\n  \"metricsMaxRangeDays\": 31,\n  \"hotWindowDays\": 60,\n  \"scope\": \"api_key\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"34bd5772-59e0-458f-87ab-ebeda625cea1","name":"UNAUTHORIZED — missing or invalid API key.","originalRequest":{"url":{"path":["v1","api-usage","access"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f667f843-a52c-4d19-81a5-28de2b654cd2","name":"API usage metrics for a range","request":{"name":"API usage metrics for a range","description":{"content":"Totals, a contiguous time series (hour or Argentina-day buckets), top routes by volume and by p95 latency. Percentiles over more than one hour are a count-weighted approximation. Organization-wide: read from the hourly rollup (≤ 5 min behind), range at most 31 days, default the last 30. With an API key: computed live from that key's requests, range at most 7 days (and within the last 60), default the last 7. With an API key you see only the requests made with that key; a dashboard session sees the whole organization.","type":"text/plain"},"url":{"path":["v1","api-usage","metrics"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"from","value":"<string>","description":"Range start (ISO 8601), inclusive. Default: `to` − 30 days."},{"disabled":false,"key":"to","value":"<string>","description":"Range end (ISO 8601), exclusive. Default: now. At most 31 days after `from`."},{"disabled":false,"key":"granularity","value":"<string>","description":"Bucket size. Default: `hour` for ranges up to 2 days, else `day` (Argentina calendar days)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"f90f8d7a-976b-4341-9d08-95f7ce7baf9c","name":"Metrics","originalRequest":{"url":{"path":["v1","api-usage","metrics"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"granularity","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"range\": {\n    \"from\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"to\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"granularity\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"timezone\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"dataUpdatedAt\": \"2026-09-26T12:05:00.000Z\",\n  \"totals\": {\n    \"requests\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"success2xx\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientErrors4xx\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"serverErrors5xx\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"clientAborted499\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"aborted499CompletedOk\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"aborted499CompletedError\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"errorRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"serverErrorRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"abortRate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"avgMs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"p50Ms\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"p95Ms\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"p99Ms\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"maxMs\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"percentilesApproximate\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  },\n  \"timeseries\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"topRoutesByVolume\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"slowestRoutes\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d34ea3a-cd56-49c0-80dc-d1344769708b","name":"API_USAGE_INVALID_RANGE, API_USAGE_RANGE_TOO_LONG, API_USAGE_OUTSIDE_HOT_WINDOW (API key, range older than 60 days).","originalRequest":{"url":{"path":["v1","api-usage","metrics"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"granularity","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"89558c3d-5d53-4d46-ad54-3fc59c4c650b","name":"UNAUTHORIZED — missing or invalid API key.","originalRequest":{"url":{"path":["v1","api-usage","metrics"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"granularity","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"af37bbbd-3392-498c-8903-010ecc820521","name":"The organization does not have API usage monitoring enabled (answered as an unknown route).","originalRequest":{"url":{"path":["v1","api-usage","metrics"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"granularity","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f39c5234-0f39-4540-98f7-0fbc2db3fc41","name":"More than 60 requests per minute.","originalRequest":{"url":{"path":["v1","api-usage","metrics"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"granularity","value":"<string>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8833355d-2dec-457f-9ce9-4bae29fa0328","name":"Recent API requests (metadata only)","request":{"name":"Recent API requests (metadata only)","description":{"content":"Newest first, cursor-paginated. Filters: status class, route template, method, minimum duration, idempotency key and `provider_id` (the request body's providerId, paired with its `_NC` credit note). Limited to the last 60 days, at most 31 per query. With an API key you see only the requests made with that key; a dashboard session sees the whole organization.","type":"text/plain"},"url":{"path":["v1","api-usage","requests"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"from","value":"<string>","description":"Range start (ISO 8601), inclusive. Default: `to` − 30 days."},{"disabled":false,"key":"to","value":"<string>","description":"Range end (ISO 8601), exclusive. Default: now. At most 31 days after `from`."},{"disabled":false,"key":"status_class","value":"<string>","description":"`4xx` is 400–498; `499` is client aborts; `error` is any status ≥ 400."},{"disabled":false,"key":"route","value":"<string>","description":"Exact route template."},{"disabled":false,"key":"method","value":"<string>"},{"disabled":false,"key":"min_duration_ms","value":"<number>","description":"Only requests at least this slow (ms)."},{"disabled":false,"key":"idempotency_key","value":"<string>","description":"Exact Idempotency-Key the request carried."},{"disabled":false,"key":"provider_id","value":"<string>","description":"The `providerId` sent in the request body (trimmed, exact). Also matches its credit note: `X` finds `X` and `X_NC`, and `X_NC` finds both as well."},{"disabled":false,"key":"cursor","value":"<string>","description":"Opaque cursor from a previous page's `nextCursor`."},{"disabled":false,"key":"limit","value":"<number>","description":"Page size (default 50, max 100)."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"bd19fad6-e6cc-4421-84c0-8ccb42bc163d","name":"A page of requests","originalRequest":{"url":{"path":["v1","api-usage","requests"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"status_class","value":"<string>"},{"key":"route","value":"/v1/sales/sales-receipts"},{"key":"method","value":"POST"},{"key":"min_duration_ms","value":"<number>"},{"key":"idempotency_key","value":"<string>"},{"key":"provider_id","value":"PY-1234567"},{"key":"cursor","value":"<string>"},{"key":"limit","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n  ],\n  \"nextCursor\": \"string\",\n  \"hasMore\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c894239-1800-4b37-ac6a-c111225c0633","name":"API_USAGE_INVALID_RANGE, API_USAGE_RANGE_TOO_LONG, API_USAGE_OUTSIDE_HOT_WINDOW, API_USAGE_INVALID_CURSOR, or a query parameter failed validation.","originalRequest":{"url":{"path":["v1","api-usage","requests"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"status_class","value":"<string>"},{"key":"route","value":"/v1/sales/sales-receipts"},{"key":"method","value":"POST"},{"key":"min_duration_ms","value":"<number>"},{"key":"idempotency_key","value":"<string>"},{"key":"provider_id","value":"PY-1234567"},{"key":"cursor","value":"<string>"},{"key":"limit","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e54f1448-b0ca-4448-b208-c2614fdce56d","name":"UNAUTHORIZED — missing or invalid API key.","originalRequest":{"url":{"path":["v1","api-usage","requests"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"status_class","value":"<string>"},{"key":"route","value":"/v1/sales/sales-receipts"},{"key":"method","value":"POST"},{"key":"min_duration_ms","value":"<number>"},{"key":"idempotency_key","value":"<string>"},{"key":"provider_id","value":"PY-1234567"},{"key":"cursor","value":"<string>"},{"key":"limit","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"116ca5f1-fa7d-48bf-a372-8a6fe383454d","name":"The organization does not have API usage monitoring enabled (answered as an unknown route).","originalRequest":{"url":{"path":["v1","api-usage","requests"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"status_class","value":"<string>"},{"key":"route","value":"/v1/sales/sales-receipts"},{"key":"method","value":"POST"},{"key":"min_duration_ms","value":"<number>"},{"key":"idempotency_key","value":"<string>"},{"key":"provider_id","value":"PY-1234567"},{"key":"cursor","value":"<string>"},{"key":"limit","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8762cae-9195-4e51-ba0c-dbf8c93f4c5a","name":"More than 60 requests per minute.","originalRequest":{"url":{"path":["v1","api-usage","requests"],"host":["{{baseUrl}}"],"query":[{"key":"from","value":"2026-09-01T00:00:00.000Z"},{"key":"to","value":"2026-09-26T00:00:00.000Z"},{"key":"status_class","value":"<string>"},{"key":"route","value":"/v1/sales/sales-receipts"},{"key":"method","value":"POST"},{"key":"min_duration_ms","value":"<number>"},{"key":"idempotency_key","value":"<string>"},{"key":"provider_id","value":"PY-1234567"},{"key":"cursor","value":"<string>"},{"key":"limit","value":"<number>"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"694961c7-4000-4445-80b5-74ad6bd25ed7","name":"One API request, with its request and response bodies","request":{"name":"One API request, with its request and response bodies","description":{"content":"The stored evidence of what was sent and what we answered (credentials redacted). A request of another organization — or, with an API key, of another key — answers 404. With an API key you see only the requests made with that key; a dashboard session sees the whole organization.","type":"text/plain"},"url":{"path":["v1","api-usage","requests",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Request id, from the list."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]}},"response":[{"id":"461c5fcb-ef33-4da5-8109-2ab99cdb6608","name":"The request","originalRequest":{"url":{"path":["v1","api-usage","requests",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Request id, from the list."}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": 912345,\n  \"createdAt\": \"2026-09-25T14:03:11.482Z\",\n  \"method\": \"POST\",\n  \"path\": \"/v1/sales/sales-receipts\",\n  \"route\": \"/v1/sales/sales-receipts\",\n  \"statusCode\": 201,\n  \"durationMs\": 812,\n  \"requestId\": \"string\",\n  \"idempotencyKey\": \"string\",\n  \"apiKeyId\": 1658.1286761821689,\n  \"providerId\": \"PY-1234567\",\n  \"clientAbortedAt\": \"string\",\n  \"completedStatusCode\": 9761.22894543307,\n  \"completedAt\": \"string\",\n  \"errorMessage\": \"string\",\n  \"ip\": \"string\",\n  \"userAgent\": \"string\",\n  \"requestBody\": {\n    \"key_0\": 1845.6817463799657\n  },\n  \"responseBody\": {\n    \"key_0\": 3245,\n    \"key_1\": true,\n    \"key_2\": \"string\"\n  },\n  \"storage\": \"hot\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1df181ef-070a-4492-a4c7-ac9230d38dcf","name":"UNAUTHORIZED — missing or invalid API key.","originalRequest":{"url":{"path":["v1","api-usage","requests",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Request id, from the list."}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"def453ea-dd7c-4995-baf1-9eeb36c02fce","name":"API_USAGE_REQUEST_NOT_FOUND. The organization does not have API usage monitoring enabled (answered as an unknown route).","originalRequest":{"url":{"path":["v1","api-usage","requests",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Request id, from the list."}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c16825d9-4198-49bd-9f2b-f217a109629b","name":"API_USAGE_REQUEST_ARCHIVED — the request is older than the hot retention window and was archived. Reading archived requests is not available yet.","originalRequest":{"url":{"path":["v1","api-usage","requests",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Request id, from the list."}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Gone","code":410,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13dac03d-aaf3-4aaa-b581-6b163621ddc7","name":"More than 60 requests per minute.","originalRequest":{"url":{"path":["v1","api-usage","requests",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) Request id, from the list."}]},"header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"X-API-Key","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"statusCode\": 404,\n  \"error\": \"AFIP_PERSONA_NOT_FOUND\",\n  \"message\": \"No AFIP taxpayer found for CUIT 20999999999.\",\n  \"timestamp\": \"2026-04-23T14:30:00.000Z\",\n  \"path\": \"/v1/customers/lookup-cuit?cuit=20-99999999-9\",\n  \"providerMessage\": \"No existe persona con ese Id\",\n  \"code\": 10016,\n  \"details\": [\n    \"CUIT must contain 11 digits (received 9).\"\n  ],\n  \"requestId\": \"req-abc-123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]}],"event":[],"variable":[{"key":"baseUrl","value":"https://new.api.peakly.ar","type":"string"},{"key":"apiKey","value":"","type":"string"}],"auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{apiKey}}"},{"key":"in","value":"header"}]},"info":{"_postman_id":"78fca83a-3789-4728-93df-a6fbfd333e45","name":"Peakly API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":"# Peakly API Collection\n\nOfficial Postman collection for the Peakly API — Argentina's invoicing and business management platform.\n\n## Getting Started\n\n1. Set your API key in the collection variable `apiKey`\n2. The `baseUrl` is pre-configured to `https://api.peakly.ar`\n3. All requests use `X-API-Key: {{apiKey}}` for authentication\n\n## How to generate an API Key\n\n1. Log in to [Peakly](https://peakly.ar/app)\n2. Go to **Configuración > API Keys**\n3. Create a new API Key and copy it\n4. Paste it in the collection variable `apiKey`\n\n## Base URL\n\n`https://api.peakly.ar`\n\n## Authentication\n\nAll requests must include the header:\n```\nX-API-Key: <your-api-key>\n```\n\n## API Reference\n\nFor full documentation, visit [https://peakly.ar/docs](https://peakly.ar/docs)"}}