Move code to be possible customize reference, source_reference and destination_reference without overwrite accounting_workflow