XML 23 R9.htm IDEA: XBRL DOCUMENT v3.22.0.1
SIGNIFICANT ACCOUNTING POLICIES
12 Months Ended
Dec. 31, 2021
Accounting Policies [Abstract]  
SIGNIFICANT ACCOUNTING POLICIES
Nature of operations We help enterprises, small businesses and financial institutions deepen customer relationships through trusted, technology-enabled solutions, including marketing services and data analytics, treasury management solutions, merchant services, website development and hosting, promotional products and fraud solutions, as well as customized checks and forms. We are also a leading provider of checks and accessories sold directly to consumers.

Consolidation The consolidated financial statements include the accounts of Deluxe Corporation and its wholly-owned subsidiaries. All intercompany accounts, transactions and profits have been eliminated.

On April 1, 2020, we executed an agreement to form MedPayExchange LLC (MPX), doing business as Medical Payment Exchange, which delivers payments to healthcare providers from insurance companies and other payers. This entity is a variable interest entity (VIE), as defined in Accounting Standards Codification (ASC) Topic 810, Consolidation. As we are the primary beneficiary of the VIE, we are required to consolidate MPX in our consolidated financial statements. Our partner's interest in MPX is reported as non-controlling interest in the consolidated balance sheets within equity, separate from our equity. Net income (loss) and comprehensive income (loss) are attributed to us and the non-controlling interest. The amounts attributable to the non-controlling interest were not significant during 2021 or 2020.

Revision During the second quarter of 2021, we identified errors in the calculations of the goodwill impairment charges recorded during the third quarter of 2019 and the first quarter of 2020, resulting in an understatement of the goodwill impairment charges and net losses and an overstatement of goodwill. The errors in our calculations resulted from the erroneous application of the simultaneous equation method, which effectively grosses up the goodwill impairment charge to account for the related income tax benefit, so that the resulting carrying value does not exceed the calculated fair value.

We assessed the materiality of the errors on prior period financial statements in accordance with Securities and Exchange Commission Staff Accounting Bulletin No. 99, Materiality, codified in ASC 250, Presentation of Financial Statements. We concluded that the errors were not material to our prior period consolidated financial statements and therefore, amendments of previously filed consolidated financial statements are not required. In accordance with ASC 250, we have corrected the errors by revising the consolidated financial statements presented herein.
The impact of the revision on the consolidated statements of income (loss) and the consolidated statements of comprehensive income (loss) was as follows:

(in thousands)Previously reportedAdjustmentRevised
Year ended December 31, 2020:
Asset impairment charges$(97,973)$(3,776)$(101,749)
Operating income44,505 (3,776)40,729 
Income before income taxes30,579 (3,776)26,803 
Income tax provision(21,680)212 (21,468)
Net income8,899 (3,564)5,335 
Net income attributable to Deluxe8,808 (3,564)5,244 
Basic earnings per share0.21 (0.09)0.12 
Diluted earnings per share0.19 (0.08)0.11 
Comprehensive income15,413 (3,564)11,849 
Comprehensive income attributable to Deluxe15,322 (3,564)11,758 
Year ended December 31, 2019:
Asset impairment charges$(390,980)$(30,110)$(421,090)
Operating loss(158,141)(30,110)(188,251)
Loss before income taxes(185,630)(30,110)(215,740)
Income tax provision(14,267)6,228 (8,039)
Net loss(199,897)(23,882)(223,779)
Net loss attributable to Deluxe(199,897)(23,882)(223,779)
Basic loss per share(4.65)(0.55)(5.20)
Diluted loss per share(4.65)(0.55)(5.20)
Comprehensive loss(191,265)(23,882)(215,147)
Comprehensive loss attributable to Deluxe(191,265)(23,882)(215,147)

The impact of the revision on the consolidated balance sheet as of December 31, 2020 was as follows:

(in thousands)Previously reportedAdjustmentRevised
ASSETS
Deferred income taxes$5,444 $1,198 $6,642 
Goodwill736,844 (33,886)702,958 
Total assets1,874,863 (32,688)1,842,175 
LIABILITIES AND SHAREHOLDERS' EQUITY
Deferred income taxes$10,643 $(5,242)$5,401 
Retained earnings522,599 (27,446)495,153 
Total shareholders' equity540,838 (27,446)513,392 
Total liabilities and shareholders' equity1,874,863 (32,688)1,842,175 
The impact of the revision on the consolidated statements of cash flows was as follows:

