Tex. Tax Code Section 171.1012
Determination of Cost of Goods Sold


(a)

In this section:

(1)

“Goods” means real or tangible personal property sold in the ordinary course of business of a taxable entity.

(2)

“Production” means construction, manufacture, development, mining, extraction, improvement, creation, raising, or growth.

(3)

(A) “Tangible personal property” means:
(i)
personal property that can be seen, weighed, measured, felt, or touched or that is perceptible to the senses in any other manner;
(ii)
films, sound recordings, videotapes, live and prerecorded television and radio programs, books, and other similar property embodying words, ideas, concepts, images, or sound, without regard to the means or methods of distribution or the medium in which the property is embodied, for which, as costs are incurred in producing the property, it is intended or is reasonably likely that any medium in which the property is embodied will be mass-distributed by the creator or any one or more third parties in a form that is not substantially altered; and
(iii)
a computer program, as defined by Section 151.0031.

(B)

“Tangible personal property” does not include:
(i)
intangible property; or
(ii)
services.

(b)

Subject to Section 171.1014 (Combined Reporting; Affiliated Group Engaged in Unitary Business), a taxable entity that elects to subtract cost of goods sold for the purpose of computing its taxable margin shall determine the amount of that cost of goods sold as provided by this section.

(c)

The cost of goods sold includes all direct costs of acquiring or producing the goods, including:

(1)

labor costs;

(2)

cost of materials that are an integral part of specific property produced;

(3)

cost of materials that are consumed in the ordinary course of performing production activities;

(4)

handling costs, including costs attributable to processing, assembling, repackaging, and inbound transportation costs;

(5)

storage costs, including the costs of carrying, storing, or warehousing property, subject to Subsection (e);

(6)

depreciation, depletion, and amortization, reported on the federal income tax return on which the report under this chapter is based, to the extent associated with and necessary for the production of goods, including recovery described by Section 197, Internal Revenue Code;

(7)

the cost of renting or leasing equipment, facilities, or real property directly used for the production of the goods, including pollution control equipment and intangible drilling and dry hole costs;

(8)

the cost of repairing and maintaining equipment, facilities, or real property directly used for the production of the goods, including pollution control devices;

(9)

costs attributable to research, experimental, engineering, and design activities directly related to the production of the goods, including all research or experimental expenditures described by Section 174, Internal Revenue Code;

(10)

geological and geophysical costs incurred to identify and locate property that has the potential to produce minerals;

(11)

taxes paid in relation to acquiring or producing any material, or taxes paid in relation to services that are a direct cost of production;

(12)

the cost of producing or acquiring electricity sold; and

(13)

a contribution to a partnership in which the taxable entity owns an interest that is used to fund activities, the costs of which would otherwise be treated as cost of goods sold of the partnership, but only to the extent that those costs are related to goods distributed to the taxable entity as goods-in-kind in the ordinary course of production activities rather than being sold.

(d)

In addition to the amounts includable under Subsection (c), the cost of goods sold includes the following costs in relation to the taxable entity’s goods:

(1)

deterioration of the goods;

(2)

obsolescence of the goods;

(3)

spoilage and abandonment, including the costs of rework labor, reclamation, and scrap;

(4)

if the property is held for future production, preproduction direct costs allocable to the property, including costs of purchasing the goods and of storage and handling the goods, as provided by Subsections (c)(4) and (c)(5);

(5)

postproduction direct costs allocable to the property, including storage and handling costs, as provided by Subsections (c)(4) and (c)(5);

(6)

the cost of insurance on a plant or a facility, machinery, equipment, or materials directly used in the production of the goods;

(7)

the cost of insurance on the produced goods;

(8)

the cost of utilities, including electricity, gas, and water, directly used in the production of the goods;

(9)

the costs of quality control, including replacement of defective components pursuant to standard warranty policies, inspection directly allocable to the production of the goods, and repairs and maintenance of goods; and

(10)

licensing or franchise costs, including fees incurred in securing the contractual right to use a trademark, corporate plan, manufacturing procedure, special recipe, or other similar right directly associated with the goods produced.

(e)

The cost of goods sold does not include the following costs in relation to the taxable entity’s goods:

(1)

