Office 365 license for NAV 2013 integration

Hi

Does any one know wich Office 365 license we need to integrate an on-premise NAV 2013 installation with Office 365? We have looked at the license models thats called “Mid size business” and “E3” and want to go with the “Mid size” thing, but I need to be sure that we then can publish data and work with diagram/charts etc in office 365 (Odata).

Thanks!