def METHOD_NAME(
    company_number: str,
    category: str = "",
    limit: int = 100,
    export: str = "",
) -> Filing_data:
    """Display company's filing history.
    Parameters
    ----------
    company_number : str
        company_number to retrieve filing history for
    """
    start_index = 0
    results = companieshouse_model.get_filings(company_number, category, start_index)
    start = int(results.start_index)
    data = results
    total = int(results.total_count) if int(results.total_count) < limit else limit
    while start < total - 100:
        results = companieshouse_model.get_filings(
            company_number, start_index=start + 100
        )
        data.filings = pd.concat([data.filings, results.filings], ignore_index=True)
        start = start + 100
    data.filings = data.filings.head(limit)
    console.print(f"Retrieved {len(data.filings)} filings")
    print_rich_table(
        data.filings,
        show_index=False,
        title=f"[bold]{company_number}[/bold]",
        export=bool(export),
    )
    export_data(
        export,
        os.path.dirname(os.path.abspath(__file__)),
        "results",
        data.filings,
    )
    return results