API - Planyo Web Services - get_invoice_items

You are here: Planyo » Help » API » get_invoice_items

get_invoice_items

Description:

Returns all products (invoice items) included with the reservation (same as products used on the invoice). The invoice items can include (besides reservations): additional products, custom products, payment surcharge. In case of the shopping cart, all shopping cart reservations will be included.

Input:

reservation_id int required
Reservation ID
method string required
must be set to get_invoice_items
language string optional
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key string required
your API key - Click here to get your key. If your API key uses a hash key, you must also include the parameters hash_key and hash_timestamp.

Output:

results array
Array whose items are named arrays with the following keys: name, quantity, price, price-gross, tax

API playground:

Click here to test this function in the API playground.