ImportPayment should generate Document No automatically
When you important a payment in adempiere it requires a Document No. This isn't necessary. You should be able to leave it out and let the system generate it for you.
I already have a working fix. I just need to get it into the form of a patch out of hg.
enhancement - left for later