Skip to content
English
  • There are no suggestions because the search field is empty.

Lines Added by Invoice Rules

Not every line on an order was typed in by a person. The order’s contract can carry invoice rules: a fixed call-out fee, a standard number of travel hours, a monthly charge. This article explains where those lines appear and when they become real.

Where you see them

They are kept apart from the lines people entered. Under the list on the Materials or Hours tab there is a bar reading 9 lines will be generated by invoice rules when the order is approved or finished.

Open it and the lines appear in their own section, headed Lines from invoice rules with a count. They are shown in italics with a coloured bar down the side, and they are read-only — you cannot select, sort or edit them, because they do not exist yet.

Where an order has no rule lines, the bar is not there at all.

When they become real

Each rule has its own trigger: when the order is approved, or when the order is finished. Until the trigger is reached the line is only a preview. When it is reached, the rule runs and the line becomes an ordinary line on the order.

In the invoice basis preview

In the preview these lines sit among the others, tagged Added by rule. A rule can also change or remove a line, and those are tagged Changed by rule and Removed by rule.

Move the mouse over a tag and it names the rule: Generated by invoice rule 14. Where the rule has not run yet, the tag says so — runs at order approval or runs when the order is finished.

Reading the tag before you approve

A tag that names a trigger is telling you the line is not on the order yet. That is worth checking before you create an invoice basis, because a rule that runs on order finish has not contributed anything to an order that is still open.