if A company is the parent company, for example, it hold 100% of B company's shares. Then that $99 is an goodwill if the total share capital and reserve of Company B only worth $1 when A doing the consolidated financial statement.
the detail u can find it in the iasplus website or search IAS 22, business combination.