Profit and loss report does not show sales invoices

Profit and loss report does not show sales invoices

Dear Team,

If i have a customer X and i am recording a bill for him and while invoicing the customer X i am syncing the same bill here. In this case this sales is not shown in the P&L report and only profit or loss is added