Add 'allocate' method for credit notes.