---
title: "Retrieves an agreement list."
method: GET
path: "/v2/billing/agreements"
tags: ["Billing"]
---

# Retrieves an agreement list.

`GET /v2/billing/agreements`

Retrieves an agreement list given some filter parameters.

## Query parameters

- `clientId` integer
- `name` string
- `isDefault` boolean
- `productId` integer

## Response `200`

Filtered agreement list.

- object[]
  - `id` integer
  - `name` string
  - `description` string, nullable
  - `invoiceGenerationType` 'AUTOMATIC' | 'MANUAL'
  - `lastBillDate` number, double, nullable
  - `nextBillDate` string, nullable
  - `nextBillingPeriodStartDate` string, nullable
  - `lastPeriodStartDate` string, nullable
  - `lastPeriodEndDate` string, nullable
  - `content` object
    - `interval` string, nullable
    - `billDate` string, nullable
    - `startDate` string
    - `endDate` string, nullable
    - `businessHours` object — Days and time the work registered in tickets will be registered as off hours.
      - `twentyFourSeven` boolean
      - `days` object[]
        - `day` 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'
        - `startHour` integer
        - `endHour` integer
        - `allDayClosed` boolean
  - `client` object — Client information associated with this invoice
    - `id` integer — Unique identifier for the client
    - `name` string — Name of the client
    - `deleted` boolean, required — Indicates if the client has been deleted
  - `createTime` number, double
  - `updateTime` number, double
  - `timeDefault` boolean
  - `businessHoursSource` 'CUSTOM' | 'TICKETING'
  - `taxId` integer
  - `active` boolean
  - `archived` boolean

## Other responses

- `403` — Forbidden - Insufficient permissions
- `500` — Permission not granted

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
