Getting posts that should be used for invoicing