Example Shipping Invoice

A complex transportation invoice with multiple waybills.

Page Size: A4 with landscape orientation.

This commercial invoice uses tables within tables to display nested shipping data.

This Example In Detail

1) Nested Tables

A <<rs_ repeating section is used around the outer table to show the details of each  individual waybill / shipment.

Inner tables which use <<rr_ repeat rows show: 

  1. details of all the items and
  2. all the charges

associated with a single waybill / shipment.

 

If any waybill has many shipped items, then both the inner shippeditems table and the outer waybills table will grow down the page to accommodate the extra line items.

 

Controlling Table Behaviour

This template has been designed to:

  • typically show 2 waybills per page
    whilst making sure that
  • a single waybill is not split between pages

In other words, if some waybills have lots of shipped items, making it impossible to fit two waybills to a single page, then the second waybill will be moved to the next page.

This is done using Microsoft Word Paragraph and Table Properties.

  • Firstly select the sections that need to be kept together
  • Then tick the box “Keep with next”

  • Select the waybills table
  • Untick the box “Allow row to break across pages”

 

2) Built-In Docmosis Variables

This example uses several built-in variables that are available in repeating data sets.

  • <<$itemnum>> shows the index of the current item, starting from 1, in the waybills data set
  • <<$size>> returns the total number of items in the waybills data set

 

Feedback

Invalid Input

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam.

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam.

Invalid Input

Applies To

Docmosis-Java Tornado Cloud
Version(s) ALL ALL ALL