(in thousands)Previously reportedAdjustmentRevised
Year ended December 31, 2020:
Cash flows from operating activities:
Net income$8,899 $(3,564)$5,335 
Asset impairment charges97,973 3,776 101,749 
Deferred income taxes(5,244)(212)(5,456)
Year ended December 31, 2019:
Cash flows from operating activities:
Net loss$(199,897)$(23,882)$(223,779)
Asset impairment charges390,980 30,110 421,090 
Deferred income taxes(34,950)(6,228)(41,178)

Comparability The consolidated statements of cash flows for the years ended December 31, 2020 and 2019 have been modified to conform to the current year presentation. Loss on sales of businesses and customer lists is included in other non-cash items, net, within cash flows from operating activities, and holdback payments for acquisitions and asset purchases is included in other within cash flows from financing activities. Previously, these amounts were presented separately. In addition, we presented payments for cloud computing arrangements separately within cash flows from operating activities for the year ended December 31, 2020. Previously, this amount was included in other non-current assets.

The consolidated balance sheet as of December 31, 2020 has been modified to conform to the current year presentation. Prepaid expenses are presented separately on the consolidated balance sheet. Previously, this amount was included in other current assets.

Use of estimates We have prepared the accompanying consolidated financial statements in conformity with U.S. generally accepted accounting principles (GAAP). In this process, it is necessary for us to make certain estimates and assumptions affecting the amounts reported in the consolidated financial statements and related notes. We base our estimates on historical experience and on various other factors and assumptions that we believe are reasonable under the circumstances, including the estimated impact of extraordinary events, such as the coronavirus (COVID-19) pandemic, the results of which form the basis for making judgments about the carrying values of our assets, liabilities, revenues and expenses and the related disclosure of contingent assets and liabilities. Actual results may differ significantly from our estimates and assumptions, including our estimates of the severity and duration of the COVID-19 pandemic. Further information can be found in Note 19.

Foreign currency translation The financial statements of our foreign subsidiaries are measured in the respective subsidiaries' functional currencies, primarily Canadian and Australian dollars, and are translated into U.S. dollars. Assets and liabilities are translated using the exchange rates in effect at the balance sheet date. Revenue and expenses are translated at the average exchange rates during the year. The resulting translation gains and losses are reflected in accumulated other comprehensive loss in the shareholders' equity section of the consolidated balance sheets. Foreign currency transaction gains and losses are recorded in other income on the consolidated statements of income (loss).

Cash and cash equivalents We consider all cash on hand and other highly liquid investments with original maturities of 3 months or less to be cash and cash equivalents. The carrying amounts reported in the consolidated balance sheets for cash and cash equivalents approximate fair value. Checks issued by us but not presented to the banks for payment may create negative book cash balances. These book overdrafts are included in accounts payable on the consolidated balance sheets and were not significant as of December 31, 2021 or December 31, 2020.

Trade accounts receivable Trade accounts receivable are initially recorded at the invoiced amount upon the sale of goods or services to customers, and also include amounts due for products shipped and services rendered, but for which invoices have not yet been issued due to timing. Our trade accounts receivable are not interest-bearing. They are stated net of allowances for uncollectible accounts, a valuation account that is deducted from an asset's amortized cost basis to present the net amount expected to be collected. Amounts are charged off against the allowance when we believe the uncollectibility of an account is confirmed. The point at which uncollected accounts are written off varies by type of customer, but generally does not exceed 1 year from the due date of the receivable. In calculating the allowances, we utilize a combination of aging schedules with reserve rates applied to both current and aged receivables and roll-rate reserves using historical loss rates and changes in current or projected conditions. Changes in the allowances for uncollectible accounts are included in selling, general and administrative (SG&A) expense on the consolidated statements of income (loss). Further information regarding our allowances for uncollectible accounts can be found in Note 3.
Inventories and supplies Inventories are stated at the lower of cost or net realizable value. Cost is calculated using moving average and standard costs, which approximates the first-in, first-out basis. We periodically review our inventory quantities and record a provision for excess and/or obsolete inventory based on our historical usage and forecasts of future demand. It is possible that additional reserves above those already established may be required if there is a significant change in the timing or level of demand for our products compared to forecasted amounts. This would require a change in the reserve for excess or obsolete inventory, resulting in a charge to net income (loss) during the period of the change. Charges for inventory write-downs are included in cost of revenue on the consolidated statements of income (loss). Once written down, inventories are carried at this lower cost basis until sold or scrapped. Supplies consist of items not used directly in the production of goods, such as maintenance and other supplies utilized in the production area.

