[dtree fix] make sure the billable date is the same as the message date 

and add flags to indicate that this was generated as a retro bill