def METHOD_NAME(period, accumulated_values, company):
	if not accumulated_values and period.get("from_date"):
		return period["from_date"]
	start_date = period["year_start_date"]
	if accumulated_values:
		start_date = get_fiscal_year(period.to_date, company=company)[1]
	return start_date