You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Capital expenditure and explain in detail?
Capital expenditure or capital expense (capex or CAPEX) is the money an organization or corporate entity spends to buy, maintain, or improve its fixed assets, such as buildings, vehicles, equipment, or land. It is considered a capital expenditure when the asset is newly purchased or when money is used towards extending the useful life of an existing asset, such as repairing the roof.Capital expenditures contrast with operating expenses (opex), which are ongoing expenses that are inherent to the operation of the asset. Opex includes items like electricity or cleaning. The difference between opex and capex may not be immediately obvious for some expenses; for instance, repaving the parking lot may be thought of inherent to the operation of a shopping mall. The dividing line for items like these is that the expense is considered capex if the financial benefit of the expenditure extends beyond the current fiscal year.

Usage
Capital expenditures are the funds used to acquire or upgrade a companys fixed assets, such as expenditures towards property, plant, or equipment (PP&E).  In the case when a capital expenditure constitutes a major financial decision for a company, the expenditure must be formalized at an annual shareholders meeting or a special meeting of the Board of Directors.  In accounting, a capital expenditure is added to an asset account, thus increasing the assets basis (the cost or value of an asset  adjusted for tax purposes). Capex is commonly found on the cash flow statement under "Investment in Plant, Property, and Equipment" or something similar in the Investing subsection.

Accounting rules
For tax purposes, capex is a cost that cannot be deducted in the year in which it is paid or incurred and must be capitalized. The general rule is that if the acquired propertys useful life is longer than the taxable year, then the cost must be capitalized. The capital expenditure costs are then amortized or depreciated over the life of the asset in question. Further to the above, capex creates or adds basis to the asset or property, which once adjusted, will determine tax liability in the event of sale or transfer