XML 59 R29.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
SIGNIFICANT ACCOUNTING POLICIES (Policies)
12 Months Ended
Dec. 31, 2019
Accounting Policies [Abstract]  
Nature of operations
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, 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
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.
Comparability
Comparability The consolidated balance sheet as of December 31, 2018 has been modified to conform to the current year presentation. The liability for funds held for customers is now presented separately. Previously, this amount was included in accrued liabilities. The investing activities section of the 2017 consolidated statement of cash flows has been modified to include proceeds from company-owned life insurance policies within the other caption. Previously, this amount was presented separately.
Use of estimates
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. Despite our intention to establish accurate estimates and to make reasonable assumptions, actual results may differ from our estimates and assumptions.
Foreign currency translation
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 (loss) income.
Cash and cash equivalents
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, 2019 or December 31, 2018.
Trade accounts receivable
Trade accounts receivable Trade accounts receivable are initially recorded at the invoiced amount upon the sale of goods or services to customers and are not interest-bearing. They are stated net of allowances for uncollectible accounts, which represent estimated losses resulting from the inability of customers to make the required payments. When determining the allowances for uncollectible accounts, we take several factors into consideration, including the overall composition of accounts receivable aging, our prior history of accounts receivable write-offs, the type of customer and our day-to-day knowledge of specific customers. Changes in the allowances for uncollectible accounts are included in selling, general and administrative (SG&A) expense on our consolidated statements of (loss) income. 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.
Inventories and supplies
Inventories and supplies Inventories are stated at the lower of cost or net realizable value. Cost is calculated on the first-in, first-out basis. 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
Funds held for customers Our payroll services businesses collect 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. Certain of the customer contracts for our domestic payroll processing business include legal restrictions regarding the use of these funds. In addition, our treasury management cash receipt processing business remits a portion of cash receipts to our clients the business day following receipt. 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 (loss) income and were not significant during the past 3 years.
Long-term investments

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 13 and 14.
Property, plant and equipment
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, 2019. 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 (loss) income
Leases
Leases On January 1, 2019, we adopted Accounting Standards Update (ASU) No. 2016-02, Leasing, and related amendments. We adopted these standards using a modified retrospective approach and the optional transition method under which prior periods are not restated. Adoption of these standards did not have a significant impact on our consolidated statement of (loss) income or our consolidated statement of cash flows. Information regarding the impact on our consolidated balance sheet can be found in Note 2.

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, as well as rent expense in 2018 and 2017, 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 (loss) income. Interest on finance leases, formerly known as capital leases, is included in interest expense on the consolidated statements of (loss) income.

Beginning in 2019, operating leases are included in operating lease assets, accrued liabilities and operating lease liabilities on the consolidated balance sheet. Finance leases are included in property, plant and equipment, accrued liabilities and other non-current liabilities on the consolidated balance sheet. 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. Operating lease assets and liabilities are recognized at the commencement date based on the present value of lease payments over the lease term. 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
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 12 years, with a weighted-average useful life of 6 years as of December 31, 2019. 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 (loss) income.

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

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 (loss) income 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, 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 (loss) income. Transaction costs related to acquisitions are expensed as incurred and are included in SG&A expense on the consolidated statements of (loss) income.
Impairment of long-lived assets and amortizable intangibles
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. In each of the past 3 years, 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 exceeds its estimated fair value less costs to sell. During 2017, we recorded asset impairment charges related to Small Business Services 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 and indefinite-lived intangibles
Impairment of goodwill and indefinite-lived intangibles We evaluate the carrying value of goodwill and indefinite-lived intangibles 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, including the loss of a significant customer, (4) a change in our business strategy, or (5) an adverse action or assessment by a regulator. Information regarding the results of our impairment analyses can be found in Note 8.

During 2018 and 2017, we held a trade name asset that was assigned an indefinite useful life. In completing the annual impairment analysis of this asset, we elected to perform a quantitative assessment in each year. This assessment compared the carrying amount of the asset to its estimated fair value. The estimate of fair value was based on the relief from royalty method, which calculates the cost savings associated with owning rather than licensing the trade name. An assumed royalty rate was applied to forecasted revenue and the resulting cash flows were discounted. If the estimated fair value was less than the carrying value of the asset, an impairment loss was recognized for the difference. During 2018, our analysis indicated that this asset was fully impaired. Further information regarding this impairment 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 1 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 use the income approach 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. Our discount rate 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 market factors specific to the business, revenue growth rates, economic conditions, anticipated future cash flows, terminal growth rates, the discount rate, direct costs 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
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 one 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. Information regarding assets held for sale can be found in Note 3.
Loans and notes receivable from distributors
Loans and notes receivable from distributors We have, at times, provided loans to certain of our Safeguard® distributors to allow them to purchase the operations of other small business distributors. We have also sold distributors and 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 is accrued at market interest rates as earned. We continually monitor the credit quality and associated risks of these receivables on an individual basis, based on criteria such as the financial stability of the distributor, historical commissions earned and their reported financial results. 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. As of December 31, 2019 and December 31, 2018, past due amounts, allowances for credit losses 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.

