Double vendor in general journal line

Hi,

while posting a voucher ,i have selected same vendor for two time ,it is throwing some error,“Invoice no. …already exists”.

could any one help me out…

you need to have unique document no for each voucher.

And also “External Document No.” must be unique for each vendor. This is to prevent accidential double posting of invoices or credit memos.