Invoice
The Invoice endpoint enables the RentalCover server to respond with an invoice (in PDF format) of the specified Booking reference (only available for confirmed bookings).
Endpoint: /insurances/invoice/<reference:[A-Z0-9\-]+>
/insurances/invoice/<reference:[A-Z0-9\-]+>Method: GET
GETcurl -i -X GET \
-H "X_API_KEY: [my-api-key]" \
-H "Content-Type: application/json" \
https://api-staging.rentalcover.com/insurances/invoice/AB12-345C-INSThe generated PDF will be attached in the response with the following name:
Invoice_AB12-345C-INS.pdf
(Content-Type is application/pdf).Last updated
