In order to get always the last day of the previous month, you could use something like:
`datetime.date(year=report.month.year, month=report.month.month, day=1) - datetime.timedelta(days=1)`