It's all far more complex than needs to be, as PP says.
I like to imagine some Feynman diagram situation where electrons and positrons can spontaneously emerge in pairs. The circulating money and the debt in the central bank balance sheet are the complementary pairs.
The "quantity of money" is a non-concept because only the "net charge"---which is 0 (!) in theory---is preserved.
-----
The older mechanism is the treasury department making coins. The treasury department doesn't have any sort of corresponding "debt" written down when it does so. This is where the "trillion dollar coins" idea comes from.
I suppose the net money is not actually 0, but whatever it was when we came off the gold standard? Who knows!