At the national level the balance of primary incomes makes gross income, i.e. before deduction of consumption of fixed capital, equal to Gross National Income (GNI).
With the latter two tests satisfied, all that separates X Co. from a 2012 bonus deduction is the first test: the fact of the bonus liability must be fixed during 2012.