Find invoices past their due date
Why ask this?
Before making collection calls, a billing lead needs to separate invoices that still need follow-up from invoices that were eventually settled.
Start with the sample data
Open source.csv. In the first row of source.csv, Invoice = A, Due day = 37, Paid = yes.
What to say
Show invoices more than four days after their due date. Use day forty seven as today.
Recorded with the Karen synthetic voice.
Processing time
- Recorded audio to table ready
- 4.08 s
- Transcript to table ready
- 0.74 ms
One local replay from recorded audio through transcription and native table data preparation. Includes processing of the clarification and reply. Time waiting for a person to answer is excluded. Recording time and screen painting are excluded.
See the transcript in the composer

What n0is transcribed
Show invoices more than four days after their due date. Use day 47 as today.
When n0is asks
Did you mean paid or unpaid invoices?
- Paid invoices
- Unpaid invoices
Unpaid invoices.
How the canvas produces the result
- CSV Input · Read the sample records
source.csv supplies 4 rows. These records are the inputs to the next step.
- Normalize · Trim surrounding spaces in Paid
Select Paid and enable Trim ends. Leave Remove all spaces, Letters and digits only, and Remove $ and , unchecked. This preserves characters inside the value.
- Find / Replace · Replace matching values in Paid
Set the search pattern to ^(?:paid|true|yes|1)$ and the replacement to 1. Enable regular expressions. The first output row contains Invoice = A, Due day = 37, Paid = 1.
- Find / Replace · Replace matching values in Paid
Set the search pattern to ^(?:unpaid|false|no|0)$ and the replacement to 0. Enable regular expressions. The first output row contains Invoice = A, Due day = 37, Paid = 1.
- Find / Replace · Replace matching values in Paid
Set the search pattern to ^(?![01]$).*$ and the replacement to invalid. Enable regular expressions. The first output row contains Invoice = A, Due day = 37, Paid = 1.
- Data quality report · Validate every row before continuing
In Data quality report, choose Nonnegative amounts under Validation rule. Select Paid as the field and Stop on invalid rows as the output. Valid data passes through with its original columns and values. A failing row stops downstream results until you correct it.
- String Concat · Make a working copy of the invoice ID
In String Concat, select Invoice. Set Output column to Invoice key and enable Keep the original columns. The next two steps check this copy so the result can display the original ID.
- Normalize · Trim surrounding spaces in Invoice key
Select Invoice key and enable Trim ends. Leave Remove all spaces, Letters and digits only, and Remove $ and , unchecked. This preserves characters inside the value.
- Math · Check that each invoice appears once
Leave Expression empty. Under Whole-count validation choose Unique identifier, select Invoice key as the identifier and Paid as the whole-count field. A blank or repeated ID stops the workflow.
- Column Renamer · Prepare the output columns
Remove Invoice key. The result exposes Invoice, Due day, Paid.
- Measure Filter · Keep the requested rows
The filter uses Paid == 0 in keep mode. 2 rows remain including B.
- Normalize · Trim surrounding spaces in Due day
Select Due day and enable Trim ends. Leave Remove all spaces, Letters and digits only, and Remove $ and , unchecked. This preserves characters inside the value.
- Find / Replace · Replace matching values in Due day
Set the search pattern to ^-0+$ and the replacement to 0. Enable regular expressions. The first output row contains Invoice = B, Due day = 30, Paid = 0.
- Find / Replace · Replace matching values in Due day
Set the search pattern to [^0-9]|^0*[1-9][0-9]{16}|^0*(?=[1-9][0-9]{15}$)9(?:[1-9]|0(?:[1-9]|0(?:[8-9]|7(?:[2-9]|199(?:[3-9]|2(?:[6-9]|5(?:[5-9]|4(?:[8-9]|7(?:[5-9]|4(?:[1-9]|099[2-9])))))))))) and the replacement to invalid. Enable regular expressions. The first output row contains Invoice = B, Due day = 30, Paid = 0.
- Data quality report · Validate every row before continuing
In Data quality report, choose Nonnegative amounts under Validation rule. Select Due day as the field and Stop on invalid rows as the output. Valid data passes through with its original columns and values. A failing row stops downstream results until you correct it.
- Math · Calculate Days overdue
Apply 47 - [Due day] + 0 * [Paid] to each input row. Under Decimal places, choose Keep calculated precision so the next step receives the full calculated value. The first row yields 17.
- Measure Filter · Keep the requested rows
The filter uses Days overdue > 4 in keep mode. 2 rows remain including B.
In Math, set Whole-count validation to Unique identifier, choose Invoice key as the identifier, and tick Paid under Nonnegative whole counts.

The result table

| Invoice | Days overdue |
|---|---|
| B | 17 |
| D | 25 |
How to use the result
For Invoice B, the sample reports Days overdue of 17.
Synthetic test audio. Screenshots from the recorded workflow in n0is.