Expenses

Get purchase order for a logged expense

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

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

Path parameters

logged_expense_idinteger required

Response

Purchase order fetched.

idinteger

Purchase order ID

sentByUserIdinteger nullable

User ID of the person who sent the purchase order

sentDatetimestring date nullable

Datetime when the purchase order was sent

numberstring nullable

Purchase order number

loggedExpenseCurrencyAmountPaidIncTaxnumber float

Amount paid including tax in the logged expense currency

loggedExpenseCurrencyTotalAmountTaxnumber float

Total tax amount in the logged expense currency

loggedExpenseCurrencyTotalAmountIncTaxnumber float

Total amount including tax in the logged expense currency

jobCurrencyAmountPaidIncTaxnumber float

Amount paid including tax in the job currency

jobCurrencyTotalAmountIncTaxnumber float

Total amount including tax in the job currency

requiredDatestring date

Required date for the purchase order

paidDatestring date-time nullable

Datetime when the purchase order was fully paid

Example response

{
  "id": 1024,
  "sentByUserId": 501,
  "sentDatetime": "2025-08-15",
  "number": "PO-000123",
  "loggedExpenseCurrencyAmountPaidIncTax": 120.75,
  "loggedExpenseCurrencyTotalAmountTax": 18.25,
  "loggedExpenseCurrencyTotalAmountIncTax": 139,
  "jobCurrencyAmountPaidIncTax": 200,
  "jobCurrencyTotalAmountIncTax": 250,
  "requiredDate": "2025-09-01",
  "paidDate": "2025-09-05T14:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.