Texas rules on COGS deduction for oil rig servicer


Kevin Herzberg
T +1 832 476 3610

Saylor Sims
T +1 469 801 4951

Debasish Chakrabarti
T +1 832 476 3615

Jenn Slinkard
T +1 214 561 2570

Parit Patel
T +1 214 283 8178

Jamie C. Yesnowitz
Washington, D.C.
T +1 202 521 1504

Chuck Jones
T +1 312 602 8517

Lori Stolly
T +1 513 345 4540

Patrick Skeehan
T +1 215 814 1743
The Texas Supreme Court held that a taxpayer was entitled to exclude revenue related to flow-through payments from its Texas Franchise Tax calculation.1 However, with respect to the taxpayer’s cost of goods sold (COGS) deduction for labor, the Court determined that the taxpayer’s survey, repair and upgrade costs were not considered a direct cost of acquiring or producing a good, and the specific costs to be included in the calculation must be identified on a cost-by-cost basis. The Court remanded the case to the trial court for further consideration.

Background The taxpayer, Gulf Copper and Manufacturing Corporation (Gulf Copper), surveys, repairs and upgrades offshore oil and gas rigs which are used to drill offshore wells. After a project is completed, the rigs are brought to a Gulf Copper facility so that when another drilling contract is executed, the rig can be prepared for the next drilling project.

When a rig is brought to a Gulf Copper facility, a Gulf Copper subsidiary surveys the rig to determine the modifications required to be made to prepare the rig for the next project. After the survey has been completed, Gulf Copper and its subcontractors will make necessary repairs, which can include replacing portions of the rig that are corroded, as well as sandblasting and painting parts of the rig that have not been replaced.

Gulf Copper contracted with both its customers (the owners of the oil rigs) as well as with its subcontractors to complete this work. Gulf Copper entered into two types of contracts with its customers. One type of contract, using the “hourly method,” provided that the customer would pay Gulf Copper an hourly rate that was 15% to 20% more than Gulf Copper’s anticipated costs. The second type of contract is referred to as the “cost plus” method. Under this type of contract, the customer would pay Gulf Copper a specified percentage in excess of the rate Gulf Copper paid to its subcontractors.

Revenue exclusion for subcontracting payments On its 2009 Texas Franchise Tax return, Gulf Copper subtracted payments to its subcontractors as flow-through funds entitled to an exclusion from revenue under Tex. Tax Code Ann. Sec. 171.1011(g)(3).2 Further, as Gulf Copper elected to take the COGS deduction from total revenue, Gulf Copper subtracted additional costs not excluded from revenue as a COGS deduction under Tex. Tax Code Ann. Sec. 171.1012(i).3

Procedure Following an audit, the Comptroller disallowed the exclusions from revenue and disallowed some costs that Gulf Copper had subtracted as a COGS deduction. The trial court rendered judgment in favor of Gulf Copper.4 After the Comptroller appealed, the Texas Court of Appeals held that the trial court correctly allowed the exclusion from revenue, and that the Comptroller erroneously limited the costs that Gulf Copper was able to subtract. However, the Court of Appeals also held that the methodology used to determine the COGS subtraction was improper, and therefore, remanded the case to the trial court to correctly calculate the COGS subtraction using the proper method.5

Supreme Court allows revenue exclusion for subcontracting payments The Supreme Court agreed with the appellate court that the subcontractor payments made by Gulf Copper qualified for the exclusion because the payments were “in connection with” the drilling of oil wells and qualified as “flow-through funds that are mandated by contract.” In addressing the revenue exclusion issue, the Comptroller agreed that the work done by Gulf Copper on the rigs qualified as “services, labor or materials” and that drilling an oil well constituted “construction . . . of improvements on real property.” However, the Comptroller argued that the work done by Gulf Copper was not “in connection” with the drilling of oil wells. While the phrase “in connection with” broadened the work to which the revenue exclusion applies, the Comptroller did not believe the work done on the oil rigs was linked closely enough to the oil wells to meet the “in connection with” requirement.

