A minimum stoichiometric carbon and nitrogen model of an entire ecosystem based on Dynamic Energy Budget (DEB) theory is presented. The ecosystem contains nutrients, producers, consumers, decomposers and detritus. All three living groups consist of somatic structure and either one (consumers and decomposers) or two (producers) reserve compartments, hence the living matter is described by seven state variables. Four types of detritus are distinguished. As the system is closed for matter, the dynamics of the nutrients carbon dioxide and ammonium follow automatically from the dynamics of the other 11 state variables. All DEB organisms in the model are V1-morphs, which means that surface area of each organism is proportional to volume. The resulting ontogenetic symmetry implies that complicated modelling of size structure is not required. The DEB V1-morph model is explained in detail, and the same holds for the idea of synthesizing units, which plays a key role in DEB modelling. First results of system dynamics are presented.