Configure Transaction Number Prefix Mapping

Configure transaction number prefixes and separators to recognize and normalize invoice and credit memo references in bank statement information.

Transaction Number Prefix Configuration

Transaction number prefix configuration helps the agent recognize invoice and credit memo references embedded in bank text. It defines valid prefixes, such as INV or CM, their formatting separators, and whether they apply to all bank accounts or specific accounts.

You can configure prefixes for all bank accounts or for specific accounts. Global and account-specific rules both apply; account-specific rules don’t replace global rules.

  1. Go to Setup and Maintenance > Manage Standard Lookups.
  2. Create this lookup type: AR_ACCNUM_MAP_TO_TRX_PREFIX
  3. Add a lookup row with the following values:
    Field Value
    Lookup Code Enter ALL to apply the rule to all bank accounts, or enter a specific bank account number.
    Meaning Enter the valid prefixes, separated by semicolons. For example: INV;CM.
    Description Enter the corresponding output separators, separated by semicolons. For example: -;_. Use NONE for no separator.
  4. Ensure that the separator count is either one or equal to the prefix count:

    • One separator applies to every prefix.
    • Multiple separators correspond to the prefixes in the same order.
  5. Enable the row and specify effective dates as required.

  6. Save the changes.

Scenarios with Examples

Scenario Lookup Code Meaning Description Recognized Forms Normalized result
Global INV Prefix with Hyphen ALL INV -

INV12345

INV 12345

INV-12345

INV -12345

INV_12345

INV/12345

INV:12345

INV-12345
No Separator ALL INV NONE INV 12345 INV12345
Invoice and Credit Memo Prefixes

ALL

Example:
  • Prefix: INV; Separator: -; Result: INV-12345
  • Prefix: CM; Separator: _; Result: CM_98765

Bank text: PAYMENT INV 12345 CREDIT CM/98765

Extracted references: INV-12345 CM_98765

INV;CM -;_ N/A N/A
Account-Specific Prefixes

Bank Account

Example: bank account 5486173210

For account 5486173210, 480 12345becomes 48012345and CM-98765becomes CM_98765. The rule does not apply to another account.

480;CM NONE;_ N/A N/A
One Separator for Multiple Prefixes

ALL

Example:

A single separator applies to every prefix, producing INV-12345and CM-98765.

INV;CM - N/A N/A
Bare Number

ALL

Example:

With ALL / INV / -, PAYMENT FOR 12345does not become INV-12345. The prefix must already exist in the source, preventing unrelated numbers from being treated as transactions.

INV - N/A N/A

Alphanumeric Suffix

Example: The rule expects a configured prefix followed by a numeric value. INV-12345is supported; INV-AB12345is not supported by this prefix rule. N/A N/A N/A N/A
Important:
  • Once an applicable prefix rule exists, only references matching configured prefixes are retained.
  • With only INVconfigured, bank text INV-10001 CM-20001 passes INV-10001and filters out CM-20001. Configure the complete invoice and credit memo prefix list, as shown in the preceding scenarios.
  • A row is skipped when Lookup Code or Meaning is blank, a prefix is blank, or the separator count is neither one nor equal to the prefix count.
  • Examples:
    • Valid: Meaning: INV;CM;480 Description: -;_;NONE
    • Valid: Meaning: INV;CM;480Description:-
    • Invalid: Meaning: INV;CM;480Description:-;_

Prefix Rules Summary

  • Configuration:
    • Use ALL to define prefixes that apply globally.
    • Use a bank account number to define account-specific prefixes.
    • Global and account-specific rows are combined.
    • Separate multiple prefixes with semicolons.
    • Align separators with prefixes.
    • Use NONE or leave the value blank when no separator is required.
    • Configure all applicable invoice and credit memo prefixes.
  • Matching Behavior:
    • Matching is case-insensitive.
    • Output uses the configured prefix casing.
    • The prefix must exist in the bank text.
    • The value after the prefix must be numeric.
  • Reference Filtering
    • When applicable prefix rules exist, only references that match the configured prefixes are retained.
    • References with prefixes that aren’t configured are filtered out.

Test Before Production

Before using new or modified mappings in production:

  • Test matching and nonmatching statement lines.
  • Test null source values, regular expression failures, and receipt number length.
  • Verify invoice and credit memo normalization, bare-number behavior, global and account-specific prefixes, and AND/OR grouping. Also verify that exclusions prevent receipt creation.
  • Disable obsolete or test lookup rows. Only enabled rows within active dates are used.