Slash Invoice API

The Invoice API from Slash — 13 operation(s) for invoice.

OpenAPI Specification

slash-invoice-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Slash Public Account Invoice 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: []
tags:
- name: Invoice
paths:
  /invoice:
    x-reference-path: paths/invoice/route.yaml
    get:
      description: List all invoices 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 invoices 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 invoices by status.
        in: query
        required: false
        schema:
          type: string
          enum:
          - unpaid
          - paid
          - paid_partially
          - overdue
          - void
      - name: filter:legalEntityContactId
        description: Filter invoices by contact ID.
        in: query
        required: false
        schema:
          type: string
      - name: filter:legalEntityCustomerId
        description: Filter invoices by customer ID.
        in: query
        required: false
        schema:
          type: string
      - name: filter:accountId
        description: Filter invoices by receiving account ID.
        in: query
        required: false
        schema:
          type: string
      - name: sort
        description: Sort invoices by a field. Default is by status then due date.
        in: query
        required: false
        schema:
          type: string
          enum:
          - issuedAt
          - dueAt
      - name: sortDirection
        description: The direction to sort by. Defaults to DESC when sorting by issuedAt or dueAt, 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.InvoiceAggregate.yaml'
                      x-entrypoint:
                        virtualPath: entity/Invoice/InvoiceAggregate
                        sourcePath: entity/Invoice/InvoiceAggregate.yaml
                        title: InvoiceAggregate
                        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.InvoiceAggregate
                          typeValue: models.entity.Invoice.InvoiceAggregate
                  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: []
      tags:
      - Invoice
    post:
      description: Create a new invoice.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accountId:
                  type: string
                  description: The ID of the account to receive payment. You can get this by calling `GET /account`.
                legalEntityContactId:
                  type: string
                  deprecated: true
                  description: DEPRECATED. No longer accepted as of the contact→customer migration. Pass `legalEntityCustomerId` instead.
                legalEntityCustomerId:
                  type: string
                  description: The ID of the customer to bill. Create a customer first via `POST /customer`.
                details:
                  $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceDetailsInput.yaml'
                  x-entrypoint:
                    virtualPath: entity/Invoice/InvoiceDetailsInput
                    sourcePath: entity/Invoice/InvoiceDetailsInput.yaml
                    title: InvoiceDetailsInput
                    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.InvoiceDetailsInput
                      typeValue: models.entity.Invoice.InvoiceDetailsInput
                paymentMethods:
                  type: array
                  description: Payment methods to enable on this invoice.
                  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
                      typescript:
                        importPath: import  * as models from '@slashfi/models';
                        symbolValue: models.entity.Invoice.InvoiceSlashPaymentMethodConfig
                        typeValue: models.entity.Invoice.InvoiceSlashPaymentMethodConfig
              required:
              - accountId
              - legalEntityCustomerId
              - details
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceAggregate.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceAggregate
                  sourcePath: entity/Invoice/InvoiceAggregate.yaml
                  title: InvoiceAggregate
                  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.InvoiceAggregate
                    typeValue: models.entity.Invoice.InvoiceAggregate
        '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: []
      tags:
      - Invoice
  /invoice/{invoiceId}:
    x-reference-path: paths/invoice/{invoiceId}/route.yaml
    get:
      description: Get a single invoice by ID.
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceAggregate.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceAggregate
                  sourcePath: entity/Invoice/InvoiceAggregate.yaml
                  title: InvoiceAggregate
                  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.InvoiceAggregate
                    typeValue: models.entity.Invoice.InvoiceAggregate
        '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: []
      tags:
      - Invoice
    patch:
      description: Update an existing invoice. You can update the account, details, payment methods, and auto-pull settings.
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accountId:
                  type: string
                  description: The ID of the account to receive payment.
                details:
                  $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceDetailsInput.yaml'
                  x-entrypoint:
                    virtualPath: entity/Invoice/InvoiceDetailsInput
                    sourcePath: entity/Invoice/InvoiceDetailsInput.yaml
                    title: InvoiceDetailsInput
                    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.InvoiceDetailsInput
                      typeValue: models.entity.Invoice.InvoiceDetailsInput
                paymentMethods:
                  type: array
                  description: Payment methods to enable on this invoice.
                  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
                      typescript:
                        importPath: import  * as models from '@slashfi/models';
                        symbolValue: models.entity.Invoice.InvoiceSlashPaymentMethodConfig
                        typeValue: models.entity.Invoice.InvoiceSlashPaymentMethodConfig
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceAggregate.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceAggregate
                  sourcePath: entity/Invoice/InvoiceAggregate.yaml
                  title: InvoiceAggregate
                  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.InvoiceAggregate
                    typeValue: models.entity.Invoice.InvoiceAggregate
        '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: []
      tags:
      - Invoice
  /invoice/{invoiceId}/void:
    x-reference-path: paths/invoice/{invoiceId}/void/route.yaml
    post:
      description: Void an invoice. A voided invoice can no longer be paid.
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceAggregate.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceAggregate
                  sourcePath: entity/Invoice/InvoiceAggregate.yaml
                  title: InvoiceAggregate
                  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.InvoiceAggregate
                    typeValue: models.entity.Invoice.InvoiceAggregate
        '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: []
      tags:
      - Invoice
  /invoice/{invoiceId}/reconcile:
    x-reference-path: paths/invoice/{invoiceId}/reconcile/route.yaml
    post:
      description: Manually reconcile (link) transactions to an invoice. This marks the invoice as having received payment for the linked transactions.
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              description: Array of transactions to link to the invoice.
              items:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceTransaction.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceTransaction
                  sourcePath: entity/Invoice/InvoiceTransaction.yaml
                  title: InvoiceTransaction
                  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.InvoiceTransaction
                    typeValue: models.entity.Invoice.InvoiceTransaction
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceAggregate.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceAggregate
                  sourcePath: entity/Invoice/InvoiceAggregate.yaml
                  title: InvoiceAggregate
                  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.InvoiceAggregate
                    typeValue: models.entity.Invoice.InvoiceAggregate
        '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: []
      tags:
      - Invoice
  /invoice/{invoiceId}/unreconcile:
    x-reference-path: paths/invoice/{invoiceId}/unreconcile/route.yaml
    post:
      description: Unreconcile (unlink) transactions from an invoice. This removes the payment association for the specified transactions.
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              description: Array of transactions to unlink from the invoice.
              items:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceTransaction.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceTransaction
                  sourcePath: entity/Invoice/InvoiceTransaction.yaml
                  title: InvoiceTransaction
                  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.InvoiceTransaction
                    typeValue: models.entity.Invoice.InvoiceTransaction
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceAggregate.yaml'
                x-entrypoint:
                  virtualPath: entity/Invoice/InvoiceAggregate
                  sourcePath: entity/Invoice/InvoiceAggregate.yaml
                  title: InvoiceAggregate
                  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.InvoiceAggregate
                    typeValue: models.entity.Invoice.InvoiceAggregate
        '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: []
      tags:
      - Invoice
  /invoice/{invoiceId}/send-reminder:
    x-reference-path: paths/invoice/{invoiceId}/send-reminder/route.yaml
    get:
      description: Get the next scheduled automatic reminder date for an invoice
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  nextAutoReminderAt:
                    type: string
                    format: date-time
                    description: The scheduled date of the next automatic reminder. Absent if no future reminders are scheduled.
        '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: []
      tags:
      - Invoice
    post:
      description: Manually send a reminder email for an invoice. Rate limited to one reminder per invoice per 24 hours.
      parameters:
      - name: invoiceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                properties:
                  success:
                    type: boolean
                  reason:
                    type: string
                    enum:
                    - rate_limited
                    description: Present when success is false. Indicates why the reminder was not sent.
        '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: []
      tags:
      - Invoice
  /invoice/settings:
    x-reference-path: paths/invoice/settings/route.yaml
    get:
      description: Get the current invoice display settings for your legal entity.
      parameters:
      - name: filter:legalEntityId
        description: The legal entity ID. Required if authenticating with access to multiple legal entities.
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  invoiceSettings:
                    $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceSettings.yaml'
                    x-entrypoint:
                      virtualPath: entity/Invoice/InvoiceSettings
                      sourcePath: entity/Invoice/InvoiceSettings.yaml
                      title: InvoiceSettings
                      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.InvoiceSettings
                        typeValue: models.entity.Invoice.InvoiceSettings
                required:
                - invoiceSettings
        '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: []
      tags:
      - Invoice
    put:
      description: Update invoice display settings for your legal entity. These settings control the branding and default values used when creating invoices.
      parameters:
      - name: filter:legalEntityId
        description: The legal entity ID. Required if authenticating with access to multiple legal entities.
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceSettingsData.yaml'
              x-entrypoint:
                virtualPath: entity/Invoice/InvoiceSettingsData
                sourcePath: entity/Invoice/InvoiceSettingsData.yaml
                title: InvoiceSettingsData
                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.InvoiceSettingsData
                  typeValue: models.entity.Invoice.InvoiceSettingsData
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  invoiceSettings:
                    $ref: '#/components/schemas/slashfi.models.entity.Invoice.InvoiceSettings.yaml'
                    x-entrypoint:
                      virtualPath: entity/Invoice/InvoiceSettings
                      sourcePath: entity/Invoice/InvoiceSettings.yaml
                      title: InvoiceSettings
                      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.InvoiceSettings
                        typeValue: models.entity.Invoice.InvoiceSettings
                required:
                - invoiceSettings
        '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: []
      tags:
      - Invoice
  /invoice/settings/logo:
    x-reference-path: paths/invoice/settings/logo/route.yaml
    post:
      description: Upload a logo image for invoice branding. Accepts PNG, JPEG, SVG, and WebP formats up to 2MB.
      parameters:
      - name: filter:legalEntityId
        description: The legal entity ID. Required if authenticating with access to multiple legal entities.
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: The logo image file to upload.
            encoding:
              file:
                contentType: image/svg+xml, image/png, image/jpeg, image/jpg, image/webp
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  documentId:
                    type: string
                    description: The document ID of the uploaded logo. Use this in `PUT /invoice/settings` to set the logo.
                  url:
                    type: string
                    description: The URL of the uploaded logo.
                required:
                - documentId
                - url
        '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: []
      tags:
      - Invoice
  /invoice/validate-number:
    x-reference-path: paths/

# --- truncated at 32 KB (118 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/slash/refs/heads/main/openapi/slash-invoice-api-openapi.yml