Skip to Content
Booking

Create a draft invoice for a reservation

Toegang

Lid van de organisatie met dit recht:

  • invoices:write

Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.

POST
/orgs/{organizationId}/booking/reservations/{reservationId}/invoice

Puts the reservation's price lines on a new draft invoice; a group booking gets one invoice with every stay's lines.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

reservationId*string
Length1 <= length

Request Body

application/json
  1. body
scope?string
Value in"stay""group"

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//booking/reservations/string/invoice' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
null