def _get_zip_filename(xml_sps, output_filename=None):
    """
    Obtém o nome canônico de um arquivo ZIP a partir de `xml_sps: packtools.sps.models.sps_package.SPS_Package`.

    Parameters
    ----------
    xml_sps : packtools.sps.models.sps_package.SPS_Package
    output_filename: nome do arquivo zip

    Returns
    -------
    str
        "1414-431X-bjmbr-54-10-e11439.zip"

    """
    if not output_filename:
        return f'{xml_sps.package_name}.zip'
    else:
        return output_filename