TC-1764: fixed receipt for only billing periods for which service is active