BONDMAKO
← API reference

invoices

Create invoice

Creates a draft invoice with line items for a customer.

POST /v1/invoices

Authorization

Required scope:

invoices:write

Mutations on this endpoint require the Idempotency-Key header.

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringrequiredUnique key; safe retries return the stored response.
customerNamebodystringrequired—
customerEmailbodystringrequired—
lineItemsbodyarrayrequiredAt least one line item.

Request

{
  "customerName": "Hotel Nordlicht GmbH",
  "customerEmail": "ap@hotel-nordlicht.de",
  "lineItems": [
    { "description": "Platform subscription", "quantity": 1, "unitPriceCents": 4900, "currency": "EUR" }
  ]
}

Webhook events

EventDescription
invoice.createdAn invoice was created.

← All endpoints