This demo shows a packing slip that would be included with a product shipment. The order details are provided in the JSON data as line items. There is a detail section bound to the line items array. Totals are shown using the SUM function.

At the top of the template, a table element is used with a single row showing a few data fields. Table elements can also be bound to array data to show an arbitrary number of rows.

Built-in variables PAGE_NUMBER and PAGE_COUNT are used at the top right and in the page footer for page numbering.

To add functionality like this to your software, get a free ReportLayer account: