Facts
The appellant, [X. SA] , is a company registered in the commercial register of the canton of Vaud, with its registered office in Lausanne, operating ladies' hairdressing salons and trading in hairdressing articles. It is managed by two directors with individual signing authority, and its sole shareholder is [C.Y.] .
The company owned an undeveloped plot of 1'145 m2, in a villa zone, located in the municipality of Le Mont-sur-Lausanne, acquired in 1978 for CHF 101'890 (tax value of CHF 143'000 after the general revision of 1994). This plot adjoins a built plot of 1'004 m2 belonging to the shareholder. By notarized deed of 23 April 2008, the company sold the property to the shareholder for CHF 250'000, being the value recorded in the balance sheet as at 30 September 2007.
In the transfer duty proceedings, the Cantonal Tax Administration of the canton of Vaud set the base due from the acquirer at CHF 572'500 (CHF 500 per square metre), a decision confirmed by the Cantonal Court and then by the Federal Supreme Court (judgment 2C_753/2010 of 23 March 2011).
For 2008, the company declared a loss of CHF 66'934. At the final assessment of 10 February 2010, the Legal Entities Tax Office added back CHF 322'500 (difference between CHF 572'500 and CHF 250'000) as a hidden profit distribution, fixing the taxable profit at CHF 217'900, the cantonal and communal income tax at CHF 44'497.15 and the federal direct tax at CHF 18'521.50. The objection was dismissed on 2 October 2013, and the cantonal appeal was dismissed on 20 May 2014.
By judgment of 15 January 2015 (2C_594/2014 and 2C_597/2014), the Federal Supreme Court allowed the company's appeal and set aside the cantonal judgment for breach of the right to be heard, the Cantonal Court having failed to take into account a private expert report produced during the second exchange of submissions. It nevertheless accepted the use, for federal direct tax and cantonal and communal income tax purposes, of the transfer duty file established with the shareholder.
Ruling anew on 3 September 2015, after a preliminary hearing of 27 May 2015 during which the company's expert was heard, the Cantonal Court, Administrative and Public Law Division, dismissed the appeal, confirmed the market value of CHF 572'500 and held that the conditions of a hidden profit distribution were met.
The appellant company, by way of public law appeal, seeks annulment of the cantonal judgment or, in the alternative, remittal of the case. It alleges breach of its right to be heard as well as of federal and cantonal law. The Cantonal Tax Administration, the Cantonal Court and the Federal Tax Administration seek dismissal of the appeal. Cases 2C_863/2015 (cantonal and communal income tax) and 2C_864/2015 (federal direct tax) have been joined.
Considerations
The joinder of the two cases is justified, the facts being identical and the legal questions overlapping (art. 71 FSCA and art. 24 FCPA). The appeal is admissible as a public law appeal, lodged in time by the taxpayer addressed by the final decision (art. 90, 86 para. 1 let. d and para. 2, 82 let. a, 100 para. 1 FSCA; art. 146 DFTA; art. 73 para. 1 DTHA). The Federal Supreme Court reviews federal law freely, but the facts may only be challenged if they were established in violation of law or arbitrarily, which must be demonstrated in a detailed manner (art. 95, 97, 105 and 106 para. 2 FSCA). The request to take into account a tax provision, based on facts not established, is dismissed outright.
On the right to be heard (art. 29 para. 2 Cst.), the complaint is rejected. The reference to a neighbouring plot, already raised by the Tax Administration and by the appellant itself, does not constitute a breach. Adhering to the judgment rendered in transfer duty matters is not contrary to the right to be heard, which had already been decided (2C_594/2014 consid. 5.3). The reasoning, even if brief, allows the reasons for rejecting the appellant's arguments to be understood, and the criticisms concerning the assessment of the facts fall within the merits.
On the merits, a hidden profit distribution cumulatively requires: a benefit without corresponding consideration; a benefit granted to a shareholder or a related person; a benefit that would not have been granted to a third party under the same conditions; and a manifest disproportion that the organs could have noticed (ATF 140 II 88 consid. 4.1). The disproportion is determined by comparison with arm's length conditions (Drittvergleich, dealing at arm's length), the market value being established according to the free market price or, failing that, by the comparable price method (ATF 140 II 88 consid. 4.2; art. 6 OEI). The determination of market value must respect the principles of federal law and is only censured if manifestly untenable.
As regards the assessment of evidence, a private expert report is subject to free evaluation and constitutes a simple allegation by a party; the Federal Supreme Court only examines whether the cantonal authority could, without arbitrariness, uphold or disregard it (judgment 2C_419/2015 consid. 6.1). The Cantonal Court could,…