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

# List invoice series

> List all invoice series (recurring invoice configurations) for your legal entity. Supports pagination and filtering by status, customer, and account.



## OpenAPI

````yaml get /invoice/series
openapi: 3.1.0
info:
  title: Slash Public API
  description: API description
  version: 0.0.1
  contact: {}
servers:
  - url: https://api.slash.com
    description: production
security:
  - api_key: []
  - partner_api_key: []
  - bearer: []
  - developer_application: []
paths:
  /invoice/series:
    get:
      description: >-
        List all invoice series (recurring invoice configurations) for your
        legal entity. Supports pagination and filtering by status, customer, and
        account.
      parameters:
        - name: cursor
          required: false
          in: query
          schema:
            type: string
          description: A cursor string to fetch the next page of results
          x-reference-path: schemas/Pagination/CursorParameter.yaml
        - name: filter:legalEntityId
          description: >-
            Filter invoice series by legal entity ID. Required if authenticating
            via bearer token with access to multiple legal entities.
          in: query
          required: false
          schema:
            type: string
        - name: filter:status
          description: Filter invoice series by status.
          in: query
          required: false
          schema:
            type: string
            enum:
              - active
              - ended
              - cancelled
        - name: filter:legalEntityContactId
          description: Filter invoice series by contact ID.
          in: query
          required: false
          schema:
            type: string
        - name: filter:legalEntityCustomerId
          description: Filter invoice series by customer ID.
          in: query
          required: false
          schema:
            type: string
        - name: filter:accountId
          description: Filter invoice series by receiving account ID.
          in: query
          required: false
          schema:
            type: string
        - name: sort
          description: >-
            Sort invoice series by a field. Default is by status then start
            date.
          in: query
          required: false
          schema:
            type: string
            enum:
              - startDate
              - nextScheduledDate
        - name: sortDirection
          description: >-
            The direction to sort by. Defaults to DESC when sorting by startDate
            or nextScheduledDate, ASC otherwise.
          in: query
          required: false
          schema:
            type: string
            enum:
              - ASC
              - DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: >-
                        #/components/schemas/slashfi.models.entity.Invoice.InvoiceSeries.yaml
                      x-entrypoint:
                        virtualPath: entity/Invoice/InvoiceSeries
                        sourcePath: entity/Invoice/InvoiceSeries.yaml
                        title: InvoiceSeries
                        origin: >-
                          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
                        globalImport: true
                        typescript:
                          importPath: import  * as models from '@slashfi/models';
                          symbolValue: models.entity.Invoice.InvoiceSeries
                          typeValue: models.entity.Invoice.InvoiceSeries
                  metadata:
                    $ref: '#/components/schemas/Pagination.PaginationResponse'
                    x-entrypoint:
                      virtualPath: schemas/Pagination/PaginationResponse
                      sourcePath: schemas/Pagination/PaginationResponse.yaml
                      title: PaginationResponse
                      origin: ./src/publicApi
                required:
                  - items
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: TooManyRequests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - api_key: []
        - bearer: []