In rejecting that argument, the Court stated that if Gulf Copper’s subcontractors had worked directly on the oil wells, the exclusion would certainly apply. Since neither the statute nor regulations define the word “connection,” the Court then looked to other subsections within the Texas Franchise Tax statutes to determine the legislative intent of the phrase “in connection with.” Based on this analysis, the Court found that the requisite relationship must be “more than a remote, tangential relationship.” However, the Court disagreed that the labor had to be in either physical, temporal or contractual proximity to the work on the oil wells. The Court found that since Gulf Copper’s work on the oil rigs was a necessary component required for the rigs to dig oil wells, Gulf Copper’s payments to subcontractors were considered to be “in connection with” the oil wells.

The Comptroller further argued that Gulf Copper’s payments were not “mandated by contract,” because such payments were made in Gulf Copper’s contract with its subcontractors, not its customers, and therefore, did not qualify for the exclusion under Tex. Tax Code Ann. Sec. 171.1011(g)(3). Specifically, the Comptroller claimed that Gulf Copper’s contract using the “hourly method” did not meet the requirements of the statute, because it did not specify the amount that would be paid to the subcontractors and the amount that would be kept by Gulf Copper.

The Court disagreed with the Comptroller that only the contract with the customer could mandate the distribution of funds to other entities. The Court found that the statutory language did not distinguish between a contract with a subcontractor versus a contract with the customer. The Court held that since Gulf Copper’s contracts with its subcontractors required payment of a certain amount, the contract with the subcontractor satisfied the statutory language. In addition, the Court also found that the “mandated by contract” language in subsection (g) did not mandate that the “contract” was required to specify the amount of funds to be distributed to the subcontractors. The Court found that both the contract with the customer as well as the contract with the subcontractors combined to satisfy the statutory requirement.

Supreme Court considers applicability of COGS subtraction

Tex. Tax Code Ann. Sec. 171.1012(i) The Comptroller agreed that certain costs incurred by Gulf Copper, including the parts of the rig required to be replaced in order to prepare the rig for the next project, are includible as COGS. However, the Comptroller disagreed that certain labor costs should be includible. For example, the Comptroller argued that the labor costs associated with painting portions of the rig were not includible in COGS.

The Court noted that while the language in Tex. Tax Code Ann. Sec. 171.1011(g)(3) allowing certain costs as an exclusion from revenue is similar to the language of Tex. Tax Code Ann. Sec. 171.1012(i), the two statutes do differ in relevant respects. As such, the Court’s holding that Gulf Copper was entitled to certain exclusions from revenue did not determine whether Gulf Copper could deduct the disputed costs in determining COGS. The Court agreed with the Comptroller that the language in the COGS deduction was narrower than the language in the revenue exclusion. The COGS deduction only allowed costs for activities typically occurring on-site, while the revenue exclusion could include revenues from “actual or proposed design” that could occur on-site or offsite. Further, the COGS deduction included the words “furnishing to,” which is more restrictive than the term “in connection with” that applied for the revenue exclusion. As a result, the Court held that the labor costs that Gulf Copper had subtracted as COGS could not be property deducted as COGS under this provision.

Gulf Copper had proposed what could be characterized as a “but for” test, arguing that labor and materials should be allowed as a COGS deduction if the actual project could not occur without them. The Court found that there was no basis for such a reading based on the statutory language and noted that such a test could allow just about any labor or materials into the COGS calculation. As such, the Court held that the labor or materials had to be “furnished to or incorporated into the real property itself.”

Tex. Tax Code Ann. Sec. 171.1012(c)-(d) Gulf Copper also argued that since some of its costs qualified for the COGS subtraction and that because its work on the rigs was part of an integrated project of preparing the rigs to drill wells, all of its costs should be considered deductible. The Court disagreed with this interpretation, and held that the taxpayer was required “to show that each of its costs independently qualified under section 171.1012.” The Court found that the legislature only intended that certain costs would qualify for the COGS subtraction since they enacted a very detailed list of requirements in Tex. Tax Code Ann. Sec. 171.1012(c) and (d), and that “allowable” costs must meet those requirements.

