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

# List Invoice Lines V2



## OpenAPI

````yaml POST /invoice-lines-v2
openapi: 3.1.0
info:
  title: NestVet API
  version: '1.8'
  description: >-
    API for managing subscriptions, pet benefits, payment plans, products,
    invoices, and Stripe-integrated financial data.
servers:
  - url: https://nestvet.com/api/1.1/wf
security: []
paths:
  /invoice-lines-v2:
    post:
      summary: List Invoice Lines V2
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvoiceLinesV2Request'
      responses:
        '200':
          description: A list of invoice lines
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InvoiceLine'
      security:
        - bearerAuth: []
components:
  schemas:
    InvoiceLinesV2Request:
      type: object
      required:
        - organization
        - limit
        - offset
      properties:
        organization:
          type: string
          description: Filter by organization ID
          example: 1700000000000x444444444444444444
        id:
          type: string
          description: Filter by invoice line ID
          example: 1700000000000x000000000000000000
        clinic:
          type: string
          description: Filter by clinic ID
          example: 1700000000000x111111111111111111
        product_code:
          type: string
          description: Filter by product code
          example: EXAM-STD
        subscription:
          type: string
          description: Filter by subscription ID
          example: 1700000000000x333333333333333333
        invoice_pims_id:
          type: string
          description: Filter by parent PIMS invoice ID
          example: INV-12345
        spanner_invoice_line_id:
          type: string
          description: Filter by Spanner invoice line ID
          example: spn_inv_line_xyz789
        modified_since:
          type: string
          format: date-time
          description: 'Filter: internal modified_date >= value'
          example: '2025-01-01T00:00:00Z'
        created_at_since:
          type: string
          format: date-time
          description: 'Filter: bubble created date >= value'
          example: '2025-01-01T00:00:00Z'
        updated_at_since:
          type: string
          format: date-time
          description: 'Filter: bubble modified date >= value'
          example: '2025-01-01T00:00:00Z'
        include_deleted:
          type: boolean
          description: Include soft-deleted rows
          default: false
          example: false
        limit:
          type: integer
          format: int32
          minimum: 1
          maximum: 200
          default: 100
          example: 100
        offset:
          type: integer
          format: int32
          minimum: 0
          default: 0
          example: 0
    InvoiceLine:
      type: object
      properties:
        id:
          type: string
        pet:
          type: string
        subscription:
          type: string
        clinic:
          type: string
        clinic_id:
          type: string
        invoice:
          type: string
        invoice_pims_id:
          type: string
        invoice_line_pims_id:
          type: string
        product:
          type: string
        product_code:
          type: string
        wellness_plan_name:
          type: string
        is_payment:
          type: boolean
        total:
          type: number
          format: double
        quantity:
          type: integer
          format: int32
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````