Apply payments to service invoices

Read this topic
One payment multiple invoices (supplier invoice)

And this Guide