1) First, we create the advance invoice(s), where it is necessary to fill in the company.
2) We match this invoice(s) with a bank document. The advance invoices will then have a flag in the payment status — Paid.
3) We create a standard invoice, fill in the company again, and add the total invoice amount via line items.
4) We click the arrow next to the Add button and select Advance deduction/Tax document for advance. Any remaining balance is matched with the corresponding payment document.
