Bill document merging

It is possible to build templates so that bill documents can be produced relating to consolidated and split bills. Specific bill variables are available to extract the appropriate bill information and the merge process allows you to use the appropriate templates, as the templates used and the final output differ for each type of bill:

Variables

The following variables are available to assist in building bill templates:

In terms of split bills, these variables are available:

These variables allow you to extract billed amounts from the perspective of the invoicee: For example, consider [invoicee_billed_costs]:

The existing bill merge variables can also be used, however the values returned will be appropriate for the bill in context. This applies to variables available for the following document types; Bill (Invoice), Schedule, Statement and Credit Control Letters. For example, consider [bill_billed_costs]:

Templates

Standard bills and split bills default to the bill template defined in Accounts Configuration. However, this and the templates for consolidated bills (Start, Part bill and End) can be stored against a billing rule in System Setup. In all cases, these are then defaulted to when a merge is invoked. However, they can be changed at run-time if required.

When merging a consolidated bill the software combines all the information into one document for the consolidated bill and for each part bill. This is then stored in Document Management. The resulting document is collated as follows:

The following example templates are shipped as standard for split bills and consolidated bills. These can be found under Merge Templates, in the Advanced Example Templates folder.

Merge dialog box

When you post a bill the Merge dialog box opens. The options available are dependent on the type of bill you are posting. In the upper pane of the Draft Bills screen, clicking Post All launches the Merge dialog box and allows you to choose whether to merge or not, use the default templates or select alternatives. In the lower pane of the Draft Bills screen, clicking Merge launches the Merge dialog box with the same options.

If...

Then...

A standard bill is posted or merged

A document is merged and saved at contact-level. It is available in the contact and matter history.

A split bill is posted or merged

A document is merged, using the same template, for each invoicee and saved at contact-level. It is available in the contact and matter history.

A consolidated bill is posted or merged

A document is merged using the consolidated bill templates and saved at contact-level. It is available in the contact and matter history. If no consolidated bills exist within the selected batch then the consolidated bill templates options are unavailable.

A part bill is merged (i.e. part of a consolidated bill)

A document is merged using the consolidated bill templates and saved at contact-level. It is available in the contact and matter history. If no consolidated bills exist within the selected batch then the consolidated bill templates options are unavailable.

Notes