When you post the goods receipt, the system makes the following account postings:
The value of the delivery (net order price x quantity of goods received) is credited to the stock account and the GR/IR clearing account is debited. When the invoice is posted, the GR/IR clearing account is cleared and the vendor account is credited.
