How to create a payment entry

You can select one customer and link multiple invoices to them at a time. It is not possible to link multiple customers with multiple invoices.

This scenario is possible with Journal Entries. Please refer to the image below for more details.