In the SOPL it is subtracted for the irrecoverable debts expense.
In the SOFP it does not affect the receivables.
I do explain the treatment in my lectures on irrecoverable and doubtful debts. The lectures are a complete free course for Paper FA and cover everything needed to be able to pass the exam well.