the cost of renting or leasing equipment, facilities, or real property that is not used for the production of the goods;

(2)

selling costs, including employee expenses related to sales;

(3)

distribution costs, including outbound transportation costs;

(4)

advertising costs;

(5)

idle facility expense;

(6)

rehandling costs;

(7)

bidding costs, which are the costs incurred in the solicitation of contracts ultimately awarded to the taxable entity;

(8)

unsuccessful bidding costs, which are the costs incurred in the solicitation of contracts not awarded to the taxable entity;

(9)

interest, including interest on debt incurred or continued during the production period to finance the production of the goods;

(10)

income taxes, including local, state, federal, and foreign income taxes, and franchise taxes that are assessed on the taxable entity based on income;

(11)

strike expenses, including costs associated with hiring employees to replace striking personnel, but not including the wages of the replacement personnel, costs of security, and legal fees associated with settling strikes;

(12)

officers’ compensation;

(13)

costs of operation of a facility that is:

(A)

located on property owned or leased by the federal government; and

(B)

managed or operated primarily to house members of the armed forces of the United States; and

(14)

any compensation paid to an undocumented worker used for the production of goods. As used in this subdivision:

(A)

“undocumented worker” means a person who is not lawfully entitled to be present and employed in the United States; and

(B)

“goods” includes the husbandry of animals, the growing and harvesting of crops, and the severance of timber from realty.

(f)

A taxable entity may subtract as a cost of goods sold indirect or administrative overhead costs, including all mixed service costs, such as security services, legal services, data processing services, accounting services, personnel operations, and general financial planning and financial management costs, that it can demonstrate are allocable to the acquisition or production of goods, except that the amount subtracted may not exceed four percent of the taxable entity’s total indirect or administrative overhead costs, including all mixed service costs. Any costs excluded under Subsection (e) may not be subtracted under this subsection.

(g)

A taxable entity that is allowed a subtraction by this section for a cost of goods sold and that is subject to Section 263A, 460, or 471, Internal Revenue Code, may capitalize that cost in the same manner and to the same extent that the taxable entity capitalized that cost on its federal income tax return or may expense those costs, except for costs excluded under Subsection (e), or in accordance with Subsections (c), (d), and (f). If the taxable entity elects to capitalize costs, it must capitalize each cost allowed under this section that it capitalized on its federal income tax return. If the taxable entity later elects to begin expensing a cost that may be allowed under this section as a cost of goods sold, the entity may not deduct any cost in ending inventory from a previous report. If the taxable entity elects to expense a cost of goods sold that may be allowed under this section, a cost incurred before the first day of the period on which the report is based may not be subtracted as a cost of goods sold. If the taxable entity elects to expense a cost of goods sold and later elects to capitalize that cost of goods sold, a cost expensed on a previous report may not be capitalized.

(h)

A taxable entity shall determine its cost of goods sold, except as otherwise provided by this section, in accordance with the methods used on the federal income tax return on which the report under this chapter is based. This subsection does not affect the type or category of cost of goods sold that may be subtracted under this section.

(i)

A taxable entity may make a subtraction under this section in relation to the cost of goods sold only if that entity owns the goods. The determination of whether a taxable entity is an owner is based on all of the facts and circumstances, including the various benefits and burdens of ownership vested with the taxable entity. A taxable entity furnishing labor or materials to a project for the construction, improvement, remodeling, repair, or industrial maintenance (as the term “maintenance” is defined in 34 T.A.C. Section 3.357) of real property is considered to be an owner of that labor or materials and may include the costs, as allowed by this section, in the computation of cost of goods sold. Solely for purposes of this section, a taxable entity shall be treated as the owner of goods being manufactured or produced by the entity under a contract with the federal government, including any subcontracts that support a contract with the federal government, notwithstanding that the Federal Acquisition Regulation may require that title or risk of loss with respect to those goods be transferred to the federal government before the manufacture or production of those goods is complete.

(j)

A taxable entity may not make a subtraction under this section for cost of goods sold to the extent the cost of goods sold was funded by partner contributions and deducted under Subsection (c)(13).

(k)

