Documenting uncovered corner-case:
If the provided period of record does not end on the first of a month, but on the last day of a month, then this first-of-month condition will not be met and therefore the last month in the period of record will not be assigned an accumulation value.