For late payments, we want to calculate or capture the duration an invoice takes between two process checkpoints and if it's over an expected duration, then we tag the entry with a reason label.
Example
If the duration between Vendor Creates Invoice + Scan FI Document is greater than 2 days
Then, add reason 'Late Submission / Missed in Inbox' into reason column
We have multiple statements to add for other checkpoints but the logic is the same.
Any help would be greatly appreciated
Thanks