---
search:
  tags:
    - projects
    - PATCH
seo:
  description: >-
    What this endpoint does: Partially updates… Reference for the PATCH
    /projects/{projectId}/subscription-billings/{id} endpoint in the Leadtime
    Public API API.
sidebar:
  badge: PATCH
  label: Update project subscription billing
title: Update project subscription billing
type: openapi-operation
---
**What this endpoint does:**
Partially updates an existing subscription billing item. You can update any combination of fields without providing all values. The system automatically regenerates billing rows if the date range or frequency changes.

**How updates work:**
- Only provide the fields you want to change (all fields are optional)
- If you update fromDate, toDate, or frequency, the system will:
  - Delete unbilled billing rows
  - Regenerate billing rows based on new date range and frequency
  - Preserve already billed rows (they are not affected)
- Other fields (price, title, payment type) update immediately without regenerating rows

**Important notes:**
- If updating both fromDate and toDate, ensure fromDate is before or equal to toDate
- Changing frequency will affect all future billing periods
- Already billed rows remain unchanged
- Sort order is preserved unless explicitly changed

**Permissions required:**
- Projects.edit: Ability to edit project settings
- Invoices.manage: Ability to manage invoice configurations

**Example use cases:**
- Extend subscription end date
- Change billing frequency (e.g., from monthly to quarterly)
- Update subscription price
- Modify subscription title or description
- Change payment type

<Operation source="api-reference" id="projectsubscriptionbillingscontroller-updatesubscriptionbilling" />
