List outstanding purchase orders
GET
Returns every purchase order still in DRAFT, SUBMITTED, APPROVED, SENT or PARTIAL status, most recently created first, with days overdue when the expected delivery date has passed. Not date-filtered or paginated.
BearerAuthheader
AuthorizationBearer <JWT>X-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?array<>|Open purchase orders, newest first.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/reports/procurement/outstanding' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": [ { "poId": "string", "poNumber": "string", "vendorName": "string", "orderDate": "2019-08-24", "expectedDeliveryDate": "2019-08-24", "totalAmount": 0, "status": "string", "daysOverdue": 0 } ]}