Funds held for customers Our payroll services business collects funds from clients to pay their payroll and related taxes. We hold these funds temporarily until payments are remitted to the clients' employees and the appropriate taxing authorities. Our merchant services business temporarily holds funds collected from credit card networks and internet transaction processing on behalf of certain merchants, and our treasury management cash receipt processing business remits a portion of cash receipts to our clients the business day following receipt. Certain of our customer contracts include legal restrictions regarding the use of these funds.

All of these funds, consisting of cash and available-for-sale debt securities, are reported as funds held for customers on the consolidated balance sheets. The corresponding liability for these obligations is also reported as funds held for customers on the consolidated balance sheets. The available-for-sale debt securities are carried at fair value, with unrealized gains and losses included in accumulated other comprehensive loss on the consolidated balance sheets. Realized gains and losses are included in revenue on the consolidated statements of income (loss) and were not significant during the past 3 years.

Long-term investments Long-term investments consist primarily of cash surrender values of company-owned life insurance policies. Certain of these policies fund amounts due under our deferred compensation plan and our inactive supplemental executive retirement plan. Further information regarding these plans can be found in Notes 12 and 13.

Property, plant and equipment Property, plant and equipment, including leasehold and other improvements that extend an asset's useful life or productive capabilities, are stated at historical cost less accumulated depreciation. Buildings have been assigned useful lives of 40 years and machinery and equipment are generally assigned useful lives ranging from 1 year to 11 years, with a weighted-average useful life of 7 years as of December 31, 2021. Buildings are depreciated using the 150% declining balance method, and machinery and equipment is depreciated using the sum-of-the-years' digits method. Leasehold and building improvements are depreciated on the straight-line basis over the estimated useful life of the property or the life of the lease, whichever is shorter. Amortization of assets that are recorded under finance leases is included in depreciation expense. Maintenance and repairs are expensed as incurred.

Fully depreciated assets are retained in property, plant and equipment until disposal. Any gains or losses resulting from the disposition of property, plant and equipment are included in SG&A expense on the consolidated statements of income (loss).

Leases We determine if an arrangement is a lease at inception by considering whether a contract explicitly or implicitly identifies assets deployed in the arrangement and whether we have obtained substantially all of the economic benefits from the use of the underlying assets and direct how and for what purpose the assets are used during the term of the contract. Lease expense is recognized on the straight-line basis over the lease term and is included in total cost of revenue and in SG&A expense on the consolidated statements of income (loss). Interest on finance leases is included in interest expense on the consolidated statements of income (loss).

Operating leases are included in operating lease assets, accrued liabilities and operating lease liabilities on the consolidated balance sheets. Finance leases are included in property, plant and equipment, accrued liabilities and other non-current liabilities on the consolidated balance sheets. Lease assets represent our right to use an underlying asset for the lease term and lease liabilities represent our obligation to make lease payments arising from the lease. Lease assets and liabilities are recognized at the commencement date based on the present value of lease payments over the lease term. We have elected to exclude leases with original terms of 1 year or less from lease assets and liabilities, and we separate nonlease components, such as common area maintenance charges and utilities, from the associated lease component for real estate leases, based on their estimated fair values. As our lease agreements typically do not provide an implicit rate, we use our incremental borrowing rate, based on information available at the lease commencement date, in determining the present value of lease payments. Certain of our lease agreements include options to extend or terminate the lease. The lease term takes into account these options to extend or terminate the lease when it is reasonably certain that we will exercise the option.

Intangibles Intangible assets are stated at historical cost less accumulated amortization. Amortization expense is generally determined on the straight-line basis, with the exception of customer lists, which are generally amortized using accelerated methods that reflect the pattern in which we receive the economic benefit of the asset. Intangibles have been assigned useful lives ranging from 1 year to 15 years, with a weighted-average useful life of 7 years as of December 31, 2021.
Each reporting period, we evaluate the remaining useful lives of our amortizable intangibles to determine whether events or circumstances warrant a revision to the remaining period of amortization. If our estimate of an asset's remaining useful life is revised, the remaining carrying amount of the asset is amortized prospectively over the revised remaining useful life. Any gains or losses resulting from the disposition of intangibles are included in SG&A expense on the consolidated statements of income (loss).

We capitalize costs of software developed or obtained for internal use, including website development costs, once the preliminary project stage has been completed, management commits to funding the project and it is probable that the project will be completed and the software will be used to perform the function intended. Capitalized costs include only (1) external direct costs of materials and services consumed in developing or obtaining internal-use software, (2) payroll and payroll-related costs for employees who are directly associated with and who devote time to the internal-use software project, and (3) interest costs incurred, when significant, while developing internal-use software. Costs incurred in populating websites with information about the company or products are expensed as incurred. Capitalization of costs ceases when the project is substantially complete and ready for its intended use. The carrying value of internal-use software is reviewed in accordance with our policy on impairment of long-lived assets and amortizable intangibles.

