Custom dynamic data to generate a ticket's invoice

You can store Next Invoice Number and Expiration Date as Global Settings.

This tutorial may give an idea about how to maintain external counters.

This tutorial can also give an idea about how to create date constraints.

Authorization Number can also be a Global Setting but if it does not change you can hardcode it in printer template.

As you’ve stated you can query and store these values on tickets as ticket tags. Having a ticket state that updates on invoice print can also help not to increase invoice number on multiple prints.

1 Like