---
title: "List commission items"
---

> 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.

# List commission items

Path: Nicer API › Commerce

`GET /commerce/commissions`

URL: `https://api.nicer.travel/commerce/commissions`

The commission list of every booking, whatever its source (Nicer checkout, GDS import, booked elsewhere, file import), with status, balance, due date and aging from `commission_item_status`. Keyset-paged on the date field (travel end by default), newest first; 25 per page, at most 100. Advisors see their own bookings; admins the agency's; `view=RECEIVABLES` lists what the agency receives as the owner of the identifier (a host sees its members' items; admins and staff). Finance staff may read any company, audited.

## Authentication

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

## Query parameters

- `advisorUserId` (`commerce.commissions.list.query.advisorUserId`; string, optional)
  - maxLength: `4096` · minLength: `1`
- `agingBucket` (`commerce.commissions.list.query.agingBucket`; string, optional)
  - minLength: `1`
- `category` (`commerce.commissions.list.query.category`; string, optional)
  - minLength: `1`
- `dateField` (`commerce.commissions.list.query.dateField`; string, optional)
  - one of `"TRAVEL_END"`, `"TRAVEL_START"`, `"BOOKED"`, `"DUE"`
- `from` (`commerce.commissions.list.query.from`; string, optional)
  - 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])))$`
- `identifierId` (`commerce.commissions.list.query.identifierId`; string, optional)
  - maxLength: `4096` · minLength: `1`
- `kind` (`commerce.commissions.list.query.kind`; string, optional)
  - minLength: `1`
- `needsReview` (`commerce.commissions.list.query.needsReview`; string, optional)
  - one of `"true"`, `"false"`
- `q` (`commerce.commissions.list.query.q`; string, optional)
  - maxLength: `100` · minLength: `2`
- `source` (`commerce.commissions.list.query.source`; string, optional)
  - minLength: `1`
- `status` (`commerce.commissions.list.query.status`; string, optional)
  - minLength: `1`
- `supplierId` (`commerce.commissions.list.query.supplierId`; string, optional)
  - minLength: `1`
- `tag` (`commerce.commissions.list.query.tag`; string, optional)
  - maxLength: `64` · minLength: `1`
- `to` (`commerce.commissions.list.query.to`; string, optional)
  - 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])))$`
- `view` (`commerce.commissions.list.query.view`; string, optional)
  - one of `"BOOKINGS"`, `"RECEIVABLES"`
- `cursor` (`commerce.commissions.list.query.cursor`; string, optional)
  - maxLength: `2048` · minLength: `1`
- `limit` (`commerce.commissions.list.query.limit`; integer, optional)
  - maximum: `100` · minimum: `1`

## Header parameters

