Get Purchase Order (V2)
GET/api/xero/v2/purchase-orders/:purchaseOrder
Get a single synced Xero purchase order — header and delivery fields, line items, the reverse link to the SKU.io accounting transaction and purchase order it was generated from (at_id/at_reference, sku_link_type/sku_link_id), and sync metadata (sync_status, last_error, and url, a deep link to the purchase order in Xero). Monetary amounts are in the order's currency; datetimes are UTC ISO-8601.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Path parameters:
purchaseOrder(integer, required): internal purchase order record ID — theidreturned by List Purchase Orders (V2).
Returns 404 when no purchase order with that ID exists.
Authentication: Bearer token.
Returns raw_payload (the full raw Xero payload); present only on the detail/show endpoint.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.