The system accesses the invoice account from the field in the form, if the field is filled in. Alternatively, the vendor account is set as the default, but you can change the proposed account.

Item statistics are updated for the vendor, and the invoice account is credited the invoice amount.