---
title: "List all purchasereceipts"
method: GET
path: "/accounting/{connection_id}/purchasereceipt"
tags: ["accounting", "purchasereceipt"]
---

# List all purchasereceipts

`GET /accounting/{connection_id}/purchasereceipt`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/accounting/{connection_id}/purchasereceipt`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `contact_id` string
- `org_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- AccountingPurchasereceipt[]
  - `id` string
  - `created_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `organization_id` string
  - `metadata` AccountingMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown
  - `receipt_number` string
  - `contact_id` string: supplier (reference to AccountingContact)
  - `purchaseorder_id` string: header when single-PO
  - `posted_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `status` 'POSTED' | 'CANCELLED' | 'OTHER'
  - `currency` string
  - `total_amount` number
  - `notes` string: supplier delivery note / packing slip / memo — NOT a separate reference field
  - `lineitems` AccountingPurchasereceiptLineitem[]
    - `id` string
    - `item_id` string: (reference to CommerceItem)
    - `item_sku` string
    - `item_name` string
    - `item_description` string
    - `unit_quantity_received` number
    - `unit_quantity_ordered` number
    - `unit_amount` number
    - `total_amount` number
    - `purchaseorder_id` string
    - `purchaseorder_line_identifier` string: vendor PO line number for three-way match
    - `account_id` string: (reference to AccountingAccount)
    - `locations` AccountingReference[]: plant/warehouse/bin — same shape as IAccountingLineitem.locations
      - `id` string
      - `name` string
  - `attachments` AccountingAttachment[]
    - `id` string
    - `download_url` string
    - `name` string
    - `mime_type` string

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