We incur costs in connection with the development of certain software products that we sell to our customers. Costs for the development of software products to be sold are expensed as incurred until technological feasibility is established, at which time, such costs are capitalized until the product is available for general release to customers.

Business combinations We periodically complete business combinations that align with our business strategy. The identifiable assets acquired and liabilities assumed are recorded at their estimated fair values, and the results of operations of each acquired business are included in our consolidated statements of income (loss) from their acquisition dates. The purchase price for each acquisition is equivalent to the fair value of the consideration transferred, including any contingent consideration. Goodwill is recognized for the excess of the purchase price over the net fair value of the assets acquired and liabilities assumed. While we use our best estimates and assumptions in estimating the fair values of the assets acquired and liabilities assumed, our fair value estimates are inherently uncertain and subject to refinement. As a result, during the measurement period, which may be up to 1 year from the acquisition date, we may record adjustments to the assets acquired and liabilities assumed, with the corresponding offset to goodwill. Any adjustments required after the measurement period are recorded in the consolidated statements of income (loss). Transaction costs related to acquisitions are expensed as incurred and are included in SG&A expense on the consolidated statements of income (loss).

Impairment of long-lived assets and amortizable intangibles We evaluate the recoverability of property, plant, equipment and amortizable intangibles not held for sale whenever events or changes in circumstances indicate that an asset group's carrying amount may not be recoverable. Such circumstances could include, but are not limited to, (1) a significant decrease in the market value of an asset, (2) a significant adverse change in the extent or manner in which an asset is used or in its physical condition, or (3) an accumulation of costs significantly in excess of the amount originally expected for the acquisition or construction of an asset. We compare the carrying amount of the asset group to the estimated undiscounted future cash flows associated with it. If the sum of the expected future net cash flows is less than the carrying value of the asset group being evaluated, an impairment loss is recognized. The impairment loss is calculated as the amount by which the carrying value of the asset group exceeds its estimated fair value. As quoted market prices are not available for the majority of our assets, the estimate of fair value is based on various valuation techniques, including the discounted value of estimated future cash flows. During 2020 and 2019, we recorded asset impairment charges related to certain intangible assets. Further information regarding these impairment charges can be found in Note 8.

We evaluate the recoverability of property, plant, equipment and intangibles held for sale by comparing the asset group's carrying amount with its estimated fair value less costs to sell. If the estimated fair value less costs to sell is less than the carrying value of the asset group, an impairment loss is recognized. The impairment loss is calculated as the amount by which the carrying value of the asset group exceeds its estimated fair value less costs to sell. During 2020, we recorded asset impairment charges related to certain real estate and internal-use software assets held for sale. Further information regarding these impairment charges can be found in Note 8.

The evaluation of asset impairment requires us to make assumptions about future cash flows over the life of the asset group being evaluated. These assumptions require judgment and actual results may differ from assumed and estimated amounts.

Impairment of goodwill We evaluate the carrying value of goodwill as of July 31st of each year and between annual evaluations if events occur or circumstances change that would indicate a possible impairment. Such circumstances could include, but are not limited to, (1) a significant adverse change in legal factors or in business climate, (2) unanticipated competition, (3) an adverse change in market conditions that is indicative of a decline in the fair value of the assets, (4) a change in our business strategy, or (5) an adverse action or assessment by a regulator. Information regarding the results of our goodwill impairment analyses can be found in Note 8.
To analyze goodwill for impairment, we must assign our goodwill to individual reporting units. Identification of reporting units includes an analysis of the components that comprise each of our operating segments, which considers, among other things, the manner in which we operate our business and the availability of discrete financial information. Components of an operating segment are aggregated to form a reporting unit if the components have similar economic characteristics. We periodically review our reporting units to ensure that they continue to reflect the manner in which we operate our business.

When completing our annual goodwill impairment analysis, we have the option to first assess qualitative factors to determine whether the existence of events or circumstances leads to a determination that it is more likely than not that the fair value of a reporting unit is less than its carrying amount. If, after this qualitative assessment, we determine it is not more likely than not that the fair value of a reporting unit is less than its carrying amount, then performing the quantitative impairment test is unnecessary.

