---
title: "Get purchase order for a logged expense"
method: GET
path: "/logged_expenses/{logged_expense_id}/purchase_order"
tags: ["Expenses"]
---

# Get purchase order for a logged expense

`GET /logged_expenses/{logged_expense_id}/purchase_order`

## Request

- Base URL: `https://api.streamtime.net/v2`
- URL: `https://api.streamtime.net/v2/logged_expenses/{logged_expense_id}/purchase_order`
- Auth: HTTP bearer

Returns the purchase order details if the logged expense is a purchase order; otherwise returns null.

## Path parameters

- `logged_expense_id` integer, required

## Response `200`

Purchase order fetched.

- PurchaseOrder: Represents a purchase order linked to a logged expense
  - `id` integer: Purchase order ID
  - `sentByUserId` integer, nullable: User ID of the person who sent the purchase order
  - `sentDatetime` string, date, nullable: Datetime when the purchase order was sent
  - `number` string, nullable: Purchase order number
  - `loggedExpenseCurrencyAmountPaidIncTax` number, float: Amount paid including tax in the logged expense currency
  - `loggedExpenseCurrencyTotalAmountTax` number, float: Total tax amount in the logged expense currency
  - `loggedExpenseCurrencyTotalAmountIncTax` number, float: Total amount including tax in the logged expense currency
  - `jobCurrencyAmountPaidIncTax` number, float: Amount paid including tax in the job currency
  - `jobCurrencyTotalAmountIncTax` number, float: Total amount including tax in the job currency
  - `requiredDate` string, date: Required date for the purchase order
  - `paidDate` string, date-time, nullable: Datetime when the purchase order was fully paid

---

[API](https://skmtc.dev/streamtime/apis/public-api.md) · [All operations](https://skmtc.dev/streamtime/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/streamtime/apis/public-api/revisions/cda8d1405534?raw)
