wrong Tax ledger posting in AX 2009

Hi… I am using Ax 2009. when I make the purchase invoice , the tax and duties where hitting to the payable GL account instead of Receivable GL account. I checked tax ledger posting group . But everything is correctly defined .

regards Yogesh