Notwithstanding any other provision of this section, if the taxable entity is a lending institution that offers loans to the public and elects to subtract cost of goods sold, the entity, other than an entity primarily engaged in an activity described by category 5932 of the 1987 Standard Industrial Classification Manual published by the federal Office of Management and Budget, may subtract as a cost of goods sold an amount equal to interest expense. For purposes of this subsection, an entity engaged in lending to unrelated parties solely for agricultural production offers loans to the public.

(k-1)

Notwithstanding any other provision of this section, the following taxable entities may subtract as a cost of goods sold the costs otherwise allowed by this section in relation to tangible personal property that the entity rents or leases in the ordinary course of business of the entity:

(1)

a motor vehicle rental or leasing company that remits a tax on gross receipts imposed under Section 152.026 (Tax on Gross Rental Receipts);

(2)

a heavy construction equipment rental or leasing company; and

(3)

a railcar rolling stock rental or leasing company.

(k-2)

This subsection applies only to a pipeline entity: (1) that owns or leases and operates the pipeline by which the product is transported for others and only to that portion of the product to which the entity does not own title; and (2) that is primarily engaged in gathering, storing, transporting, or processing crude oil, including finished petroleum products, natural gas, condensate, and natural gas liquids, except for a refinery installation that manufactures finished petroleum products from crude oil. Notwithstanding Subsection (e)(3) or (i), a pipeline entity providing services for others related to the product that the pipeline does not own and to which this subsection applies may subtract as a cost of goods sold its depreciation, operations, and maintenance costs allowed by this section related to the services provided.

(k-3)

For purposes of Subsection (k-2), “processing” means the physical or mechanical removal, separation, or treatment of crude oil, including finished petroleum products, natural gas, condensate, and natural gas liquids after those materials are produced from the earth. The term does not include the chemical or biological transformation of those materials.

(l)

Notwithstanding any other provision of this section, a payment made by one member of an affiliated group to another member of that affiliated group not included in the combined group may be subtracted as a cost of goods sold only if it is a transaction made at arm’s length.

(m)

In this section, “arm’s length” means the standard of conduct under which entities that are not related parties and that have substantially equal bargaining power, each acting in its own interest, would negotiate or carry out a particular transaction.

(n)

In this section, “related party” means a person, corporation, or other entity, including an entity that is treated as a pass-through or disregarded entity for purposes of federal taxation, whether the person, corporation, or entity is subject to the tax under this chapter or not, in which one person, corporation, or entity, or set of related persons, corporations, or entities, directly or indirectly owns or controls a controlling interest in another entity.

(o)

If a taxable entity, including a taxable entity with respect to which cost of goods sold is determined pursuant to Section 171.1014 (Combined Reporting; Affiliated Group Engaged in Unitary Business)(e)(1), whose principal business activity is film or television production or broadcasting or the distribution of tangible personal property described by Subsection (a)(3)(A)(ii), or any combination of these activities, elects to subtract cost of goods sold, the cost of goods sold for the taxable entity shall be the costs described in this section in relation to the property and include depreciation, amortization, and other expenses directly related to the acquisition, production, or use of the property, including expenses for the right to broadcast or use the property.

(t)

If a taxable entity that is a movie theater elects to subtract cost of goods sold, the cost of goods sold for the taxable entity shall be the costs described by this section in relation to the acquisition, production, exhibition, or use of a film or motion picture, including expenses for the right to use the film or motion picture.
Amended by:
Acts 2006, 79th Leg., 3rd C.S., Ch. 1 (H.B. 3), Sec. 5, eff. January 1, 2008.
Acts 2007, 80th Leg., R.S., Ch. 1282 (H.B. 3928), Sec. 14, eff. January 1, 2008.
Acts 2007, 80th Leg., R.S., Ch. 1282 (H.B. 3928), Sec. 15, eff. January 1, 2008.
Acts 2013, 83rd Leg., R.S., Ch. 1232 (H.B. 500), Sec. 9, eff. January 1, 2014.
Acts 2013, 83rd Leg., R.S., Ch. 1232 (H.B. 500), Sec. 10(a), eff. September 1, 2013.
Acts 2017, 85th Leg., R.S., Ch. 377 (H.B. 4002), Sec. 1, eff. September 1, 2017.

