---
title: "PurchaseOrderListResponse"
url: "https://developer.retailexpress.com.au/apis/public-api-0/versions/d2454f6f-56f1-4fd6-9cd1-82871d94bd1c/schemas/PurchaseOrderListResponse"
---

> Full API specification: https://developer.retailexpress.com.au/apis/public-api-0/versions/d2454f6f-56f1-4fd6-9cd1-82871d94bd1c.md

# PurchaseOrderListResponse

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: PublicApi
  version: 0.1.0
servers:
  - url: https://api.retailexpress.com.au/{basePath}
    variables:
      basePath:
        default: v1
components:
  schemas:
    PageNumber:
      title: Page Number
      type: integer
      description: The current page number
    PurchaseOrder:
      type: object
      properties:
        store_id:
          title: Store ID
          type: string
          description: The ID of the store that the purchase order is for
        date:
          title: Date
          type: string
          description: The date the purchase order was received
        purchase_order_id:
          title: Id
          type: string
          description: The id of the purchase order
        supplier_invoice_number:
          title: Supplier Invoice Number
          type: string
          description: The supplier invoice reference
        supplier_id:
          title: Supplier Id
          type: string
          description: The ID of the supplier within this system
        purchase_order_lines:
          type: array
          description: A list of items in the purchase order
          items:
            $ref: "#/components/schemas/PurchaseOrderLine"
      description: A purchase order
    TotalRecords:
      title: Total Record Count
      type: integer
      description: The total number of records in your query
    TotalPages:
      title: Total Page Count
      type: integer
      description: The total number of pages in your query
    PageSize:
      title: Page Size
      type: integer
      description: The maximum number of records in a single page
    PurchaseOrderLine:
      type: object
      properties:
        amount_tax:
          title: Amount Tax
          type: number
          description: The tax chargeable on the cost of the purchase order
        amount_inclusive:
          title: Amount Inclusive
          type: number
          description: The cost of the purchase order, inclusive of tax
        amount_exclusive:
          title: Amount Exclusive
          type: number
          description: The cost of the purchase order, exclusive of tax
        transaction_type:
          title: Transaction Type
          type: string
          description: The type of purchase order
      description: A purchase order
    PurchaseOrderListResponse:
      type: object
      properties:
        page_number:
          $ref: "#/components/schemas/PageNumber"
        purchase_orders:
          type: array
          description: A list of purchase orders
          items:
            $ref: "#/components/schemas/PurchaseOrder"
        total_records:
          $ref: "#/components/schemas/TotalRecords"
        total_pages:
          $ref: "#/components/schemas/TotalPages"
        page_size:
          $ref: "#/components/schemas/PageSize"
```