components:
  schemas:
    slashfi.models.entity.Invoice.InvoiceSeries.yaml:
      description: Invoice series model for API responses
      type: object
      properties:
        $entity:
          type: string
          enum:
            - invoice_series
        id:
          type: string
        status:
          $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.InvoiceSeriesStatus.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/InvoiceSeriesStatus
            sourcePath: entity/Invoice/InvoiceSeriesStatus.yaml
            title: InvoiceSeriesStatus
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        recurrenceRule:
          $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.InvoiceSeriesRecurrenceRule.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/InvoiceSeriesRecurrenceRule
            sourcePath: entity/Invoice/InvoiceSeriesRecurrenceRule.yaml
            title: InvoiceSeriesRecurrenceRule
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        paymentTermsDays:
          type: integer
        invoiceTz:
          type: string
        startDate:
          type: string
          format: date-time
        endCondition:
          $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.InvoiceSeriesEndCondition.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/InvoiceSeriesEndCondition
            sourcePath: entity/Invoice/InvoiceSeriesEndCondition.yaml
            title: InvoiceSeriesEndCondition
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        nextScheduledDate:
          type: string
          format: date-time
          nullable: true
        template:
          $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.InvoiceSeriesTemplate.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/InvoiceSeriesTemplate
            sourcePath: entity/Invoice/InvoiceSeriesTemplate.yaml
            title: InvoiceSeriesTemplate
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        paymentMethods:
          type: array
          items:
            $ref: >-
              #/components/schemas/slashfi.models.entity.Invoice.InvoiceSlashPaymentMethodConfig.yaml
            x-entrypoint:
              virtualPath: entity/Invoice/InvoiceSlashPaymentMethodConfig
              sourcePath: entity/Invoice/InvoiceSlashPaymentMethodConfig.yaml
              title: InvoiceSlashPaymentMethodConfig
              origin: >-
                /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
              globalImport: true
        accountId:
          type: string
        legalEntityContactId:
          type: string
        legalEntityCustomerId:
          type: string
      required:
        - $entity
        - id
        - status
        - recurrenceRule
        - paymentTermsDays
        - invoiceTz
        - startDate
        - endCondition
        - template
        - paymentMethods
        - accountId
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceSeries
        sourcePath: entity/Invoice/InvoiceSeries.yaml
        title: InvoiceSeries
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceSeries
    Pagination.PaginationResponse:
      type: object
      description: Response sent when requesting a list of data
      properties:
        nextCursor:
          type: string
          description: >-
            The cursor to use to retrieve the next page of data. If this is not
            sent, there is no more data to retrieve.
        count:
          type: number
          description: The number of items in the current page of data.
      x-entrypoint:
        virtualPath: schemas/Pagination/PaginationResponse
        sourcePath: schemas/Pagination/PaginationResponse.yaml
        title: PaginationResponse
        origin: ./src/publicApi
      title: PaginationResponse
    Error:
      type: object
      properties:
        message:
          type: string
        name:
          type: string
        identifier:
          type: string
        rawStatus:
          type: number
        meta:
          type: object
          additionalProperties: true
      required:
        - message
        - name
        - identifier
        - rawStatus
      x-entrypoint:
        origin: ./src/publicApi
        sourcePath: ./src/publicApi/main.yaml
        title: Error
        virtualPath: components/Error
      title: Error
    slashfi.models.entity.Invoice.InvoiceSeriesStatus.yaml:
      type: string
      enum:
        - active
        - ended
        - cancelled
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceSeriesStatus
        sourcePath: entity/Invoice/InvoiceSeriesStatus.yaml
        title: InvoiceSeriesStatus
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceSeriesStatus
    slashfi.models.entity.Invoice.InvoiceSeriesRecurrenceRule.yaml:
      description: >-
        Discriminated union defining when a recurring invoice series issues
        invoices
      oneOf:
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - weekly
            dayOfWeek:
              type: integer
              minimum: 0
              maximum: 6
              description: Day of week (0 = Sunday, 6 = Saturday)
          required:
            - type
            - dayOfWeek
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - monthly_day_of_month
            dayOfMonth:
              type: integer
              minimum: 1
              maximum: 31
              description: >-
                Day of month. Clamped to last day of month at generation time
                (e.g. 31 becomes 28 in February).
          required:
            - type
            - dayOfMonth
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - monthly_nth_weekday
            nth:
              oneOf:
                - type: integer
                  minimum: 1
                  maximum: 4
                - type: string
                  enum:
                    - last
              description: Which occurrence of the weekday in the month (1-4, or "last")
            dayOfWeek:
              type: integer
              minimum: 0
              maximum: 6
              description: Day of week (0 = Sunday, 6 = Saturday)
          required:
            - type
            - nth
            - dayOfWeek
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceSeriesRecurrenceRule
        sourcePath: entity/Invoice/InvoiceSeriesRecurrenceRule.yaml
        title: InvoiceSeriesRecurrenceRule
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceSeriesRecurrenceRule
    slashfi.models.entity.Invoice.InvoiceSeriesEndCondition.yaml:
      description: >-
        Discriminated union defining when a recurring invoice series stops
        generating invoices
      oneOf:
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - never
          required:
            - type
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - after_count
            count:
              type: integer
              minimum: 1
              description: Number of invoices to generate before ending the series
          required:
            - type
            - count
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - on_date
            date:
              type: string
              format: date
              description: >-
                ISO date string in the series timezone after which no more
                invoices are generated
          required:
            - type
            - date
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceSeriesEndCondition
        sourcePath: entity/Invoice/InvoiceSeriesEndCondition.yaml
        title: InvoiceSeriesEndCondition
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceSeriesEndCondition
    slashfi.models.entity.Invoice.InvoiceSeriesTemplate.yaml:
      description: Template data used to generate each invoice in a recurring series
      type: object
      additionalProperties: false
      properties:
        lineItemsAndTotals:
          $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.LineItemsAndTotalsInput.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/LineItemsAndTotalsInput
            sourcePath: entity/Invoice/LineItemsAndTotalsInput.yaml
            title: LineItemsAndTotalsInput
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        memo:
          type: string
          maxLength: 500
        ccEmails:
          type: array
          items:
            type: string
          maxItems: 10
      required:
        - lineItemsAndTotals
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceSeriesTemplate
        sourcePath: entity/Invoice/InvoiceSeriesTemplate.yaml
        title: InvoiceSeriesTemplate
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceSeriesTemplate
    slashfi.models.entity.Invoice.InvoiceSlashPaymentMethodConfig.yaml:
      oneOf:
        - $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodAchDebit.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/PaymentMethod/PaymentMethodAchDebit
            sourcePath: entity/Invoice/PaymentMethod/PaymentMethodAchDebit.yaml
            title: PaymentMethodAchDebit
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        - $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodCardPayment.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/PaymentMethod/PaymentMethodCardPayment
            sourcePath: entity/Invoice/PaymentMethod/PaymentMethodCardPayment.yaml
            title: PaymentMethodCardPayment
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        - $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodCryptoDeposit.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/PaymentMethod/PaymentMethodCryptoDeposit
            sourcePath: entity/Invoice/PaymentMethod/PaymentMethodCryptoDeposit.yaml
            title: PaymentMethodCryptoDeposit
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        - $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundAchTransfer.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundAchTransfer
            sourcePath: entity/Invoice/PaymentMethod/PaymentMethodInboundAchTransfer.yaml
            title: PaymentMethodInboundAchTransfer
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        - $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundInternationalWire.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundInternationalWire
            sourcePath: >-
              entity/Invoice/PaymentMethod/PaymentMethodInboundInternationalWire.yaml
            title: PaymentMethodInboundInternationalWire
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        - $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundRtp.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundRtp
            sourcePath: entity/Invoice/PaymentMethod/PaymentMethodInboundRtp.yaml
            title: PaymentMethodInboundRtp
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        - $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundWireTransfer.yaml
          x-entrypoint:
            virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundWireTransfer
            sourcePath: entity/Invoice/PaymentMethod/PaymentMethodInboundWireTransfer.yaml
            title: PaymentMethodInboundWireTransfer
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceSlashPaymentMethodConfig
        sourcePath: entity/Invoice/InvoiceSlashPaymentMethodConfig.yaml
        title: InvoiceSlashPaymentMethodConfig
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceSlashPaymentMethodConfig
    slashfi.models.entity.Invoice.LineItemsAndTotalsInput.yaml:
      type: object
      additionalProperties: false
      properties:
        lineItems:
          type: array
          items:
            $ref: >-
              #/components/schemas/slashfi.models.entity.Invoice.InvoiceLineItem.yaml
            x-entrypoint:
              virtualPath: entity/Invoice/InvoiceLineItem
              sourcePath: entity/Invoice/InvoiceLineItem.yaml
              title: InvoiceLineItem
              origin: >-
                /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
              globalImport: true
          minItems: 1
        discount:
          $ref: >-
            #/components/schemas/slashfi.models.entity.Invoice.InvoiceDiscount.yaml
          nullable: true
          x-entrypoint:
            virtualPath: entity/Invoice/InvoiceDiscount
            sourcePath: entity/Invoice/InvoiceDiscount.yaml
            title: InvoiceDiscount
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
        tax:
          $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceTax.yaml'
          nullable: true
          x-entrypoint:
            virtualPath: entity/Invoice/InvoiceTax
            sourcePath: entity/Invoice/InvoiceTax.yaml
            title: InvoiceTax
            origin: >-
              /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
            globalImport: true
      required:
        - lineItems
      x-entrypoint:
        virtualPath: entity/Invoice/LineItemsAndTotalsInput
        sourcePath: entity/Invoice/LineItemsAndTotalsInput.yaml
        title: LineItemsAndTotalsInput
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: LineItemsAndTotalsInput
    slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodAchDebit.yaml:
      type: object
      properties:
        method:
          type: string
          enum:
            - ach_debit
        config:
          type: object
          properties:
            passFeeToPayer:
              type: boolean
          required:
            - passFeeToPayer
          additionalProperties: false
      required:
        - method
        - config
      x-entrypoint:
        virtualPath: entity/Invoice/PaymentMethod/PaymentMethodAchDebit
        sourcePath: entity/Invoice/PaymentMethod/PaymentMethodAchDebit.yaml
        title: PaymentMethodAchDebit
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: PaymentMethodAchDebit
    slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodCardPayment.yaml:
      type: object
      properties:
        method:
          type: string
          enum:
            - acquiring_payment
        config:
          type: object
          properties:
            passFeeToPayer:
              type: boolean
          required:
            - passFeeToPayer
          additionalProperties: false
      required:
        - method
        - config
      x-entrypoint:
        virtualPath: entity/Invoice/PaymentMethod/PaymentMethodCardPayment
        sourcePath: entity/Invoice/PaymentMethod/PaymentMethodCardPayment.yaml
        title: PaymentMethodCardPayment
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: PaymentMethodCardPayment
    slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodCryptoDeposit.yaml:
      type: object
      properties:
        method:
          type: string
          enum:
            - crypto_deposit
        config:
          type: object
          properties:
            passFeeToPayer:
              type: boolean
            fiatRail:
              $ref: '#/components/schemas/slashfi.models.enums.OffRamp.Method.yaml'
              x-entrypoint:
                virtualPath: enums/OffRamp/Method
                sourcePath: enums/OffRamp/Method.yaml
                title: Method
                origin: >-
                  /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
                globalImport: true
          required:
            - passFeeToPayer
          additionalProperties: false
      required:
        - method
        - config
      x-entrypoint:
        virtualPath: entity/Invoice/PaymentMethod/PaymentMethodCryptoDeposit
        sourcePath: entity/Invoice/PaymentMethod/PaymentMethodCryptoDeposit.yaml
        title: PaymentMethodCryptoDeposit
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: PaymentMethodCryptoDeposit
    slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundAchTransfer.yaml:
      type: object
      properties:
        method:
          type: string
          enum:
            - inbound_ach_transfer
        config:
          type: object
          additionalProperties: false
      required:
        - method
        - config
      x-entrypoint:
        virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundAchTransfer
        sourcePath: entity/Invoice/PaymentMethod/PaymentMethodInboundAchTransfer.yaml
        title: PaymentMethodInboundAchTransfer
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: PaymentMethodInboundAchTransfer
    slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundInternationalWire.yaml:
      type: object
      properties:
        method:
          type: string
          enum:
            - inbound_international_wire
        config:
          type: object
          additionalProperties: false
      required:
        - method
        - config
      x-entrypoint:
        virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundInternationalWire
        sourcePath: >-
          entity/Invoice/PaymentMethod/PaymentMethodInboundInternationalWire.yaml
        title: PaymentMethodInboundInternationalWire
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: PaymentMethodInboundInternationalWire
    slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundRtp.yaml:
      type: object
      properties:
        method:
          type: string
          enum:
            - inbound_rtp
        config:
          type: object
          additionalProperties: false
      required:
        - method
        - config
      x-entrypoint:
        virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundRtp
        sourcePath: entity/Invoice/PaymentMethod/PaymentMethodInboundRtp.yaml
        title: PaymentMethodInboundRtp
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: PaymentMethodInboundRtp
    slashfi.models.entity.Invoice.PaymentMethod.PaymentMethodInboundWireTransfer.yaml:
      type: object
      properties:
        method:
          type: string
          enum:
            - inbound_wire_transfer
        config:
          type: object
          additionalProperties: false
      required:
        - method
        - config
      x-entrypoint:
        virtualPath: entity/Invoice/PaymentMethod/PaymentMethodInboundWireTransfer
        sourcePath: entity/Invoice/PaymentMethod/PaymentMethodInboundWireTransfer.yaml
        title: PaymentMethodInboundWireTransfer
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: PaymentMethodInboundWireTransfer
    slashfi.models.entity.Invoice.InvoiceLineItem.yaml:
      type: object
      additionalProperties: false
      properties:
        name:
          type: string
        quantity:
          type: number
        priceCents:
          type: number
        catalogItemId:
          type: string
          description: >-
            Optional provenance stamp indicating this line item was populated
            from a catalog item. Cleared if the user manually edits the name or
            price after selection.
      required:
        - name
        - quantity
        - priceCents
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceLineItem
        sourcePath: entity/Invoice/InvoiceLineItem.yaml
        title: InvoiceLineItem
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceLineItem
    slashfi.models.entity.Invoice.InvoiceDiscount.yaml:
      discriminator:
        propertyName: type
      oneOf:
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - percentage
            percent:
              type: number
          required:
            - type
            - percent
        - type: object
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - fixed
            amountCents:
              type: number
          required:
            - type
            - amountCents
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceDiscount
        sourcePath: entity/Invoice/InvoiceDiscount.yaml
        title: InvoiceDiscount
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceDiscount
    slashfi.models.entity.Invoice.InvoiceTax.yaml:
      type: object
      additionalProperties: false
      properties:
        type:
          type: string
          enum:
            - percentage
        percent:
          type: number
      required:
        - type
        - percent
      x-entrypoint:
        virtualPath: entity/Invoice/InvoiceTax
        sourcePath: entity/Invoice/InvoiceTax.yaml
        title: InvoiceTax
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: InvoiceTax
    slashfi.models.enums.OffRamp.Method.yaml:
      type: string
      enum:
        - wire
        - ach
        - instant
      x-entrypoint:
        virtualPath: enums/OffRamp/Method
        sourcePath: enums/OffRamp/Method.yaml
        title: Method
        origin: >-
          /home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas
        globalImport: true
      title: Method
  securitySchemes:
    api_key:
      type: apiKey
      description: |
        API key authentication for public API requests.

        Keys come in two flavors:

        - *Legal-entity-scoped keys* are pinned to a single legal entity.
          Minted via the dashboard under a specific entity; every request
          acts on that entity.
        - *User-scoped keys* are pinned to a user and span every legal
          entity that user has access to. Every request made with a
          user-scoped key (except `GET /legal-entity`, which lists the
          legal entities the user can access) must include an
          `x-legal-entity` header naming the legal entity the request is
          operating on. Requests without the header are rejected with
          `400`. The authenticated user must have an active permission
          role on the supplied legal entity, otherwise the request is
          rejected with `403`.
      name: X-API-Key
      in: header
    partner_api_key:
      type: apiKey
      description: |
        Partner-program API key authentication.

        Keys are minted in the partner dashboard (Developers → API Keys),
        are scoped to a single partner program, and are prefixed with
        `sk_partner_`. Partner keys are only accepted by routes that
        declare this scheme; they are rejected by `api_key` routes and
        vice versa.
      name: X-API-Key
      in: header
    bearer:
      type: http
      scheme: bearer
    developer_application:
      type: http
      scheme: basic

````