When performing a quantitative analysis of goodwill, we calculate the estimated fair value of the reporting unit and compare this amount to the carrying amount of the reporting unit's net assets, including goodwill. We utilize a discounted cash flow model to calculate the estimated fair value of a reporting unit. This approach is a valuation technique under which we estimate future cash flows using the reporting unit's financial forecast from the perspective of an unrelated market participant. Using historical trending and internal forecasting techniques, we project revenue and apply our fixed and variable cost experience rates to the projected revenue to arrive at the future cash flows. A terminal value is then applied to the projected cash flow stream. Future estimated cash flows are discounted to their present value to calculate the estimated fair value. The discount rate used is the market-value-weighted average of our estimated cost of capital derived using both known and estimated customary market metrics. In determining the estimated fair values of our reporting units, we are required to estimate a number of factors, including revenue growth rates, terminal growth rates, direct costs, the discount rate and the allocation of shared and corporate items. When completing a quantitative analysis for all of our reporting units, the summation of our reporting units' fair values is compared to our consolidated fair value, as indicated by our market capitalization, to evaluate the reasonableness of our calculations. If the carrying amount of a reporting unit's net assets exceeds its estimated fair value, an impairment loss is recorded for the difference, not to exceed the carrying amount of goodwill.

Assets held for sale We record assets held for sale at the lower of their carrying value or estimated fair value less costs to sell. Assets are classified as held for sale on our consolidated balance sheets when all of the following conditions are met: (1) management has the authority and commits to a plan to sell the assets; (2) the assets are available for immediate sale in their present condition; (3) there is an active program to locate a buyer and the plan to sell the assets has been initiated; (4) the sale of the assets is probable within 1 year; (5) the assets are being actively marketed at a reasonable sales price relative to their current fair value; and (6) it is unlikely that the plan to sell will be withdrawn or that significant changes to the plan will be made.

Prepaid product discounts Certain of our financial institution contracts require prepaid product discounts in the form of upfront cash payments or accruals for amounts owed to financial institution clients. These prepaid product discounts are included in other non-current assets on the consolidated balance sheets and are generally amortized as reductions of revenue on the straight-line basis over the contract term. These amounts are being amortized over periods of up to 14.5 years, with a weighted-average period of 5 years as of December 31, 2021. Whenever events or changes occur that impact the related contract, including significant declines in the anticipated profitability, we evaluate the carrying value of prepaid product discounts to determine if they are impaired. Should a financial institution cancel a contract prior to the agreement's termination date, or should the volume of orders realized through a financial institution fall below contractually-specified minimums, we generally have a contractual right to a refund of the remaining unamortized prepaid product discount.

Loans and notes receivable from distributors We have, at times, provided loans to certain of our Promotional Solutions distributors to allow them to purchase the operations of other small business distributors. We have also sold distributors and small business customer lists that we own in exchange for notes receivable. These loans and notes receivable are included in other current assets and other non-current assets on the consolidated balance sheets. Interest rates on these receivables generally range from 6% to 8% and reflect market interest rates at the time the transactions were executed. Interest is accrued as earned. Accrued interest included in loans and notes receivable was not significant as of December 31, 2021 or December 31, 2020.

In determining the allowances for uncollectible accounts related to loans and notes receivable, we utilize a loss-rate analysis based on historical loss information, current delinquency rates, the credit quality of the loan recipients and the portfolio mix to determine an appropriate credit risk measurement, adjusted to reflect current loan-specific risk characteristics and changes in environmental conditions affecting our small business distributors. Changes in conditions that may affect our distributors include, but are not limited to, general economic conditions, changes in the markets for their products and services and changes in governmental regulations. In completing our analysis, we utilize a reversion methodology for periods beyond the reasonable and supportable forecast period, as many of our loans and notes receivable have longer terms. Allowances for impaired loans are generally determined based on collateral values or the present value of estimated cash flows. Further information regarding current risks and uncertainties affecting our loans and notes receivable can be found in Note 19. Further information regarding our allowances for uncollectible accounts can be found in Note 3.
We generally withhold commissions payable to the distributors to settle the monthly payments due on the receivables, thus somewhat mitigating the risk that the receivables will not be collected. Our notes receivable also generally allow us to acquire a distributor's customer list in the case of default. As of December 31, 2021 and December 31, 2020, past due amounts and receivables placed on non-accrual status were not significant. The determination to place receivables on non-accrual status or to resume the accrual of interest is completed on a case-by-case basis, evaluating the specifics of each situation.

