What happens if the mining company sells the gold to foreign private buyers

Since gold is a part of official reserves, how would the balance-of-payments statistics show the sale of domestically mined gold to the countrys central bank? What happens if the mining company sells the gold to foreign private buyers?