Does personal income formula uses gross national income or net national income?

So we have the formula: Personal income = National income - corporate income tax - indirect business tax - undistributed corporate profits + transfer payment.

Is the national income in the formula the Net nation income or the gross national income?

GNI = NNI + Capital consumption allowance right?