Skip to main content

Method

POST /v1/billing/invoices

Body Parameters

Headers

Authorization
string
Bearer token with billing:write scope.
content-type
string
application/json

Request Example

curl -X POST https://api.voyantcloud.com/v1/billing/invoices \
  -H "Authorization: Bearer $VOYANT_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "series": "INV",
    "currency": "EUR",
    "issueDate": "2025-02-15",
    "dueDate": "2025-03-01",
    "buyerAddress": {
      "company": "Voyant Travel SRL",
      "vat": "RO12345678",
      "country": "RO"
    },
    "lines": [
      {
        "itemType": "service",
        "description": "Summer cruise package",
        "quantity": 1,
        "unitPrice": 2450,
        "taxRate": 0,
        "lineTotal": 2450
      }
    ]
  }'

Response

{ "id": "4a9a807e-5c7c-4f57-8e6d-2c6f1b1c5d10" }
Workspace context is provided by the API key. Partner integrations that operate across multiple workspaces must call the endpoint once per workspace.