---
title: "Update contract billing term"
method: PATCH
path: "/v3/contracts/{id}/billing-terms/{billingTermId}"
tags: ["Contracts"]
---

# Update contract billing term

`PATCH /v3/contracts/{id}/billing-terms/{billingTermId}`

## Path parameters

- `id` string, required
- `billingTermId` string, required

## Request body

- PatchBillingTermDto
  - `name` string — Line item name. Required unless `productId` is provided, in which case it is populated from the product's display name.
  - `description` string — Line item description
  - `billingStartDate` string — Billing start date
  - `isRecurring` boolean — Is recurring billing
  - `includeInArr` boolean — Whether this billing term contributes to ARR (Annual Recurring Revenue). Defaults based on billing type and interval when omitted (usage and one-time terms default to false).
  - `interval` 'NONE' | 'DAY' | 'MONTH' | 'HOUR' | 'YEAR' | 'QUARTER' | 'SEMI_MONTH' | 'WEEK' — Interval unit
  - `intervalFrequency` number — Interval frequency
  - `duration` number — Number of billing periods
  - `invoiceDateStrategy` 'FIRST_OF_PERIOD' | 'LAST_OF_PERIOD' | 'ARREARS' | 'ADVANCED_DUE_START' — Invoice date strategy
  - `netPaymentTerms` number — Days between invoice issue and due date
  - `quantity` number — Quantity; set to 0 for UNIT billingType
  - `billingType` 'UNIT' | 'FLAT' — Billing type
  - `pricingType` 'SIMPLE' | 'TIERED' | 'VOLUME' — Pricing type. For TIERED and VOLUME, supply 2+ pricing entries with `tier` indices that are 0-indexed and contiguous (0, 1, 2, …) and `tierMinimum` values starting at 0 and strictly increasing.
  - `itemId` string — ERP item ID for the line item
  - `productId` string, nullable — Product ID from /v3/products. When set, name/description/itemId/classId are populated from the product for any not provided on the billing term. To ensure revenue reporting accuracy, associate the billing term with a product whenever applicable.
  - `classId` string — ERP class ID
  - `departmentId` string — Department ID
  - `projectId` string — Project ID
  - `pricing` PricingTierDto[] — Pricing tiers
    - `tier` number, required — Tier Number
    - `amount` number, required — Amount
    - `amountType` 'PER_ITEM' | 'TOTAL_INVOICE', required — Amount Type
    - `tierMinimum` number, required — Tier Minimum
  - `discount` DiscountDto
    - `type` 'PERCENTAGE' | 'FIXED' — The type of discount
    - `amount` string — The discount amount (stored as mantissa in database with exponent 0)
    - `note` string — Optional note about the discount

## Response `200`

Billing term updated; invoice regeneration enqueued

## Other responses

- `400` — Bad Request - validation failed
- `404` — Contract or billing term not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/tabsplatform/apis/tabs-external-api.md) · [All operations](https://skmtc.net/tabsplatform/apis/tabs-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tabsplatform/tabs-external-api/revisions/7e8885517814/schema)
