> ## 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.

# Get Billing Plan

> Retrieve a single billing plan.



## OpenAPI

````yaml get /v2/billing-plans/{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-plans/{id}/:
    get:
      tags:
        - Driver Billing (v2)
      operationId: v2_billing_plans_retrieve
      parameters:
        - in: path
          name: id
          schema:
            type: string
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DriverBillingPlan'
          description: ''
components:
  schemas:
    DriverBillingPlan:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        fleet:
          type: integer
          readOnly: true
        name:
          type: string
          maxLength: 255
        is_active:
          type: boolean
        progressive_billing_threshold:
          type: string
          format: decimal
          pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
          nullable: true
          description: >-
            Cumulative unbilled usage that triggers a mid-agreement invoice.
            None = only bill on agreement end.
        grace_period_hours:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
          description: Hours after invoice creation before it may be finalized.
        late_ticket_grace_period_hours:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
          description: >-
            Hours a LATE_TICKET draft stays open to batch incoming late tickets
            before finalization.
        progressive_grace_period_hours:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
          description: Hours a PROGRESSIVE draft stays open before it may be finalized.
        payment_due_hours:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
          description: Number of hours when payment is due after finalizations.
        effective_date:
          type: string
          format: date
          nullable: true
          description: >-
            Agreements that ended before this date will not generate invoices.
            Null means no restriction.
        payment_instructions:
          type: string
          nullable: true
          description: >-
            HTML rendered in the Payment Instructions section of driver invoice
            PDFs.
        created_at:
          type: string
          format: date-time
          readOnly: true
        charges:
          type: array
          items:
            $ref: '#/components/schemas/DriverBillingCharge'
      required:
        - created_at
        - fleet
        - id
        - name
    DriverBillingCharge:
      type: object
      properties:
        id:
          type: integer
        description:
          type: string
          maxLength: 255
        aggregation_type:
          $ref: '#/components/schemas/AggregationTypeEnum'
        aggregation_field:
          nullable: true
          description: |-
            Field to operate on. Not used for 'count'.

            * `amount` - Amount
            * `cash_cost` - Cash Cost (respects Settings.amount_override)
            * `transaction_date` - Transaction Date
          oneOf:
            - $ref: '#/components/schemas/AggregationFieldEnum'
            - $ref: '#/components/schemas/BlankEnum'
            - $ref: '#/components/schemas/NullEnum'
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
          description: Per-unit multiplier.
        filters:
          description: >-
            List of filter objects: [{"field": "...", "op": "...", "value":
            "..."}]
        source_type:
          type: string
          nullable: true
        order:
          type: integer
          maximum: 2147483647
          minimum: 0
        display_aggregated_value:
          type: boolean
        display_rate_value:
          type: boolean
      required:
        - aggregation_type
        - amount
        - description
    AggregationTypeEnum:
      enum:
        - count
        - sum
        - count_unique
      type: string
      description: |-
        * `count` - Count
        * `sum` - Sum
        * `count_unique` - Count Unique
    AggregationFieldEnum:
      enum:
        - amount
        - cash_cost
        - transaction_date
      type: string
      description: |-
        * `amount` - Amount
        * `cash_cost` - Cash Cost (respects Settings.amount_override)
        * `transaction_date` - Transaction Date
    BlankEnum:
      enum:
        - ''
    NullEnum:
      enum:
        - null
  securitySchemes:
    JWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
    APIKey:
      type: apiKey
      in: header
      name: Authorization

````