> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.lucanto.eu/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.lucanto.eu/_mcp/server.

# Send a payment reminder to the client

POST https://app.lucanto.eu/api/v1/workspaces/{workspace_id}/proformas/{id}/send_reminder

Claims one manual reminder for this proforma per UTC day on the workspace's
communication ledger, then dispatches it asynchronously (the proforma PDF +
PAY-by-square QR, with reminder copy) to the client. `reminder_count` and
`last_reminded_at` are stamped once the reminder is actually sent, not
synchronously with this response. Same auth and feature gates as `send`.
**Required scope: `manage:proformas`.**


Reference: https://docs.lucanto.eu/api-reference/api-reference/proformas/send-proforma-reminder

## Authentication

- `Authorization` header (bearer token, required) — JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.
- `Authorization` header (bearer token, required) — Lucanto API key. Two prefixes: * `lct_pat_<random><checksum>` — personal access token (owner: User) * `lct_live_<random><checksum>` — workspace token, live data Issue keys at `/settings/api_keys` (personal) or `/:workspace_id/settings/api_keys` (workspace). Plaintext token is shown once and never again.

## Request

### Path parameters

- `workspace_id` (long, required) — Workspace ID. The numeric ID shown in your URLs.
- `id` (ResourceId, required) — Proforma ID. Either the numeric `id` or the `public_id` (`doc_…`).

### Headers

- `Idempotency-Key` (string, optional) — Client-supplied unique key (recommended: UUID v4) for safe retries. Within 24 hours, repeating the same key with the same request (method, path, query, body) replays the original response instead of re-executing the action — once the action has run, a 5xx included; a request stopped before it ran is not stored. Reusing a key with a different request returns `422 idempotency_key_conflict` (IETF draft §2.7).

## Response

### 200

OK. The reminder was claimed and enqueued for delivery.

- `id` (long, required)
- `public_id` (string, required) — Stable public identifier of this record. Never changes once assigned. Its prefix names the entity: `doc_` document (invoice, proforma, credit note, quote, sales order), `exp_` expense, `cnt_` contact, `prj_` project, `ba_` bank account or cash register, `txn_` transaction, `lon_` loan, `bst_` bank statement. Accepted in place of the numeric `id` in this resource's path parameters and in request fields that reference it (`customer_id`, `bank_account_id`, …).
- `type` (enum, required)
  - Allowed values: `proforma`
