Automatic coding on a supplier invoice, can for example have the purpose of distributing purchasing costs onto different cost centres.
Under Settings - Accounting - Automatic Coding, we create an automatic coding to distribute the purchase of computers over 3 cost centres. It looks as follows, without anything in the Amount box because the amounts vary on each invoice, but the allocation is the same.
When you register a new supplier invoice under Supplier Invoices - Supplier Invoices - Create Supplier Invoice, select a supplier and enter the Total. The default purchase account (4000) appears in the journal rows.
Replace the default purchase account (4400) with the account linked to your automatic coding (1081). You can do this by either entering the account number directly into the box or selecting it using the selection button.
Press the Enter key until the amount is automatically filled into the Debit column. This is when the question as to whether you want to use the automatic coding or not appears. Click on OK.
The automatic coding populates the rows of the supplier invoice and you can click on Save.
To further decrease the steps in the process, connect the purchasing account to the supplier in the supplier registry under More Information. It will then appear directly on the supplier invoice when you select the supplier.