When entering an sales order or purchase order, the selection of the correct account and tax code by default is complex. Note that this only the logic for setting the default. When an order is entered then it is possible to change to the correct value if the default value is not appropriate.
Purchase order:
- Item card: VAT rate
- Item card: Purchase account
- Supplier's Partner card: default purchase account
- System settings - Companies: Own company default purchase account
- First purchase tax code, that that is used in the company (= Bookkeeping program and localisation are the same)