> For the complete documentation index, see [llms.txt](https://docs.copperx.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.copperx.io/integrate-payments/create-invoices.md).

# Create Invoices

**How it Works:**

1. Create an invoice with itemized details and due date.
2. Share the invoice URL with the customer.
3. Monitor invoice status (`paid`, `open`, `draft`, `void`, `uncollectable`).
4. Use webhooks for payment updates.

**Example API Call:**

```bash
curl --request POST \
  --url https://api.copperx.dev/api/v1/invoices \
  --header 'Authorization: Bearer {API_KEY}' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "dueDate": "2025-06-01",
    "currency": "usdc",
    "lineItems": {
      "data": [
        {
          "priceData": {
            "currency": "usdc",
            "unitAmount": "50000000",
            "productData": {
              "name": "Consulting Service"
            }
          }
        }
      ]
    }
  }'
```
