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

# Delete a specific invoice record

> Deletes an invoice record by its unique identifier.



## OpenAPI

````yaml /openapi.json delete /api/v1/invoices/{id}
openapi: 3.0.3
info:
  title: Manglai Public API
  description: Manglai API for Carbon Footprint Management
  contact:
    email: admin@manglai.io
    name: Manglai Support
    url: https://manglai.io
  termsOfService: https://manglai.io/privacy
  version: '1.0'
servers:
  - url: https://www.manglai.io
    description: Production
security:
  - apiTokenAuth: []
tags: []
paths:
  /api/v1/invoices/{id}:
    delete:
      tags:
        - invoices
      summary: Delete a specific invoice record
      description: Deletes an invoice record by its unique identifier.
      parameters:
        - name: id
          in: path
          description: The unique identifier of the invoice to be deleted.
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: string
        description: The ID of the company requesting the deletion.
      responses:
        '200':
          description: Successfully deleted the invoice record.
        '400':
          description: Bad request, missing required parameters.
        '404':
          description: Invoice not found.
        '500':
          description: Internal server error during deletion.
components:
  securitySchemes:
    apiTokenAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````