you have to calculate exchange gain/loss at the time of bill booked(goods received) and the same gain/loss transfered to P&L a/c. if goods not received till end of b/s date, you have to revaluate advance payment as on that date as per exchange rate of that date and the same gain/loss transfer to p/l a/c.