Different transactions in inventory management and invoice verification are relevant to accounting. The system records these transactions into an accounting document that contains the postings to the Finance General Ledger (G/L) accounts. The program should automatically determine the G/L accounts to which you make the postings in such a document.
For example, when you issue raw material for a production order, the system makes postings to stock accounts (under credits) and consumption accounts (under debits).
Automatic account determination is a procedure applied to accounting-relevant transactions and is used to identify the G/L accounts to which it makes postings without any user intervention. You must enter these accounts in a special table in Customizing for the transactions in inventory management and invoice verification.
Sample Automatic Postings

The figure describes the steps of the procurement process.
The procurement process above is based on the following business processes:
- A purchase order was created with a quantity of 10 pieces at a price of EUR 12 per piece. The material is valued at a standard price of EUR 10 per piece.
- In step 1, the goods receipt is posted.
As a result of valuation using the standard price, the received quantity is posted to stock account 13100000 with a value of EUR 100 (10 pieces x EUR 10 standard price).
An offsetting entry with a value of EUR 120 is made to the goods receipt/invoice receipt clearing account 21120000 because an invoice amount of EUR 120 (10 pieces x EUR 12 purchase order price) is expected.
The EUR 20 difference between the order price and the valuation price is posted to price difference account 52041000. The price difference is booked as an expenditure because the order price is higher than the valuation price.
- In step 2, the invoice receipt is posted.
The invoice is for 10 pieces at EUR 11 = EUR 110, plus 10% Value Added Tax (VAT), which is EUR 11 – a total of EUR 121.
This amount is posted to the supplier account, which corresponds to the reconciliation account from the business partner.
The GR/IR clearing account 21120000 has to be credited with the value from the goods receipt (= EUR 120) because the full quantity that was delivered is invoiced.
The invoice value (EUR 110) is lower than the goods receipt value (EUR 120). This time, the price difference is posted to price difference account 52541000 as revenue.
The system posts the tax amount to account 12600000 as input tax.
Posting Keys (PK) define whether a posting is a credit or a debit and to which type of accounts it is posted (supplier/asset...).
The following table shows typical posting transactions that can occur during a goods receipt into the warehouse or an invoice receipt for a purchase order item of the item category Standard without account assignment.
| Transaction or Type of Account Assignment | GR | IR | G/L Account | Origin |
|---|---|---|---|---|
| Inventory posting | X | X | 13100000 | Automatic account determination |
| GR/IR clearing | X | X | 21120000 | Automatic account determination |
| Price difference | X | X | 52041000 | Automatic account determination |
| Supplier (reconciliation account) | X | 21100000 | Account in Business Partner | |
| Input tax | X | 12600000 | Automatic account determination |
The system automatically determines the relevant G/L accounts for every transaction in Materials Management.
A transaction in Materials Management, for example, posting a goods receipt with reference to a purchase order, consists of a number of accounting operations, such as stock posting (transaction key BSX) and GR/IR clearing posting (transaction key WRX).