- `x-nicer-company` (`commerce.commissions.list.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API.

## Code samples

### JavaScript SDK

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

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

await nicer.commerce.commissions.list();
```

### Nicer CLI

```bash
nicer commerce commissions list --company "$NICER_COMPANY"
```

### cURL

```bash
curl --request GET \
  --url https://api.nicer.travel/commerce/commissions \
  --header 'Authorization: Bearer <token>' \
  --header 'x-nicer-company: string'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/commerce/commissions';
const options = {
  method: 'GET',
  headers: {'x-nicer-company': 'string', 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/commerce/commissions"

headers = {
    "x-nicer-company": "string",
    "Authorization": "Bearer <token>"
}

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

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "items": [
    {
      "advisorUserId": "string",
      "agingBucket": "NOT_TRAVELED",
      "balanceMinor": 9007199254740991,
      "bookedOn": "2019-08-24",
      "category": "HOTEL",
      "clientName": "string",
      "collectedByNicer": true,
      "commissionItemId": "string",
      "companyName": "string",
      "confirmationNumber": "string",
      "currency": "string",
      "daysPastDue": 9007199254740991,
      "dueOn": "2019-08-24",
      "expectedMinor": 9007199254740991,
      "externalBookingId": "string",
      "grossMinor": 9007199254740991,
      "isCommissionable": true,
      "isFlagged": true,
      "isOverdue": true,
      "kind": "SUPPLIER_COMMISSION",
      "lastReceivedOn": "2019-08-24",
      "needsReview": true,
      "number": "string",
      "orderId": "string",
      "paymentStatus": "UPCOMING",
      "percentPaid": 0,
      "providerLocator": "string",
      "receivedMinor": -9007199254740991,
      "receivingCompanyName": "string",
      "source": "CHECKOUT",
      "supplier": {
        "name": "string",
        "supplierId": "string",
        "verified": true
      },
      "tags": [
        "string"
      ],
      "travelEnd": "2019-08-24",
      "travelStart": "2019-08-24",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "nextCursor": "string"
}
```

- `items` (`commerce.commissions.list.response.200.items`; array of object, required)
  - `advisorUserId` (`commerce.commissions.list.response.200.items.advisorUserId`; any of, required)
    - any of the following: `string`, `null`
  - `agingBucket` (`commerce.commissions.list.response.200.items.agingBucket`; string, required)
    - one of `"NOT_TRAVELED"`, `"0_30"`, `"31_60"`, `"61_90"`, `"91_180"`, `"180_PLUS"`
  - `balanceMinor` (`commerce.commissions.list.response.200.items.balanceMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `bookedOn` (`commerce.commissions.list.response.200.items.bookedOn`; string, required)
    - 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])))$`
  - `category` (`commerce.commissions.list.response.200.items.category`; string, required)
    - one of `"HOTEL"`, `"CRUISE"`, `"TOUR"`, `"DMC"`, `"FLIGHT"`, `"CAR_RENTAL"`, `"RAIL"`, `"INSURANCE"`, `"TRANSFER"`, `"CONCIERGE"`, `"FEE"`, `"OTHER"`
  - `clientName` (`commerce.commissions.list.response.200.items.clientName`; string, required)
    - minLength: `1`
  - `collectedByNicer` (`commerce.commissions.list.response.200.items.collectedByNicer`; boolean, required)
  - `commissionItemId` (`commerce.commissions.list.response.200.items.commissionItemId`; string, required)
    - minLength: `1`
  - `companyName` (`commerce.commissions.list.response.200.items.companyName`; string, required)
    - minLength: `1`
  - `confirmationNumber` (`commerce.commissions.list.response.200.items.confirmationNumber`; any of, required)
    - any of the following: `string`, `null`
  - `currency` (`commerce.commissions.list.response.200.items.currency`; string, required)
    - pattern: `^[A-Z]{3}$`
  - `daysPastDue` (`commerce.commissions.list.response.200.items.daysPastDue`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `dueOn` (`commerce.commissions.list.response.200.items.dueOn`; string, required)
    - 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])))$`
  - `expectedMinor` (`commerce.commissions.list.response.200.items.expectedMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `externalBookingId` (`commerce.commissions.list.response.200.items.externalBookingId`; any of, required)
    - any of the following: `string`, `null`
  - `grossMinor` (`commerce.commissions.list.response.200.items.grossMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `isCommissionable` (`commerce.commissions.list.response.200.items.isCommissionable`; boolean, required)
  - `isFlagged` (`commerce.commissions.list.response.200.items.isFlagged`; boolean, required)
  - `isOverdue` (`commerce.commissions.list.response.200.items.isOverdue`; boolean, required)
  - `kind` (`commerce.commissions.list.response.200.items.kind`; string, required)
    - one of `"SUPPLIER_COMMISSION"`, `"CLIENT_NET_MARKUP"`, `"CLIENT_FEE"`
  - `lastReceivedOn` (`commerce.commissions.list.response.200.items.lastReceivedOn`; any of, required)
    - any of the following: `string`, `null`
  - `needsReview` (`commerce.commissions.list.response.200.items.needsReview`; boolean, required)
  - `number` (`commerce.commissions.list.response.200.items.number`; string, required)
    - minLength: `1`
  - `orderId` (`commerce.commissions.list.response.200.items.orderId`; any of, required)
    - any of the following: `string`, `null`
  - `paymentStatus` (`commerce.commissions.list.response.200.items.paymentStatus`; string, required)
    - one of `"UPCOMING"`, `"DUE"`, `"OVERDUE"`, `"PAID"`, `"CANCELLED"`, `"NOT_COMMISSIONABLE"`
  - `percentPaid` (`commerce.commissions.list.response.200.items.percentPaid`; any of, required)
    - any of the following: `number`, `null`
  - `providerLocator` (`commerce.commissions.list.response.200.items.providerLocator`; any of, required)
    - any of the following: `string`, `null`
  - `receivedMinor` (`commerce.commissions.list.response.200.items.receivedMinor`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `receivingCompanyName` (`commerce.commissions.list.response.200.items.receivingCompanyName`; string, required)
    - minLength: `1`
  - `source` (`commerce.commissions.list.response.200.items.source`; string, required)
    - one of `"CHECKOUT"`, `"GDS_IMPORT"`, `"MANUAL"`, `"FILE_IMPORT"`
  - `supplier` (`commerce.commissions.list.response.200.items.supplier`; object, required)
    - `name` (`commerce.commissions.list.response.200.items.supplier.name`; any of, required)
      - any of the following: `string`, `null`
    - `supplierId` (`commerce.commissions.list.response.200.items.supplier.supplierId`; any of, required)
      - any of the following: `string`, `null`
    - `verified` (`commerce.commissions.list.response.200.items.supplier.verified`; boolean, required)
  - `tags` (`commerce.commissions.list.response.200.items.tags`; array of string, required)
    - maxLength: `64` · minLength: `1`
  - `travelEnd` (`commerce.commissions.list.response.200.items.travelEnd`; string, required)
    - 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])))$`
  - `travelStart` (`commerce.commissions.list.response.200.items.travelStart`; string, required)
    - 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])))$`
  - `updatedAt` (`commerce.commissions.list.response.200.items.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))$`
- `nextCursor` (`commerce.commissions.list.response.200.nextCursor`; any of, required)
  - any of the following: `string`, `null`

### 400

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

#### Example

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

- `errorCode` (`commerce.commissions.list.response.400.errorCode`; string, required)
- `errorMessage` (`commerce.commissions.list.response.400.errorMessage`; string, required)

### 401

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

#### Example

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

- `errorCode` (`commerce.commissions.list.response.401.errorCode`; string, required)
- `errorMessage` (`commerce.commissions.list.response.401.errorMessage`; string, required)

### 403

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

#### Example

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

- `errorCode` (`commerce.commissions.list.response.403.errorCode`; string, required)
- `errorMessage` (`commerce.commissions.list.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Commerce/commerce.commissions.list/index.md
