To avoid transfer posting of the same vendor invoice


You can check "Flag for double invoices or credit memos" on Vendor master data. 


In FK02, Company code data -> Options Payment transactions.


Tick Check double invoice.