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

# Get Self-Billing Invoice Lease Items

> Get detailed breakdown of individual lease items within a self-billing (payout) invoice



## OpenAPI

````yaml openapi/billing.yaml get /v1/{tenantUUID}/market/payouts_invoices/{payoutInvoiceUuid}/items
openapi: 3.0.1
info:
  title: Billing API
  description: ''
  version: '1.0'
servers:
  - url: https://apigw.ipxo.com/billing
security:
  - bearerAuth: []
paths:
  /v1/{tenantUUID}/market/payouts_invoices/{payoutInvoiceUuid}/items:
    get:
      tags:
        - Payouts
      summary: Get Self-Billing Invoice Lease Items
      description: >-
        Get detailed breakdown of individual lease items within a self-billing
        (payout) invoice
      operationId: API-Pub-IPmarket-PayoutsInvoices-Items
      parameters:
        - name: tenantUUID
          in: path
          description: Tenant UUID
          required: true
          schema:
            $ref: '#/components/schemas/UUID'
        - name: payoutInvoiceUuid
          in: path
          description: Payout Invoice UUID
          required: true
          schema:
            $ref: '#/components/schemas/UUID'
        - name: sort
          in: query
          description: Sort field (prefix with - for descending)
          schema:
            type: string
        - name: page
          in: query
          description: Page number for pagination
          schema:
            minimum: 1
            type: integer
        - name: per_page
          in: query
          description: 'Items per page (default: 15, max: 100)'
          schema:
            maximum: 100
            minimum: 1
            type: integer
      responses:
        '200':
          description: Self-Billing Invoice Lease Items
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/API.Pub.Resources.IPMarket.PayoutInvoiceLeaseItemsResource
              example:
                data:
                  - subnet: string
                    lease_period_from: string
                    lease_period_to: string
                    lessee_gross_amount: 0
                    sales: 0
                    holder_fee: 0
                    deductions: 0
                    net_earnings: 0
                meta:
                  current_page: 0
                  per_page: 0
                  total: 0
                  last_page: 0
                  from: 0
                  to: 0
        '400':
          description: Invalid Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
components:
  schemas:
    UUID:
      pattern: >-
        ^[a-zA-Z0-9]{8}\-[a-zA-Z0-9]{4}\-[a-zA-Z0-9]{4}\-[a-zA-Z0-9]{4}\-[a-zA-Z0-9]{12}$
      type: string
      description: UUID
    API.Pub.Resources.IPMarket.PayoutInvoiceLeaseItemsResource:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              subnet:
                type: string
                description: Subnet that was leased (e.g., 10.0.0.0/24)
              lease_period_from:
                type: string
                description: Lease period start in Y-m-d H:i:s format
              lease_period_to:
                type: string
                description: Lease period end in Y-m-d H:i:s format
              lessee_gross_amount:
                type: number
                description: How much IP Lessee paid
                format: float
              sales:
                type: number
                description: Amount IP Holder initially set
                format: float
              holder_fee:
                type: number
                description: 5% holder fee
                format: float
              deductions:
                type: number
                description: Other deductions
                format: float
              net_earnings:
                type: number
                description: Net earnings after fees and deductions
                format: float
        meta:
          type: object
          properties:
            current_page:
              type: integer
            per_page:
              type: integer
            total:
              type: integer
            last_page:
              type: integer
            from:
              type: integer
              nullable: true
            to:
              type: integer
              nullable: true
          description: Pagination metadata
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````