> For the complete documentation index, see [llms.txt](https://sapphiredao.gitbook.io/sapphire/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sapphiredao.gitbook.io/sapphire/overview/how-it-works.md).

# How it works

### Step 1: Create an Invoice

* The **Creator** generates an invoice.
* A **URL or QR code** is created for the invoice.
* The **Creator** shares the URL or QR code with the **Payer**.

### Step 2: Payment

* The **Payer** scans the QR code or opens the URL.
* The **Payer** makes the payment.

### Step 3: Payment Approval

* The **Creator** decides whether to **accept** or **reject** the payment.

### Step 4: Release Period

* If accepted, a **default release period** is applied.
* The **Admin** can change the release period before funds are released.

### Step 5: Payment Release

* After the release period ends, the payment is sent to the **Creator,** and invoice state is set to **RELEASED**.

### Important Notes

* The **Admin** can modify the release period at any time before the release.
* Payments are only released after the set period ends.
