---
title: "SaleSearchResponse"
description: "Search hits and an optional pagination token. Results are ordered **newest first** by sale close date."
image: "https://developer.sumup.com/og/index.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.sumup.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: SumUp REST API

Search hits and an optional pagination token. Results are ordered **newest first** by sale close date.

## Fields

- `items` (`SaleSearchResponse.items`; array<object>, required)
  - example `[{"id":"dbe3178d-4b83-5024-9b26-9b8e1b280514","state":"CLOSED","tax_mode":"GROSS","currency":{"code":"EUR","scale":2},"name":"Order 1234","total_amount":1250,"created_at":"2026-06-01T14:30:00Z","closed_at":"2026-06-01T14:35:00Z"}]`
  - `id` (`SaleSearchResponse.items.id`; string, required) — Sale identifier.
    - example `"dbe3178d-4b83-5024-9b26-9b8e1b280514"`
  - `state` (`SaleSearchResponse.items.state`; string, required) — Lifecycle state of the sale. Non-finalised sales are never returned; only fully-paid sales.
    - one of `"CLOSED"`; example `"CLOSED"`
  - `tax_mode` (`SaleSearchResponse.items.tax_mode`; string, required) — Checkout tax mode for the sale. Same values as `Sale.tax_mode`.
    - one of `"NO_TAX"`, `"GROSS"`, `"NET"`; example `"NO_TAX"`
  - `currency` (`SaleSearchResponse.items.currency`; object, required) — The currency of the sale.
    - `code` (`SaleSearchResponse.items.currency.code`; string, required) — 3-letter currency code as defined by ISO-4217.
      - format `iso-4217`; minLength 3; maxLength 3; example `"EUR"`
    - `scale` (`SaleSearchResponse.items.currency.scale`; integer, required) — The scaling factor to apply to the value to arrive at the currency's major unit. Providing a scale mitigates changes to the minor unit over time, for example due to inflation. For example, if `scale` is denoted by `s` and `value` is denoted by `v` is the value, then one arrives at the major currency value by calculating `v / 10^s`.
      - example `2`
  - `total_amount` (`SaleSearchResponse.items.total_amount`; integer, required) — Final sale gross total after discounts and taxes, excluding tips. Same value as `Sale.price.gross_amount`, in minor units according to `currency.scale`. Payment amounts include tips and can therefore differ from this total.
    - format `int64`; example `1250`
  - `created_at` (`SaleSearchResponse.items.created_at`; string, required) — Instant when the sale was created.
    - format `date-time`; example `"2026-06-01T14:30:00Z"`
  - `closed_at` (`SaleSearchResponse.items.closed_at`; string, required) — Instant when the sale was closed. Always present: non-finalised sales are never returned.
    - format `date-time`; example `"2026-06-01T14:35:00Z"`
  - `user_id` (`SaleSearchResponse.items.user_id`; string, optional) — Identity UUID of the cashier who processed the sale. Omitted when the cashier identity is unknown.
    - format `uuid`; example `"d6f51684-519b-454c-bdb3-deeb05f52b92"`
  - `name` (`SaleSearchResponse.items.name`; string, optional) — Display name of the sale when set; otherwise a concatenation of item names with quantities. Omitted when neither is available.
    - example `"Order 1234"`
- `pagination_token` (`SaleSearchResponse.pagination_token`; string, optional) — Opaque token for the next page. Pass it as `pagination_token` in the next search request body with the same filters. Omitted when no further page is available.
  - example `"66bcbtzelrubzeuzruzgu76678trncH"`


Source: https://developer.sumup.com/api/schemas/SaleSearchResponse/index.md
