Labour sales invoice

I created an sales invoice for labour for a client. I assigned the invoice to my labour account under income.
My client paid me 28 days later. I recorded the payment against the sales invoice and allocated the payment again to the labour account.
The sales invoice is still showing overdue. I am sure I am missing something.

Any help is appreciated.

unless you allocate the payment to the Accounts receivable account, your sales invoices would show due.
create non inventory items for your services and select the same as line items when making sales invoices. you can also use custom accounts for the same. please read the guides regarding this.

Read the Guide: