Sales Invoice Factoring Sage X3

Hello,

Need assistance with how to handle Sales Invoice Factoring in Sage X3. i.e. When a company sells a portion of their sales invoices to a factoring company from which they receive immediate cash for their debtors (normally a % of the sales)

Thank You