Skip to main content
GET
cURL
This endpoint returns the invoice IDs and encrypted invoice URLs associated with a specific booking.

Response

The response includes:
  • bookingId: The ID of the booking
  • invoiceIds: Array of invoice IDs associated with the booking
  • invoiceUrls: Array of encrypted invoice URLs that can be used to access the invoices

Example Usage

Here’s an example of how to use this endpoint with curl:

Common Use Cases

  • Retrieving invoice URLs for a booking
  • Accessing invoice documents through encrypted URLs
  • Tracking which invoices are associated with a booking

Authorizations

x-api-key
string
header
required

Path Parameters

booking_id
string
required

ID of the booking to retrieve invoices for

Response

List of invoices for the booking

bookingId
string
required

The ID of the booking

invoiceIds
string[]
required

Array of invoice IDs associated with the booking

invoiceUrls
string[]
required

Array of encrypted invoice URLs