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

# Deletes a client invoice by ID



## OpenAPI

````yaml /swagger.yaml delete /client_invoices/{id}
openapi: 3.1.0
info:
  title: Fohlio REST API
  description: This is the documentation for the Fohlio REST API.
  version: 1.0.0
servers:
  - url: /openapi
  - url: https://app.fohlio.com/be/openapi
security: []
tags:
  - name: Webhooks
    description: Webhook event notifications
paths:
  /client_invoices/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
    delete:
      tags:
        - Client Invoice
      summary: Deletes a client invoice by ID
      operationId: client_invoices#delete
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/json:
              examples:
                unauthorized:
                  $ref: '#/components/examples/responseBodyErrorUnauthorized'
        '403':
          description: Forbidden
          content:
            application/json:
              examples:
                forbidden:
                  $ref: '#/components/examples/responseBodyErrorForbidden'
      security:
        - apiKey: []
components:
  examples:
    responseBodyErrorUnauthorized:
      value:
        error: Unauthorized
    responseBodyErrorForbidden:
      value:
        error: Forbidden
  securitySchemes:
    apiKey:
      type: apiKey
      name: authorization
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.