Das Kapital
The concept is formulated more precisely when Marx considers the reproduction and distribution of the national income (see e.g. his manuscript called "Results of the Immediate [or Direct] Process of Production", available in English in the Pelican edition of "Das Kapital"), and also online; and the last chapters of "Das Kapital" Volume 3).