Purchase Order Linked Invoices

Get Purchase Order Linked Invoices by ID

GET /api/.../purchaseorders/{id}/invoices

Returns purchase order linked invoices by id.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the purchase order.

Response Information

Example
application/json, text/json
[
  {
    "InvoiceID": 21,
    "InvGrndTotBase": 15.1,
    "InvNumber": "9759924GLE",
    "InvNumberSuf": null,
    "InvoiceType": "Regular",
    "InvoiceStatus": "Paid",
    "InvoiceStatusID": 5,
    "InvStatusDate": "2005-07-14T10:00:07.08-04:00",
    "NumberOfLines": 1,
    "SupplierName": "BAKER & TAYLOR BOOKS - GLE"
  },
  {
    "InvoiceID": 28,
    "InvGrndTotBase": 992.15,
    "InvNumber": "9756318GLE",
    "InvNumberSuf": null,
    "InvoiceType": "Regular",
    "InvoiceStatus": "Paid",
    "InvoiceStatusID": 5,
    "InvStatusDate": "2005-07-18T09:42:12-04:00",
    "NumberOfLines": 66,
    "SupplierName": "BAKER & TAYLOR BOOKS - GLE"
  },
  {
    "InvoiceID": 44,
    "InvGrndTotBase": 21.6,
    "InvNumber": "9761070GLE",
    "InvNumberSuf": "CD",
    "InvoiceType": "Regular",
    "InvoiceStatus": "Paid",
    "InvoiceStatusID": 5,
    "InvStatusDate": "2005-07-18T14:45:14.86-04:00",
    "NumberOfLines": 1,
    "SupplierName": "BAKER & TAYLOR BOOKS - GLE"
  },
  {
    "InvoiceID": 55,
    "InvGrndTotBase": 29.62,
    "InvNumber": "9764125GLE",
    "InvNumberSuf": "CD",
    "InvoiceType": "Regular",
    "InvoiceStatus": "Paid",
    "InvoiceStatusID": 5,
    "InvStatusDate": "2005-07-19T10:56:26.397-04:00",
    "NumberOfLines": 2,
    "SupplierName": "BAKER & TAYLOR BOOKS - GLE"
  }
]

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid purchase order ID

Required Permissions

Permission IDs found here.

    CR_AccessAcquisitions_Allow (),
    CR_PurchaseOrders_Access (based on owner ID)