---
title: "Get the sales report in the back office"
---

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

# Get the sales report in the back office

Path: Nicer API › backoffice

`GET /backoffice/sales`

URL: `https://api.nicer.travel/backoffice/sales`

Returns the sales report of a period: of one agency, or of every agency for Nicer staff who name none. The period's sections all describe the orders created in it (UTC days, from and to included, the last 90 days by default), of the productType asked for, in the currency asked for (USD by default): sales by month and by day, the checkout funnel, Nicer's charges, booking values, open commission by status and by product, property and age, earnings, advisor production, flight routes and lead times. currencyTotals shows the period in every currency side by side; advisorBalances is what each advisor is owed now, whatever the period; currencies lists every currency the orders use. Sold means BOOKED and cancelled CANCELLED. The agency is named by the x-nicer-company header and nothing else. An agency admin may name only an agency they administer, and may leave the header out when they administer one. Nicer staff only: agencies, the ranking of agencies, answered only for the whole platform, and providerKey in byMonth and commissions; an admin's rows are not split by provider. Errors: 400 ERROR_INVALID_QUERY for a bad parameter or a from after to; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Query parameters

- `currency` (`backoffice.sales.list.query.currency`; string, optional) — The currency the money sections are in; USD by default. currencyTotals shows every currency whatever this is.
  - pattern: `^[A-Z]{3}$` · default: `"USD"`
- `from` (`backoffice.sales.list.query.from`; string, optional) — The period's first UTC day, included; 90 days before to by default.
  - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-08-12"`
- `productType` (`backoffice.sales.list.query.productType`; string, optional) — Only the orders that sell this product, in every section.
  - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"`
- `to` (`backoffice.sales.list.query.to`; string, optional) — The period's last UTC day, included; today by default.
  - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-11-10"`

## Header parameters

