Skip to main content

Review filters on invoice list

Purpose / Description

The existing filter which defines whether an Initial calculation or an Adjustment should be displayed (labelled 'Invoice type') is renamed to 'Record type' to remove ambiguity with the new agreement-driven filter described below.

A new filter, 'Invoice type', is added to the Invoice list filter panel. Its dropdown values are taken directly from Agreement details > Invoice section > Invoice type field, so the filter always reflects the invoice types configured at the agreement level.

The existing 'Account lock' filter will be deleted.

The 'From agreement', 'To agreement' and 'Invoice number' filters are removed completely from the filter panel, as locating invoices/agreements by these values is covered by the smart search use case.

Use Case 


As a system I want to update filter options on the invoice list. 
Primary Actor(s)

Billing team(s)

Stakeholders and Interest 

MEAG Corporate accounting and any related business areas

Trigger 

User navigates via processes/invoices to the invoice list. Via 'Show Filters', additional filter options come up.

Pre-condition(s)

User has access to the Invoice list screen.

At least one agreement exists and has an invoice type defined in agreement details.

Post-condition(s)

The invoice list is filtered by the selected Invoice type (sourced from the agreement) and/or by Record type, and by any other remaining filters.

The correct calculation logic (initial calculation or adjustment) is triggered based on the Record type value.

Invoices can no longer be located via From agreement / To agreement / Invoice number filters; these lookups are performed via smart search instead.

Main success scenario

1. User navigates to Invoice list.

2. User clicks 'Hide/Show Filters' to display the filter panel.

3. User selects a value in the new 'Invoice type' filter; the dropdown is populated with the values maintained in Agreement details > Invoice section > Invoice type field.

4. User optionally selects 'Record type' (Initial calculation / Adjustment) to narrow results, and sets any other remaining filters as needed.

5. User clicks 'Search'.

6. The system returns the list of invoices matching the selected Invoice type and Record type (and, if applicable, according to the other filters).

7. The 'Account lock' filter is no longer visible.

8. The 'From agreement', 'To agreement' and 'Invoice number' filters are no longer visible; users locate specific invoices/agreements via smart search instead.

Extensions

3a. No Invoice type values exist on any agreement — the 'Invoice type' filter dropdown is empty; user proceeds without this filter.

4a. User clears filters using 'Clear' and the filter panel resets to default (unfiltered) state.

Exception scenarios

5a. Search is triggered with conflicting filters (e.g. Invoice type and Record type combination has no matching data) — system returns an empty result set with a 'no records found' message.

Special requirements

The 'Account lock' filter must be deleted from the filter panel.

The field previously labelled 'Invoice type' that drives Initial calculation vs. Adjustment must be relabeled 'Record type' everywhere it appears in the UI.

The new 'Invoice type' filter must stay in sync with the value set maintained on Agreement details > Invoice section > Invoice type (no separate/duplicated maintenance).

The 'From agreement', 'To agreement' and 'Invoice number' filters must be removed completely from the filter panel, as this lookup capability is covered by the smart search use case.

Open questions

Mockup

image.png


Functional Requirements

Business rules and functional requirements
Rename field / label: the existing field that determines whether an Initial calculation or an Adjustment is executed (currently labelled 'Invoice type') is renamed to 'Record type' in every screen, filter, export and report where it appears. Underlying values and logic (Initial calculation / Adjustment) are unchanged.
New filter 'Invoice type': a new dropdown filter named 'Invoice type' is added to the Invoice list filter panel. Its value list is sourced from, and stays in sync with, Agreement details > Invoice section > Invoice type field (i.e. it is not independently maintained).
Delete  'Account lock' filter: the existing 'Account lock' filter is removed from the visible filter panel on the Invoice list screen. The field and its underlying data are deleted 
Search behavior: selecting a value in the new 'Invoice type' filter and clicking 'Search' returns only invoices linked to agreements whose Invoice type matches the selected value. This filter can be combined with all other existing filters, including Record type.
No data migration required: renaming 'Invoice type' to 'Record type' is a label-only change; no changes to stored values, APIs, or downstream calculation logic are required.

FR4 — Remove 'From agreement', 'To agreement' and 'Invoice number' filters: these three filters are removed completely from the Invoice list filter panel. Locating invoices or agreements by these values is instead performed using the smart search control (see Invoice List – Smart Search use case).

Field level specification 

Label UI control

Manda-

tory 

Editable Data Type Value set Default Data sample

Record type

Dropdown

No

Yes

List (single select)

none

Initial calculation; Correction

Show all 

Adjustment

Invoice type (filter)

Dropdown

No

Yes

Multi select,

if only one value exists show all 

Values from Agreement details > Invoice section > Invoice type

All

ASM

Data validation failure response

Field label Validation/ Business rules Error message(s) Data dependencies Additional information
 N/A  N/A  N/A N/A N/A