The system retrieves the invoice account from the field in the form if that field is filled in. Alternatively, the customer 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 with the invoice amount.