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

# Invoices

> Bill your customers and get paid into your Slash account.

Send a customer an invoice and Slash emails it with a PDF and a payment page,
reminds them as the due date approaches, and records the money against the
invoice when it arrives.

<CardGroup cols={3}>
  <Card title="Create and send" icon="file-invoice-dollar" href="/docs/v2/invoices/creating-and-sending">
    Issue, schedule and edit invoices.
  </Card>

  <Card title="Collect payment" icon="money-bill-transfer" href="/docs/v2/invoices/collecting-payment">
    Match deposits and record payments.
  </Card>

  <Card title="Recurring invoices" icon="repeat" href="/docs/v2/invoices/recurring-invoices">
    Bill a customer on a schedule.
  </Card>
</CardGroup>

Invoicing has to be turned on for your business; customers work either way.

## Customers

Every invoice is billed to a customer: the business or person you invoice,
and the email address invoices and reminders go to.
[Create a customer](/api-reference/customers/create) once and reuse it on
every invoice and series.

An invoice keeps the billing details it was issued with. After you
[update a customer](/api-reference/customers/update), existing invoices pick
up the change only when you edit them.
[Archive](/api-reference/customers/archive) customers you no longer bill;
their invoices are left as they are.

## Invoice lifecycle

You never set an invoice's `status`. Creating, sending and voiding move it,
and once it's sent Slash recomputes it from its payments whenever one is
recorded, removed or returned.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/slash-9da6c7e7/qM8oQYdlXzblh7FI/images/charts/invoice-lifecycle.light.svg?fit=max&auto=format&n=qM8oQYdlXzblh7FI&q=85&s=d21aa260ce5d3085b3cc8e5775daa782" alt="Invoice lifecycle" width="1105" height="918" data-path="images/charts/invoice-lifecycle.light.svg" />

  <img className="hidden dark:block" src="https://mintcdn.com/slash-9da6c7e7/qM8oQYdlXzblh7FI/images/charts/invoice-lifecycle.dark.svg?fit=max&auto=format&n=qM8oQYdlXzblh7FI&q=85&s=2eb436377d077fe58c935243442f9f54" alt="Invoice lifecycle" width="1105" height="918" data-path="images/charts/invoice-lifecycle.dark.svg" />
</Frame>

* An invoice can be edited while it's `scheduled` or `unpaid`. Once it has a
  payment, void it and issue a new one instead.
* An invoice past its due date with money still owed is flagged `overdue`;
  its `status` doesn't change.
* `void` is final. A voided invoice can't be paid, edited or reminded.

Each invoice's PDF is a [document](/api-reference/documents/retrieve):
`documentId` points to the current version, and every edit renders a new one.


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