Commentary The Court’s ruling that direct costs must be directed to the construction project itself could severely restrict the type of taxpayers that can take COGS as a subtraction for purposes of the Texas Franchise Tax. This restriction was also illustrated in the Sunstate6 decision released on the same day as Gulf Copper, where the Court disallowed costs associated with delivering and picking up heavy construction equipment used in the improvement of real property. It is likely that if the exploration and production company elected to refurbish the oil rigs themselves, all of the costs that were disallowed by the Court as COGS for Gulf Copper would have been allowed as a COGS subtraction. Texas specifically allows the costs associated with repairing and maintaining equipment, facilities or real property directly used for the production of goods. As such, the Court essentially is determining the types of taxpayers that qualify for the COGS deduction, not just the types of activities that qualify for COGS. Except in limited circumstances, the Texas Tax Code does not restrict the costs that may be included in COGS based on the taxpayer’s activity or industry. In general, where the Texas legislature has specifically referenced a taxpayer’s overall business activity or industry, it has done so in order to expand industries that could avail themselves of the COGS subtraction.

Part of the Court’s rationale for rejecting the “but for” test advocated by both Gulf Copper and Sunstate is that such a test would be “untenable.” The Court does not explain why such a test would be untenable. In contrast, the Court dismissed Gulf Copper’s argument that analyzing a taxpayer’s every cost in determining COGS would be burdensome. The Court felt that the option to multiply total revenue by 70% was an “efficient” alternative. In coming to this conclusion, the Court failed to address two practical concerns. First, for most taxpayers that elect to subtract COGS, the 70% option often results in a far greater tax than COGS. Second, in practice upon audit, the Comptroller does not simply look at each expense to determine whether it qualifies as a COGS subtraction, but parses trial balance accounts even further by using ratios agreed to by the taxpayer and auditor. This can result in similarly situated taxpayers paying different amounts of tax simply because of a difference in the auditor assigned to that particular taxpayer.

1 Hegar v. Gulf Copper & Manufacturing Corp., Texas Supreme Court, No. 17-0894, April 3, 2020.
2 The Texas Franchise Tax is based on the amount of revenue apportioned to Texas. In arriving at total revenue, certain exclusions from revenue are allowed. Under this provision, for the tax period at issue, the taxpayer excluded amounts otherwise included in total revenue: “only the following flow-through funds that are mandated by contract to be distributed to other entities . . . (3) subcontracting payments handled by the taxable entity to provide services, labor or materials in connection with the actual or proposed design, construction, remodelling or repair of improvements on real property or the location of the boundaries of real property.”
3 Once total revenue is calculated, a taxpayer may deduct: (i) 30% of total revenue; (ii) compensation as defined by the code, or (iii) COGS. Tex. Tax Code Ann. Sec. 171.1012 delineates the costs that may be allowed to be included in the COGS subtraction as well as certain costs that must be excluded from COGS. In general, the taxable entity taking the COGS subtraction must own the goods. However, subsection 1012(i) states: “A taxable entity furnishing labor or materials to a project for the construction, improvement, remodeling, repair, or industrial maintenance . . . 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.”
4 Hegar v. Gulf Copper & Manufacturing Corp., District Court of Travis County, 201st Judicial District, No. D-1-GN-14-004620 (2015).
5 Hegar v. Gulf Copper & Manufacturing Corp., 535 S.W.3d 1 (Tex. App. 3rd. Dist. 2017).
6 Hegar v. Sunstate Equipment Co., LLC, Texas Supreme Court, No. 17-0444, April 3, 2020.

This content supports Grant Thornton LLP’s marketing of professional services and is not written tax advice directed at the particular facts and circumstances of any person. If you are interested in the topics presented herein, we encourage you to contact us or an independent tax professional to discuss their potential application to your particular situation. Nothing herein shall be construed as imposing a limitation on any person from disclosing the tax treatment or tax structure of any matter addressed herein. To the extent this content may be considered to contain written tax advice, any written advice contained in, forwarded with or attached to this content is not intended by Grant Thornton LLP to be used, and cannot be used, by any person for the purpose of avoiding penalties that may be imposed under the Internal Revenue Code.

The information contained herein is general in nature and is based on authorities that are subject to change. It is not, and should not be construed as, accounting, legal or tax advice provided by Grant Thornton LLP to the reader. This material may not be applicable to, or suitable for, the reader’s specific circumstances or needs and may require consideration of tax and nontax factors not described herein. Contact Grant Thornton LLP or other tax professionals prior to taking any action based upon this information. Changes in tax laws or other factors could affect, on a prospective or retroactive basis, the information contained herein; Grant Thornton LLP assumes no obligation to inform the reader of any such changes. All references to “Section,” “Sec.,” or “§” refer to the Internal Revenue Code of 1986, as amended.