Invoice Status Management

Learn how Maica sets and manages the Status of an Invoice and associated Line Item(s).

The Status of your Invoice and Invoice Line Item records can change based on a number of factors, including, for claimed Invoices, how much has been paid via the NDIS.

At Maica, we don't think this is something that you should have to determine, calculate and manage manually......Rather, the system (insert Maica) should be able to use the record attributes, interpreting the values of certain fields to derive or set the Status value dynamically. Saving you both time and uncertainty in having to figure out the most appropriate Status for your Invoice and Invoice Line Item records.

If you would like to introduce your own Status values to the Invoice and/or Invoice Line Item records, you will need to deactivate the Flows described below and create your own to perform the same function.

We would recommend you do this in a Sandbox first and perform extensive end-to-end testing to ensure that your Flow(s) support your required functionality.

Invoice Line Item Status Management

The Invoice Line Item Status is managed by a Salesforce Flow. A Flow is a handy, declarative (meaning codeless) tool that lets you develop automated processes for specific actions. In this scenario, we have used a Flow to examine the Invoice line Item record, when it is created and updated, to review specific fields and set the Status value accordingly.

In the Maica package, the name of this specific Flow is Maica - Invoice Line Item Status Management. You can access this Flow via Salesforce Setup, as seen below.

The Flow uses various Roll-Up Summary fields on the Invoice Line Item that summarise or consolidate data from the related Payment Request record(s). These Roll-Up Summary fields are:

Invoice Line Item Status Definition

The table below breaks down each Invoice Line Item Status value and how it is managed by the Flow. Essentially, when the conditions in the Logic column are satisfied, the Flow will be triggered and apply the value from the Status Value column.

Claim Balance Formula

The Claim Balance formula logic is below:

IF(ISBLANK( maica__Paid_Amount__c ), maica__Line_Total__c, maica__Line_Total__c - maica__Paid_Amount__c)

Invoice Status Management

The Invoice Status is managed exactly the same way as the Line Item, just a different Flow is used. The Flow uses various Roll-Up Summary fields on the Invoice that summarise or consolidate data from the related Invoice Line Item record(s). These Roll-Up Summary fields are:

In the Maica package, the Flow is called Maica - Invoice Status Management.

Invoice Status Definition

The table below breaks down each Invoice Status value and how it is managed by the Flow.

Funding Structure = Agency Managed

Funding Structure <> Agency Managed

Last updated