{ "info": { "_postman_id": "a7d6c03e-9e7e-4ad1-879f-373ba337de44", "name": "Remote Address Details Expenses API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T02:46:19.000Z", "updatedAt": "2026-07-28T02:46:19.000Z", "lastUpdatedBy": "35240", "uid": "35240-a7d6c03e-9e7e-4ad1-879f-373ba337de44" }, "item": [ { "name": "v1", "item": [ { "name": "expenses", "item": [ { "name": "{expense_id}", "item": [ { "name": "receipt", "item": [ { "name": "Download a receipt", "id": "00f09d3b-4f33-42a4-a980-556a5c661510", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/pdf" } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "id": "91871e29-0009-475f-abb5-b417164f8f86", "key": "expense_id", "value": "", "description": "(Required) The expense ID" } ] }, "description": " Downloads an expense receipt.\n\n Deprecated since late February 2024 in favour of **[Download a receipt by id](#tag/Expenses/operation/get_download_by_id_expense_receipt)** endpoint.\n\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "3934e279-014c-43d3-9bb6-32407126428c", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/pdf" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "key": "expense_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [ { "key": "Content-Type", "value": "application/pdf" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-3934e279-014c-43d3-9bb6-32407126428c" }, { "id": "01b6d51f-a902-4730-9082-fe0eefe1f8cf", "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "key": "expense_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-01b6d51f-a902-4730-9082-fe0eefe1f8cf" }, { "id": "c3ff3778-33ac-4014-8899-f630a64b1de6", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "key": "expense_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-c3ff3778-33ac-4014-8899-f630a64b1de6" }, { "id": "91789e36-0b90-4f93-8b1b-35fd3764c39c", "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "key": "expense_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Forbidden\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-91789e36-0b90-4f93-8b1b-35fd3764c39c" }, { "id": "a42e23d0-228a-4674-a20f-516065686ff0", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "key": "expense_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-a42e23d0-228a-4674-a20f-516065686ff0" }, { "id": "cfe7717b-3a9f-40b9-9ac3-497d3361dcd1", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "key": "expense_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-cfe7717b-3a9f-40b9-9ac3-497d3361dcd1" }, { "id": "6b5bdd23-01d3-42d2-a4f9-bba1d4b3cb59", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipt", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipt" ], "variable": [ { "key": "expense_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-6b5bdd23-01d3-42d2-a4f9-bba1d4b3cb59" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-00f09d3b-4f33-42a4-a980-556a5c661510" } ], "id": "5c3ebdce-93d6-40fe-bcc2-1d1f539188f1", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-5c3ebdce-93d6-40fe-bcc2-1d1f539188f1" }, { "name": "receipts", "item": [ { "name": "{receipt_id}", "item": [ { "name": "Download a receipt by id", "id": "2ebc90c0-a4f7-445f-8458-e308dfe26cad", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/pdf" } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "id": "76fa3351-7c29-4e00-8782-60bb128e92f5", "key": "expense_id", "value": "", "description": "(Required) The expense ID" }, { "id": "eb1857fd-13cb-4073-ac46-f7472644023e", "key": "receipt_id", "value": "", "description": "(Required) The receipt ID" } ] }, "description": "Download a receipt by id.\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "a11afeab-d133-499c-8f5d-eca3e6f39c58", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/pdf" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "key": "expense_id" }, { "key": "receipt_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [ { "key": "Content-Type", "value": "application/pdf" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-a11afeab-d133-499c-8f5d-eca3e6f39c58" }, { "id": "22bf5b1d-e96c-47e7-b4d0-02dbfb15d323", "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "key": "expense_id" }, { "key": "receipt_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-22bf5b1d-e96c-47e7-b4d0-02dbfb15d323" }, { "id": "aa33e7ca-f426-42c6-89f5-58e17d7ac36a", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "key": "expense_id" }, { "key": "receipt_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-aa33e7ca-f426-42c6-89f5-58e17d7ac36a" }, { "id": "84300bf8-e633-4fec-a6d3-60521eac8a6e", "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "key": "expense_id" }, { "key": "receipt_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Forbidden\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-84300bf8-e633-4fec-a6d3-60521eac8a6e" }, { "id": "d5ca4850-c46c-4530-86ec-0d44592272ce", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "key": "expense_id" }, { "key": "receipt_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d5ca4850-c46c-4530-86ec-0d44592272ce" }, { "id": "f7fac1f4-30ef-4100-b01c-9c6044652e32", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "key": "expense_id" }, { "key": "receipt_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-f7fac1f4-30ef-4100-b01c-9c6044652e32" }, { "id": "7bfdfd73-e851-4a39-9ca6-4b9e8a9a469c", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:expense_id/receipts/:receipt_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":expense_id", "receipts", ":receipt_id" ], "variable": [ { "key": "expense_id" }, { "key": "receipt_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-7bfdfd73-e851-4a39-9ca6-4b9e8a9a469c" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-2ebc90c0-a4f7-445f-8458-e308dfe26cad" } ], "id": "c5218fcb-b44b-44ae-9aaf-e7d0d43ec960", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-c5218fcb-b44b-44ae-9aaf-e7d0d43ec960" } ], "id": "561d48d4-9262-466b-a7ca-143f43e6bc9b", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-561d48d4-9262-466b-a7ca-143f43e6bc9b" } ], "id": "d667e553-19c5-46a3-bb9b-148dcc3e92c7", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d667e553-19c5-46a3-bb9b-148dcc3e92c7" }, { "name": "categories", "item": [ { "name": "List expense categories", "id": "a2ff4c3c-9187-42d5-a46e-d59fcd08a074", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/expenses/categories?employment_id=&expense_id=&include_parents=&country_code=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", "categories" ], "query": [ { "description": "The employment ID for which to list categories. Required if neither expense_id nor country_code is provided.", "key": "employment_id", "value": "" }, { "description": "The expense ID for which to list categories (includes the expense's category, even if it is not selectable by default). If provided without employment_id, will use the expense's employment context.", "key": "expense_id", "value": "" }, { "description": "Include un-selectable intermediate categories in the response", "key": "include_parents", "value": "" }, { "description": "Filter categories by country (ISO 3166-1 alpha-3 code, e.g. \"GBR\"). Only used when neither employment_id nor expense_id is provided.", "key": "country_code", "value": "" } ] }, "description": "Lists the effective hierarchy of expense categories. At least one of employment_id, expense_id, or country_code must be provided." }, "response": [ { "id": "4b2eab1a-fd3e-4d1e-9edd-1953ff83d4f0", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/categories?employment_id=&expense_id=&include_parents=&country_code=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", "categories" ], "query": [ { "description": "The employment ID for which to list categories. Required if neither expense_id nor country_code is provided.", "key": "employment_id", "value": "" }, { "description": "The expense ID for which to list categories (includes the expense's category, even if it is not selectable by default). If provided without employment_id, will use the expense's employment context.", "key": "expense_id", "value": "" }, { "description": "Include un-selectable intermediate categories in the response", "key": "include_parents", "value": "" }, { "description": "Filter categories by country (ISO 3166-1 alpha-3 code, e.g. \"GBR\"). Only used when neither employment_id nor expense_id is provided.", "key": "country_code", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"code\": \"\",\n \"description\": \"\",\n \"instructions\": \"\",\n \"is_selectable\": \"\",\n \"parent\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"prompt\": \"\",\n \"scope\": \"\",\n \"slug\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n },\n {\n \"code\": \"\",\n \"description\": \"\",\n \"instructions\": \"\",\n \"is_selectable\": \"\",\n \"parent\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"prompt\": \"\",\n \"scope\": \"\",\n \"slug\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-4b2eab1a-fd3e-4d1e-9edd-1953ff83d4f0" }, { "id": "19b88124-e833-487d-b9ba-ed7618cfb75e", "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/categories?employment_id=&expense_id=&include_parents=&country_code=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", "categories" ], "query": [ { "description": "The employment ID for which to list categories. Required if neither expense_id nor country_code is provided.", "key": "employment_id", "value": "" }, { "description": "The expense ID for which to list categories (includes the expense's category, even if it is not selectable by default). If provided without employment_id, will use the expense's employment context.", "key": "expense_id", "value": "" }, { "description": "Include un-selectable intermediate categories in the response", "key": "include_parents", "value": "" }, { "description": "Filter categories by country (ISO 3166-1 alpha-3 code, e.g. \"GBR\"). Only used when neither employment_id nor expense_id is provided.", "key": "country_code", "value": "" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-19b88124-e833-487d-b9ba-ed7618cfb75e" }, { "id": "af91360f-ef11-496e-b6a4-b174c29e2d17", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/categories?employment_id=&expense_id=&include_parents=&country_code=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", "categories" ], "query": [ { "description": "The employment ID for which to list categories. Required if neither expense_id nor country_code is provided.", "key": "employment_id", "value": "" }, { "description": "The expense ID for which to list categories (includes the expense's category, even if it is not selectable by default). If provided without employment_id, will use the expense's employment context.", "key": "expense_id", "value": "" }, { "description": "Include un-selectable intermediate categories in the response", "key": "include_parents", "value": "" }, { "description": "Filter categories by country (ISO 3166-1 alpha-3 code, e.g. \"GBR\"). Only used when neither employment_id nor expense_id is provided.", "key": "country_code", "value": "" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-af91360f-ef11-496e-b6a4-b174c29e2d17" }, { "id": "21c4645b-1743-41e6-ac42-9147fcf1599d", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/categories?employment_id=&expense_id=&include_parents=&country_code=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", "categories" ], "query": [ { "description": "The employment ID for which to list categories. Required if neither expense_id nor country_code is provided.", "key": "employment_id", "value": "" }, { "description": "The expense ID for which to list categories (includes the expense's category, even if it is not selectable by default). If provided without employment_id, will use the expense's employment context.", "key": "expense_id", "value": "" }, { "description": "Include un-selectable intermediate categories in the response", "key": "include_parents", "value": "" }, { "description": "Filter categories by country (ISO 3166-1 alpha-3 code, e.g. \"GBR\"). Only used when neither employment_id nor expense_id is provided.", "key": "country_code", "value": "" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-21c4645b-1743-41e6-ac42-9147fcf1599d" }, { "id": "73b62530-33d1-4212-9533-ca222a604790", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/categories?employment_id=&expense_id=&include_parents=&country_code=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", "categories" ], "query": [ { "description": "The employment ID for which to list categories. Required if neither expense_id nor country_code is provided.", "key": "employment_id", "value": "" }, { "description": "The expense ID for which to list categories (includes the expense's category, even if it is not selectable by default). If provided without employment_id, will use the expense's employment context.", "key": "expense_id", "value": "" }, { "description": "Include un-selectable intermediate categories in the response", "key": "include_parents", "value": "" }, { "description": "Filter categories by country (ISO 3166-1 alpha-3 code, e.g. \"GBR\"). Only used when neither employment_id nor expense_id is provided.", "key": "country_code", "value": "" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-73b62530-33d1-4212-9533-ca222a604790" }, { "id": "2aab84b6-e4ed-42c4-86f5-2269718b3d1d", "name": "Too many requests", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/categories?employment_id=&expense_id=&include_parents=&country_code=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", "categories" ], "query": [ { "description": "The employment ID for which to list categories. Required if neither expense_id nor country_code is provided.", "key": "employment_id", "value": "" }, { "description": "The expense ID for which to list categories (includes the expense's category, even if it is not selectable by default). If provided without employment_id, will use the expense's employment context.", "key": "expense_id", "value": "" }, { "description": "Include un-selectable intermediate categories in the response", "key": "include_parents", "value": "" }, { "description": "Filter categories by country (ISO 3166-1 alpha-3 code, e.g. \"GBR\"). Only used when neither employment_id nor expense_id is provided.", "key": "country_code", "value": "" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-2aab84b6-e4ed-42c4-86f5-2269718b3d1d" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-a2ff4c3c-9187-42d5-a46e-d59fcd08a074" } ], "id": "3e86466f-5ea7-4371-af79-55509693db50", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-3e86466f-5ea7-4371-af79-55509693db50" }, { "name": "{id}", "item": [ { "name": "Show expense", "id": "e99495c2-6446-46ac-8b0e-d29b884942b4", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "id": "3a0e5664-6e9b-4bea-a1a9-e1fe158bd8cb", "key": "id", "value": "", "description": "(Required) Expense ID" } ] }, "description": "Shows a single expense record\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "39da70d1-ce79-47df-a133-8d5cdae66c92", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"expense\": {\n \"id\": \"\",\n \"title\": \"\",\n \"employment_id\": \"\",\n \"amount\": \"\",\n \"converted_amount\": \"\",\n \"currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"converted_currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"expense_date\": \"\",\n \"tax_amount\": \"\",\n \"converted_tax_amount\": \"\",\n \"category\": \"entertainment\",\n \"expense_category\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"invoice_period\": \"\",\n \"notes\": \"\",\n \"reason\": \"\",\n \"receipts\": [\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n },\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer\": {\n \"user_email\": \"\",\n \"user_id\": \"\",\n \"user_name\": \"\"\n },\n \"status\": \"processing\"\n }\n }\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-39da70d1-ce79-47df-a133-8d5cdae66c92" }, { "id": "c3644d19-8cc2-4595-921f-4a250f82726c", "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-c3644d19-8cc2-4595-921f-4a250f82726c" }, { "id": "15979f04-54ee-4a93-a067-febd0657bb99", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-15979f04-54ee-4a93-a067-febd0657bb99" }, { "id": "f3ff84a6-52b1-48fe-aa0e-5a91621f6021", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-f3ff84a6-52b1-48fe-aa0e-5a91621f6021" }, { "id": "d3a01ea1-0c1f-4532-8221-37014eb45331", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d3a01ea1-0c1f-4532-8221-37014eb45331" }, { "id": "c604c9ca-3963-4da8-a1cf-616127ca9a28", "name": "Too many requests", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-c604c9ca-3963-4da8-a1cf-616127ca9a28" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-e99495c2-6446-46ac-8b0e-d29b884942b4" }, { "name": "Update an expense", "id": "9c508afe-4dec-447b-a184-fde814d67714", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "id": "1cf462d7-f1b5-4da2-9c0f-03d6c351b9e6", "key": "id", "value": "", "description": "(Required) Expense ID" } ] }, "description": "Updates an expense\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "2247ecc7-a4a7-495b-b34b-7f9acb45cdf2", "name": "Success", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"expense\": {\n \"id\": \"\",\n \"title\": \"\",\n \"employment_id\": \"\",\n \"amount\": \"\",\n \"converted_amount\": \"\",\n \"currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"converted_currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"expense_date\": \"\",\n \"tax_amount\": \"\",\n \"converted_tax_amount\": \"\",\n \"category\": \"entertainment\",\n \"expense_category\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"invoice_period\": \"\",\n \"notes\": \"\",\n \"reason\": \"\",\n \"receipts\": [\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n },\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer\": {\n \"user_email\": \"\",\n \"user_id\": \"\",\n \"user_name\": \"\"\n },\n \"status\": \"processing\"\n }\n }\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-2247ecc7-a4a7-495b-b34b-7f9acb45cdf2" }, { "id": "d7b9868d-51d0-443b-be80-91401931f81b", "name": "Bad Request", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d7b9868d-51d0-443b-be80-91401931f81b" }, { "id": "bd549e90-35df-42ef-b15e-050e350d6c25", "name": "Unauthorized", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-bd549e90-35df-42ef-b15e-050e350d6c25" }, { "id": "55d0d512-0211-45e2-b2d3-c68bc0b75d01", "name": "Not Found", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-55d0d512-0211-45e2-b2d3-c68bc0b75d01" }, { "id": "e9486f93-28bc-4ff6-9070-313e3a8349ab", "name": "Conflict", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-e9486f93-28bc-4ff6-9070-313e3a8349ab" }, { "id": "58c9933d-b281-4d22-8ed0-f45de272cb37", "name": "Unprocessable Entity", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-58c9933d-b281-4d22-8ed0-f45de272cb37" }, { "id": "d2895c1f-366e-4f26-8e6f-4de90517cd2f", "name": "Too many requests", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d2895c1f-366e-4f26-8e6f-4de90517cd2f" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-9c508afe-4dec-447b-a184-fde814d67714" }, { "name": "Update an expense", "id": "1451c0e8-f90e-47e8-b779-316fa2621950", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "id": "137fbb76-439d-4fab-a04c-10ccf70a284f", "key": "id", "value": "", "description": "(Required) Expense ID" } ] }, "description": "Updates an expense\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "23320aa0-6bef-4cbd-81b3-ccea1edb935a", "name": "Success", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"expense\": {\n \"id\": \"\",\n \"title\": \"\",\n \"employment_id\": \"\",\n \"amount\": \"\",\n \"converted_amount\": \"\",\n \"currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"converted_currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"expense_date\": \"\",\n \"tax_amount\": \"\",\n \"converted_tax_amount\": \"\",\n \"category\": \"entertainment\",\n \"expense_category\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"invoice_period\": \"\",\n \"notes\": \"\",\n \"reason\": \"\",\n \"receipts\": [\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n },\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer\": {\n \"user_email\": \"\",\n \"user_id\": \"\",\n \"user_name\": \"\"\n },\n \"status\": \"processing\"\n }\n }\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-23320aa0-6bef-4cbd-81b3-ccea1edb935a" }, { "id": "b3644ca4-21b6-4162-8886-6df10932bfc5", "name": "Bad Request", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-b3644ca4-21b6-4162-8886-6df10932bfc5" }, { "id": "dab4d5d6-5fae-4e1c-ab82-9993da9a0a39", "name": "Unauthorized", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-dab4d5d6-5fae-4e1c-ab82-9993da9a0a39" }, { "id": "d60efdd7-d82a-4b92-ba52-a67559b9f992", "name": "Not Found", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d60efdd7-d82a-4b92-ba52-a67559b9f992" }, { "id": "0da76fce-aced-4a95-a4fb-00e387132c5c", "name": "Conflict", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-0da76fce-aced-4a95-a4fb-00e387132c5c" }, { "id": "a2d61995-dc76-4ae7-ad3e-90260a0266af", "name": "Unprocessable Entity", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-a2d61995-dc76-4ae7-ad3e-90260a0266af" }, { "id": "ce973354-0af1-41a8-a04d-e9868ca98d83", "name": "Too many requests", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"approved\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses/:id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses", ":id" ], "variable": [ { "key": "id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-ce973354-0af1-41a8-a04d-e9868ca98d83" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-1451c0e8-f90e-47e8-b779-316fa2621950" } ], "id": "82d7f3e3-b518-4b12-9249-cba84f41264c", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-82d7f3e3-b518-4b12-9249-cba84f41264c" }, { "name": "List expenses", "id": "4e9bfbd0-e674-4b98-ba6b-9b55ffaf0832", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/expenses?page=&page_size=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ], "query": [ { "description": "Starts fetching records after the given page", "key": "page", "value": "" }, { "description": "Change the amount of records returned per page, defaults to 20, limited to 100", "key": "page_size", "value": "" } ] }, "description": "Lists all expenses records\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "4340247a-6024-4852-b1a5-b1872314e5b0", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses?page=&page_size=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ], "query": [ { "description": "Starts fetching records after the given page", "key": "page", "value": "" }, { "description": "Change the amount of records returned per page, defaults to 20, limited to 100", "key": "page_size", "value": "" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"current_page\": \"\",\n \"expenses\": [\n {\n \"id\": \"\",\n \"title\": \"\",\n \"employment_id\": \"\",\n \"amount\": \"\",\n \"converted_amount\": \"\",\n \"currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"converted_currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"expense_date\": \"\",\n \"tax_amount\": \"\",\n \"converted_tax_amount\": \"\",\n \"category\": \"home_office\",\n \"expense_category\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"invoice_period\": \"\",\n \"notes\": \"\",\n \"reason\": \"\",\n \"receipts\": [\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n },\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer\": {\n \"user_email\": \"\",\n \"user_id\": \"\",\n \"user_name\": \"\"\n },\n \"status\": \"approved\"\n },\n {\n \"id\": \"\",\n \"title\": \"\",\n \"employment_id\": \"\",\n \"amount\": \"\",\n \"converted_amount\": \"\",\n \"currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"converted_currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"expense_date\": \"\",\n \"tax_amount\": \"\",\n \"converted_tax_amount\": \"\",\n \"category\": \"flight\",\n \"expense_category\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"invoice_period\": \"\",\n \"notes\": \"\",\n \"reason\": \"\",\n \"receipts\": [\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n },\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer\": {\n \"user_email\": \"\",\n \"user_id\": \"\",\n \"user_name\": \"\"\n },\n \"status\": \"reimbursed\"\n }\n ],\n \"total_count\": \"\",\n \"total_pages\": \"\"\n }\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-4340247a-6024-4852-b1a5-b1872314e5b0" }, { "id": "fd10cfc4-eeee-4422-bb6c-09599e76958e", "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses?page=&page_size=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ], "query": [ { "description": "Starts fetching records after the given page", "key": "page", "value": "" }, { "description": "Change the amount of records returned per page, defaults to 20, limited to 100", "key": "page_size", "value": "" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-fd10cfc4-eeee-4422-bb6c-09599e76958e" }, { "id": "144f7ee7-474c-4b31-ac27-aa3465c48c96", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses?page=&page_size=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ], "query": [ { "description": "Starts fetching records after the given page", "key": "page", "value": "" }, { "description": "Change the amount of records returned per page, defaults to 20, limited to 100", "key": "page_size", "value": "" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-144f7ee7-474c-4b31-ac27-aa3465c48c96" }, { "id": "47ac04c9-24f7-4003-bff0-cfe38e1de035", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses?page=&page_size=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ], "query": [ { "description": "Starts fetching records after the given page", "key": "page", "value": "" }, { "description": "Change the amount of records returned per page, defaults to 20, limited to 100", "key": "page_size", "value": "" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-47ac04c9-24f7-4003-bff0-cfe38e1de035" }, { "id": "24b7a114-5554-4405-ad15-b667dd4d1ca8", "name": "Unprocessable Entity", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses?page=&page_size=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ], "query": [ { "description": "Starts fetching records after the given page", "key": "page", "value": "" }, { "description": "Change the amount of records returned per page, defaults to 20, limited to 100", "key": "page_size", "value": "" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-24b7a114-5554-4405-ad15-b667dd4d1ca8" }, { "id": "cb178c86-d869-47d2-8b3f-f3d834c9fce4", "name": "Too many requests", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/expenses?page=&page_size=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ], "query": [ { "description": "Starts fetching records after the given page", "key": "page", "value": "" }, { "description": "Change the amount of records returned per page, defaults to 20, limited to 100", "key": "page_size", "value": "" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-cb178c86-d869-47d2-8b3f-f3d834c9fce4" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-4e9bfbd0-e674-4b98-ba6b-9b55ffaf0832" }, { "name": "Create expense", "id": "e744e19b-1dbe-4405-9dbc-99a84f863064", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"employment_id\": \"\",\n \"category\": \"other\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer_id\": \"\",\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ] }, "description": "Creates an **approved** expense\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "28529102-7638-42ff-83b9-a3a50392fa0e", "name": "Success", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"employment_id\": \"\",\n \"category\": \"other\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer_id\": \"\",\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"expense\": {\n \"id\": \"\",\n \"title\": \"\",\n \"employment_id\": \"\",\n \"amount\": \"\",\n \"converted_amount\": \"\",\n \"currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"converted_currency\": {\n \"code\": \"\",\n \"name\": \"\",\n \"symbol\": \"\"\n },\n \"expense_date\": \"\",\n \"tax_amount\": \"\",\n \"converted_tax_amount\": \"\",\n \"category\": \"entertainment\",\n \"expense_category\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"invoice_period\": \"\",\n \"notes\": \"\",\n \"reason\": \"\",\n \"receipts\": [\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n },\n {\n \"id\": \"\",\n \"inserted_at\": \"\",\n \"name\": \"\",\n \"type\": \"\",\n \"sub_type\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer\": {\n \"user_email\": \"\",\n \"user_id\": \"\",\n \"user_name\": \"\"\n },\n \"status\": \"processing\"\n }\n }\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-28529102-7638-42ff-83b9-a3a50392fa0e" }, { "id": "06a9c2b3-3f72-4495-b63a-f82a35935512", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"employment_id\": \"\",\n \"category\": \"other\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer_id\": \"\",\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-06a9c2b3-3f72-4495-b63a-f82a35935512" }, { "id": "d115aa4a-35d6-436a-a7ae-392a79a99cab", "name": "Unauthorized", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"employment_id\": \"\",\n \"category\": \"other\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer_id\": \"\",\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d115aa4a-35d6-436a-a7ae-392a79a99cab" }, { "id": "39162bcf-a2cf-4b9d-93a2-34ce26ff61cf", "name": "Not Found", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"employment_id\": \"\",\n \"category\": \"other\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer_id\": \"\",\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-39162bcf-a2cf-4b9d-93a2-34ce26ff61cf" }, { "id": "859f2015-77f5-4fbd-9233-4424b7527c00", "name": "Unprocessable Entity", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"employment_id\": \"\",\n \"category\": \"other\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer_id\": \"\",\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-859f2015-77f5-4fbd-9233-4424b7527c00" }, { "id": "d5371214-50ec-43ca-829a-dc4985c98277", "name": "Too many requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"employment_id\": \"\",\n \"category\": \"other\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"reviewed_at\": \"\",\n \"reviewer_id\": \"\",\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "expenses" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Too many requests\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-d5371214-50ec-43ca-829a-dc4985c98277" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-e744e19b-1dbe-4405-9dbc-99a84f863064" } ], "id": "be25ce9f-c9a0-4eea-a833-1184fbfda3b3", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-be25ce9f-c9a0-4eea-a833-1184fbfda3b3" }, { "name": "employee", "item": [ { "name": "expense-categories", "item": [ { "name": "List expense categories for the authenticated employee", "id": "bac817d2-dc2c-4901-a8a0-d7cab4161ad9", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "address:read address:write bank_account:read bank_account:write document:read document:write emergency_contact:read emergency_contact:write employment_documents employment_payments employments expense:read incentive:read payroll payslip:read personal_detail:read personal_detail:write time_and_attendance timeoff:read timeoff:write timesheet:read", "type": "string" }, { "key": "accessTokenUrl", "value": "/auth/oauth2/token", "type": "string" }, { "key": "grant_type", "value": "client_credentials", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expense-categories?include_parents=&expense_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expense-categories" ], "query": [ { "description": "Include parent (non-selectable) categories in addition to selectable leaves", "key": "include_parents", "value": "" }, { "description": "Expense ID (slug) whose category should be included in the result, even if it is not selectable by default", "key": "expense_id", "value": "" } ] }, "description": "Returns the flat list of expense categories applicable to the current employee. Only active categories are returned, filtered by the employee's country / legal-entity visibility rules. Leaf nodes have `is_selectable: true`; parent nodes are excluded unless `include_parents=true`.\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "b0086daf-9841-466e-b654-eb8458c77b51", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expense-categories?include_parents=&expense_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expense-categories" ], "query": [ { "description": "Include parent (non-selectable) categories in addition to selectable leaves", "key": "include_parents", "value": "" }, { "description": "Expense ID (slug) whose category should be included in the result, even if it is not selectable by default", "key": "expense_id", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"code\": \"\",\n \"description\": \"\",\n \"instructions\": \"\",\n \"is_selectable\": \"\",\n \"parent\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"prompt\": \"\",\n \"scope\": \"\",\n \"slug\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n },\n {\n \"code\": \"\",\n \"description\": \"\",\n \"instructions\": \"\",\n \"is_selectable\": \"\",\n \"parent\": {\n \"code\": \"\",\n \"slug\": \"\",\n \"title\": \"\"\n },\n \"prompt\": \"\",\n \"scope\": \"\",\n \"slug\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-b0086daf-9841-466e-b654-eb8458c77b51" }, { "id": "6ae75f1f-5b77-4dbc-aa6d-d79aeee04346", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expense-categories?include_parents=&expense_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expense-categories" ], "query": [ { "description": "Include parent (non-selectable) categories in addition to selectable leaves", "key": "include_parents", "value": "" }, { "description": "Expense ID (slug) whose category should be included in the result, even if it is not selectable by default", "key": "expense_id", "value": "" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-6ae75f1f-5b77-4dbc-aa6d-d79aeee04346" }, { "id": "3c4eea0f-7a25-49d8-bfd8-d68812387d12", "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expense-categories?include_parents=&expense_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expense-categories" ], "query": [ { "description": "Include parent (non-selectable) categories in addition to selectable leaves", "key": "include_parents", "value": "" }, { "description": "Expense ID (slug) whose category should be included in the result, even if it is not selectable by default", "key": "expense_id", "value": "" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Forbidden\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-3c4eea0f-7a25-49d8-bfd8-d68812387d12" }, { "id": "12ac3e86-fefd-4a97-b84e-1c86feab69fc", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expense-categories?include_parents=&expense_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expense-categories" ], "query": [ { "description": "Include parent (non-selectable) categories in addition to selectable leaves", "key": "include_parents", "value": "" }, { "description": "Expense ID (slug) whose category should be included in the result, even if it is not selectable by default", "key": "expense_id", "value": "" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-12ac3e86-fefd-4a97-b84e-1c86feab69fc" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-bac817d2-dc2c-4901-a8a0-d7cab4161ad9" } ], "id": "7bc3048e-0b55-4a04-bca5-8fa9a528d289", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-7bc3048e-0b55-4a04-bca5-8fa9a528d289" }, { "name": "expenses", "item": [ { "name": "List expenses for the authenticated employee", "id": "e0d8f175-a501-4137-bd94-bc406338d182", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "address:read address:write bank_account:read bank_account:write document:read document:write emergency_contact:read emergency_contact:write employment_documents employment_payments employments expense:read incentive:read payroll payslip:read personal_detail:read personal_detail:write time_and_attendance timeoff:read timeoff:write timesheet:read", "type": "string" }, { "key": "accessTokenUrl", "value": "/auth/oauth2/token", "type": "string" }, { "key": "grant_type", "value": "client_credentials", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] }, "description": "Returns a paginated list of expenses belonging to the current employee.\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "61fd55bf-aa4b-41b5-a349-8acd7610cafb", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"status\": \"\"\n }\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-61fd55bf-aa4b-41b5-a349-8acd7610cafb" }, { "id": "1475ba77-6408-4155-9619-a289cb577c9c", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-1475ba77-6408-4155-9619-a289cb577c9c" }, { "id": "007338b8-275d-4ad4-9d2e-f14dabb5d697", "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Forbidden\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-007338b8-275d-4ad4-9d2e-f14dabb5d697" }, { "id": "cc788af9-b8c5-4701-9a70-2df5f083e465", "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Not Found\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-cc788af9-b8c5-4701-9a70-2df5f083e465" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-e0d8f175-a501-4137-bd94-bc406338d182" }, { "name": "Create an expense for the authenticated employee", "id": "cb337c01-0bfc-47ed-8722-10110421fa04", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "address:read address:write bank_account:read bank_account:write document:read document:write emergency_contact:read emergency_contact:write employment_documents employment_payments employments expense:read incentive:read payroll payslip:read personal_detail:read personal_detail:write time_and_attendance timeoff:read timeoff:write timesheet:read", "type": "string" }, { "key": "accessTokenUrl", "value": "/auth/oauth2/token", "type": "string" }, { "key": "grant_type", "value": "client_credentials", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"category\": \"entertainment\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] }, "description": "Creates a new expense record for the current employee.\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n" }, "response": [ { "id": "05b8e91c-02e4-46bf-bf64-0ebc9bd92be5", "name": "Created", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"category\": \"entertainment\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"status\": \"\"\n }\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-05b8e91c-02e4-46bf-bf64-0ebc9bd92be5" }, { "id": "84f04489-2e77-4ca8-baee-3833d9c1868a", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"category\": \"entertainment\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-84f04489-2e77-4ca8-baee-3833d9c1868a" }, { "id": "46ce982f-5d81-45bb-9c7e-3da77f7d6a0f", "name": "Unauthorized", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"category\": \"entertainment\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Unauthorized\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-46ce982f-5d81-45bb-9c7e-3da77f7d6a0f" }, { "id": "54ce0a0c-2a09-4c81-a116-b38406458a12", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"category\": \"entertainment\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"Forbidden\"\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-54ce0a0c-2a09-4c81-a116-b38406458a12" }, { "id": "3b2cb549-33b0-4ed1-b914-964d24ec9d27", "name": "Unprocessable Entity", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"expense_date\": \"\",\n \"title\": \"\",\n \"amount\": \"\",\n \"currency\": \"\",\n \"category\": \"entertainment\",\n \"expense_category_slug\": \"\",\n \"receipt\": {\n \"name\": \"\",\n \"content\": \"\"\n },\n \"receipts\": [\n {\n \"name\": \"\",\n \"content\": \"\"\n },\n {\n \"name\": \"\",\n \"content\": \"\"\n }\n ],\n \"tax_amount\": \"\",\n \"timezone\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/employee/expenses", "host": [ "{{baseUrl}}" ], "path": [ "v1", "employee", "expenses" ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"errors\": {}\n}", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-3b2cb549-33b0-4ed1-b914-964d24ec9d27" } ], "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-cb337c01-0bfc-47ed-8722-10110421fa04" } ], "id": "2ecf52e1-d564-452a-8c97-132f8f8dab0a", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-2ecf52e1-d564-452a-8c97-132f8f8dab0a" } ], "id": "5110be71-9b2a-47bc-b7d8-c6f7bc672465", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-5110be71-9b2a-47bc-b7d8-c6f7bc672465" } ], "id": "298af59f-f915-4b84-94c4-944d9d93c84a", "createdAt": "2026-07-28T02:46:20.000Z", "updatedAt": "2026-07-28T02:46:20.000Z", "uid": "35240-298af59f-f915-4b84-94c4-944d9d93c84a" } ], "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "company_department:read webhook:write magic_link:write offboarding:write custom_field:write address:write expense:read employment:write identity_verification:write timesheet:write travel_letter:write incentive:read personal_detail:read invoices:write work_authorization:write timeoff:write company_structure:read benefit_renewal:write benefit_offer:read employment_documents onboarding:write payroll_run:read risk_reserve:write invoices resignation_letter:read resignation:read convert_currency:read employments probation_document:read company_admin payroll help_center_article:read timesheet:read custom_field_value:write company_currencies:read payslip:read pay_item:write resignation:write custom_field:read payroll_calendar:read contract_amendment:write offboarding:read timeoff:read probation_document:write country:read webhook:read company_department:write company_manager:read pay_item:read contract_amendment:read company:read sso_configuration:write benefit_offer:write contract_eligibility:write benefit_renewal:read background_check:read custom_field_value:read expense:write identity_verification:read address:read document:write time_and_attendance employment_payments form:read work_authorization:read invoices:read incentive:write employment:read contract:read company_manager:write travel_letter:read document:read sso_configuration:read", "type": "string" }, { "key": "accessTokenUrl", "value": "/auth/oauth2/token", "type": "string" }, { "key": "authUrl", "value": "/auth/oauth2/authorize", "type": "string" }, { "key": "grant_type", "value": "authorization_code", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://gateway.remote.com/" } ] }