List purchase orders
GET
/purchase-orders
const url = 'https://api.invogi.com/v1/purchase-orders?limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.invogi.com/v1/purchase-orders?limit=50' \ --header 'Authorization: Bearer <token>'Reads require workspace authentication. Writes require an ADMIN/OWNER session or an API key with purchase_data:write. Amounts and unit prices exclude VAT. PO numbers are unique within a company. Imports trigger invoice rechecks; unsafe release of another invoice’s hold remains subject to administrative approval.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Query Parameters
Section titled “Query Parameters”limit
integer
Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
items
required
Array<object>
object
status
required
string
id
required
string
createdAt
required
string format: date-time
organizationId
required
string
supplierId
required
null | string
companyId
required
string
externalId
required
null | string
currency
required
string
poNumber
required
string
totalAmount
required
null | string
issuedAt
required
null | string
Example generated
{ "items": [ { "status": "example", "id": "example", "createdAt": "2026-04-15T12:00:00Z", "organizationId": "example", "supplierId": "example", "companyId": "example", "externalId": "example", "currency": "example", "poNumber": "example", "totalAmount": "example", "issuedAt": "example" } ]}Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json