Source: Section 171.1012 — Determination of Cost of Goods Sold, https://statutes.­capitol.­texas.­gov/Docs/TX/htm/TX.­171.­htm#171.­1012 (accessed Apr. 20, 2024).

171.0001
General Definitions
171.001
Tax Imposed
171.0002
Definition of Taxable Entity
171.002
Rates
171.0003
Definition of Passive Entity
171.003
Increase in Rate Requires Voter Approval
171.0004
Definition of Conducting Active Trade or Business
171.0005
Definition of New Veteran-owned Business
171.006
Adjustment of Eligibility for No Tax Due, Discounts, and Compensation Deduction
171.0011
Additional Tax
171.051
Application for Exemption
171.052
Certain Corporations
171.053
Exemption--railway Terminal Corporation
171.055
Exemption--open-end Investment Company
171.056
Exemption--corporation with Business Interest in Solar Energy Devices
171.057
Exemption--nonprofit Corporation Organized to Promote County, City, or Another Area
171.058
Exemption--nonprofit Corporation Organized for Religious Purposes
171.059
Exemption--nonprofit Corporation Organized to Provide Burial Places
171.060
Exemption--nonprofit Corporation Organized for Agricultural Purposes
171.061
Exemption--nonprofit Corporation Organized for Educational Purposes
171.062
Exemption--nonprofit Corporation Organized for Public Charity
171.063
Exemption-nonprofit Corporation Exempt from Federal Income Tax
171.064
Exemption--nonprofit Corporation Organized for Conservation Purposes
171.065
Exemption--nonprofit Corporation Organized to Provide Water Supply or Sewer Services
171.066
Exemption--nonprofit Corporation Involved with City Natural Gas Facility
171.067
Exemption--nonprofit Corporation Organized to Provide Convalescent Homes for Elderly
171.068
Exemption--nonprofit Corporation Organized to Provide Cooperative Housing
171.069
Exemption--marketing Associations
171.070
Exemption--lodges
171.071
Exemption--farmers’ Cooperative Society
171.072
Exemption--housing Finance Corporation
171.073
Exemption--hospital Laundry Cooperative Association
171.074
Exemption--development Corporation
171.075
Exemption--cooperative Association
171.076
Exemption--cooperative Credit Association
171.077
Exemption--credit Union
171.079
Exemption--electric Cooperative Corporation
171.080
Exemption--telephone Cooperative Corporations
171.081
Exemption--corporation Exempt by Another Law
171.082
Exemption--certain Homeowners’ Associations
171.083
Exemption--emergency Medical Service Corporation
171.084
Exemption--certain Trade Show Participants
171.085
Exemption
171.086
Exemption: Political Subdivision Corporation
171.087
Exemption--nonprofit Corporation Organized for Student Loan Funds or Student Scholarship Purposes
171.088
Exemption--noncorporate Entity Eligible for Certain Exemptions
171.101
Determination of Taxable Margin
171.103
Determination of Gross Receipts from Business Done in This State for Margin
171.105
Determination of Gross Receipts from Entire Business for Margin
171.106
Apportionment of Margin to This State
171.107
Deduction of Cost of Solar Energy Device from Margin Apportioned to This State
171.108
Deduction of Cost of Clean Coal Project from Margin Apportioned to This State
171.109
Deduction of Relocation Costs by Certain Taxable Entities from Margin Apportioned to This State
171.111
Temporary Credit on Taxable Margin
171.151
Privilege Period Covered by Tax
171.152
Date on Which Payment Is Due
171.154
Payment to Comptroller
171.158
Payment by Foreign Taxable Entity Before Withdrawal from State
171.201
Initial Report
171.202
Annual Report
171.203
Public Information Report
171.204
Information Report
171.205
Additional Information Required by Comptroller
171.206
Confidential Information
171.207
Information Not Confidential
171.208
Prohibition of Disclosure of Information
171.209
Right of Owner to Examine or Receive Reports
171.210
Permitted Use of Confidential Information
171.211
Examination of Records
171.212
Report of Changes to Federal Income Tax Return
171.251
Forfeiture of Corporate Privileges
171.252
Effects of Forfeiture
171.253
Suit on Cause of Action Arising Before Forfeiture
171.254
Exception to Forfeiture
171.255
Liability of Director and Officers
171.256
Notice of Forfeiture
171.257
Judicial Proceeding Not Required for Forfeiture
171.258
Revival of Corporate Privileges
171.259
Banking Corporations and Savings and Loan Associations
171.260
Savings and Loan Association
171.301
Grounds for Forfeiture of Charter or Certificate of Authority
171.302
Certification by Comptroller
171.303
Suit for Judicial Forfeiture
171.304
Record of Judicial Forfeiture
171.305
Revival of Charter or Certificate of Authority After Judicial Forfeiture
171.306
Suit to Set Aside Judicial Forfeiture
171.307
Record of Suit to Set Aside Judicial Forfeiture
171.308
Corporate Privileges After Judicial Forfeiture Is Set Aside
171.309
Forfeiture by Secretary of State
171.310
Judicial Proceeding Not Required for Forfeiture by Secretary of State
171.311
Record of Forfeiture by Secretary of State
171.312
Revival of Charter or Certificate of Authority After Forfeiture by Secretary of State
171.313
Proceeding to Set Aside Forfeiture by Secretary of State
171.314
Corporate Privileges After Forfeiture by Secretary of State Is Set Aside
171.315
Use of Corporate Name After Revival of Charter or Certificate of Authority
171.316
Banking Corporations
171.317
Savings and Loan Associations
171.351
Venue of Suit to Enforce Chapter
171.352
Authority to Restrain or Enjoin
171.353
Appointment of Receiver
171.354
Agent for Service of Process
171.355
Service of Process on Secretary of State
171.361
Penalty for Disclosure of Information on Report
171.362
Penalty for Failure to Pay Tax or File Report
171.363
Wilful and Fraudulent Acts
171.401
Revenue Deposited in General Revenue Fund
171.501
Refund for Job Creation in Enterprise Zone
171.0525
Exemption--certain Insurance Companies
171.551
Definitions
171.552
Entitlement to Credit
171.553
Application for and Issuance of Allocation Certificate
171.554
Amount of Credits
171.555
Apportionment of Credit
171.556
Length of Credit
171.557
Carry Forward or Backward
171.558
Recapture
171.559
Allocation of Credit
171.560
Filing Requirements After Allocation
171.561
Application for Credit
171.562
Rules
171.563
Compliance Monitoring
171.564
Inclusion of Information in Low Income Housing Plan
171.565
Expiration of Authority to Allocate Credits
171.566
Priority Allocation for Certain Qualified Developments
171.601
Definition
171.602
Tax Credit for Clean Energy Project
171.651
Definitions
171.652
Eligibility for Credit
171.653
Ineligibility for Credit for Certain Periods
171.654
Amount of Credit
171.655
Attribution of Expenses Following Transfer of Controlling Interest
171.656
Combined Reporting
171.657
Burden of Establishing Credit
171.658
Limitations
171.659
Carryforward
171.660
Assignment Prohibited
171.661
Application for Credit
171.662
Rules
171.663
Reporting of Estimates and Collection of Information
171.664
Deposit of Certain Revenue
171.665
Expiration
171.1011
Determination of Total Revenue from Entire Business
171.1012
Determination of Cost of Goods Sold
171.1013
Determination of Compensation
171.1014
Combined Reporting
171.1015
Reporting for Certain Partnerships in Tiered Partnership Arrangement
171.1016
E-z Computation and Rate
171.1055
Exclusion of Certain Receipts for Margin Apportionment
171.1121
Gross Receipts for Margin
171.1532
Business on Which Tax on Net Taxable Margin Is Based
171.2022
Exemption from Reporting Requirements
171.2125
Calculating Cost of Goods or Compensation in Professional Employer Services Arrangements
171.2515
Forfeiture of Right of Taxable Entity to Transact Business in This State
171.3015
Forfeiture of Certificate or Registration of Taxable Entity
171.3125
Revival of Certificate or Registration of Taxable Entity After Forfeiture by Secretary of State
171.4011
Allocation of Certain Revenue to Property Tax Relief Fund
171.10132
Provisions Related to Certain Grants Received for Broadband Deployment in Texas

Accessed:
Apr. 20, 2024

§ 171.1012’s source at texas​.gov