Cloud computing arrangements On January 1, 2020, we adopted Accounting Standards Update (ASU) No. 2018-15, Customer's Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement That Is a Service Contract. Under this standard, we are required to capitalize implementation costs incurred in a hosting arrangement that is a service contract. Implementation costs include activities such as integrating, configuring and customizing the related software. In evaluating whether our cloud computing arrangements include a software license, we consider whether we have the contractual right to take possession of the software at any time during the hosting period without significant penalty and whether it is feasible for us to either run the software on our own hardware or contract with another party unrelated to the vendor to host the software. If we determine that a cloud computing arrangement includes a software license, we account for the software license element of the arrangement consistent with the acquisition of other software licenses. If we determine that a cloud computing arrangement does not include a software license, we account for the implementation costs as non-current assets. In both cases, the remaining elements of the arrangement are accounted for as a service contract. The capitalized cloud computing implementation costs are amortized on the straight-line basis over the fixed, non-cancellable term of the associated hosting arrangement plus any reasonably certain renewal periods. We apply the same impairment model to these assets as we use to evaluate internally-developed software for impairment.

Advertising costs Deferred advertising costs include materials, printing, labor and postage costs related to our direct response advertising programs. These costs are amortized as SG&A expense over periods that correspond to the estimated revenue streams of the individual advertisements. The actual revenue streams are analyzed at least annually to monitor the propriety of the amortization periods. Judgment is required in estimating the future revenue streams, especially with regard to check re-orders, which can span an extended period of time. Significant changes in the actual revenue streams would require the amortization periods to be modified, thus impacting our results of operations during the period in which the change occurred and in subsequent periods. Within our consumer checks business, approximately 89% of the costs of individual advertisements is expensed within 6 months of the advertisement. Other deferred advertising costs are fully amortized within 6 months of the advertisement. Deferred advertising costs are included in other current assets and other non-current assets on the consolidated balance sheets.

Non-direct response advertising costs are expensed as incurred. Catalogs provided to financial institution clients are accounted for as prepaid assets until they are shipped to financial institutions. The total amount of advertising expense, including non-direct response advertising and the amortization of direct response advertising, was $47,461 in 2021, $50,308 in 2020 and $70,798 in 2019.

Litigation We are party to legal actions and claims arising in the ordinary course of business. We record accruals for legal matters when the expected outcome of these matters is either known or considered probable and can be reasonably estimated. Our accruals do not include related legal and other costs expected to be incurred in defense of legal actions. Further information regarding litigation can be found in Note 16.

Income taxes We estimate our income tax provision based on the various jurisdictions where we conduct business. We estimate our current tax liability and record deferred income taxes resulting from temporary differences between the financial reporting basis of assets and liabilities and their respective tax reporting bases. Deferred tax assets and liabilities are measured using enacted tax rates expected to apply to taxable income in the years in which those temporary differences reverse. Net deferred tax assets are recognized to the extent that realization of such benefits is more likely than not. To the extent that we believe realization is not likely, we establish a valuation allowance against the net deferred tax assets.

We are subject to tax audits in numerous domestic and foreign tax jurisdictions. Tax audits are often complex and can require several years to complete. In the normal course of business, we are subject to challenges from the Internal Revenue Service and other tax authorities regarding the amount of taxes due. These challenges may alter the timing or amount of taxable income or deductions, or the allocation of income among tax jurisdictions. We recognize the benefits of tax return positions in the financial statements when they are more likely than not to be sustained by the taxing authorities based solely on the technical merits of the position. If the recognition threshold is met, the tax benefit is measured and recognized as the largest amount of tax benefit that, in our judgment, is greater than 50% likely to be realized. Accrued interest and penalties related to unrecognized tax positions is included in our provision for income taxes on the consolidated statements of income (loss).

Derivative financial instruments As of December 31, 2021 and December 31, 2020, we had an outstanding interest rate swap related to our variable-rate debt. Further Information regarding this derivative financial instrument can be found in Note 7.
We do not use derivative financial instruments for speculative or trading purposes. Our policy is that all derivative transactions must be linked to an existing balance sheet item or firm commitment, and the notional amount cannot exceed the value of the exposure being hedged.

We recognize all derivative financial instruments in the consolidated financial statements at fair value regardless of the purpose or intent for holding the instrument. Changes in the fair value of derivative financial instruments are recognized periodically either in income or in shareholders' equity as a component of accumulated other comprehensive loss, depending on whether the derivative financial instrument qualifies for hedge accounting, and if so, whether it qualifies as a fair value hedge or a cash flow hedge and whether the hedge is effective. Generally, changes in the fair value of derivatives accounted for as fair value hedges are recorded in income along with the portion of the change in the fair value of the hedged items that relate to the hedged risk. Changes in the fair value of derivatives accounted for as cash flow hedges, to the extent they are effective as hedges, are recorded in accumulated other comprehensive loss, net of tax. We classify the cash flows from derivative instruments that have been designated as fair value or cash flow hedges in the same category as the cash flows from the items being hedged. Changes in the fair value of derivatives not qualifying as hedges and the ineffective portion of hedges are included in net income (loss).

