{ "info": { "_postman_id": "afe6b0ec-371c-4f64-a537-0917670c7aca", "name": "Clients AR Account reports Invoices API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "lastUpdatedBy": "35240", "uid": "35240-afe6b0ec-371c-4f64-a537-0917670c7aca" }, "item": [ { "name": "public", "item": [ { "name": "invoices-management", "item": [ { "name": "v1", "item": [ { "name": "entities", "item": [ { "name": "{entityId}", "item": [ { "name": "invoices", "item": [ { "name": "mark-as-verified", "item": [ { "name": "Mark invoices as verified", "id": "f2c9dc56-6a31-40cf-8927-55b8d8a83161", "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 \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices/mark-as-verified", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices", "mark-as-verified" ], "variable": [ { "id": "35f277dd-46ea-4231-9503-d824510121fe", "key": "entityId", "value": "", "description": "(Required) The entity identifier." } ] }, "description": "Marks the specified invoices as verified for the given entity." }, "response": [ { "id": "d01e0762-96e6-49cd-ac40-991904adea09", "name": "Your request has been successfully processed.", "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 \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices/mark-as-verified", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices", "mark-as-verified" ], "variable": [ { "key": "entityId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"results\": [\n {\n \"invoiceId\": \"\",\n \"success\": \"\",\n \"error\": {\n \"exception\": \"\",\n \"message\": \"\"\n }\n },\n {\n \"invoiceId\": \"\",\n \"success\": \"\",\n \"error\": {\n \"exception\": \"\",\n \"message\": \"\"\n }\n }\n ]\n}", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-d01e0762-96e6-49cd-ac40-991904adea09" }, { "id": "47218fdb-401c-4fbe-ad0d-c0c05c8d03dc", "name": "Your request is invalid.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices/mark-as-verified", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices", "mark-as-verified" ], "variable": [ { "key": "entityId" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"type\": \"Write_Invoice_EmptyFile\",\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n}", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-47218fdb-401c-4fbe-ad0d-c0c05c8d03dc" }, { "id": "9ee06185-0928-4328-9078-1c43e2bfaa80", "name": "Unauthorized request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices/mark-as-verified", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices", "mark-as-verified" ], "variable": [ { "key": "entityId" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-9ee06185-0928-4328-9078-1c43e2bfaa80" }, { "id": "008de46b-7bf5-43fb-9ecc-f389061e69a8", "name": "Forbidden request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices/mark-as-verified", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices", "mark-as-verified" ], "variable": [ { "key": "entityId" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-008de46b-7bf5-43fb-9ecc-f389061e69a8" }, { "id": "2caf9d05-c5bf-459b-a667-fc3ba543d725", "name": "Too many requests. Please try again later.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices/mark-as-verified", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices", "mark-as-verified" ], "variable": [ { "key": "entityId" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-2caf9d05-c5bf-459b-a667-fc3ba543d725" }, { "id": "b9dfc39a-3a09-4db9-af9e-d3f987e00151", "name": "An internal server occurred.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices/mark-as-verified", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices", "mark-as-verified" ], "variable": [ { "key": "entityId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"type\": \"Write_Invoice_EmptyFile\",\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n}", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-b9dfc39a-3a09-4db9-af9e-d3f987e00151" } ], "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-f2c9dc56-6a31-40cf-8927-55b8d8a83161" } ], "id": "6e4b91cb-753f-49b6-aade-c4b35064d0a2", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-6e4b91cb-753f-49b6-aade-c4b35064d0a2" }, { "name": "List invoices", "id": "fbc1b602-56c1-4481-9bf9-9a94fde33a85", "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 \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices" ], "variable": [ { "id": "d0facf9a-d3ea-48db-bd05-41a457a8d3e6", "key": "entityId", "value": "", "description": "(Required) The entity identifier." } ] }, "description": "Use this endpoint to retrieve full invoice details for a given list of invoice IDs. It returns all header-level information \u2014 supplier, amounts, status, due date, payment method \u2014 along with line items and their references to linked purchase order lines.\nThis is the primary endpoint to call when creating supplier invoices in an ERP: the line-level link to purchase order lines allows the ERP to automatically match the invoice against the right order and close it upon import." }, "response": [ { "id": "668d5f83-4a60-4cce-ae19-3866d7a836a2", "name": "Your request has been successfully processed.", "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 \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices" ], "variable": [ { "key": "entityId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"invoices\": [\n {\n \"invoiceId\": \"\",\n \"lineItems\": [\n {\n \"lineItemId\": \"\",\n \"articleName\": \"\",\n \"articleReference\": \"\",\n \"purchaseOrderId\": \"\",\n \"purchaseOrderLineItemId\": \"\",\n \"quantity\": \"\",\n \"totalAmountExcludingTaxes\": \"\",\n \"unitAmountExcludingTaxes\": \"\"\n },\n {\n \"lineItemId\": \"\",\n \"articleName\": \"\",\n \"articleReference\": \"\",\n \"purchaseOrderId\": \"\",\n \"purchaseOrderLineItemId\": \"\",\n \"quantity\": \"\",\n \"totalAmountExcludingTaxes\": \"\",\n \"unitAmountExcludingTaxes\": \"\"\n }\n ],\n \"linkedPurchaseOrders\": [\n {\n \"associatedAmountExcludingTaxes\": \"\",\n \"purchaseOrderId\": \"\",\n \"number\": \"\"\n },\n {\n \"associatedAmountExcludingTaxes\": \"\",\n \"purchaseOrderId\": \"\",\n \"number\": \"\"\n }\n ],\n \"natures\": [\n \"\",\n \"\"\n ],\n \"status\": \"Verified\",\n \"title\": \"\",\n \"billingDate\": \"\",\n \"costCenter\": \"\",\n \"currency\": \"\",\n \"dueDate\": \"\",\n \"number\": \"\",\n \"originalAmountExcludingTaxes\": \"\",\n \"originalAmountIncludingTaxes\": \"\",\n \"paymentMethod\": \"\",\n \"reference\": \"\",\n \"supplier\": \"\"\n },\n {\n \"invoiceId\": \"\",\n \"lineItems\": [\n {\n \"lineItemId\": \"\",\n \"articleName\": \"\",\n \"articleReference\": \"\",\n \"purchaseOrderId\": \"\",\n \"purchaseOrderLineItemId\": \"\",\n \"quantity\": \"\",\n \"totalAmountExcludingTaxes\": \"\",\n \"unitAmountExcludingTaxes\": \"\"\n },\n {\n \"lineItemId\": \"\",\n \"articleName\": \"\",\n \"articleReference\": \"\",\n \"purchaseOrderId\": \"\",\n \"purchaseOrderLineItemId\": \"\",\n \"quantity\": \"\",\n \"totalAmountExcludingTaxes\": \"\",\n \"unitAmountExcludingTaxes\": \"\"\n }\n ],\n \"linkedPurchaseOrders\": [\n {\n \"associatedAmountExcludingTaxes\": \"\",\n \"purchaseOrderId\": \"\",\n \"number\": \"\"\n },\n {\n \"associatedAmountExcludingTaxes\": \"\",\n \"purchaseOrderId\": \"\",\n \"number\": \"\"\n }\n ],\n \"natures\": [\n \"\",\n \"\"\n ],\n \"status\": \"NotVerified\",\n \"title\": \"\",\n \"billingDate\": \"\",\n \"costCenter\": \"\",\n \"currency\": \"\",\n \"dueDate\": \"\",\n \"number\": \"\",\n \"originalAmountExcludingTaxes\": \"\",\n \"originalAmountIncludingTaxes\": \"\",\n \"paymentMethod\": \"\",\n \"reference\": \"\",\n \"supplier\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-668d5f83-4a60-4cce-ae19-3866d7a836a2" }, { "id": "69f7b7a4-6a72-443c-9375-c1bd4e31671d", "name": "Your request is invalid.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices" ], "variable": [ { "key": "entityId" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"type\": \"Write_Invoice_EmptyFile\",\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n}", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-69f7b7a4-6a72-443c-9375-c1bd4e31671d" }, { "id": "406904db-40cd-454c-8f1d-41759b6dc12d", "name": "Unauthorized request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices" ], "variable": [ { "key": "entityId" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-406904db-40cd-454c-8f1d-41759b6dc12d" }, { "id": "a842ca05-7dd1-45b3-838d-0a06e38e1c96", "name": "Forbidden request.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices" ], "variable": [ { "key": "entityId" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-a842ca05-7dd1-45b3-838d-0a06e38e1c96" }, { "id": "28b3a016-2a2a-4524-a085-0fad1712084f", "name": "Too many requests. Please try again later.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices" ], "variable": [ { "key": "entityId" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-28b3a016-2a2a-4524-a085-0fad1712084f" }, { "id": "06d7a9ec-9204-41d8-9052-3d57fea12a8f", "name": "An internal server occurred.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"invoiceIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/invoices-management/v1/entities/:entityId/invoices", "host": [ "{{baseUrl}}" ], "path": [ "public", "invoices-management", "v1", "entities", ":entityId", "invoices" ], "variable": [ { "key": "entityId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"type\": \"Write_Invoice_EmptyFile\",\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\"\n}", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-06d7a9ec-9204-41d8-9052-3d57fea12a8f" } ], "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-fbc1b602-56c1-4481-9bf9-9a94fde33a85" } ], "id": "f77b80e3-5835-40e0-ad54-6481616d76de", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-f77b80e3-5835-40e0-ad54-6481616d76de" } ], "id": "ca596b88-6add-4d33-852d-578cf3e538de", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-ca596b88-6add-4d33-852d-578cf3e538de" } ], "id": "f3125a6d-66f8-4c8c-bb61-754f07752cc9", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-f3125a6d-66f8-4c8c-bb61-754f07752cc9" } ], "id": "a40834c5-f033-4e40-b209-a64064c8581e", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-a40834c5-f033-4e40-b209-a64064c8581e" } ], "id": "79f1fefc-c9a8-4c5e-bcdf-6e1f10e3261f", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-79f1fefc-c9a8-4c5e-bcdf-6e1f10e3261f" } ], "id": "7cdcd3a6-ce44-4985-9f8d-41abf6f69221", "createdAt": "2026-07-28T10:08:15.000Z", "updatedAt": "2026-07-28T10:08:15.000Z", "uid": "35240-7cdcd3a6-ce44-4985-9f8d-41abf6f69221" } ], "variable": [ { "key": "baseUrl", "value": "https://api.agicap.com" } ] }