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

# List Invoice Requests

> Finance and sales oversight see all requests. BM / CM see the pool of
requests for their assigned category(ies) — scoped via `sales:category:*`
roles against the campaign_category snapshot. Other sales roles (BSE) see
only their own.



## OpenAPI

````yaml /openapi/payment.yaml get /api/v1/invoice-requests
openapi: 3.1.0
info:
  title: Cape Media - Payment Service
  description: >-
    Invoice requests, invoice uploads, payment tracking, and commission
    management.
  version: 1.0.0
servers:
  - url: https://api.capedigital.co.ke/payment
    description: Production
  - url: http://localhost:8000
    description: Local
security: []
paths:
  /api/v1/invoice-requests:
    get:
      tags:
        - Invoices
      summary: List Invoice Requests
      description: >-
        Finance and sales oversight see all requests. BM / CM see the pool of

        requests for their assigned category(ies) — scoped via
        `sales:category:*`

        roles against the campaign_category snapshot. Other sales roles (BSE)
        see

        only their own.
      operationId: list_invoice_requests_api_v1_invoice_requests_get
      parameters:
        - name: campaign_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Campaign Id
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/InvoiceRequestStatus'
              - type: 'null'
            title: Status
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 20
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    InvoiceRequestStatus:
      type: string
      enum:
        - AWAITING_INVOICE
        - INVOICE_UPLOADED
        - PAID
        - PARTIALLY_PAID
        - UNPAID
        - CANCELLED
        - WRITTEN_OFF
      title: InvoiceRequestStatus
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````