1099-NEC not consistent with P&L

I've just noticed that, while my 2021 1099-NEC from a customer shows all the money they paid me for the year, my P&L for the year shows as income from them only the amounts that were not expenses that I'd billed them for. And those expenses do not show under as expenses on the P&L—they're cancelled out because they were reimbursed, I presume.

The problem is that TurboTax is asking for the amount of the 1099-NEC and counting that as income, but then when I go to show my expenses to deduct against that amount, my P&L will not jibe with what I want to show, and I therefore have no simple documentation in case of audit. Plus it's just a PITA that I can't just work from my P&L and not have to catch these kinds of problems.

I'd be interested in a solution to this headache. Ideally, I could configure the P&L to show those expenses OR the full amount of the income. Or am I missing something?

Thanks.