In a factoring with recourse, the loss resulting from bad debts is born by: