I added a custom GI using SO invoice and AR invoice tables and created a custom column for past due invoices:
=IIF([ARInvoice.DocType]='INV' AND [ARInvoice.Status]='N' and [ARInvoice.DueDate] + Day( 5) < Today(), 'Past Due','Current')
Then I created a business event trigger by schedule to send an email on any invoices that became past due.
The schedule is running, but no email is generated from the business event.
Below are the screenshots:


