There is an entire software company dedicated towards optimizing around this.
Like, if you invoice net-90, then they will wait, and there is software that lets you compete with others to minimize the discount to get money now versus later. It's a crazy world.
Really? Can you name the company? I had some "is this a good idea for a start up" conversations with someone like 5 years ago who had a similar idea but didn't pursue it and I'd love to be able to point to a company that was actually doing it.