Help me solve invoice overdue issue

I can’t connect receipt with my invoice

Though I get paid but it shows overdue on the invoice.

version is 24.9.19.1857

Select Invoice in Receipt Voucher
image
and uncheck Balance Due in Invoice
image

I can’t find the option to select invoice in Receipt Voucher

Go to the view screen of the Sales Invoice for which you have received funds and select the New Receipt button.

The details will be pre-populated for you like this: