30.5 Text Criteria
30.5.1 Overview ¶
Text criteria compare text properties of the invoice (supplier, file name, routing ID, ...) with a value. The comparison is case-insensitive.
30.5.2 Operators ¶
| Operator |
Matches if ... |
| contains / does not contain |
the value does (not) occur in the property text |
| is equal to / does not equal |
the property text does (not) exactly equal the value |
| starts with / does not start with |
the property text does (not) start with the value |
| ends with / does not end with |
the property text does (not) end with the value |
30.5.3 Value placeholders ¶
Special placeholders are available in the value of a text criterion (insertable via Insert placeholder ▼ in the criterion dialog):
| Placeholder |
Meaning |
<AND> |
Combines several partial values within ONE criterion: all parts must match. Example: Sample<AND>Ltd |
<OR> |
It is sufficient if one of the partial values matches. Example: Sample<OR>Baker |
<AND> with <OR> |
The value is split at <AND> first, then each part at <OR>. Example: Invoice<AND>2025<OR>2026 = contains "Invoice" and also "2025" or "2026" |
<BeginOfRegex>...<EndOfRegex> |
The enclosed part is evaluated as a regular expression. Example: <BeginOfRegex>INV-\d{4}<EndOfRegex> |
<NumberRange{from,to}> |
Matches if a number from the range occurs in the property text. Example: <NumberRange{1000,1999}> |
<EntryFromList{ListName}> |
Matches if an entry of the given filter list matches (see chapter 30.10) |
The placeholders can be combined with plain text and with each other, e.g. INV-<NumberRange{2026000,2026999}> or <EntryFromList{Suppliers}><AND>Ltd. The German forms <UND>/<ODER> are accepted as well.
Both separators in the same value: If <AND> and <OR> occur in the same value, the program splits at <AND> first and then checks each part on its own. <OR> therefore only applies within an AND part: Invoice<AND>2025<OR>2026 means "Invoice" and also "2025" or "2026" - not "Invoice and 2025" or "2026". The criterion dialog shows this reading below the value:
Note: The value combines <AND> and <OR>. The program splits at <AND> first and reads the value as: "Invoice" and ("2025" or "2026"). "Split…" creates rows with exactly this reading.
If a criterion contains both separators for the first time - that is, it did not before you edited it -, the dialog asks when applying; with Do not ask again, this question is no longer asked in future (to switch it back on: chapter 40.18.4). For a different reading, distribute the alternatives across several criterion rows that you connect with OR.
Tip: A criterion with <AND>/<OR> connections can be split into separate criterion rows via Split… (see chapter 8.10.2) - clearer as soon as more than two partial values come together. For a value with both separators, from version 2.3.0 on one row is created per <AND> part; the rows are connected with AND, and the <OR> alternatives stay in their row: Invoice<AND>2025<OR>2026 becomes the rows "Invoice" and "20252026". The program reads the rows exactly like the original value.
30.5.4 Note on the routing ID ¶
The routing ID property corresponds to the invoice's buyer reference (BT-10) - on B2B invoices this often carries a general reference instead of a routing ID.
30.5.5 Note on the VAT ID ¶
The properties Supplier VAT ID (BT-31) and Invoice recipient VAT ID (BT-48) are available from version 2.6.0. Use them, for example, to separate the invoices of several companies:
Invoice recipient VAT ID is equal to DE123456789
The program compares the numbers without spaces, so DE 123 456 789 and DE123456789 count as the same. This also applies to the entries of a filter list (see chapter 30.10).
Not every invoice contains a VAT ID. If it is missing:
- contains and is equal to do not apply,
- does not contain and does not equal apply.
The result preview with an example invoice shows whether an invoice contains the number (see chapter 8.10.4).
30.5.6 Note on the IBAN ¶
The property Supplier IBAN (BT-84) is available from version 2.6.0. It contains the bank account to which the supplier wants to be paid. Use it, for example, to detect invoices with an unknown bank account. This protects against fake invoices with a changed IBAN.
How to set this up:
- In the program options, create a filter list "Known IBANs" with the IBANs of your suppliers (see chapter 30.10). Spaces in the IBANs do no harm.
- Create a profile that is checked before your other profiles. The profiles take turns in alphabetical order, so a name like "0 Check bank details" comes first (see chapter 8.6.5). The profile gets the criterion:
Supplier IBAN does not equal <EntryFromList{Known IBANs}>
- Let this profile move the invoice to a clarification folder and send a notification. Also set the option Do not apply any further profiles after successful processing with this profile.
Invoices with a new bank account then end up in the clarification folder instead of the payment file (see chapter 23).
After checking, for example by calling the supplier back:
- Add the new IBAN to the list.
- Move the invoice from the clarification folder back to the inbox folder. The program then processes it like a new invoice.
If the option Skip new files with already processed invoice data as duplicates is enabled (see chapter 40.6.5), the program skips the invoice that was moved back. In that case, catch up the payment profile (see chapter 60.2).
Additional protection in the payment profile
During catch-up, only the selected profiles run, and Process file again runs only with the profile of the log entry. The clarification profile then does not take part in the check. Therefore, also give the profile with the Create SEPA payment file task a criterion:
Supplier IBAN is equal to <EntryFromList{Known IBANs}>
This profile then writes only invoices with a known bank account to the payment file, no matter which way it runs.
As with the VAT ID, the program compares an entered value without spaces and is not case-sensitive. DE89 3704 0044 0532 0130 00 and DE89370400440532013000 are therefore considered equal. This also applies to the entries of a filter list. If the invoice contains no IBAN, does not equal applies.