Endoreversible thermodynamics is a theory for the (approximate) description of thermodynamic
non-equilibrium systems, which allows us to capture the ever present irreversibilities of real
processes. For instance in heat engines the dissipation due to finite heat transport capabilities,
as well as the resulting limitations in the energy fluxes, can be incorporated into the theory. It
has thus been very successful in closing the gap between observed and theoretically predicted
efficiencies. Here an extension of the theory is provided, with which chemical reactions can be
included in the formalism. This opens up a wide field of applications for endoreversible modeling
and the investigation of dissipative processes, for instance in fuel cells or batteries.