Revenue recognitionProduct revenue is recognized when control of the goods is transferred to our customers, in an amount that reflects the consideration we expect to be entitled to in exchange for those goods. In most cases, control is transferred when products are shipped. We have elected to account for shipping and handling activities that occur after the customer has obtained control of the product as fulfillment activities and not as separate performance obligations. We recognize the vast majority of our service revenue as services are provided. The majority of our contracts are for the shipment of tangible products or the delivery of services that have a single performance obligation or include multiple performance obligations where control is transferred at the same time.

Revenue is presented on the consolidated statements of income (loss) net of rebates, discounts, amortization of prepaid product discounts, and taxes collected concurrent with revenue-producing activities. Many of our check supply contracts with financial institutions provide for rebates on certain products. We record these rebates as reductions of revenue and as accrued liabilities on the consolidated balance sheets when the related revenue is recognized. Amounts billed to customers for shipping and handling are included in revenue, while the related shipping and handling costs are reflected in cost of products and are accrued when the related revenue is recognized.

When another party is involved in providing goods or services to a customer, we must determine whether our obligation is to provide the specified good or service itself (i.e., we are the principal in the transaction) or to arrange for that good or service to be provided by the other party (i.e., we are an agent in the transaction). When we are responsible for satisfying a performance obligation, based on our ability to control the product or service provided, we are considered the principal and revenue is recognized for the gross amount of consideration. When the other party is primarily responsible for satisfying a performance obligation, we are considered the agent and revenue is recognized in the amount of any fee or commission to which we are entitled. We sell certain products and services through a network of distributors. We have determined that we are the principal in these transactions, and revenue is recorded for the gross amount of consideration.

Certain of our contracts for data-driven marketing solutions have variable consideration that is contingent on the success of the marketing campaign ("pay-for-performance"). We recognize revenue for estimated variable consideration as services are provided based on the most likely amount to be realized. Revenue is recognized to the extent that it is probable that a significant reversal of revenue will not occur when the contingency is resolved. Estimates regarding the recognition of variable consideration are updated each quarter. Typically, the amount of consideration for these contracts is finalized within 4 months.

Our payment terms vary by type of customer and the products or services offered. The time period between invoicing and when payment is due is not significant. For certain products, services and customer types, we require payment before the products or services are delivered to the customer. When a customer pays in advance, primarily for treasury management solutions and web hosting services, we defer the revenue and recognize it as the services are performed, generally over a period of less than 1 year. Deferred revenue is included in accrued liabilities and other non-current liabilities on the consolidated balance sheets.

In addition to the amounts included in deferred revenue, we will recognize revenue in future periods related to remaining performance obligations for certain of our data-driven marketing and treasury management solutions contracts. Generally, these contracts have terms of 1 year or less and many have terms of 3 months or less, and therefore, we do not consider any potential financing component. The amount of revenue related to these unsatisfied performance obligations is not significant to our annual consolidated revenue. When the revenue recognized for uncompleted contracts exceeds the amount of customer billings and the right to receive the consideration is conditional, a contract asset is recorded. These amounts are included in revenue in excess of billings on the consolidated balance sheets. Additionally, we record an asset for unbilled receivables when the revenue recognized has not been billed to customers in accordance with contractually stated billing terms and the right to receive the consideration is unconditional. These amounts are also included in revenue in excess of billings on the consolidated balance sheets.
We record sales commissions related to obtaining check supply and treasury management solution contracts, as well as contract acquisition costs within our merchant services business, as other non-current assets on the consolidated balance sheets. These contract acquisition costs are amortized as SG&A expense on the straight-line basis, which approximates the timing of the transfer of goods or services to the customer. These amounts are being amortized over periods of 2 years to 5 years. We expense contract acquisition costs as incurred when the amortization period would be 1 year or less.