- `status` (enum, required) — Proforma lifecycle state. Settlement degree is reported separately by `payment_status`; `settled` is the explicit lifecycle state after downstream settlement handling. `reopened` is where [`reopenProforma`](#operation/reopenProforma) lands a previously locked proforma; it is editable again and must be re-issued.
  - Allowed values: `draft`, `issued`, `sent`, `settled`, `expired`, `reopened`, `canceled`
- `currency` (string, required)
- `created_at` (datetime, required)
- `updated_at` (datetime, required)
- `payment_status` (enum, optional, nullable) — Derived settlement degree (money is the source of truth). Null for non-payable document types, drafts, canceled documents, and rows created before the payment_status backfill ran.
  - Allowed values: `unpaid`, `partially_paid`, `paid`, `overpaid`
- `overdue` (boolean, optional, nullable) — Whether a positive balance remains after the due date.
- `paid_late` (boolean, optional, nullable) — Whether full settlement landed after the due date.
- `status_transitions` (DocumentStatusTransitions, optional)
- `number` (string, optional, nullable)
- `issue_date` (date, optional, nullable)
- `delivery_date` (date, optional, nullable)
- `due_date` (date, optional, nullable)
- `due_days` (integer, optional, nullable)
- `exchange_rate` (string, optional, nullable)
- `order_number` (string, optional, nullable)
- `included_in_turnover` (boolean, optional, nullable)
- `reverse_charge` (boolean, optional, nullable)
- `reverse_charge_text` (string, optional, nullable)
- `tax_scheme` (string, optional) — Tax scheme (UNCL 5153), e.g. "VAT".
- `discount_description` (string, optional, nullable)
- `discount_percentage` (string, optional, nullable)
- `discount_amount` (string, optional, nullable)
- `opening_text` (string, optional, nullable)
- `closing_text` (string, optional, nullable)
- `footer_note` (string, optional, nullable)
- `internal_note` (string, optional, nullable)
- `pdf_language` (string, optional, nullable)
- `pdf_locale` (string, optional, nullable)
- `delivery_method` (string, optional, nullable) — Delivery/carrier mode
- `email_sent_at` (datetime, optional, nullable)
- `auto_on_payment` (string, optional, nullable) — What happens when a payment lands on this proforma: `regular_invoice_paid` (delivered at payment: one paid invoice for a payment that covers it, a tax document for a part-payment), `tax_document` (a tax document for every payment), `nothing`, or the legacy `regular_invoice`. NULL on older proformas, read as `nothing`. When converting via `/convert_to_invoice`, this value is overridden to `regular_invoice` regardless of the stored setting.
- `amount_paid` (string, optional, nullable) — Amount settled so far (payments + advance deductions).
- `amount_due` (string, optional, nullable) — Outstanding amount (tax_inclusive − amount_paid).
- `payment` (ProformaPayment, optional)
- `import_source` (enum, optional, nullable) — Origin of the document. `null` when it was created in Lucanto, in which case `totals` are Lucanto's EN 16931 calculation. A non-null value means the document was imported from that system and initially carries the source system's own figures, preserved verbatim; those may differ by cents from Lucanto's calculation because systems round VAT at different levels (line vs. category). `insight` means AI extraction from an uploaded file, not an import from another vendor. This records provenance only, not which calculation is currently in effect — editing line items or document discounts recomputes `totals` in Lucanto while leaving `import_source` set. In practice a document only ever carries `kros_developer`, `isdoc`, `superfaktura` or `null`. `kros` appears only on rows imported before the writer was renamed, and `insight` is written by the expense path only. The enum is kept as the union across resources rather than narrowed, so a legacy row cannot fail validation.
  - Allowed values: `kros`, `kros_developer`, `isdoc`, `superfaktura`, `insight`
- `totals` (ProformaTotals, optional)
- `settings` (ProformaSettings, optional)
- `line_items` (list of ProformaLineItem, optional)
- `customer` (PartyEmbed, optional, nullable) — The party identity as it appears on a document. On an ISSUED document this is the identity the document was issued with — a snapshot pinned at issue, which does NOT change when the legal entity is later renamed, re-registered, or moved. A draft follows the entity's current identity. `id` is the legal entity's id and is stable across identity changes, so a stored reference keeps resolving. This matches the PDF and the ISDOC export of the same document. `vat_period` is not part of this projection — a counterparty's filing period is not knowable.
- `supplier` (PartyEmbed, optional, nullable) — The party identity as it appears on a document. On an ISSUED document this is the identity the document was issued with — a snapshot pinned at issue, which does NOT change when the legal entity is later renamed, re-registered, or moved. A draft follows the entity's current identity. `id` is the legal entity's id and is stable across identity changes, so a stored reference keeps resolving. This matches the PDF and the ISDOC export of the same document. `vat_period` is not part of this projection — a counterparty's filing period is not knowable.

## Errors

### 401 Unauthorized Error

Missing or invalid authentication credentials.

- `error` (string, required) — Machine-readable error code. Stable across releases — clients should branch on this rather than the human-readable message.
- `message` (string, required) — Human-readable error description, localized to `Accept-Language`. Subject to wording changes between releases.
- `request_id` (string, required) — Server-side request identifier. Same value as the `X-Request-Id` response header. Quote this in support tickets so we can pull the matching server log line.
- `docs_url` (string, required) — URL of the per-error-code documentation page. Useful for SDK error subclasses to deep-link from a stack trace to the docs explaining the cause + remediation.

### 402 Payment Required Error

Workspace has no active subscription. Visit the upgrade URL to subscribe.

- `error` (string, required) — Machine-readable error code. Stable across releases — clients should branch on this rather than the human-readable message.
- `message` (string, required) — Human-readable error description, localized to `Accept-Language`. Subject to wording changes between releases.
- `request_id` (string, required) — Server-side request identifier. Same value as the `X-Request-Id` response header. Quote this in support tickets so we can pull the matching server log line.
- `docs_url` (string, required) — URL of the per-error-code documentation page. Useful for SDK error subclasses to deep-link from a stack trace to the docs explaining the cause + remediation.
- `upgrade_url` (string, optional) — URL to the billing/plans page

### 403 Forbidden Error

Authenticated, but the token's scope or the user's role does not permit this action. Both the token scope and the user's role must allow the action. Also returned when a workspace token is sent to an endpoint that acts for a user (`/user`, `/user/workspaces`, devices, notification preferences, diagnostics): a workspace token has no user behind it, so use a personal access token or a JWT there.

- `error` (string, required) — Machine-readable error code. Stable across releases — clients should branch on this rather than the human-readable message.
- `message` (string, required) — Human-readable error description, localized to `Accept-Language`. Subject to wording changes between releases.
- `request_id` (string, required) — Server-side request identifier. Same value as the `X-Request-Id` response header. Quote this in support tickets so we can pull the matching server log line.
- `docs_url` (string, required) — URL of the per-error-code documentation page. Useful for SDK error subclasses to deep-link from a stack trace to the docs explaining the cause + remediation.

### 404 Not Found Error

Resource does not exist, or exists but is not visible to the authenticated principal (cross-workspace isolation returns 404, not 403, to avoid leaking existence).

- `error` (string, required) — Machine-readable error code. Stable across releases — clients should branch on this rather than the human-readable message.
- `message` (string, required) — Human-readable error description, localized to `Accept-Language`. Subject to wording changes between releases.
- `request_id` (string, required) — Server-side request identifier. Same value as the `X-Request-Id` response header. Quote this in support tickets so we can pull the matching server log line.
- `docs_url` (string, required) — URL of the per-error-code documentation page. Useful for SDK error subclasses to deep-link from a stack trace to the docs explaining the cause + remediation.

### 409 Conflict Error

One of two conflicts; branch on `error`. - `idempotency_in_progress`: a request with this `Idempotency-Key` is still being processed. Retry shortly with the same key. - `conflict`: the record is in the trash. Restore it first; this answer is not stored, so the same key works afterwards.

- `error` (string, required) — Machine-readable error code. Stable across releases — clients should branch on this rather than the human-readable message.
- `message` (string, required) — Human-readable error description, localized to `Accept-Language`. Subject to wording changes between releases.
- `request_id` (string, required) — Server-side request identifier. Same value as the `X-Request-Id` response header. Quote this in support tickets so we can pull the matching server log line.
- `docs_url` (string, required) — URL of the per-error-code documentation page. Useful for SDK error subclasses to deep-link from a stack trace to the docs explaining the cause + remediation.

### 422 Unprocessable Entity Error

The proforma is not remindable (draft/paid/cancelled), has no client email, or the client's address previously reported this proforma as spam and can no longer receive it.

- `any`

### 429 Too Many Requests Error

Rate limit exceeded. Retry after the window resets.

- `error` (string, required) — Machine-readable error code. Stable across releases — clients should branch on this rather than the human-readable message.
- `message` (string, required) — Human-readable error description, localized to `Accept-Language`. Subject to wording changes between releases.
- `request_id` (string, required) — Server-side request identifier. Same value as the `X-Request-Id` response header. Quote this in support tickets so we can pull the matching server log line.
- `docs_url` (string, required) — URL of the per-error-code documentation page. Useful for SDK error subclasses to deep-link from a stack trace to the docs explaining the cause + remediation.

## Types

### ResourceId

The record's numeric `id` or its `public_id` (`doc_01h455vb4pex5vsknk084sn02q`). The bare UUID form of the `public_id` is still accepted but deprecated.

- long
- string
- string

### DocumentStatusTransitions

- `issued_at` (datetime, optional, nullable)
- `sent_at` (datetime, optional, nullable)
- `locked_at` (datetime, optional, nullable)
- `reopened_at` (datetime, optional, nullable)
- `transmitted_at` (datetime, optional, nullable)
- `canceled_at` (datetime, optional, nullable)

### ProformaPayment

- `method` (string, optional, nullable)
- `payment_type` (string, optional, nullable) — Variant for the method, or free text when method is 'other'
- `means_code` (string, optional) — EN 16931 BT-81 (UNCL4461). 'other' -> ZZZ
- `bank_account` (BankAccountEmbed, optional, nullable)
- `variable_symbol` (string, optional, nullable) — SK/CZ bank-transfer payment symbol.
- `specific_symbol` (string, optional, nullable)
- `constant_symbol` (string, optional, nullable)
- `recipient_note` (string, optional, nullable) — Bank-transfer message for the recipient (SK 'správa pre príjemcu', ≤140).

### ProformaTotals

- `line_extension` (string, optional) — Sum of line nets before document-level discount (BT-106).
- `allowance_total` (string, optional) — Document-level discount amount (BT-107).
- `charge_total` (string, optional) — Document-level charge amount (BT-108). Always "0.00" in this version.
- `tax_exclusive` (string, optional) — Net taxable amount after discount, before VAT (BT-109).
- `tax_amount` (string, optional) — Total VAT across all rates (BT-110).
- `tax_inclusive` (string, optional) — Gross total including VAT (BT-112).
- `prepaid` (string, optional, nullable) — Amount already settled before this document's balance falls due — advance deposits, DPP deductions (BT-113). Null for non-payable types (e.g. quotes).
- `rounding` (string, optional) — Cash rounding adjustment (BT-114). Non-zero when round_total is true — signed delta so that tax_inclusive − prepaid + rounding = payable.
- `payable` (string, optional, nullable) — Net amount payable = tax_inclusive − prepaid (BT-115). Null for non-payable types (e.g. quotes).
- `tax_breakdown` (list of TaxBreakdownEntry, optional) — Per-(category, rate) breakdown. One entry per distinct EN 16931 BT-118 category + rate pair.

### ProformaSettings

- `show_payment_qr` (boolean, optional) — Effective: whether the payment QR renders
- `payment_qr_format` (enum, optional, nullable) — The document's OWN payment QR format choice (what was sent on create/update, or stamped at issue). null while it follows the workspace default, and for a document issued before the setting existed, whose QR the bank account's country decides. Not the format that finally prints.
  - Allowed values: `auto`, `pay_by_square`, `spayd`, `epc`, `none`
- `payment_qr_resolved` (PaymentQrResolved, optional) — What the document will print as its payment QR, and why — as saved, so a draft answers for the moment it is issued. Returned on a single document (get, create, update and the lifecycle actions) and left out of list items: it needs the customer's country and the bank account per row. The stored choice is `settings.payment_qr_format`; this is the outcome of applying it.

### ProformaLineItem

- `id` (long, required)
- `name` (string, required)
- `description` (string, optional, nullable)
- `line_number` (integer, optional, nullable)
- `quantity` (string, optional, nullable)
- `measure_unit` (string, optional, nullable)
- `unit_price` (string, optional, nullable)
- `tax_rate` (string, optional, nullable)
- `discount_description` (string, optional, nullable)
- `discount_percentage` (string, optional, nullable)
- `discount_unit_price` (string, optional, nullable)
- `created_at` (datetime, optional)
- `updated_at` (datetime, optional)

### PartyEmbed

The party identity as it appears on a document. On an ISSUED document this is the identity the document was issued with — a snapshot pinned at issue, which does NOT change when the legal entity is later renamed, re-registered, or moved. A draft follows the entity's current identity. `id` is the legal entity's id and is stable across identity changes, so a stored reference keeps resolving. This matches the PDF and the ISDOC export of the same document. `vat_period` is not part of this projection — a counterparty's filing period is not knowable.

- `id` (long, required)
- `legal_registration_id` (string, optional, nullable) — Legal/company registration identifier (SK/CZ IČO). `_id` denotes *identifier*, not a foreign key; the value is an opaque string and may be alphanumeric outside SK/CZ (e.g. UK `SC123456`).
- `tax_id` (string, optional, nullable) — Tax registration identifier (SK/CZ DIČ). An identifier string, not a number.
- `vat_id` (string, optional, nullable) — VAT identifier (SK/CZ IČ DPH). Alphanumeric with a country prefix (e.g. `SK2020123456`, `ATU12345678`) — an identifier, not a number.
- `vat_payer_type` (enum, optional, nullable) — VAT registration status (standard | non_payer_vat | foreign); nullable.
  - Allowed values: `standard`, `non_payer_vat`, `foreign`
- `email` (string, optional, nullable)
- `phone_number` (string, optional, nullable)
- `website` (string, optional, nullable)
- `address` (AddressEmbed, optional, nullable)
- `postal_address` (AddressEmbed, optional, nullable)
- `legal_name` (string, optional, nullable) — The legal registered name of the entity, including its legal form (e.g. "Stark Codes, s.r.o."). On an issued document this is the name at issue, not the entity's current name.

### BankAccountEmbed

- `id` (long, required)
- `iban` (string, optional, nullable)
- `swift_code` (string, optional, nullable) — SWIFT/BIC.
- `account_number` (string, optional, nullable)
- `account_number_prefix` (string, optional, nullable)
- `bank_code` (string, optional, nullable)
- `account_holder_name` (string, optional, nullable) — Name on the account (EN 16931 BT-85).
- `currency` (string, optional, nullable)

### TaxBreakdownEntry

- `category` (string, optional) — EN 16931 tax category code (BT-118): S, AE, O, K, G, E, Z.
- `rate` (string, optional) — Tax rate as a percentage (e.g. "23.0").
- `taxable` (string, optional) — Taxable base for this (category, rate).
- `tax` (string, optional) — Tax amount for this (category, rate).
- `exemption_reason` (string, optional, nullable) — Reason text for an exempt/zero/reverse-charge category (BT-120).

### PaymentQrResolved

What the document will print as its payment QR, and why — as saved, so a draft answers for the moment it is issued. Returned on a single document (get, create, update and the lifecycle actions) and left out of list items: it needs the customer's country and the bank account per row. The stored choice is `settings.payment_qr_format`; this is the outcome of applying it.

- `format` (enum, required, nullable) — The QR that prints: PAY by square (Slovak accounts), QR Platba / SPAYD (Czech accounts) or EPC QR (SEPA, EUR). `null` = no QR prints; `reason` says why.
  - Allowed values: `pay_by_square`, `spayd`, `epc`
- `reason` (enum, required) — Why `format` is what it is: - `payer` — `auto` chose the format the customer's banking app reads. - `explicit` — a format was chosen on the document or as the workspace default. - `account` — nothing in the payer's country applies, or the document predates the setting: the bank account's country decides. - `disabled` — the QR type is "none". - `unsupported` — a forced format cannot encode this account or currency (prints no QR). - `no_match` — no format can encode this account and currency (prints no QR). - `no_account` — no bank account on the document or as the workspace default. - `qr_off` — the document's payment-QR switch is off. - `not_bank_transfer` — the payment method is not a bank transfer. - `no_payment_details` — this document type prints no payment details (quote, credit note, …). - `canceled` — the document is canceled.
  - Allowed values: `payer`, `explicit`, `account`, `disabled`, `unsupported`, `no_match`, `no_account`, `qr_off`, `not_bank_transfer`, `no_payment_details`, `canceled`

### AddressEmbed

- `id` (long, required)
- `street` (string, optional, nullable)
- `city` (string, optional, nullable)
- `postal_code` (string, optional, nullable)
- `country_code` (string, optional, nullable) — ISO 3166-1 alpha-2 country code, uppercase (e.g. "SK").

## Examples

**Response**

```json
{
  "id": 1,
  "public_id": "doc_01h455vb4pex5vsknk084sn02q",
  "type": "proforma",
  "status": "draft",
  "currency": "string",
  "created_at": "2024-01-15T09:30:00Z",
  "updated_at": "2024-01-15T09:30:00Z",
  "payment_status": "unpaid",
  "overdue": true,
  "paid_late": true,
  "status_transitions": {
    "issued_at": "2024-01-15T09:30:00Z",
    "sent_at": "2024-01-15T09:30:00Z",
    "locked_at": "2024-01-15T09:30:00Z",
    "reopened_at": "2024-01-15T09:30:00Z",
    "transmitted_at": "2024-01-15T09:30:00Z",
    "canceled_at": "2024-01-15T09:30:00Z"
  },
  "number": "string",
  "issue_date": "2023-01-15",
  "delivery_date": "2023-01-15",
  "due_date": "2023-01-15",
  "due_days": 1,
  "exchange_rate": "string",
  "order_number": "string",
  "included_in_turnover": true,
  "reverse_charge": true,
  "reverse_charge_text": "string",
  "tax_scheme": "string",
  "discount_description": "string",
  "discount_percentage": "string",
  "discount_amount": "string",
  "opening_text": "string",
  "closing_text": "string",
  "footer_note": "string",
  "internal_note": "string",
  "pdf_language": "string",
  "pdf_locale": "string",
  "delivery_method": "string",
  "email_sent_at": "2024-01-15T09:30:00Z",
  "auto_on_payment": "string",
  "amount_paid": "string",
  "amount_due": "string",
  "payment": {
    "method": "string",
    "payment_type": "string",
    "means_code": "string",
    "bank_account": {
      "id": 1,
      "iban": "string",
      "swift_code": "string",
      "account_number": "string",
      "account_number_prefix": "string",
      "bank_code": "string",
      "account_holder_name": "string",
      "currency": "string"
    },
    "variable_symbol": "string",
    "specific_symbol": "string",
    "constant_symbol": "string",
    "recipient_note": "string"
  },
  "import_source": "kros",
  "totals": {
    "line_extension": "string",
    "allowance_total": "string",
    "charge_total": "string",
    "tax_exclusive": "string",
    "tax_amount": "string",
    "tax_inclusive": "string",
    "prepaid": "string",
    "rounding": "string",
    "payable": "string",
    "tax_breakdown": [
      {
        "category": "string",
        "rate": "string",
        "taxable": "string",
        "tax": "string",
        "exemption_reason": "string"
      }
    ]
  },
  "settings": {
    "show_payment_qr": true,
    "payment_qr_format": "auto",
    "payment_qr_resolved": {
      "format": "pay_by_square",
      "reason": "payer"
    }
  },
  "line_items": [
    {
      "id": 1,
      "name": "string",
      "description": "string",
      "line_number": 1,
      "quantity": "string",
      "measure_unit": "string",
      "unit_price": "string",
      "tax_rate": "string",
      "discount_description": "string",
      "discount_percentage": "string",
      "discount_unit_price": "string",
      "created_at": "2024-01-15T09:30:00Z",
      "updated_at": "2024-01-15T09:30:00Z"
    }
  ],
  "customer": {
    "id": 1,
    "legal_registration_id": "string",
    "tax_id": "string",
    "vat_id": "string",
    "vat_payer_type": "standard",
    "email": "string",
    "phone_number": "string",
    "website": "string",
    "address": {
      "id": 1,
      "street": "string",
      "city": "string",
      "postal_code": "string",
      "country_code": "string"
    },
    "postal_address": {
      "id": 1,
      "street": "string",
      "city": "string",
      "postal_code": "string",
      "country_code": "string"
    },
    "legal_name": "Stark Codes, s.r.o."
  },
  "supplier": {
    "id": 1,
    "legal_registration_id": "string",
    "tax_id": "string",
    "vat_id": "string",
    "vat_payer_type": "standard",
    "email": "string",
    "phone_number": "string",
    "website": "string",
    "address": {
      "id": 1,
      "street": "string",
      "city": "string",
      "postal_code": "string",
      "country_code": "string"
    },
    "postal_address": {
      "id": 1,
      "street": "string",
      "city": "string",
      "postal_code": "string",
      "country_code": "string"
    },
    "legal_name": "Stark Codes, s.r.o."
  }
}
```

**SDK Code**

```python
import requests

url = "https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder"

headers = {
    "Idempotency-Key": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder';
const options = {
  method: 'POST',
  headers: {
    'Idempotency-Key': '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Idempotency-Key", "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder")
  .header("Idempotency-Key", "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Idempotency-Key' => '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder");
var request = new RestRequest(Method.POST);
request.AddHeader("Idempotency-Key", "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Idempotency-Key": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.lucanto.eu/api/v1/workspaces/42/proformas/1/send_reminder")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```