docs: def download_software_version(version=None, synch=False):
      '''
      Download software packages by version number.
  
      Args:
          version(str): The version of the PANOS file to download.
  
          synch (bool): If true then the file will synch to the peer unit.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' panos.download_software_version 8.0.0
          salt '*' panos.download_software_version 8.0.0 True
  
      '''
      if not version:
          raise CommandExecutionError("Version option must not be none.")
  
      if not isinstance(synch, bool):
          raise CommandExecutionError("Synch option must be boolean..")
  
      if synch is True:
          query = {'type': 'op',
                   'cmd': '<request><system><software><download>'
                          '<version>{0}</version></download></software></system></request>'.format(version)}
      else:
          query = {'type': 'op',
                   'cmd': '<request><system><software><download><sync-to-peer>yes</sync-to-peer>'
                          '<version>{0}</version></download></software></system></request>'.format(version)}
  
      return _get_job_results(query)