Reading your question, it seems you're perhaps looking after the total heating/cooling demand of your building rather than individual zones. If you only use IdealAirLoads, and don't have any special plant loops with District heating or cooling, you can just request the Meter for District Heating and District Cooling.
Possible appropriate meters are Heating:DistrictHeating
or DistrictHeating:Facility
(works only if you have your IdealAirLoads as Districtheating) or DistrictHeating:HVAC
(possibly the most appropriate for your use case). See eplusout.mdd
for more info including making sure the meter your end up selecting has what you require and only that.
Indeed, as stated in the doc for ZoneHVAC:IdealLoadsAirSystem
The energy required to condition the supply air is metered and reported as DistrictHeating and DistrictCooling.
See also DistrictHeating > Output Variables, Output:Meter, and the Output Details and Examples > eplusout.mtd.