# Delete Invoice Collection

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/invoice/delete:
    post:
      summary: Delete Invoice Collection
      deprecated: false
      description: ''
      operationId: deleteInvoiceUsingPOST
      tags:
        - >-
          Account Receivable/APIs - Account Receivable /Invoice
          Management/invoice-controller
        - invoice-controller
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteInvoiceRequest'
            example: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApplicationResponse%C2%ABDeleteInvoiceResponse%C2%BB
          headers: {}
          x-apidog-name: OK
        '400':
          description: ''
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/ApplicationResponse'
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Forbidden
        '404':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Not Found
        '422':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Unprocessable Request
        '500':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Server Error
      security: []
      x-apidog-folder: >-
        Account Receivable/APIs - Account Receivable /Invoice
        Management/invoice-controller
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-18880679-run
components:
  schemas:
    DeleteInvoiceRequest:
      type: object
      properties:
        invoiceIds:
          type: array
          items:
            type: string
          description: List of invoice IDs to be deleted
      title: DeleteInvoiceRequest
      x-apidog-orders:
        - invoiceIds
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ApplicationResponse«DeleteInvoiceResponse»:
      type: object
      properties:
        errorResponse: &ref_2
          $ref: '#/components/schemas/ErrorResponse'
        payload:
          $ref: '#/components/schemas/DeleteInvoiceResponse'
        response_code:
          type: integer
          format: int32
        response_message:
          type: string
      title: ApplicationResponse«DeleteInvoiceResponse»
      x-apidog-orders:
        - errorResponse
        - payload
        - response_code
        - response_message
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DeleteInvoiceResponse:
      type: object
      properties:
        failureInvoices:
          type: array
          items: &ref_1
            $ref: '#/components/schemas/DeleteInvoice'
        successInvoices:
          type: array
          items: *ref_1
      title: DeleteInvoiceResponse
      x-apidog-orders:
        - failureInvoices
        - successInvoices
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    DeleteInvoice:
      type: object
      properties:
        invoiceId:
          type: string
        message:
          type: string
      title: DeleteInvoice
      x-apidog-orders:
        - invoiceId
        - message
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ErrorResponse:
      type: object
      properties:
        apiSubErrors:
          type: array
          items:
            $ref: '#/components/schemas/ApiSubError'
        errorMessage:
          type: string
        errorType:
          type: string
          enum:
            - CLIENT_REQUEST_ABORT
            - CLIENT_REQUEST_ERROR
            - INVALID_ACCESS
            - RECORD_NOT_FOUND
            - SYSTEM_ERROR
            - UNAUTHORIZED
            - UNKNOWN_ERROR
            - UNPROCESSABLE_REQUEST
            - VALIDATION_ERROR
        requestId:
          type: string
        timestamp:
          type: string
          examples:
            - yyyy-MM-dd HH:mm:ss
      title: ErrorResponse
      x-apidog-orders:
        - apiSubErrors
        - errorMessage
        - errorType
        - requestId
        - timestamp
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ApiSubError:
      type: object
      title: ApiSubError
      x-apidog-orders: []
      properties: {}
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ApplicationResponse:
      type: object
      properties:
        errorResponse: *ref_2
        payload:
          type: object
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
        response_code:
          type: integer
          format: int32
        response_message:
          type: string
      title: ApplicationResponse
      x-apidog-orders:
        - errorResponse
        - payload
        - response_code
        - response_message
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
