{ "opencollection": "1.0.0", "info": { "name": "Clients AR Account reports Purchase Orders API", "version": "v1" }, "items": [ { "info": { "name": "Purchase Orders", "type": "folder" }, "items": [ { "info": { "name": "Get purchase orders", "type": "http" }, "http": { "method": "GET", "url": "https://api.agicap.com/public/business-documents/v1/entities/:entityid/connections/:connectionid/purchase-orders", "params": [ { "name": "entityid", "value": "", "type": "path", "description": "Agicap entity unique identifier" }, { "name": "connectionid", "value": "", "type": "path", "description": "The connection unique identifier" }, { "name": "pagesize", "value": "", "type": "query", "description": "Number of items per page (max 10 000)" }, { "name": "pageindex", "value": "", "type": "query", "description": "Page index" }, { "name": "externalids", "value": "", "type": "query", "description": "Unique identifier of the document in the data source" }, { "name": "updatedsince", "value": "", "type": "query", "description": "Will return only documents updated **after** this date" }, { "name": "status", "value": "", "type": "query", "description": "Filter on status. Possible values : draft, sent, accepted, refused, expired, partiallyinvoiced, invoiced, cancelled, deleted" } ] }, "docs": "Get purchase orders" }, { "info": { "name": "Create purchase orders", "type": "http" }, "http": { "method": "POST", "url": "https://api.agicap.com/public/business-documents/v1/entities/:entityid/connections/:connectionid/purchase-orders", "params": [ { "name": "entityid", "value": "", "type": "path", "description": "Agicap entity unique identifier" }, { "name": "connectionid", "value": "", "type": "path", "description": "The connection unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create purchase orders" }, { "info": { "name": "Update purchase orders", "type": "http" }, "http": { "method": "PUT", "url": "https://api.agicap.com/public/business-documents/v1/entities/:entityid/connections/:connectionid/purchase-orders", "params": [ { "name": "entityid", "value": "", "type": "path", "description": "Agicap entity unique identifier" }, { "name": "connectionid", "value": "", "type": "path", "description": "The connection unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update purchase orders" }, { "info": { "name": "Get purchase orders", "type": "http" }, "http": { "method": "GET", "url": "https://api.agicap.com/public/business-documents/v2/entities/:entityid/connections/:connectionid/purchase-orders", "params": [ { "name": "entityid", "value": "", "type": "path", "description": "Agicap entity unique identifier" }, { "name": "connectionid", "value": "", "type": "path", "description": "The connection unique identifier" }, { "name": "pagesize", "value": "", "type": "query", "description": "Number of items per page (max 10 000)" }, { "name": "pageindex", "value": "", "type": "query", "description": "Page index" }, { "name": "externalids", "value": "", "type": "query", "description": "Unique identifier of the document in the data source" }, { "name": "updatedsince", "value": "", "type": "query", "description": "Will return only documents updated **after** this date" }, { "name": "status", "value": "", "type": "query", "description": "Filter on status. Possible values : draft, sent, accepted, refused, expired, partiallyinvoiced, invoiced, cancelled, deleted" } ] }, "docs": "Get purchase orders" }, { "info": { "name": "Create purchase orders", "type": "http" }, "http": { "method": "POST", "url": "https://api.agicap.com/public/business-documents/v2/entities/:entityid/connections/:connectionid/purchase-orders", "params": [ { "name": "entityid", "value": "", "type": "path", "description": "Agicap entity unique identifier" }, { "name": "connectionid", "value": "", "type": "path", "description": "The connection unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create purchase orders" }, { "info": { "name": "Update purchase orders", "type": "http" }, "http": { "method": "PUT", "url": "https://api.agicap.com/public/business-documents/v2/entities/:entityid/connections/:connectionid/purchase-orders", "params": [ { "name": "entityid", "value": "", "type": "path", "description": "Agicap entity unique identifier" }, { "name": "connectionid", "value": "", "type": "path", "description": "The connection unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update purchase orders" }, { "info": { "name": "List purchase orders", "type": "http" }, "http": { "method": "POST", "url": "https://api.agicap.com/public/invoices-management/v1/entities/:entityId/purchase-orders", "params": [ { "name": "entityId", "value": "", "type": "path", "description": "The entity identifier." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Use this endpoint to retrieve the full details of purchase orders linked to invoices, from a list of purchase order IDs. It returns header information, order and delivery statuses, line items with ordered, delivered and billed quantities, and the list of associated delivery notes.\nThis data is typically used alongside the invoice export to provide ERPs with the delivery references needed to finalize the 3-way matching and close orders upon invoice creation." } ] } ], "bundled": true }