> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fleetit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Billing Status

> Replace a billing status by ID.



## OpenAPI

````yaml put /v2/billing_statuses/{id}/
openapi: 3.0.3
info:
  title: Fleet IT Customer API
  version: 2.0.0
  description: >-
    Public API for Fleet IT platform customers.


    For detailed guides, authentication setup, error codes, and integration
    examples, see the [Fleet IT
    Documentation](https://docs.fleetit.com/documentation/overview).


    ## Headers


    All authenticated endpoints accept an optional `Fleet-Id` header (integer)
    to specify which fleet to operate on. If omitted, the user's default fleet
    is used.
servers: []
security:
  - JWT: []
  - APIKey: []
externalDocs:
  url: https://docs.fleetit.com/documentation/overview
  description: Fleet IT Documentation
paths:
  /v2/billing_statuses/{id}/:
    put:
      tags:
        - Billing Statuses
      description: >-
        ViewSet for managing billing statuses.


        - LIST: Returns system billing statuses (no fleet) + user's fleet
        billing statuses

        - CREATE: Automatically ties the new billing status to the requesting
        user's fleet

        - UPDATE/DELETE: Only allowed for fleet-specific billing statuses (not
        system statuses)
      operationId: v2_billing_statuses_update
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this billing status.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillingStatus'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/BillingStatus'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/BillingStatus'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingStatus'
          description: ''
components:
  schemas:
    BillingStatus:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        value:
          type: string
        display_text:
          type: string
        ticket_type:
          type: string
        fleet:
          type: integer
          readOnly: true
          nullable: true
        is_system:
          type: string
          readOnly: true
      required:
        - display_text
        - fleet
        - id
        - is_system
        - ticket_type
        - value
  securitySchemes:
    JWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
    APIKey:
      type: apiKey
      in: header
      name: Authorization

````