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

# Send invoice

> Requires `write:billing`. **This emails the customer.** A draft is sent the way staff send it from the invoice page: the customer gets an email and picks how to pay from `allowedPaymentMethods`. An open invoice is emailed again (or, when it's waiting for the customer to choose a payment method, that reminder). It never charges the customer.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/billing/invoices/{id}/send
openapi: 3.0.0
info:
  title: Car Storage Software API
  version: 1.2.0
  description: >-
    Team-scoped REST API for Car Storage Software. Authenticate with a team API
    key (`Authorization: Bearer <key>` or `x-api-key: <key>`) created under
    Settings → Integrations → API. Keys carry granular `read:*` / `write:*`
    scopes; read never implies write.
servers:
  - url: https://www.carstoragesoftware.com
security: []
paths:
  /api/v1/billing/invoices/{id}/send:
    post:
      tags:
        - Billing
      summary: Send invoice
      description: >-
        Requires `write:billing`. **This emails the customer.** A draft is sent
        the way staff send it from the invoice page: the customer gets an email
        and picks how to pay from `allowedPaymentMethods`. An open invoice is
        emailed again (or, when it's waiting for the customer to choose a
        payment method, that reminder). It never charges the customer.
      parameters:
        - schema:
            type: string
            description: Stripe invoice id (`in_…`).
          required: true
          description: Stripe invoice id (`in_…`).
          name: id
          in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                allowedPaymentMethods:
                  type: array
                  items:
                    type: string
                    enum:
                      - card
                      - bank
                      - cash_check
                      - bank_transfer
                  minItems: 1
                  description: >-
                    Drafts only: how the customer may pay. Defaults to the
                    invoice's or facility's usual methods.
                notifyCustomer:
                  type: boolean
                  description: 'Drafts only: email the customer (default true).'
      responses:
        '200':
          description: Email sent (or skipped when nothing is due).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1BillingActionResult'
        '401':
          description: Missing, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: API key missing required scope, or API disabled for team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: >-
            Payments aren't set up for this facility (no connected Stripe
            account).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1BillingActionResult:
      type: object
      properties:
        data:
          type: object
          properties:
            success:
              type: boolean
            message:
              type: string
          required:
            - success
          additionalProperties:
            nullable: true
      required:
        - data
    ApiError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          nullable: true
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Team API key from Settings → Integrations. Use `Authorization: Bearer
        <key>` or `x-api-key`.

````

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