{ "info": { "_postman_id": "88c7379d-b4b9-44e6-9a6d-632cc9f8e0c7", "name": "Remote Address Details GL Reports API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "lastUpdatedBy": "35240", "uid": "35240-88c7379d-b4b9-44e6-9a6d-632cc9f8e0c7" }, "item": [ { "name": "v1", "item": [ { "name": "payroll-runs", "item": [ { "name": "{payroll_run_id}", "item": [ { "name": "gl-reports", "item": [ { "name": "{gl_report_id}", "item": [ { "name": "download", "item": [ { "name": "Download a GL report", "id": "15fe4547-eaf2-43b9-b9ac-c391847201e3", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id/download", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id", "download" ], "variable": [ { "id": "ea207d3e-7e3a-441d-a493-b79415f857d7", "key": "payroll_run_id", "value": "", "description": "(Required) The payroll run's ID" }, { "id": "bafa881d-2752-46ff-b9a6-6eea545baaf6", "key": "gl_report_id", "value": "", "description": "(Required) The GL report's ID" } ] }, "description": "Downloads the generated GL report as a CSV file. The report must have `status: completed` before calling this endpoint.\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n" }, "response": [ { "id": "1737b0c6-ad89-4718-8dab-0e7b1bd60d2a", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id/download", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id", "download" ], "variable": [ { "key": "payroll_run_id" }, { "key": "gl_report_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-1737b0c6-ad89-4718-8dab-0e7b1bd60d2a" }, { "id": "90ea94eb-75a1-4188-885b-e743be293260", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id/download", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id", "download" ], "variable": [ { "key": "payroll_run_id" }, { "key": "gl_report_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:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-90ea94eb-75a1-4188-885b-e743be293260" }, { "id": "2602371b-c577-4862-af53-822ae11e19cb", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id/download", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id", "download" ], "variable": [ { "key": "payroll_run_id" }, { "key": "gl_report_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:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-2602371b-c577-4862-af53-822ae11e19cb" } ], "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-15fe4547-eaf2-43b9-b9ac-c391847201e3" } ], "id": "be83b587-03ff-48f0-8a6f-5d9846e8dd4f", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-be83b587-03ff-48f0-8a6f-5d9846e8dd4f" }, { "name": "Show a GL report", "id": "cd6b1cac-ef8f-4532-8a0c-dc375035907c", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id" ], "variable": [ { "id": "ab7a66cf-68ba-4a3d-b0c1-487d3717c3c5", "key": "payroll_run_id", "value": "", "description": "(Required) The payroll run's ID" }, { "id": "e2e9d7c1-493d-45a2-8697-ec51f00593bd", "key": "gl_report_id", "value": "", "description": "(Required) The GL report's ID" } ] }, "description": "Returns the current status of a GL report. Poll until `status` is `completed`, then call `download`.\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n" }, "response": [ { "id": "ec882b3c-f741-4d00-a972-d46c4a38c7b3", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id" ], "variable": [ { "key": "payroll_run_id" }, { "key": "gl_report_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"gl_report\": {\n \"id\": \"\",\n \"type\": \"summary\",\n \"status\": \"failed\",\n \"inserted_at\": \"\"\n }\n }\n}", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-ec882b3c-f741-4d00-a972-d46c4a38c7b3" }, { "id": "dc758be9-6f5a-4955-bfb9-554a9bb8960e", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id" ], "variable": [ { "key": "payroll_run_id" }, { "key": "gl_report_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:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-dc758be9-6f5a-4955-bfb9-554a9bb8960e" }, { "id": "0a415052-fb89-42a5-bf17-6dd5f55a5053", "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/payroll-runs/:payroll_run_id/gl-reports/:gl_report_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports", ":gl_report_id" ], "variable": [ { "key": "payroll_run_id" }, { "key": "gl_report_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:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-0a415052-fb89-42a5-bf17-6dd5f55a5053" } ], "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-cd6b1cac-ef8f-4532-8a0c-dc375035907c" } ], "id": "92346bd6-1aac-4c0b-8f13-ba6dc0196a3d", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-92346bd6-1aac-4c0b-8f13-ba6dc0196a3d" }, { "name": "Create a GL report", "id": "63125e0a-b4e0-4431-8332-93d2e244b29e", "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 \"type\": \"summary\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/payroll-runs/:payroll_run_id/gl-reports", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports" ], "variable": [ { "id": "d9d7a448-ad30-4249-a060-0afdb9bfa149", "key": "payroll_run_id", "value": "", "description": "(Required) The payroll run's ID" } ] }, "description": "Triggers generation of a General Ledger report for the given payroll run and type.\nReturns immediately with a `pending` report \u2014 poll `show` until `status` is `completed`,\nthen call `download`.\n\n\n## Scopes\n\n| Category | Read only Scope | Write only Scope (read access implicit) |\n|---|---|---|\n| Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n" }, "response": [ { "id": "f9cd47f7-ab82-41ed-b5c5-ccb95e35e09f", "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 \"type\": \"summary\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/payroll-runs/:payroll_run_id/gl-reports", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports" ], "variable": [ { "key": "payroll_run_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": {\n \"gl_report\": {\n \"id\": \"\",\n \"type\": \"summary\",\n \"status\": \"failed\",\n \"inserted_at\": \"\"\n }\n }\n}", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-f9cd47f7-ab82-41ed-b5c5-ccb95e35e09f" }, { "id": "ad7cc180-2d7e-4bd0-9d7b-489fc42f95fb", "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 \"type\": \"summary\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/payroll-runs/:payroll_run_id/gl-reports", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports" ], "variable": [ { "key": "payroll_run_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:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-ad7cc180-2d7e-4bd0-9d7b-489fc42f95fb" }, { "id": "87b736a3-e4e9-4fb8-ba0f-0d716f268511", "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 \"type\": \"summary\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/payroll-runs/:payroll_run_id/gl-reports", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports" ], "variable": [ { "key": "payroll_run_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:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-87b736a3-e4e9-4fb8-ba0f-0d716f268511" }, { "id": "67dfc55b-f447-4c96-b02d-3916711391a5", "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 \"type\": \"summary\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/payroll-runs/:payroll_run_id/gl-reports", "host": [ "{{baseUrl}}" ], "path": [ "v1", "payroll-runs", ":payroll_run_id", "gl-reports" ], "variable": [ { "key": "payroll_run_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:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-67dfc55b-f447-4c96-b02d-3916711391a5" } ], "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-63125e0a-b4e0-4431-8332-93d2e244b29e" } ], "id": "c6c03d18-9ff2-409a-9435-d514db7f39fd", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-c6c03d18-9ff2-409a-9435-d514db7f39fd" } ], "id": "7c3a66a0-2a10-4673-9852-952c6717b8e8", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-7c3a66a0-2a10-4673-9852-952c6717b8e8" } ], "id": "6738d169-0393-4166-8fb9-4c13d0ba526f", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-6738d169-0393-4166-8fb9-4c13d0ba526f" } ], "id": "bda94a22-8053-4a85-b67f-8ea8de9b5086", "createdAt": "2026-07-28T02:46:26.000Z", "updatedAt": "2026-07-28T02:46:26.000Z", "uid": "35240-bda94a22-8053-4a85-b67f-8ea8de9b5086" } ], "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/" } ] }