Restructuring and integration expense We incur restructuring and integration expense as a result of fundamental changes in the manner in which certain business functions are conducted, including the integration of acquired businesses into our systems and processes and the consolidation and migration of certain applications and processes. We also incur expenses resulting from our various cost management efforts, including facility closings and the relocation of business activities. These expenses consist of costs that are expensed when incurred, such as information technology consulting, project management services, internal labor, training, travel and relocation, and costs associated with facility closures. In addition, we accrue the costs of employee termination benefits payable under our ongoing severance benefit plan. We record accruals for employee termination benefits when it is probable that a liability has been incurred and the amount of the liability is reasonably estimable. We are required to make estimates and assumptions in calculating these accruals as, on some occasions, employees choose to voluntarily leave the company prior to their termination date or they secure another position within the company. In these situations, the employees do not receive termination benefits. To the extent our assumptions and estimates differ from our actual costs, subsequent adjustments to restructuring and integration accruals have been and will be required. Restructuring and integration accruals are included in accrued liabilities on the consolidated balance sheets.

Employee share-based compensation Our share-based compensation consists of non-qualified stock options, restricted stock units, restricted stock, performance share unit awards and an employee stock purchase plan. Employee share-based compensation expense is included in total cost of revenue and in SG&A expense on the consolidated statements of income (loss), based on the functional areas of the employees receiving the awards, and is recognized as follows:

The fair value of stock options is measured on the grant date using the Black-Scholes option pricing model. The related compensation expense is recognized on the straight-line basis, net of estimated forfeitures, over the options' vesting periods.

The fair value of restricted stock and a portion of our restricted stock unit awards is measured on the grant date based on the market value of our common stock. The related compensation expense, net of estimated forfeitures, is recognized over the applicable service period.

Certain of our restricted stock unit awards may be settled in cash if an employee voluntarily chooses to leave the company. These awards are included in accrued liabilities and other non-current liabilities on the consolidated balance sheets and are remeasured at fair value as of each balance sheet date.

Compensation expense resulting from the 15% discount provided under our employee stock purchase plan is recognized over each 3 month purchase period.

Our performance share unit awards specify certain performance and market-based conditions that must be achieved in order for the awards to vest. For the portion of the awards based on a performance condition, the performance target is not considered in determining the fair value of the awards and thus, fair value is measured on the grant date based on the market value of our common stock. The related compensation expense for this type of award is recognized, net of estimated forfeitures, over the related service period. The amount of compensation expense is dependent on our periodic assessment of the probability of the targets being achieved and our estimate, which may vary over time, of the number of shares that ultimately will be issued. For the portion of the awards based on a market condition, fair value is calculated on the grant date using the Monte Carlo simulation model. All compensation cost for these awards is recognized, net of estimated forfeitures, over the related service period, even if the market condition is never satisfied.

Postretirement benefit plan We have historically provided certain health care benefits for a large number of retired U.S. employees hired prior to January 1, 2002. Our postretirement benefit income and obligation are calculated utilizing various actuarial assumptions and methodologies. These assumptions include, but are not limited to, the discount rate, the expected long-term rate of return on plan assets, estimated medical claims, the expected health care cost trend rate and the average remaining life expectancy of plan participants. We analyze the assumptions used each year when we complete our actuarial valuation of the plan. When actual events differ from our assumptions or when we change the assumptions used, an actuarial gain or loss results. The gain or loss is recognized immediately on the consolidated balance sheets within accumulated other comprehensive loss and is amortized into postretirement benefit income over the average remaining life expectancy of inactive plan participants, as a large percentage of our plan participants are classified as inactive.
The valuation of our postretirement plan requires judgment about circumstances that are inherently uncertain, including projected equity market performance, the number of plan participants, catastrophic health care events for our plan participants and a significant change in medical costs. Actual results may differ from assumed and estimated amounts.

Earnings (loss) per share We calculate earnings (loss) per share using the two-class method, as we have unvested share-based payment awards that contain nonforfeitable rights to dividends or dividend equivalent payments. The two-class method is an earnings allocation formula that determines earnings (loss) per share for each class of common stock and participating security according to dividends declared and participation rights in undistributed earnings. Basic earnings (loss) per share is based on the weighted-average number of common shares outstanding during the year. Diluted earnings (loss) per share is based on the weighted-average number of common shares outstanding during the year, adjusted to give effect to potential common shares such as stock options and other awards that are not participating securities, calculated using the treasury stock method.

Comprehensive income (loss) Comprehensive income (loss) includes charges and credits to shareholders' equity that are not the result of transactions with shareholders. Our total comprehensive income (loss) consists of net income (loss), changes in the funded status and amortization of amounts related to our postretirement benefit plans, unrealized gains and losses on our cash flow hedge, unrealized gains and losses on available-for-sale debt securities, and foreign currency translation adjustments. The items of other comprehensive income are included in accumulated other comprehensive loss on the consolidated balance sheets and statements of shareholders' equity, net of their related tax impacts. We release stranded income tax effects from accumulated other comprehensive loss when the circumstances upon which they are premised cease to exist.