Can you take a look at the number sequence controlling that functionality? If it’s continuous, there could be a number sequence stuck or something. You might have to clean up that number sequence.
i don’t think those things have anything to do with the error you’re seeing. Can you take a look at the number sequence that’s being called for this process?
i’ve run into that, too. there’s actually a filter sometimes on the pending invoice form by default - you don’t even see it unless you go and look at the advanced filter and sort.