Hi
Did you check in your SD pricing procedure how many discount conditions are there? There might be more than one and same account key is assigned with them. In this case there will be different amounts in FI posting and in SD invoice. In short just check the account key with that discount amount with other GLs.
Thank$