Losses from sales or exchanges of capital assets shall be allowed as deductions only to the extent of the gain from such sales or exchanges.
The term "capital assets" means all property of the taxpayer, whether or not connected with his trade or business, except stock in trade of the taxpayer or other property of a kind which would properly be included in the inventory of the taxpayer if on hand at the close of the taxable year, or property held by the taxpayer primarily for sale to customers in the ordinary course of his trade or business, or property, used in a trade or business, of a character which is subject to the allowance for depreciation provided in R.S. 47:65; and land used in a trade or business of the taxpayer.
La. Revenue and Taxation § 47:72