---
title: "Ask for a fee: an invoice with a pay page, sent on WhatsApp when asked"
method: POST
path: "/v1/customers/{id}/invoices"
---

# Ask for a fee: an invoice with a pay page, sent on WhatsApp when asked

`POST /v1/customers/{id}/invoices`

## Request

- Base URL: `https://api.octapi.app`
- URL: `https://api.octapi.app/v1/customers/{id}/invoices`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `amount` number, required
  - `description` string, required
  - `due` union
    - string, nullable
    - ''
  - `send` boolean

## Response `200`

Default Response

- object
  - `id` string, required
  - `token` string, required
  - `pay_url` string, required
  - `sent` boolean, required

---

[API](https://skmtc.dev/octapi/apis/octapi-api.md) · [All operations](https://skmtc.dev/octapi/apis/octapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octapi/apis/octapi-api/revisions/580afda787d2?raw)
