Hi Jain,
it's complete depends on up the exchange rates. you may have book one entry one date and actually bank entry getting generated diff date there will be fx diff.
if you clear entries system will take clearing date fx rate and it will check invoice entry and payment entry if any diff system will generate the fx gain / loss entry.
config OBA1.
Regards,
Raman