Skip to Content
Booking

Invoice a reservation's price change

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-adjustment

Compares the reservation's current price lines with everything already invoiced for it and bills the difference: a draft extra invoice when the price went up, a draft credit note on the original invoice when it went down. An unpaid draft invoice gets its lines replaced instead.

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

Response Body

OK

application/json
  1. response
invoiceId*string
action*string
Value in"debit""credit""updateDraft"
Example Request
curl -X POST 'https://api.tillor.eu/orgs//booking/reservations/string/invoice-adjustment'
Example Response
{  "invoiceId": "string",  "action": "debit"}