- `x-nicer-company` (`backoffice.sales.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one.

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
});

await nicer.backoffice.sales.list();
```

### Nicer CLI

```bash
nicer backoffice sales list
```

### cURL

```bash
curl --request GET \
  --url https://api.nicer.travel/backoffice/sales \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/backoffice/sales';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/backoffice/sales"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "advisorBalances": [
    {
      "advisorUserId": "string",
      "availableMinor": 9007199254740991,
      "companyName": "string",
      "currency": "string",
      "pendingMinor": 9007199254740991,
      "receivableMinor": 9007199254740991
    }
  ],
  "advisors": [
    {
      "advisorUserId": "string",
      "bookings": 9007199254740991,
      "companyName": "string",
      "currency": "string",
      "month": "2026-11",
      "soldMinor": -9007199254740991
    }
  ],
  "agencies": [
    {
      "bookings": 9007199254740991,
      "companyName": "string",
      "currency": "string",
      "productType": "PLANNING_FEE",
      "soldMinor": -9007199254740991
    }
  ],
  "bookingValues": [
    {
      "currency": "string",
      "productType": "PLANNING_FEE",
      "totalMinor": -9007199254740991
    }
  ],
  "byMonth": [
    {
      "bookings": 9007199254740991,
      "cancelledMinor": -9007199254740991,
      "currency": "string",
      "month": "2026-11",
      "productType": "PLANNING_FEE",
      "providerKey": "string",
      "soldMinor": -9007199254740991
    }
  ],
  "commissionDetail": [
    {
      "currency": "string",
      "expectedMinor": -9007199254740991,
      "receivedMinor": -9007199254740991,
      "status": "UPCOMING",
      "ageDays": 9007199254740991,
      "hotelReference": "string",
      "productName": "string",
      "productType": "PLANNING_FEE"
    }
  ],
  "commissions": [
    {
      "currency": "string",
      "expectedMinor": -9007199254740991,
      "receivedMinor": -9007199254740991,
      "status": "UPCOMING",
      "count": 9007199254740991,
      "providerKey": "string",
      "varianceMinor": -9007199254740991
    }
  ],
  "currencies": [
    "string"
  ],
  "currency": "string",
  "currencyTotals": [
    {
      "bookings": 9007199254740991,
      "checkoutMinor": -9007199254740991,
      "currency": "string",
      "orders": 9007199254740991,
      "recordedMinor": -9007199254740991,
      "unknownAmounts": 9007199254740991,
      "unpricedBookings": 9007199254740991
    }
  ],
  "daily": [
    {
      "bookings": 9007199254740991,
      "day": "2026-11-10",
      "soldMinor": -9007199254740991
    }
  ],
  "earnings": [
    {
      "amountMinor": -9007199254740991,
      "beneficiaryKind": "ADVISOR",
      "currency": "string",
      "earningKind": "ADJUSTMENT",
      "entryType": "EARNING",
      "month": "2026-11",
      "status": "PENDING"
    }
  ],
  "exchangeRates": {
    "source": "CurrencyBeacon",
    "updatedAt": "2019-08-24T14:15:22Z",
    "rates": {
      "property1": 0,
      "property2": 0
    }
  },
  "funnel": {
    "booked": 9007199254740991,
    "fulfilled": 9007199254740991,
    "orders": 9007199254740991
  },
  "leadTimes": [
    {
      "bucket": "0_7",
      "legs": 9007199254740991
    }
  ],
  "payments": [
    {
      "amountMinor": -9007199254740991,
      "attempts": 9007199254740991,
      "currency": "string",
      "month": "2026-11",
      "status": "REQUIRES_ACTION"
    }
  ],
  "range": {
    "from": "2026-08-12",
    "to": "2026-11-10"
  },
  "routes": [
    {
      "destinationAirport": "string",
      "leadDays": 0,
      "legs": 9007199254740991,
      "marketingCarrierCode": "string",
      "originAirport": "string"
    }
  ]
}
```

- `advisorBalances` (`backoffice.sales.list.response.200.advisorBalances`; array of object, required) — What each advisor is owed now, in the currency asked for. One row per advisor.
  - `advisorUserId` (`backoffice.sales.list.response.200.advisorBalances.advisorUserId`; string, required) — The advisor, as the ledger's beneficiary.
    - minLength: `1`
  - `availableMinor` (`backoffice.sales.list.response.200.advisorBalances.availableMinor`; integer, required) — What the advisor may be paid now, in minor units.
    - maximum: `9007199254740991` · minimum: `0`
  - `companyName` (`backoffice.sales.list.response.200.advisorBalances.companyName`; string, required) — The agency whose ledger it is.
    - minLength: `1`
  - `currency` (`backoffice.sales.list.response.200.advisorBalances.currency`; string, required) — The balance's currency.
    - pattern: `^[A-Z]{3}$`
  - `pendingMinor` (`backoffice.sales.list.response.200.advisorBalances.pendingMinor`; integer, required) — What the advisor has earned but may not be paid yet, in minor units.
    - maximum: `9007199254740991` · minimum: `0`
  - `receivableMinor` (`backoffice.sales.list.response.200.advisorBalances.receivableMinor`; integer, required) — What the advisor owes back, in minor units, an overdrawn bucket included.
    - maximum: `9007199254740991` · minimum: `0`
- `advisors` (`backoffice.sales.list.response.200.advisors`; array of object, required) — Advisor production. One row per month and advisor.
  - `advisorUserId` (`backoffice.sales.list.response.200.advisors.advisorUserId`; string, required) — The advisor credited with the orders.
    - minLength: `1`
  - `bookings` (`backoffice.sales.list.response.200.advisors.bookings`; integer, required) — How many orders are BOOKED.
    - maximum: `9007199254740991` · minimum: `0`
  - `companyName` (`backoffice.sales.list.response.200.advisors.companyName`; string, required) — The advisor's agency.
    - minLength: `1`
  - `currency` (`backoffice.sales.list.response.200.advisors.currency`; string, required) — The orders' currency.
    - pattern: `^[A-Z]{3}$`
  - `month` (`backoffice.sales.list.response.200.advisors.month`; string, required) — The UTC month the orders were created in.
    - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$`
  - `soldMinor` (`backoffice.sales.list.response.200.advisors.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `bookingValues` (`backoffice.sales.list.response.200.bookingValues`; array of object, required) — Booked order values. One row per BOOKED order.
  - `currency` (`backoffice.sales.list.response.200.bookingValues.currency`; string, required) — The order's currency.
    - pattern: `^[A-Z]{3}$`
  - `productType` (`backoffice.sales.list.response.200.bookingValues.productType`; string, required) — What the order sells.
    - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"`
  - `totalMinor` (`backoffice.sales.list.response.200.bookingValues.totalMinor`; integer, required) — The order's total, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `byMonth` (`backoffice.sales.list.response.200.byMonth`; array of object, required) — Sales by month. One row per month and product.
  - `bookings` (`backoffice.sales.list.response.200.byMonth.bookings`; integer, required) — How many orders are BOOKED.
    - maximum: `9007199254740991` · minimum: `0`
  - `cancelledMinor` (`backoffice.sales.list.response.200.byMonth.cancelledMinor`; integer, required) — The total of the CANCELLED orders, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `currency` (`backoffice.sales.list.response.200.byMonth.currency`; string, required) — The orders' currency.
    - pattern: `^[A-Z]{3}$`
  - `month` (`backoffice.sales.list.response.200.byMonth.month`; string, required) — The UTC month the orders were created in.
    - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$`
  - `productType` (`backoffice.sales.list.response.200.byMonth.productType`; string, required) — What the orders sell.
    - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"`
  - `soldMinor` (`backoffice.sales.list.response.200.byMonth.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `providerKey` (`backoffice.sales.list.response.200.byMonth.providerKey`; string, optional) — The provider the orders were booked with. Nicer staff only: left out for an agency admin, whose rows are not split by provider.
- `commissionDetail` (`backoffice.sales.list.response.200.commissionDetail`; array of object, required) — Open commission by product, property and age. One row per status, product, property and age.
  - `currency` (`backoffice.sales.list.response.200.commissionDetail.currency`; string, required) — The commission's currency.
    - pattern: `^[A-Z]{3}$`
  - `expectedMinor` (`backoffice.sales.list.response.200.commissionDetail.expectedMinor`; integer, required) — The commission expected on the items, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `receivedMinor` (`backoffice.sales.list.response.200.commissionDetail.receivedMinor`; integer, required) — The commission received on the items, net of reversals, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `status` (`backoffice.sales.list.response.200.commissionDetail.status`; string, required) — Where the items' money stands. Only open items are counted: never CANCELLED or NOT_COMMISSIONABLE, and no written-off item.
    - one of `"UPCOMING"`, `"DUE"`, `"OVERDUE"`, `"PAID"`, `"CANCELLED"`, `"NOT_COMMISSIONABLE"`
  - `ageDays` (`backoffice.sales.list.response.200.commissionDetail.ageDays`; integer, required) — Days since travel ended, the clock suppliers pay against; 0 before travel ends.
    - maximum: `9007199254740991` · minimum: `0`
  - `hotelReference` (`backoffice.sales.list.response.200.commissionDetail.hotelReference`; any of, required) — Nicer's reference for the property; null for other products.
    - any of the following: `string`, `null`
  - `productName` (`backoffice.sales.list.response.200.commissionDetail.productName`; any of, required) — The product or property name, as recorded or sold.
    - any of the following: `string`, `null`
  - `productType` (`backoffice.sales.list.response.200.commissionDetail.productType`; string, required) — What the orders sell.
    - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"`
- `commissions` (`backoffice.sales.list.response.200.commissions`; array of object, required) — Open commission. One row per payment status.
  - `currency` (`backoffice.sales.list.response.200.commissions.currency`; string, required) — The commission's currency.
    - pattern: `^[A-Z]{3}$`
  - `expectedMinor` (`backoffice.sales.list.response.200.commissions.expectedMinor`; integer, required) — The commission expected on the items, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `receivedMinor` (`backoffice.sales.list.response.200.commissions.receivedMinor`; integer, required) — The commission received on the items, net of reversals, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `status` (`backoffice.sales.list.response.200.commissions.status`; string, required) — Where the items' money stands. Only open items are counted: never CANCELLED or NOT_COMMISSIONABLE, and no written-off item.
    - one of `"UPCOMING"`, `"DUE"`, `"OVERDUE"`, `"PAID"`, `"CANCELLED"`, `"NOT_COMMISSIONABLE"`
  - `count` (`backoffice.sales.list.response.200.commissions.count`; integer, required) — How many commission items.
    - maximum: `9007199254740991` · minimum: `0`
  - `varianceMinor` (`backoffice.sales.list.response.200.commissions.varianceMinor`; integer, required) — Received minus expected, in minor units: negative while money is still owed.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `providerKey` (`backoffice.sales.list.response.200.commissions.providerKey`; string, optional) — The provider the orders were booked with. Nicer staff only: left out for an agency admin, whose rows are not split by provider.
- `currencies` (`backoffice.sales.list.response.200.currencies`; array of string, required) — Every currency the agency's orders use (every agency's for the whole platform), at any date: the choices of the currency filter.
  - pattern: `^[A-Z]{3}$`
- `currency` (`backoffice.sales.list.response.200.currency`; string, required) — The currency every money section but currencyTotals is in.
  - pattern: `^[A-Z]{3}$`
- `currencyTotals` (`backoffice.sales.list.response.200.currencyTotals`; array of object, required) — The period in every currency. One row per currency.
  - `bookings` (`backoffice.sales.list.response.200.currencyTotals.bookings`; integer, required) — How many orders are BOOKED.
    - maximum: `9007199254740991` · minimum: `0`
  - `checkoutMinor` (`backoffice.sales.list.response.200.currencyTotals.checkoutMinor`; integer, required) — The total of the BOOKED orders Nicer sold through checkout, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `currency` (`backoffice.sales.list.response.200.currencyTotals.currency`; any of, required) — The orders' currency; null for the orders that carry no amount.
    - any of the following: `CurrencyCode`, `null`
  - `orders` (`backoffice.sales.list.response.200.currencyTotals.orders`; integer, required) — How many orders were created in the period.
    - maximum: `9007199254740991` · minimum: `0`
  - `recordedMinor` (`backoffice.sales.list.response.200.currencyTotals.recordedMinor`; integer, required) — The total of the BOOKED orders recorded from a provider (not sold through checkout), in minor units. Not money Nicer captured.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `unknownAmounts` (`backoffice.sales.list.response.200.currencyTotals.unknownAmounts`; integer, required) — How many orders carry no amount.
    - maximum: `9007199254740991` · minimum: `0`
  - `unpricedBookings` (`backoffice.sales.list.response.200.currencyTotals.unpricedBookings`; integer, required) — How many BOOKED orders carry no amount or no currency.
    - maximum: `9007199254740991` · minimum: `0`
- `daily` (`backoffice.sales.list.response.200.daily`; array of object, required) — Bookings by day. One row per UTC day with orders.
  - `bookings` (`backoffice.sales.list.response.200.daily.bookings`; integer, required) — How many orders are BOOKED.
    - maximum: `9007199254740991` · minimum: `0`
  - `day` (`backoffice.sales.list.response.200.daily.day`; string, required) — The UTC day the orders were created on.
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `soldMinor` (`backoffice.sales.list.response.200.daily.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
- `earnings` (`backoffice.sales.list.response.200.earnings`; array of object, required) — Earnings by who earns. One row per month, beneficiary kind, earning kind, entry type and status.
  - `amountMinor` (`backoffice.sales.list.response.200.earnings.amountMinor`; integer, required) — The earnings' total, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `beneficiaryKind` (`backoffice.sales.list.response.200.earnings.beneficiaryKind`; string, required) — Who earns: an advisor, the agency or a traveler. Nicer's own share is not an earning (it is booked in the ledger), so no row names NICER.
    - one of `"ADVISOR"`, `"COMPANY"`, `"TRAVELER"`
  - `currency` (`backoffice.sales.list.response.200.earnings.currency`; string, required) — The earnings' currency.
    - pattern: `^[A-Z]{3}$`
  - `earningKind` (`backoffice.sales.list.response.200.earnings.earningKind`; string, required) — What the earning is for.
    - one of `"ADJUSTMENT"`, `"ADVISOR_COMMISSION"`, `"AGENCY_COMMISSION"`, `"HOST_SHARE"`, `"PLANNING_FEE"`, `"REFERRAL_COMMISSION"`, `"TRAVELER_REWARD"`
  - `entryType` (`backoffice.sales.list.response.200.earnings.entryType`; string, required) — EARNING, or the REVERSAL or CLAWBACK that takes one back.
    - one of `"EARNING"`, `"REVERSAL"`, `"CLAWBACK"`
  - `month` (`backoffice.sales.list.response.200.earnings.month`; string, required) — The UTC month the earning was booked in.
    - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$`
  - `status` (`backoffice.sales.list.response.200.earnings.status`; string, required) — Whether the earning is PENDING, AVAILABLE or REVERSED.
    - one of `"PENDING"`, `"AVAILABLE"`, `"REVERSED"`
- `exchangeRates` (`backoffice.sales.list.response.200.exchangeRates`; any of, required) — The latest stored reference exchange rates, to show amounts in another currency; null when they cannot be read. Never the rate a payment used.
  - any of the following:
    - `ExchangeRateSnapshot`
      - `source` (`ExchangeRateSnapshot.source`; string, required)
      - `updatedAt` (`ExchangeRateSnapshot.updatedAt`; string, required)
        - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
      - `rates` (`ExchangeRateSnapshot.rates`; map of number, required)
    - `null`
- `funnel` (`backoffice.sales.list.response.200.funnel`; object, required) — The checkout funnel of the period: orders placed through checkout, booked, and booked with a document issued.
  - `booked` (`backoffice.sales.list.response.200.funnel.booked`; integer, required) — How many of them are BOOKED.
    - maximum: `9007199254740991` · minimum: `0`
  - `fulfilled` (`backoffice.sales.list.response.200.funnel.fulfilled`; integer, required) — How many of the BOOKED ones have at least one issued document.
    - maximum: `9007199254740991` · minimum: `0`
  - `orders` (`backoffice.sales.list.response.200.funnel.orders`; integer, required) — How many orders were started through checkout in the period, unpaid drafts included.
    - maximum: `9007199254740991` · minimum: `0`
- `leadTimes` (`backoffice.sales.list.response.200.leadTimes`; array of object, required) — Flight lead times. One row per bucket with legs.
  - `bucket` (`backoffice.sales.list.response.200.leadTimes.bucket`; string, required) — Days between the order and the departure: 0_7, 8_30, 31_90, 91_180 or 180_PLUS (more than 180).
    - one of `"0_7"`, `"8_30"`, `"31_90"`, `"91_180"`, `"180_PLUS"`
  - `legs` (`backoffice.sales.list.response.200.leadTimes.legs`; integer, required) — How many legs.
    - maximum: `9007199254740991` · minimum: `0`
- `payments` (`backoffice.sales.list.response.200.payments`; array of object, required) — Nicer's charges. One row per month and status.
  - `amountMinor` (`backoffice.sales.list.response.200.payments.amountMinor`; integer, required) — The attempts' total, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `attempts` (`backoffice.sales.list.response.200.payments.attempts`; integer, required) — How many attempts.
    - maximum: `9007199254740991` · minimum: `0`
  - `currency` (`backoffice.sales.list.response.200.payments.currency`; string, required) — The attempts' currency.
    - pattern: `^[A-Z]{3}$`
  - `month` (`backoffice.sales.list.response.200.payments.month`; string, required) — The UTC month the attempts were made in.
    - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$`
  - `status` (`backoffice.sales.list.response.200.payments.status`; string, required) — The attempts' status. SUCCEEDED is money captured; AUTHORIZED is not money yet.
    - one of `"REQUIRES_ACTION"`, `"AUTHORIZED"`, `"PROCESSING"`, `"SUCCEEDED"`, `"DECLINED"`, `"UNKNOWN"`, `"CANCELLED"`
- `range` (`backoffice.sales.list.response.200.range`; object, required) — The UTC days a report covers, both included, after the defaults were applied.
  - `from` (`backoffice.sales.list.response.200.range.from`; string, required) — The period's first UTC day, included.
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `to` (`backoffice.sales.list.response.200.range.to`; string, required) — The period's last UTC day, included.
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
- `routes` (`backoffice.sales.list.response.200.routes`; array of object, required) — Flight routes. One row per origin, destination and airline.
  - `destinationAirport` (`backoffice.sales.list.response.200.routes.destinationAirport`; string, required) — Where the legs land.
    - pattern: `^[A-Z]{3}$`
  - `leadDays` (`backoffice.sales.list.response.200.routes.leadDays`; any of, required) — The average days between the order and the departure, over the legs of orders sold through checkout; null when there are none.
    - any of the following: `number`, `null`
  - `legs` (`backoffice.sales.list.response.200.routes.legs`; integer, required) — How many legs.
    - maximum: `9007199254740991` · minimum: `0`
  - `marketingCarrierCode` (`backoffice.sales.list.response.200.routes.marketingCarrierCode`; string, required) — The airline that sells the legs.
    - pattern: `^[A-Z0-9]{2,3}$`
  - `originAirport` (`backoffice.sales.list.response.200.routes.originAirport`; string, required) — Where the legs leave from.
    - pattern: `^[A-Z]{3}$`
- `agencies` (`backoffice.sales.list.response.200.agencies`; array of object, optional) — The agency ranking. One row per agency and product. Nicer staff only, and only for the whole platform: absent when an agency is named.
  - `bookings` (`backoffice.sales.list.response.200.agencies.bookings`; integer, required) — How many orders are BOOKED.
    - maximum: `9007199254740991` · minimum: `0`
  - `companyName` (`backoffice.sales.list.response.200.agencies.companyName`; string, required) — The agency.
    - minLength: `1`
  - `currency` (`backoffice.sales.list.response.200.agencies.currency`; string, required) — The orders' currency.
    - pattern: `^[A-Z]{3}$`
  - `productType` (`backoffice.sales.list.response.200.agencies.productType`; string, required) — What the orders sell.
    - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"`
  - `soldMinor` (`backoffice.sales.list.response.200.agencies.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units.
    - maximum: `9007199254740991` · minimum: `-9007199254740991`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.sales.list.response.400.errorCode`; string, required)
- `errorMessage` (`backoffice.sales.list.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.sales.list.response.401.errorCode`; string, required)
- `errorMessage` (`backoffice.sales.list.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.sales.list.response.403.errorCode`; string, required)
- `errorMessage` (`backoffice.sales.list.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/backoffice/backoffice.sales.list/index.md
