FAQ Q298: I need to create a highly customized report not supported by Planyo. What are my options?

Planyo offers a wide range of reports which can be created, mostly in form of a listing of items such as reservations, additional products, payments etc. The reports are highly customizable, including things such as number of rows per reservation (e.g. you can have one row per person) or ability to include only very specific rows (you can use conditional statements to exclude rows based on your logic). However, in some cases, there may be a need to create a very specialized report which Planyo doesn't support. In such case we offer an option to call a script on your server which processes the data for given period and report settings (filters etc.) and returns the report in form of HTML code. Such report can then be downloaded in planyo as a PDF, or viewed in the planyo backend.

The report type Custom (callback URL on your server) can be also used to create custom backend pages which can display any content you like. The data for the content can come from the reservation listing sent to the script by planyo, or you can use the API to pull any other data from Planyo. If you don't need detailed reservation listing to be POSTed to your script, set the option Data rows to Reservation data not sent. This will result in a faster execution time. Otherwise you can decide whether planyo should post a reservation listing for arrivals within specific period, or for reservations created within specific period.

Whenever the report needs to be generated, planyo will call the URL specified by you and will post the following parameters to your URL:

The output of your script should be HTML code. This will be converted by Planyo to the PDF format if the PDF download button is pressed on the report page.
Back to Frequently Asked Questions