{ "info": { "_postman_id": "e2a2ea91-2b67-4722-90bc-f552e6243a49", "name": "Clients AR Account reports Client Credit Notes API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "lastUpdatedBy": "35240", "uid": "35240-e2a2ea91-2b67-4722-90bc-f552e6243a49" }, "item": [ { "name": "public", "item": [ { "name": "business-documents", "item": [ { "name": "v1", "item": [ { "name": "entities", "item": [ { "name": "{entityid}", "item": [ { "name": "connections", "item": [ { "name": "{connectionid}", "item": [ { "name": "client-credit-notes", "item": [ { "name": "Get client credit notes", "id": "1acd858f-681f-4154-abd4-8281eba8bbed", "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}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "id": "dd9a6c70-cd03-422d-93c3-0c70be9608a1", "key": "entityid", "value": "", "description": "(Required) Agicap entity unique identifier" }, { "id": "463432a6-40b5-4e0c-be39-9f14f0134c10", "key": "connectionid", "value": "", "description": "(Required) The connection unique identifier" } ] } }, "response": [ { "id": "372bae60-2276-44b1-9812-fabb2afbc088", "name": "Client credit notes", "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}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"items\": [\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"cillum_8\": \"\"\n },\n \"hasReadable\": \"\",\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"aliquip_06\": \"\",\n \"laboris_2\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"commodode0\": \"\",\n \"mollit_092\": \"\",\n \"tempor_f7\": \"\"\n },\n \"hasReadable\": \"\",\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"ullamco_1d\": \"\",\n \"eu_4\": \"\",\n \"ad5f\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"pagination\": {\n \"pageIndex\": \"\",\n \"pageItemsCount\": \"\",\n \"pageSize\": \"\",\n \"totalItemsCount\": \"\"\n }\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-372bae60-2276-44b1-9812-fabb2afbc088" }, { "id": "be8509bc-51f4-4cad-83c1-83d3cfdf1d3f", "name": "Unauthorized request.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-be8509bc-51f4-4cad-83c1-83d3cfdf1d3f" }, { "id": "3d891788-a6bf-43ac-bc80-bbeb5df2b5eb", "name": "Forbidden request.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-3d891788-a6bf-43ac-bc80-bbeb5df2b5eb" }, { "id": "c180e4ec-0c11-4906-a416-33727db02c23", "name": "Too many requests. Please try again later.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-c180e4ec-0c11-4906-a416-33727db02c23" }, { "id": "92770364-7595-4287-affd-49a12be4af11", "name": "An internal server occurred.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-92770364-7595-4287-affd-49a12be4af11" } ], "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-1acd858f-681f-4154-abd4-8281eba8bbed" }, { "name": "Create client credit notes", "id": "610943c9-a153-444b-b852-b2663ffd16b7", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"tempor__83\": \"\",\n \"nostrud2\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"amet_0\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"utf6\": \"\",\n \"eiusmodf7\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"magna__\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "id": "fbc73229-5355-4165-8f30-89fab4e4b5e3", "key": "entityid", "value": "", "description": "(Required) Agicap entity unique identifier" }, { "id": "dadc5b5e-8c35-4f55-9343-aded83a9b1fc", "key": "connectionid", "value": "", "description": "(Required) The connection unique identifier" } ] } }, "response": [ { "id": "54b3e81a-cf1e-48dd-ae78-629df2caf471", "name": "Ids of the created documents, associated with the provided external identifiers", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"tempor__83\": \"\",\n \"nostrud2\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"amet_0\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"utf6\": \"\",\n \"eiusmodf7\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"magna__\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"externalId\": \"\",\n \"id\": \"\"\n },\n {\n \"externalId\": \"\",\n \"id\": \"\"\n }\n]", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-54b3e81a-cf1e-48dd-ae78-629df2caf471" }, { "id": "e050c570-3702-47d0-bec9-0d9ac390a8ed", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"tempor__83\": \"\",\n \"nostrud2\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"amet_0\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"utf6\": \"\",\n \"eiusmodf7\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"magna__\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-e050c570-3702-47d0-bec9-0d9ac390a8ed" }, { "id": "79f1b81b-5710-42ca-bba8-f9f25e50046e", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"tempor__83\": \"\",\n \"nostrud2\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"amet_0\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"utf6\": \"\",\n \"eiusmodf7\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"magna__\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-79f1b81b-5710-42ca-bba8-f9f25e50046e" }, { "id": "009dd0ba-4415-49b3-b6ec-39bd84ae117d", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"tempor__83\": \"\",\n \"nostrud2\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"amet_0\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"utf6\": \"\",\n \"eiusmodf7\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"magna__\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-009dd0ba-4415-49b3-b6ec-39bd84ae117d" }, { "id": "fac57641-120b-468b-bf57-ff22fc36c867", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"tempor__83\": \"\",\n \"nostrud2\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"amet_0\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"utf6\": \"\",\n \"eiusmodf7\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"magna__\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-fac57641-120b-468b-bf57-ff22fc36c867" } ], "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-610943c9-a153-444b-b852-b2663ffd16b7" }, { "name": "Update client credit notes", "id": "48ae3d8f-a9be-400b-8be4-ba5e85de4a03", "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/problem+json" } ], "body": { "mode": "raw", "raw": "[\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"eiusmod_497\": \"\",\n \"deserunt_584\": \"\",\n \"eiusmod_e6\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"laboris97\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"officia362\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"occaecat_117\": \"\",\n \"culpa10e\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "id": "e6ec7c72-fbd2-44e3-937d-272316567b62", "key": "entityid", "value": "", "description": "(Required) Agicap entity unique identifier" }, { "id": "9ae8cd56-bb7a-4515-bdd6-f0b6469b136e", "key": "connectionid", "value": "", "description": "(Required) The connection unique identifier" } ] } }, "response": [ { "id": "4fa2c3c8-e7b8-464b-ad4c-3ec933fca400", "name": "Unauthorized request.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"eiusmod_497\": \"\",\n \"deserunt_584\": \"\",\n \"eiusmod_e6\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"laboris97\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"officia362\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"occaecat_117\": \"\",\n \"culpa10e\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-4fa2c3c8-e7b8-464b-ad4c-3ec933fca400" }, { "id": "35fb8b78-90fb-411a-9582-56ba0f2c6b8f", "name": "Forbidden request.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"eiusmod_497\": \"\",\n \"deserunt_584\": \"\",\n \"eiusmod_e6\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"laboris97\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"officia362\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"occaecat_117\": \"\",\n \"culpa10e\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-35fb8b78-90fb-411a-9582-56ba0f2c6b8f" }, { "id": "4f72053f-8067-4239-b8e5-14532c44f78f", "name": "Too many requests. Please try again later.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"eiusmod_497\": \"\",\n \"deserunt_584\": \"\",\n \"eiusmod_e6\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"laboris97\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"officia362\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"occaecat_117\": \"\",\n \"culpa10e\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-4f72053f-8067-4239-b8e5-14532c44f78f" }, { "id": "3ace693c-4c7c-4460-92a4-31b76dbbcb5c", "name": "An internal server occurred.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"eiusmod_497\": \"\",\n \"deserunt_584\": \"\",\n \"eiusmod_e6\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"laboris97\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"officia362\": \"\"\n },\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"occaecat_117\": \"\",\n \"culpa10e\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v1/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v1", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-3ace693c-4c7c-4460-92a4-31b76dbbcb5c" } ], "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-48ae3d8f-a9be-400b-8be4-ba5e85de4a03" } ], "id": "cff1d032-d6fe-4a3d-b4bf-e6b648168e32", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-cff1d032-d6fe-4a3d-b4bf-e6b648168e32" } ], "id": "d2025353-2460-4baa-8852-5b39402d9fe7", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-d2025353-2460-4baa-8852-5b39402d9fe7" } ], "id": "41bc26c7-78d0-449c-981e-c182addcd327", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-41bc26c7-78d0-449c-981e-c182addcd327" } ], "id": "a178e190-cac6-4b23-8df0-3488545b937b", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-a178e190-cac6-4b23-8df0-3488545b937b" } ], "id": "d685563c-b57f-49d6-a3c5-d26d6f1ca18e", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-d685563c-b57f-49d6-a3c5-d26d6f1ca18e" } ], "id": "66e7ae88-d0c4-40a7-a3ec-8e508765d87d", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-66e7ae88-d0c4-40a7-a3ec-8e508765d87d" }, { "name": "v2", "item": [ { "name": "entities", "item": [ { "name": "{entityid}", "item": [ { "name": "connections", "item": [ { "name": "{connectionid}", "item": [ { "name": "client-credit-notes", "item": [ { "name": "Get client credit notes", "id": "bdee60a3-1045-4b11-9d3c-97f7ca564f8e", "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}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "id": "d26f60cb-608e-4f2f-95d5-a71a8d4c1a50", "key": "entityid", "value": "", "description": "(Required) Agicap entity unique identifier" }, { "id": "6d6de608-c9bf-498d-b934-930cc94d42f8", "key": "connectionid", "value": "", "description": "(Required) The connection unique identifier" } ] } }, "response": [ { "id": "84c856c8-be24-4323-9293-b86dd73a8b05", "name": "Client credit notes", "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}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"items\": [\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"cillum_8\": \"\"\n },\n \"hasReadable\": \"\",\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"aliquip_06\": \"\",\n \"laboris_2\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"totalAmount\": \"\",\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\"\n },\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"commodode0\": \"\",\n \"mollit_092\": \"\",\n \"tempor_f7\": \"\"\n },\n \"hasReadable\": \"\",\n \"issueDate\": \"\",\n \"label\": \"\",\n \"metadata\": {\n \"ullamco_1d\": \"\",\n \"eu_4\": \"\",\n \"ad5f\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"pagination\": {\n \"pageIndex\": \"\",\n \"pageItemsCount\": \"\",\n \"pageSize\": \"\",\n \"totalItemsCount\": \"\"\n }\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-84c856c8-be24-4323-9293-b86dd73a8b05" }, { "id": "90c76da8-9fe4-4200-8e2d-c204f3960abf", "name": "Unauthorized request.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-90c76da8-9fe4-4200-8e2d-c204f3960abf" }, { "id": "7be5a8a4-9bd1-4a69-8bc0-36eb243a28c3", "name": "Forbidden request.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-7be5a8a4-9bd1-4a69-8bc0-36eb243a28c3" }, { "id": "245f4cfc-54a0-4304-9b83-d58a903a641e", "name": "Too many requests. Please try again later.", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-245f4cfc-54a0-4304-9b83-d58a903a641e" }, { "id": "49f095dc-1383-4936-aeba-c989e587b688", "name": "An internal server occurred.", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes?pagesize=&pageindex=&status=,&externalids=,&updatedsince=", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "query": [ { "description": "Number of items per page (max 10 000)", "key": "pagesize", "value": "" }, { "description": "Page index", "key": "pageindex", "value": "" }, { "description": "Filter on status. Possible values : draft, available, used, cancelled, deleted", "key": "status", "value": "," }, { "description": "Unique identifier of the document in the data source", "key": "externalids", "value": "," }, { "description": "Will return only documents updated **after** this date", "key": "updatedsince", "value": "" } ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-49f095dc-1383-4936-aeba-c989e587b688" } ], "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-bdee60a3-1045-4b11-9d3c-97f7ca564f8e" }, { "name": "Create client credit notes", "id": "e5b7eb50-ad3a-458f-9cc3-38f4cf1ffef1", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"Duisa8\": \"\",\n \"anim_b84\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"fugiat5a3\": \"\",\n \"Lorem23\": \"\",\n \"non5\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"ex765\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"amet_a9\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "id": "c9abf1ba-58f4-415c-8a6a-323d89ec62c2", "key": "entityid", "value": "", "description": "(Required) Agicap entity unique identifier" }, { "id": "207d7266-c2cf-486f-acac-6c5807f667c9", "key": "connectionid", "value": "", "description": "(Required) The connection unique identifier" } ] } }, "response": [ { "id": "5672c8c3-0baa-4eb4-a11b-14b075815a06", "name": "Ids of the created documents, associated with the provided external identifiers", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"Duisa8\": \"\",\n \"anim_b84\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"fugiat5a3\": \"\",\n \"Lorem23\": \"\",\n \"non5\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"ex765\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"amet_a9\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"externalId\": \"\",\n \"id\": \"\"\n },\n {\n \"externalId\": \"\",\n \"id\": \"\"\n }\n]", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-5672c8c3-0baa-4eb4-a11b-14b075815a06" }, { "id": "f96044f1-7930-4d71-ade0-c5f76d28181a", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"Duisa8\": \"\",\n \"anim_b84\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"fugiat5a3\": \"\",\n \"Lorem23\": \"\",\n \"non5\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"ex765\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"amet_a9\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-f96044f1-7930-4d71-ade0-c5f76d28181a" }, { "id": "be3fdd31-9e28-44f5-95bf-25c01d77f8f7", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"Duisa8\": \"\",\n \"anim_b84\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"fugiat5a3\": \"\",\n \"Lorem23\": \"\",\n \"non5\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"ex765\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"amet_a9\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-be3fdd31-9e28-44f5-95bf-25c01d77f8f7" }, { "id": "516116d8-9790-45e8-9806-e96098b6f0f2", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"Duisa8\": \"\",\n \"anim_b84\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"fugiat5a3\": \"\",\n \"Lorem23\": \"\",\n \"non5\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"ex765\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"amet_a9\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-516116d8-9790-45e8-9806-e96098b6f0f2" }, { "id": "7e783768-aa30-4f94-8790-bda9818f0947", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"Duisa8\": \"\",\n \"anim_b84\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"fugiat5a3\": \"\",\n \"Lorem23\": \"\",\n \"non5\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"ex765\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"amet_a9\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-7e783768-aa30-4f94-8790-bda9818f0947" } ], "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-e5b7eb50-ad3a-458f-9cc3-38f4cf1ffef1" }, { "name": "Update client credit notes", "id": "efec5ee7-5cb6-4080-94e1-a2f829efee51", "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/problem+json" } ], "body": { "mode": "raw", "raw": "[\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"dolore_8e_\": \"\",\n \"et_06\": \"\",\n \"reprehenderit9\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"laborum__c6\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"aliqua_f8\": \"\",\n \"ullamco5\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"cupidatat19d\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "id": "e33a9ba9-5f9d-4981-9223-cb8a7674f8b0", "key": "entityid", "value": "", "description": "(Required) Agicap entity unique identifier" }, { "id": "29872a1b-457a-46c1-bbb9-f3cac206efd1", "key": "connectionid", "value": "", "description": "(Required) The connection unique identifier" } ] } }, "response": [ { "id": "1513e10f-35c2-4d36-8875-8a78c183041d", "name": "Unauthorized request.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"dolore_8e_\": \"\",\n \"et_06\": \"\",\n \"reprehenderit9\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"laborum__c6\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"aliqua_f8\": \"\",\n \"ullamco5\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"cupidatat19d\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-1513e10f-35c2-4d36-8875-8a78c183041d" }, { "id": "02b2ecda-0e08-42dd-817c-32703079992c", "name": "Forbidden request.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"dolore_8e_\": \"\",\n \"et_06\": \"\",\n \"reprehenderit9\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"laborum__c6\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"aliqua_f8\": \"\",\n \"ullamco5\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"cupidatat19d\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-02b2ecda-0e08-42dd-817c-32703079992c" }, { "id": "dd30d302-0021-4564-a04f-4d7b5551d618", "name": "Too many requests. Please try again later.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"dolore_8e_\": \"\",\n \"et_06\": \"\",\n \"reprehenderit9\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"laborum__c6\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"aliqua_f8\": \"\",\n \"ullamco5\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"cupidatat19d\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-dd30d302-0021-4564-a04f-4d7b5551d618" }, { "id": "20d78d89-3770-46da-82a1-1a3c6ae7023e", "name": "An internal server occurred.", "originalRequest": { "method": "PUT", "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 {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"dolore_8e_\": \"\",\n \"et_06\": \"\",\n \"reprehenderit9\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"laborum__c6\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n },\n {\n \"amounts\": {\n \"remainingAmount\": \"\",\n \"taxesAmount\": \"\",\n \"totalAmount\": \"\"\n },\n \"counterParty\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creditNoteNumber\": \"\",\n \"currency\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"issueDate\": \"\",\n \"status\": \"\",\n \"accounting\": {\n \"accountCode\": \"\",\n \"accountNumber\": \"\",\n \"amount\": \"\",\n \"currency\": \"\"\n },\n \"dueDate\": \"\",\n \"erpIdentificationFields\": {\n \"aliqua_f8\": \"\",\n \"ullamco5\": \"\"\n },\n \"label\": \"\",\n \"metadata\": {\n \"cupidatat19d\": \"\"\n },\n \"referenceInvoiceIds\": [\n \"\",\n \"\"\n ]\n }\n]", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/public/business-documents/v2/entities/:entityid/connections/:connectionid/client-credit-notes", "host": [ "{{baseUrl}}" ], "path": [ "public", "business-documents", "v2", "entities", ":entityid", "connections", ":connectionid", "client-credit-notes" ], "variable": [ { "key": "entityid" }, { "key": "connectionid" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": \"\",\n \"instance\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n}", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-20d78d89-3770-46da-82a1-1a3c6ae7023e" } ], "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-efec5ee7-5cb6-4080-94e1-a2f829efee51" } ], "id": "df75bb75-4a75-4b96-9c44-441318190354", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-df75bb75-4a75-4b96-9c44-441318190354" } ], "id": "211abb27-6667-48e3-8ccb-3d0c5fbeec55", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-211abb27-6667-48e3-8ccb-3d0c5fbeec55" } ], "id": "5ff26b71-5d5d-4b4f-b24d-26511bd21d6a", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-5ff26b71-5d5d-4b4f-b24d-26511bd21d6a" } ], "id": "fc4e47e4-a1a3-46e7-b265-b69cead9bd1e", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-fc4e47e4-a1a3-46e7-b265-b69cead9bd1e" } ], "id": "9dc60746-7814-41f2-b611-55cf5a02b702", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-9dc60746-7814-41f2-b611-55cf5a02b702" } ], "id": "78a1584f-37a0-47d8-8cfd-ff7000c37e6f", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-78a1584f-37a0-47d8-8cfd-ff7000c37e6f" } ], "id": "0cb1db41-9144-4d29-b97c-bc0fe3881f6c", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-0cb1db41-9144-4d29-b97c-bc0fe3881f6c" } ], "id": "423f346e-2d4e-4dd1-adc9-715925fca145", "createdAt": "2026-07-28T10:07:43.000Z", "updatedAt": "2026-07-28T10:07:43.000Z", "uid": "35240-423f346e-2d4e-4dd1-adc9-715925fca145" } ], "variable": [ { "key": "baseUrl", "value": "https://api.agicap.com" } ] }