Ignore draft accounting periods (and fix a typo)
Move code to be possible customize reference, source_reference and destination_reference

With this, is possible set custom references without overwrite accounting_workflow