The following fields must be identical for Duplicate invoice
check
· Company code
· Vendor number
· Currency
· Reference number
· Amount in document currency
· Document date
Use Tcode : OMRDC
Along with vendor setting in payment transaction accounting
in XK02
Check mark the Chk Double Inv. on the above screen and save it.