Invoices using purchase account instead of sales account from Items

Invoices using purchase account instead of sales account from Items

We're running into an issue where invoices created from bills are using the purchase account on the journal entry for the invoices as opposed to the sales account. In the screenshot examples you can see that the sales account is janitorial services but it has been posted to Contractor Expenses instead. It's important that our invoices show as sales and not as subtractions from expenses as this is key for company reporting and tax purposes. It seems very odd that posting the customer invoice as a reduction in expenses would be the default option. It's also key for us to continue be able to create invoices from bills as this creates a tie that allows us to view reporting and quickly view the related invoice/bills which is commonly needed.

Is there a way that we can create an invoice from a bill while still having the invoice use the sales account as opposed to the purchase account?