BPM - Prevent duplicate invoices posting

I see. Instead of holding the invoice, you could call my previously suggested logic in a form customization when the toolclick is triggered, providing a warning messagebox and allowing the user to either cancel out or continue with the post.