Prepaid product discounts
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 our consolidated balance sheets and are generally amortized as reductions of revenue on the straight-line basis over the contract term. Currently, these amounts are being amortized over periods up to 14.5 years, with a weighted-average life of 6 years as of December 31, 2019. 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.
Advertising costs
Advertising costs Deferred advertising costs include materials, printing, labor and postage costs related to direct response advertising programs of our Direct Checks and Small Business Services segments. 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 Direct Checks segment, approximately 89% of the costs of individual advertisements is expensed within 6 months of the advertisement. The deferred advertising costs of our Small Business Services segment 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 direct response and non-direct response advertising, was $70,798 in 2019, $74,549 in 2018 and $78,722 in 2017.
Litigation
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 17.
Income taxes
Income taxes We estimate our income tax provision based on the various jurisdictions where we conduct business. Judgment is required in determining our worldwide income tax provision. 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 (loss) income.

Derivative financial instruments
Derivative financial instruments As of December 31, 2019, we had an outstanding interest rate swap related to amounts drawn under our revolving credit facility. We did not have any derivative instruments outstanding as of December 31, 2018. Further Information regarding our derivative financial instruments 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 on 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 reported in income.
Revenue recognition
Revenue recognitionOn January 1, 2018, we adopted ASU No. 2014-09, Revenue from Contracts with Customers, and related amendments. We applied the new standards using the modified retrospective approach under which the cumulative effect of initially applying the standards was recorded as an adjustment to retained earnings as of the date of adoption. As such, our results for 2017 were not revised and continue to be reported under the accounting standards in effect at that time. The impact of these standards on our 2018 consolidated statement of income was not significant.

Beginning in 2018, our product revenue is recognized when control of the goods is transferred to 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. For our service revenues, we recognize the vast majority of this 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.

During 2017, revenue was recognized when (1) persuasive evidence of an arrangement existed, (2) delivery occurred or services were rendered, (3) the sales price was fixed or determinable, and (4) collectibility was reasonably assured. Our product revenue was recognized upon shipment or customer receipt, based upon the transfer of title, and we recognized the majority of our service revenue as the services were provided.

In all periods, revenue is presented on the consolidated statements of (loss) income 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. Within our Small Business Services segment, we sell certain products and services through a network of Safeguard 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 and treasury management outsourcing services have variable consideration that is contingent on either the success of the marketing campaign ("pay-for-performance") or the volume of outsourcing services provided. 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, although pricing under certain of our outsourcing contracts may be based on annual volume commitments. Revenue recognized from these contracts was approximately $200,000 in 2019.

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 our 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 disregard 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.

Beginning in 2018, we began recording sales commissions related to obtaining check supply and treasury management solution contracts as other non-current assets on the consolidated balance sheets. These assets 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. Generally, these amounts are being amortized over periods of 3 to 5 years. We expense these sales commissions as incurred when the amortization period would be 1 year or less.

Restructuring and integration expense
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 and project management costs, internal labor, employee and equipment moves, training and travel, as well as costs that are accrued for 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 the restructuring 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 and other non-current liabilities on our consolidated balance sheets.
Employee share-based compensation

Employee share-based compensation Our share-based compensation consists of non-qualified stock options, restricted stock units, restricted stock, performance share 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 our consolidated statements of (loss) income, 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 re-measured 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 the purchase period of 6 months.
The performance share 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
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 unrecognized actuarial gain or loss results. The gain or loss is recognized immediately on the consolidated balance sheets within accumulated 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.
(Loss) earnings per share
(Loss) earnings per share We calculate (loss) earnings 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 (loss) earnings per share for each class of common stock and participating security according to dividends declared and participation rights in undistributed earnings. Basic (loss) earnings per share is based on the weighted-average number of common shares outstanding during the year. Diluted (loss) earnings 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 (loss) income
Comprehensive (loss) income Comprehensive (loss) income includes charges and credits to shareholders' equity that are not the result of transactions with shareholders. Our total comprehensive (loss) income consists of net (loss) income, 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 (loss) 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.