AMENDMENT NO. 12 TO RECEIVABLES PURCHASE AGREEMENT