Invoice Factoring and Resource Allocation