refactored invoicng making clear interface - invoicing start_date and end_date => period