Configuration
Setting up the match
A matching definition sets what a document’s lines are compared with, which values count, and how much difference is allowed. It belongs to a published document type, is edited as a draft and applies only once published. What the reviewer sees of it is on the page Reading the match.
The legs
A leg is a counterpart the document is compared against — a purchase order, a goods receipt, a framework contract, a price list. For each leg you choose:
- a name, which labels its row in the review,
- a fetch its rows are read from (see Step data fetches),
- the column rows are paired by — the order’s line number, say.
Configure only the legs your systems can actually supply. Without goods receipt data the match is two-way, and the result says so honestly instead of reporting every invoice as incomplete.
Compared values and tolerances
Each compared value pairs a column of the document’s lines with a column of a leg and says how they are compared:
- Number — with an allowed difference as an amount, as a percentage of the fetched value, or both. With both, being inside either is enough, so the more generous one applies: usually the amount on small values, the percentage on large ones.
- Exact — equal or not; any difference is over tolerance.
- Date — the difference in whole days.
Without a tolerance, any difference is over tolerance. Only values of the same kind compare sensibly; the fields’ property types (see Property types) are the precondition.
Header checks
Optional header checks judge once for the whole document — the invoice’s net total against the sum of every fetched order line, say. They count toward the document’s result the same way a line does.
What publishing checks
A definition that cannot work is not published: a path the document type does not know, a pairing column the leg does not have, a negative tolerance. What only shows when reading — a leg that does not answer, two rows sharing an identifier — is not kept quiet but shown on the case as a warning.
What the definition does not do
The definition judges; it changes nothing. What a result leads to — on, or to an extended review — is set by the workflow, which reads the document’s result. Which value finally holds is always a person’s decision.