Correct me if I am wrong but isn’t this sort of the deficit.
Revenue-expenditures is deficit in the simplest terms I understand
In the guide below they don’t use gdp for national deficit but every thing I see for fiscal deficit has gdp. So I guess one is measure of nations economy versus the government budget. A nation’s economy it makes since to use gdp because that is all the money moved by productions so to show the economy of a nation’s is able to produce more than it indebts itself is important fiscaldata.treasury.gov/…/national-deficit/