W. Va. Code § 11-23-3
(b) Terms defined. --
(2) Capital. -- The term "capital" of a taxpayer shall mean:
(A) Corporations. -- In the case of a corporation, except an electing small business corporation, the average of the beginning and ending year balances of the sum of the following entries from Schedule L of Federal Form 1120, prepared following generally accepted accounting principles and as filed by the taxpayer with the Internal Revenue Service for the taxable year:
(B) S Corporations. -- In the case of an electing small business corporation, the average of the beginning and ending year balances of the sum of the following entries from Schedule L of Federal Form 1120S, prepared following generally accepted accounting principles and as filed by the taxpayer with the Internal Revenue Service for the taxable year:
(E) Allowance for certain government obligations and obligations secured by residential property. -- As to both corporations and partnerships, capital shall be multiplied by a fraction equal to one minus a fraction:
(i) The numerator of which is the average of the monthly beginning and ending account balances during the taxable year (account balances to be determined at cost in the same manner that such obligations, investments and loans are reported on Schedule L of the Federal Form 1120 or Federal Form 1065) of the following:
(8) Doing business. -- The term "doing business" means any activity of a corporation or partnership which enjoys the benefits and protection of the government and laws of this state, except the activity of agriculture and farming, which shall mean the production of food, fiber and woodland products (but not timbering activity) by means of cultivation, tillage of the soil and by the conduct of animal, livestock, dairy, apiary, equine or poultry husbandry, horticulture, or any other plant or animal production and all farm practices related, usual or incidental thereto, including the storage, packing, shipping and marketing, but not including any manufacturing, milling or processing of such products by persons other than the producer thereof.
The activity of agriculture and farming shall mean such activity, as above defined, occurring on not less than five acres of land and the improvements thereon, used in the production of the aforementioned activities, and shall mean the production of at least $1,000 of products per annum through the conduct of such principal business activities as set forth in section ten, article one-a, chapter eleven of this code.
(13) Financial organization. -- The term "financial organization" means:
(1) Making, acquiring, selling or servicing loans or extensions of credit. Loans and extensions of credit include:
(24) Taxable in another state. -- The term "taxable in another state" for purposes of apportionment under this article, means a taxpayer who: