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.
PAGE_COUNT are used at the top right and in the page footer for page numbering.