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

# List invoice statuses

> Returns the invoice status values, API keys, labels, and descriptions used by the invoice endpoints.



## OpenAPI

````yaml /api-reference/openapi.json get /invoice/statuses
openapi: 3.1.0
info:
  title: BillingServ API V2
  description: >-
    Resources and tools for developers to integrate with the BillingServ v2 API,
    including customer management, domain availability, hosted checkout,
    billing, and service operations. Authenticated API responses include
    X-Request-ID and X-API-Version: 2 headers, and rate-limited endpoints expose
    standard rate-limit headers and return 429 when a limit is exceeded. Clients
    may provide X-Request-ID for request correlation. The supported idempotent
    write operations accept Idempotency-Key. Internal service-to-service routes
    are intentionally excluded from this public contract. v1 is deprecated; use
    the v2 base URL and bearer-token authentication unless an endpoint states
    otherwise.
  version: '2.0'
servers:
  - url: https://demo.onlinebillingform.com/api/v2
    description: BillingServ demo API
security:
  - bearerAuth: []
tags:
  - name: Customer
  - name: Package
  - name: Group
  - name: Country
  - name: County
  - name: Currency
  - name: VPN
  - name: Invoice
  - name: Order
  - name: Module
  - name: Report
  - name: Marketing
  - name: Setting
  - name: Checkout
  - name: Domain
    description: Search enabled domain extensions and check domain availability.
  - name: Usage
  - name: Support
  - name: Licensing
  - name: Webhooks
    description: Outbound events sent by BillingServ to a configured customer endpoint.
paths:
  /invoice/statuses:
    get:
      tags:
        - Invoice
      summary: List invoice statuses
      description: >-
        Returns the invoice status values, API keys, labels, and descriptions
        used by the invoice endpoints.
      operationId: GET_invoice_statuses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceStatusesResponse'
              example:
                success: true
                statuses:
                  - status: '0'
                    status_key: UNPAID
                    status_label: Unpaid
                    description: The invoice has not been paid.
                  - status: '1'
                    status_key: PAID
                    status_label: Paid
                    description: The invoice has been paid.
                  - status: '2'
                    status_key: OVERDUE
                    status_label: Overdue
                    description: The invoice remains unpaid after its due date.
                  - status: '3'
                    status_key: REFUNDED
                    status_label: Refunded
                    description: Payment for the invoice has been refunded.
                  - status: '4'
                    status_key: CANCELED
                    status_label: Canceled
                    description: The invoice has been canceled and is no longer payable.
                  - status: '5'
                    status_key: PENDING
                    status_label: Pending
                    description: >-
                      The invoice or quote is still being prepared or is
                      awaiting completion.
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                errors: Invalid API Key
        '403':
          description: Authenticated key does not have permission for this endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                errors: Insufficient permissions for this endpoint.
      security:
        - bearerAuth: []
components:
  schemas:
    InvoiceStatusesResponse:
      type: object
      properties:
        success:
          type: boolean
          const: true
        statuses:
          type: array
          items:
            $ref: '#/components/schemas/StatusDefinition'
      required:
        - success
        - statuses
      additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          const: false
        errors:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
            - type: object
              additionalProperties: true
        code:
          type: string
          description: Machine-readable error category when provided.
        request_id:
          type: string
          description: Request identifier returned in the X-Request-ID response header.
      additionalProperties: true
    StatusDefinition:
      type: object
      properties:
        status:
          type: string
          description: >-
            Numeric status value returned on the corresponding invoice or order
            resource.
        status_key:
          type: string
          description: Stable API key accepted by status-filter endpoints.
        status_label:
          type: string
          description: Human-readable status label.
        description:
          type: string
          description: Meaning of the status.
      required:
        - status
        - status_key
        - status_label
        - description
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Use `Authorization: Bearer <live_api_key>`.'

````