> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tabs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tabs.com/_mcp/server.

# List contract billing terms

GET https://integrators.prod.api.tabsplatform.com/v3/contracts/{id}/billing-terms

Reference: https://docs.tabs.com/api-reference/contracts/getContractBillingTerms

## Authentication

- `Authorization` header (required) — API Key authentication via header

## Request

### Path parameters

- `id` (string, required) — Contract Id

### Query parameters

- `billingTermGroupId` (string, optional) — Optional billing term group (BTG) ID to filter by
- `page` (double, required, default: 1) — Page Number
- `limit` (double, required, default: 50) — Number of items to return

## Response

### 200

Billing terms for the contract

- `payload` (V3ContractsIdBillingTermsGetResponsesContentApplicationJsonSchemaPayload, required) — Response payload, will be empty when success is false
- `success` (boolean, required) — Boolean with true=success, false=failure
- `message` (string, required) — Plain-text description of the result
- `error` (IntegratorsApiError, optional) — json element with any error messages or warnings

## Errors

### 404 Not Found Error

Contract not found

- `any`

### 500 Internal Server Error

Internal Server Error

- `any`

## Types

### V3ContractsIdBillingTermsGetResponsesContentApplicationJsonSchemaPayload

Response payload, will be empty when success is false

### IntegratorsApiError

- `code` (double, required) — API response code
- `message` (string, required) — API response message
- `errorCode` (string, optional) — Machine-readable error code
- `details` (IntegratorsApiErrorDetails, optional) — Additional details about the error

### IntegratorsApiErrorDetails

Additional details about the error

## Examples

**Response**

```json
{
  "payload": {
    "data": [
      {
        "billingTermId": "string",
        "contractId": "string",
        "name": "string",
        "description": "string",
        "itemId": "string",
        "productId": "string",
        "billingStartDate": "string",
        "billingEndDate": "string",
        "terminatedAt": "string",
        "quantity": 1,
        "currentSeatCount": 25,
        "duration": 12,
        "intervalFrequency": 1.1,
        "interval": "MONTH",
        "invoiceDateStrategy": "FIRST_OF_PERIOD",
        "invoiceDateOffsetDays": 5,
        "netPaymentTerms": 30,
        "billingType": "FLAT",
        "pricingType": "SIMPLE",
        "isPercent": true,
        "isRecurring": true,
        "includeInArr": true,
        "isArrears": true,
        "eventTypeId": "string",
        "eventTypeName": "API Calls",
        "classId": "string",
        "departmentId": "string",
        "projectId": "string",
        "pricing": [
          {
            "tier": 1,
            "amount": 120000,
            "amountType": "TOTAL_INVOICE",
            "tierMinimum": 0
          }
        ],
        "billingTermGroupId": "string",
        "commitmentId": "string",
        "commitmentBillingTermType": "string",
        "discounts": [
          {
            "type": "PERCENTAGE",
            "amount": "0.10",
            "note": "Partner discount"
          },
          {
            "type": "FIXED",
            "amount": "100",
            "note": "Early payment discount"
          }
        ]
      }
    ],
    "limit": 1.1,
    "totalItems": 1.1,
    "currentPage": 1.1
  },
  "success": true,
  "message": "string",
  "error": {
    "code": 1.1,
    "message": "string",
    "errorCode": "string",
    "details": {}
  }
}
```

**SDK Code**

```python
import requests

url = "https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms"

querystring = {"page":"1","limit":"50"}

headers = {"Authorization": "<apiKey>"}

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

print(response.json())
```

```javascript
const url = 'https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms?page=1&limit=50';
const options = {method: 'GET', headers: {Authorization: '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms?page=1&limit=50"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms?page=1&limit=50")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms?page=1&limit=50")
  .header("Authorization", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms?page=1&limit=50', [
  'headers' => [
    'Authorization' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms?page=1&limit=50");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://integrators.prod.api.tabsplatform.com/v3/contracts/123e4567-e89b-12d3-a456-426614174000/billing-terms?page=1&limit=50")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```