> 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 billing terms

GET https://integrators.prod.api.tabsplatform.com/v3/billing-terms

Reference: https://docs.tabs.com/api-reference/billing-terms/getBillingTerms

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Tabs External API
  version: 1.0.0
paths:
  /v3/billing-terms:
    get:
      operationId: integrators-api-billing-terms-controller-get-billing-terms
      summary: List billing terms
      tags:
        - billingTerms
      parameters:
        - name: page
          in: query
          description: Page Number
          required: true
          schema:
            type: number
            format: double
            default: 1
        - name: limit
          in: query
          description: Number of items to return
          required: true
          schema:
            type: number
            format: double
            default: 50
        - name: filter
          in: query
          description: |-
            Format: field:rule:value — comma-separated for multiple filters.

            Fields:
              contractId (uuid): eq, neq, in, nin, isnull, isnotnull
              customerId (uuid): eq, neq, in, nin, isnull, isnotnull
              startDate (datetime): eq, neq, gt, gte, lt, lte
              endDate (datetime): eq, neq, gt, gte, lt, lte
              billingTermGroupId (uuid): eq, neq, in, nin, isnull, isnotnull
              productId (uuid): eq, neq, in, nin, isnull, isnotnull

            Date-only values (YYYY-MM-DD) match the full UTC day.

            Example: filter=contractId:eq:00000000-0000-0000-0000-000000000001
          required: false
          schema:
            type: string
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Get all Billing Terms by filter
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Billing
                  Terms_IntegratorsApiBillingTermsController_getBillingTerms_Response_200
servers:
  - url: https://integrators.prod.api.tabsplatform.com
    description: https://integrators.prod.api.tabsplatform.com
components:
  schemas:
    V3BillingTermsGetResponsesContentApplicationJsonSchemaPayload:
      type: object
      properties: {}
      description: Response payload, will be empty when success is false
      title: V3BillingTermsGetResponsesContentApplicationJsonSchemaPayload
    IntegratorsApiErrorDetails:
      type: object
      properties: {}
      description: Additional details about the error
      title: IntegratorsApiErrorDetails
    IntegratorsApiError:
      type: object
      properties:
        code:
          type: number
          format: double
          description: API response code
        message:
          type: string
          description: API response message
        details:
          $ref: '#/components/schemas/IntegratorsApiErrorDetails'
          description: Additional details about the error
      required:
        - code
        - message
      title: IntegratorsApiError
    Billing Terms_IntegratorsApiBillingTermsController_getBillingTerms_Response_200:
      type: object
      properties:
        payload:
          $ref: >-
            #/components/schemas/V3BillingTermsGetResponsesContentApplicationJsonSchemaPayload
          description: Response payload, will be empty when success is false
        success:
          type: boolean
          description: Boolean with true=success, false=failure
        message:
          type: string
          description: Plain-text description of the result
        error:
          $ref: '#/components/schemas/IntegratorsApiError'
          description: json element with any error messages or warnings
      required:
        - payload
        - success
        - message
        - error
      title: >-
        Billing
        Terms_IntegratorsApiBillingTermsController_getBillingTerms_Response_200
  securitySchemes:
    custom-header:
      type: apiKey
      in: header
      name: Authorization

```

## Examples



**Request**

```json
{}
```

**Response**

```json
{
  "payload": {
    "data": [
      {
        "billingTermId": "a3f1c9e2-4b7d-4f9a-9c3e-2d5f7a8b9c01",
        "contractId": "d2e4f6a8-9b7c-4d3e-8f1a-0b2c3d4e5f67",
        "name": "Standard Monthly Subscription",
        "description": "Monthly subscription billing term for SaaS product",
        "itemId": "e7f8a9b0-c1d2-3e4f-5a6b-7c8d9e0f1a2b",
        "productId": "f1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789",
        "billingStartDate": "2023-01-01T00:00:00Z",
        "billingEndDate": "2023-12-31T23:59:59Z",
        "terminatedAt": null,
        "quantity": 1,
        "currentSeatCount": 25,
        "duration": 12,
        "intervalFrequency": 1,
        "interval": "MONTH",
        "invoiceDateStrategy": "FIRST_OF_PERIOD",
        "netPaymentTerms": 30,
        "billingType": "FLAT",
        "pricingType": "SIMPLE",
        "isRecurring": true,
        "includeInArr": true,
        "isArrears": true,
        "eventTypeId": "b4c3d2e1-f0a9-8765-4321-0fedcba98765",
        "eventTypeName": "API Calls",
        "classId": "c1d2e3f4-a5b6-7890-cdef-1234567890ab",
        "departmentId": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
        "projectId": "e8f9a0b1-c2d3-4567-89ab-cdef01234567",
        "pricing": [
          {
            "tier": 1,
            "amount": 120000,
            "amountType": "TOTAL_INVOICE",
            "tierMinimum": 0
          }
        ],
        "billingTermGroupId": "f0e1d2c3-b4a5-6789-0abc-def123456789",
        "commitmentId": "a1b2c3d4-e5f6-7890-abcd-ef0123456789",
        "commitmentBillingTermType": "Standard Commitment",
        "discounts": [
          {
            "type": "PERCENTAGE",
            "amount": "0.10",
            "note": "Partner discount"
          },
          {
            "type": "FIXED",
            "amount": "100",
            "note": "Early payment discount"
          }
        ]
      }
    ],
    "limit": 50,
    "totalItems": 125,
    "currentPage": 1
  },
  "success": true,
  "message": "Billing terms retrieved successfully",
  "error": {
    "code": 0,
    "message": "",
    "details": {}
  }
}
```

**SDK Code**

```python
import requests

url = "https://integrators.prod.api.tabsplatform.com/v3/billing-terms"

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

payload = {}
headers = {
    "Authorization": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://integrators.prod.api.tabsplatform.com/v3/billing-terms?page=1&limit=50';
const options = {
  method: 'GET',
  headers: {Authorization: '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

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"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://integrators.prod.api.tabsplatform.com/v3/billing-terms?page=1&limit=50"

	payload := strings.NewReader("{}")

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

	req.Header.Add("Authorization", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	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/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>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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/billing-terms?page=1&limit=50")
  .header("Authorization", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://integrators.prod.api.tabsplatform.com/v3/billing-terms?page=1&limit=50', [
  'body' => '{}',
  'headers' => [
    'Authorization' => '<apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://integrators.prod.api.tabsplatform.com/v3/billing-terms?page=1&limit=50");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://integrators.prod.api.tabsplatform.com/v3/billing-terms?page=1&limit=50")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```