In this case you should use Vendor Ref Field , as duplicating the Document number is not allowed in system as the doc number is primary key .
you can enable the ref no duplication from document settings per document tab and to prevent duplication of ref no for same vendor you can use the Transaction Notification.
--Manish