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

# Send an invoice

> Email a generated invoice to the client's recipients and mark it as sent. Without `recipient_ids`, every current recipient of the client receives it.

> [!NOTE]
>
> Replace `{your-subdomain}` with your workspace's subdomain. \
> Learn how to find your subdomain in [Workspace subdomain](/api/workspace-subdomain.md).


## OpenAPI

````yaml bundled/invoices.yaml POST /clients/{client_id}/invoices/{invoice_id}/send
openapi: 3.0.3
info:
  title: NeetoInvoice APIs
  version: 2.0.0
servers:
  - description: NeetoInvoice APIs
    url: https://{your-subdomain}.neetoinvoice.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/api/workspace-subdomain).
security: []
paths:
  /clients/{client_id}/invoices/{invoice_id}/send:
    post:
      tags:
        - Invoices
      summary: Send an invoice
      description: >-
        Email a generated invoice to the client's recipients and mark it as
        sent. Without `recipient_ids`, every current recipient of the client
        receives it.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/client_id_param'
        - in: path
          name: invoice_id
          description: >-
            The invoice's number as printed on the document, its identifier, or
            its ID.
          required: true
          schema:
            type: string
          example: INV-2026-042
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoice_send_request'
      responses:
        '200':
          description: OK - Invoice emailed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice_send_response'
        '404':
          description: Not Found - The client or invoice does not exist
        '422':
          description: >-
            Unprocessable Entity - The client has no current recipients, a
            recipient ID is unknown, or the invoice cannot be saved as sent
            (`invoice "<number>" could not be emailed: <reason>`)
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/api/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key
    client_id_param:
      in: path
      name: client_id
      description: >-
        Unique ID of the client for which you want to retrieve or update
        details. Refer to [Getting the Client ID](/api/getting-client-id)
        section for detailed instructions.
      required: true
      schema:
        type: string
      example: a8b90a464cad12b48e45
  schemas:
    invoice_send_request:
      type: object
      properties:
        recipient_ids:
          type: array
          description: >-
            IDs of the client's recipients to email. Defaults to every current
            recipient of the client. Refer to [Getting the Recipient
            ID](/api/getting-recipient-id) section for detailed instructions.
          items:
            type: string
            format: uuid
          example:
            - 128c1dfc-b29f-4fda-9a05-8a90e197b81b
        subject:
          type: string
          description: Email subject. Defaults to the organization's standard subject.
          example: Invoice INV-2026-042 from Your Company
        message:
          type: string
          description: >-
            Email body. Defaults to the organization's standard message, which
            includes the total with its currency.
          example: Please find attached your invoice for the services rendered.
        attach_pdf_invoice:
          type: boolean
          description: Whether to attach the invoice PDF.
          default: false
          example: true
        send_me_a_copy:
          type: boolean
          description: Whether to also send a copy to the acting user.
          default: false
          example: false
        email:
          type: string
          format: email
          description: >-
            Email of the acting user. Required when you authenticate with an API
            key.
          example: oliver@example.com
    invoice_send_response:
      type: object
      properties:
        message:
          type: string
          example: >-
            Invoice 'INV-2026-042' emailed to billing@acme.example.com and
            ap@acme.example.com.
        id:
          type: string
          format: uuid
        number:
          type: string
          example: INV-2026-042
        sent_date:
          type: string
          format: date
          example: '2026-10-15'
        recipient_emails:
          type: array
          items:
            type: string
            format: email
          example:
            - billing@acme.example.com
            - ap@acme.example.com

````

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