© 2024 Clarivate
GET /api/.../invoice/{id}/purchaseorders
Returns an invoice's linked purchase orders by id.
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The unique id assigned to the invoice. |
[
{
"PurchaseOrderID": 123,
"PONumber": "SAL123",
"Suffix": "kkk",
"Type": "Standing Order",
"Status": "Closed",
"StatusID": 2,
"Date": "2008-07-25 13:40:03.000",
"Supplier": "supplier1",
"Total": 12.34,
"NumberOfLines": 1
},
{
"PurchaseOrderID": 124,
"PONumber": "SAL124",
"Suffix": "ggg",
"Type": "Firm Order",
"Status": "Closed",
"StatusID": 2,
"Date": "2014-05-08 12:04:15.387",
"Supplier": "supplier2",
"Total": 45.67,
"NumberOfLines": 3
}
]
Code | Description |
---|---|
200 | OK. Success |
400 |
FAILURE.
|
Permission IDs found here.
CR_AccessAcquisitions_Allow (), CR_Invoices_Access (based on owner ID)