Significant Accounting Policies | Significant Accounting Policies Basis of Presentation The accompanying consolidated financial statements have been prepared using accounting principles generally accepted in the United States of America (“GAAP”). The consolidated financial statements include the results of the Company and its wholly owned subsidiaries. All significant intercompany transactions and balances have been eliminated during consolidation. Use of Estimates The preparation of consolidated financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities as of the date of the consolidated financial statements and the reported amounts of revenue and expenses during the reporting period. On an ongoing basis, management evaluates its significant estimates including, but not limited to, the valuation of accounts receivable, the lives of tangible and intangible assets, the fair value of certain equity awards, the fair value of contingent purchase consideration, the valuation of acquired intangible assets and the recoverability or impairment of intangible assets, including goodwill, revenue recognition, redemption value of redeemable non-controlling interests, convertible senior notes fair value, the benefit period of deferred commissions, and provision for (benefit from) income taxes. Management bases its estimates on historical experience and on various other market-specific and relevant assumptions that management believes to be reasonable under the circumstances. Actual results could differ from those estimates and such differences could be material to the financial position and results of operations. Foreign Currency Translation The functional currency for the large majority of the Company's foreign operations is the U.S. dollar, while a few of its subsidiaries use the local currency as their functional currency for the year ended January 31, 2022. In cases where the Company uses a foreign functional currency, the Company translates the foreign functional currency financial statements to U.S. dollars using the exchange rates at the balance sheet date for assets and liabilities, the period average exchange rates for revenues and expenses, and the historical exchange rates for equity. The effects of foreign currency translation adjustments are recorded in other comprehensive income as a component of stockholders' equity and the related periodic movements are presented in the consolidated statements of comprehensive loss. Foreign currency transaction gains and losses are included in other income (expense), net, in the consolidated statements of operations for the period. For the years ended January 31, 2022, 2021 and 2020, realized foreign currency transaction gains and losses were comprised of a net loss of $1.0 million, a net gain of $568,000, and a net loss of $523,000, respectively. Risks and Uncertainties The Company’s services are concentrated in an industry which is characterized by significant competition, rapid technological advances and changes in customer requirements and industry standards. The success of the Company depends on management’s ability to anticipate and respond quickly and adequately to technological developments in the industry and changes in customer requirements and industry standards. Any significant delays in the development or introduction of services could have a material adverse effect on the Company’s business and operating results. Furthermore, the effects of potential legal activity that could be brought against the Company, including costs incurred to defend legal cases, relationships with customers and market perception, and the financial impact of any judicial decisions, could have a material adverse effect on the Company’s business and operating results. The Company serves customers and users from data center facilities located across various different physical locations, such as the U.S., Europe and Asia-Pacific, most of which are operated by a single third party. The Company has internal procedures to restore services in the event of disasters at the current data center facilities. Even with these procedures for disaster recovery in place, cloud applications could be significantly interrupted during the procedures to restore services. Concentration of Risk and Significant Customers Financial instruments that potentially subject the Company to a concentration of credit risk consist of cash and cash equivalents, marketable securities, and accounts receivable. Cash deposits may, at times, exceed amounts insured by the Federal Deposit Insurance Corporation (“FDIC”) and the Securities Investor Protection Corporation (“SIPC”). Marketable securities balances may, at times, also exceed SIPC limits. The Company has not experienced any losses on its deposits of cash and cash equivalents to date. No single customer balance comprised 10% or more of total accounts receivable at January 31, 2022 or 2021. During the years ended January 31, 2022, 2021 and 2020, revenues by geographic area, based on billing addresses of the customers, was as follows (in thousands): For the year ended 2022 2021 2020 United States $ 436,079 $ 338,084 $ 248,107 Foreign countries 289,210 203,559 141,612 Total revenues $ 725,289 $ 541,643 $ 389,719 No single foreign country represented more than 10% of the Company’s revenues in any of the periods presented. Additionally, no single customer represented more than 10% of the Company’s revenues in any of the periods presented. Fair Value Measurements Fair value is the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Subsequent changes in fair value of these financial assets and liabilities are recognized in earnings or other comprehensive loss when they occur. When determining the fair value measurements for assets and liabilities which are required to be recorded at fair value, the Company considers the principal or most advantageous market in which the Company would transact and the market-based risk measurement or assumptions that market participants would use in pricing the assets or liabilities, such as inherent risk, transfer restrictions and credit risk. The Company applies the following fair value hierarchy, which prioritizes the inputs used to measure fair value into three levels and bases the categorization within the hierarchy upon the lowest level of input that is available and significant to the fair value measurement: • Level 1 - Quoted prices in active markets for identical assets or liabilities. • Level 2 - Observable inputs other than quoted price in active markets for identical assets or similar assets or liabilities in inactive markets, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. • Level 3 - Inputs that are generally unobservable and typically reflect management’s estimates of assumptions that market participants would use in pricing the assets or liabilities. Fair Value of Financial Instruments The Company’s financial instruments primarily include cash and cash equivalents, marketable securities, trade receivables, accounts payable, accrued liabilities, and convertible senior notes. Cash and cash equivalents, marketable securities, and contingent cash consideration payable are reported at fair value. The recorded carrying amount of trade receivables, accounts payable, and accrued liabilities approximate their fair value due to their short-term nature. The Company carries convertible senior notes at the allocated liability value less unamortized debt discount and issuance costs on its consolidated balance sheet, and it presents the fair value of the convertible senior notes for disclosure purposes only. Cash and Cash Equivalents The Company considers all highly liquid investments purchased with original maturities of less than three months from the date of purchase to be cash equivalents. The Company’s cash and cash equivalents consist of monies held in bank demand deposits and money market funds and are presented at fair market value based on quoted market prices. Marketable Securities Marketable securities consist of financial instruments such as U.S. treasury securities, U.S. agency obligations, corporate notes and bonds, commercial paper, asset backed securities and certificates of deposit. The Company classifies marketable securities as available-for-sale at the time of purchase and reevaluates such classification as of each balance sheet date. All marketable securities are recorded at estimated fair value. Credit losses related to the marketable securities are recorded in other income (expense), net in the consolidated statements of operations through an allowance for credit losses rather than as a reduction in the amortized cost basis of the securities. No credit losses related to marketable securities were recorded by the Company during the years ended January 31, 2022 and 2021. Any remaining unrealized gains or losses for marketable securities are included in accumulated other comprehensive income, a component of stockholders’ equity. If quoted prices for identical instruments are available in an active market, marketable securities are classified within Level 1 of the fair value hierarchy. If quoted prices for identical instruments in active markets are not available, fair values are estimated using quoted prices of similar instruments and are classified within Level 2 of the fair value hierarchy. Other Investments Other investments consist of non-marketable debt and equity investments in privately-held companies without readily determinable fair values in which the Company does not have a controlling interest or significant influence. The Company records non-marketable debt investments at their estimated fair value on a recurring basis with changes in fair value recorded in accumulated other comprehensive income, a component of stockholders’ equity. The Company elected to apply the measurement alternative for non-marketable equity securities, measuring them at cost, less any impairment, and adjustments resulting from observable price changes in orderly transactions for the identical or a similar investment of the same issuer. These non-marketable debt and equity investments are included in other assets on the Company's consolidated balance sheets. Research and Development Costs Research and development costs are expensed as incurred. Research and development costs consist primarily of compensation related costs incurred for the maintenance and bug fixing of the Company’s software platform, as well as planning, predevelopment and post implementation costs associated with the development of enhancements to the Company’s software platform. Capitalized Software Development Costs The Company capitalizes certain development costs incurred in connection with software development for its cloud-based platform and software used in operations. Costs incurred in the preliminary stages of development are expensed as incurred. Once the software has reached the development stage, internal and external costs, if direct and incurred for adding incremental functionality to the Company’s platform, are capitalized until the software is substantially complete and ready for its intended use. Capitalization ceases upon completion of all substantial testing. These software development costs are recorded as part of property and equipment. Capitalized software development costs are amortized on a straight-line basis to cost of revenues—subscription services over the technology’s estimated useful life, which is generally three years. During the years ended January 31, 2022, 2021 and 2020, the Company capitalized $11.9 million, $10.5 million and $8.4 million, respectively, in software development costs. Costs incurred in the maintenance and minor upgrade and enhancement of the Company’s software platform without adding additional functionality are expensed as incurred. Advertising Costs Advertising costs are expensed as incurred and are primarily included in sales and marketing expense in the accompanying consolidated statements of operations. Advertising expense totaled $15.4 million, $7.7 million and $2.9 million for the years ended January 31, 2022, 2021 and 2020, respectively. Property and Equipment Property and equipment are stated at cost net of accumulated depreciation and amortization. Depreciation is calculated using the straight-line method over the estimated useful lives of the assets. Furniture and equipment is amortized over an estimated useful life of three Goodwill and Other Intangible Assets Goodwill is the excess of costs over fair value of net assets of the business acquired. Goodwill and other intangible assets acquired that are determined to have an indefinite useful life are not amortized but are tested for impairment at least annually. Other intangible assets, which includes acquired developed technology, customer relationships, and trademarks are recorded at fair value, net of accumulated amortization, and are amortized using the straight-line method. The Company assesses the impairment of long-lived intangible assets whenever events or changes in circumstances indicate that the carrying amount may not be recoverable. The Company has not recorded impairment charges on goodwill and other intangible assets for the periods presented in these consolidated financial statements. Revenue Recognition The Company derives its revenues primarily from subscription fees, professional services fees and other. Revenues are recognized when control of these services are transferred to the Company’s customers in an amount that reflects the consideration expected to be entitled to in exchange for those services. Revenues are recognized net of applicable taxes imposed on the related transaction. The Company’s revenue recognition policy follows guidance from Accounting Standards Codification 606, Revenue from Contracts with Customers (Topic 606) . The Company determines revenue recognition through the following five-step framework: • Identification of the contract, or contracts, with a customer; • Identification of the performance obligations in the contract; • Determination of the transaction price; • Allocation of the transaction price to the performance obligations in the contract; and • Recognition of revenue when, or as, the Company satisfies a performance obligation. Subscription Revenues The Company offers subscriptions to its cloud-based business spend management platform, including procurement, invoicing, expense management and payment solutions. Subscription revenues consist primarily of fees to provide the Company’s customers access to its cloud-based platform, which includes routine customer support. Subscription contracts do not provide customers with the right to take possession of the software, are in general non-cancelable, and do not contain general rights of return. Generally, subscription revenues are recognized ratably over the contractual term of the arrangement, beginning on the date that the service is made available to the customer. Subscription contracts typically have a term of three years with invoicing occurring in annual installments at the beginning of each year in the subscription period. Term-based licenses are sold as bundled arrangements that include the rights to a term license and post-contract customer support (“PCS”). Accordingly, the Company allocates the transaction price to each performance obligation. The revenues related to the amount allocated to PCS are included in subscription revenue, which are recognized ratably over the contract term beginning on the license delivery date. Professional Services Revenues and Other The Company offers professional services which primarily include deployment services, optimization services, and training. Professional services are generally sold on a fixed-fee or time-and-materials basis. For services billed on a fixed-fee basis, invoicing typically occurs in advance, and revenue is recognized over time based on the proportion performed. For services billed on a time-and-materials basis, revenue is recognized over time as services are performed. Term-based licenses are sold as bundled arrangements that include the rights to a term license and PCS. Accordingly, the Company allocates the transaction price to each performance obligation. The revenues related to the amount allocated to term-based licenses are included in other revenue, which is recognized at the start of the license term when delivery is complete. Significant Judgments The Company’s contracts with customers often include promises to transfer multiple products and services to a customer. For these contracts, the Company accounts for individual performance obligations separately if they are distinct. Subscription services, professional services, term-based licenses, and related PCS are distinct performance obligations that are accounted for separately. In contracts with multiple performance obligations, the transaction price is allocated to separate performance obligations on a relative standalone selling price (“SSP”) basis. The determination of SSP for each distinct performance obligation requires judgment. The Company determines SSP for performance obligations based on overall pricing objectives, which take into consideration market conditions and entity-specific factors. This includes a review of historical data related to the size of arrangements, the applications being sold, customer demographics and the numbers and types of users within the arrangements. The Company uses a range of amounts to estimate SSP for performance obligations. There is typically more than one SSP for individual products and services due to the stratification of those products and services by considerations such as size and sales regions. Contract Balances The timing of revenue recognition may differ from the timing of invoicing for contracts with customers. The Company records a receivable when revenue is recognized prior to invoicing. Deferred revenue primarily consists of billings or payments received in advance of revenue recognition. Subscription and fixed-fee professional services arrangements are commonly billed in advance, recognized as deferred revenue, and then amortized into revenue over time. The Company's term-based license contracts are billed annually in advance, recognized as deferred revenue, and then recognized as revenues upfront for the license component and ratably over the term license for the PCS component. However, other professional services arrangements, primarily those recognized on a time-and-materials basis, are billed in arrears following services that have been rendered. In addition, for multi-year term-based license contracts, the revenue allocated to license component is recognized upfront while the billing is on annual basis. This may result in revenue recognition greater than invoiced amounts which results in a receivable balance. Receivables represent an unconditional right to payment. As of January 31, 2022 and 2021, the balance of accounts receivable, net of the allowance for credit losses, was $226.2 million and $196.0 million, respectively. Of these balances, $13.9 million and $24.2 million represent unbilled receivable amounts as of January 31, 2022 and 2021, respectively. In addition, as of January 31, 2022 and 2021, the balance of long-term unbilled receivables was approximately $1.9 million and $7.1 million, respectively, which are included in other assets on the Company's consolidated balance sheet. When the timing of revenue recognition differs from the timing of invoicing, the Company uses judgment to determine whether the contract includes a significant financing component requiring adjustment to the transaction price. Various factors are considered in this determination including the duration of the contract, payment terms, and other circumstances. Generally, the Company determined that contracts do not include a significant financing component. The Company applies the practical expedient for instances where, at contract inception, the expected timing difference between when promised goods or services are transferred and associated payment will be one year or less. Payment terms vary by contract type, however arrangements typically stipulate a requirement for the customer to pay within 30 days. At any point in the contract term, the transaction price may be allocated to performance obligations that are unsatisfied or are partially unsatisfied. These amounts relate to remaining performance obligations on non-cancelable contracts which include both the deferred revenue balance and amounts that will be invoiced and recognized as revenue in future periods. As of January 31, 2022, approximately $1,283.7 million of the transaction price from contracts with customers is allocated to the remaining performance obligations. The Company expects to recognize revenue on approximately three-fourths of these remaining performance obligations within the next 24 months and the remainder thereafter. The Company applies the practical expedient to exclude remaining performance obligations that are part of contracts with an original expected duration of one year or less and contracts where revenue is being recognized under the as-invoiced method. During the year ended January 31, 2022, the revenue recognized from performance obligations satisfied in prior periods was approximately $1.6 million. Accounts Receivable and Allowances for Credit Losses The Company extends credit to its customers in the normal course of business and does not require cash collateral or other security to support the collection of customer receivables. The Company estimates the amount of uncollectible accounts receivable at the end of each reporting period and provides a reserve when needed based on an assessment of various factors including the aging of the receivable balance, historical experience, and expectations of forward-looking loss estimates. When developing the expectations of forward-looking loss estimates, the Company takes into consideration forecasts of future economic conditions, information about past events, such as historical trends of write-offs, and customer-specific circumstances, such as bankruptcies and disputes. Accounts receivable are written off when deemed uncollectible. The allowances for credit losses were not material at January 31, 2022 and 2021. Deferred Revenue Deferred revenue consists of non-cancelable customer billings or payments received in advance of the recognition of revenue and is recognized as revenue as the revenue recognition criteria are met. The Company generally invoices its customers annually for the forthcoming year of service. Accordingly, the Company’s deferred revenue balance does not include revenue for future years of multiple year non-cancelable contracts that have not yet been billed. During the years ended January 31, 2022 and 2021, the Company recognized revenue of $352.9 million and $253.2 million that was included in the deferred revenue balance as of January 31, 2021 and 2020, respectively. Deferred Commissions Commissions are earned by sales personnel upon the execution of the sales contract by the customer, and commission payments are made shortly after they are earned. Commission costs can be associated specifically with subscription, professional services and license arrangements. Commissions earned by the Company’s sales personnel are considered incremental and recoverable costs of obtaining a contract with a customer. These costs are deferred and then amortized over a period of benefit of five years. The Company determined the period of benefit by taking into consideration its past experience with customers, future cash flows expected from customers, industry peers and other available information. For commissions earned from the sale of term-based license contracts, the Company allocates the costs of commission in proportion to the allocation of transaction price of license and PCS performance obligations. Commissions associated with the license component are expensed at the time the related revenue is recognized. Commissions allocated to PCS are deferred and then amortized over five years. The Company capitalized commission costs of $35.9 million, $24.2 million and $26.2 million and amortized $18.6 million, $14.7 million and $9.6 million to sales and marketing expense in the accompanying consolidated statements of operations during the years ended January 31, 2022, 2021 and 2020, respectively. Redeemable Non-Controlling Interests During the quarter ended April 30, 2021, the Company established a joint venture in Japan (“Coupa K.K.”), which is a variable interest entity, obtaining a 51% controlling interest. Accordingly, the Company consolidated the financial results of the joint venture. The agreements with the minority investors of Coupa K.K. contain redemption features whereby the interest held by the minority investors is redeemable either (i) at the option of the minority investors or (ii) at the option of the Company, both beginning on the tenth anniversary of the initial capital contribution. The balance of the redeemable non-controlling interest is reported at the greater of the initial carrying amount adjusted for the redeemable non-controlling interest's share of earnings or losses and other comprehensive income or loss, or its estimated redemption value. The resulting changes in the estimated redemption amount are recorded with corresponding adjustments against additional paid-in-capital due to the absence of retained earnings. The carrying amount of the redeemable non-controlling interests is recorded on the Company's consolidated balance sheets as temporary equity. Income Taxes The Company accounts for income taxes under the asset and liability method, which requires that deferred income taxes be provided for temporary differences between the financial reporting and tax basis of the Company’s assets and liabilities. In addition, deferred tax assets are recorded for the future benefit from the utilization of net operating losses and research and development credit carryforwards. A valuation allowance is provided against deferred tax assets unless it is more likely than not that they will be realized. The Company’s policy for accounting for uncertainty in income taxes requires the evaluation of tax positions taken or expected to be taken in the course of the preparation of tax returns to determine whether the tax positions are “more-likely-than-not” of being sustained on examination by the applicable tax authorities based on the technical merits of the position. Tax positions not deemed to meet the more-likely-than-not threshold would be recorded as a tax expense in the current year. The Company recognizes interest and penalties related to unrecognized tax benefits as income tax expense. Since the date of adoption of accounting for uncertain tax positions, the Company has accrued immaterial interest and penalties associated with unrecognized tax benefits for all periods presented. Stock-Based Compensation The Company measures and recognizes stock-based compensation expense for all stock-based awards, including grants of stock, restricted stock units (“RSU”) and options to purchase stock, made to employees, outside directors and consultants based on estimated fair values. The Company uses the Black-Scholes option pricing model to value its options at the date of grant based on certain assumptions. The Company recognizes stock-based compensation expense for grants that vest based on only a service condition using the straight-line single-option approach. The Company recognizes stock-based compensation expense related to shares issued pursuant to its 2016 Employee Stock Purchase Plan (“ESPP”) on a straight-line basis over the offering period, which is 24 months. For RSUs, the Company generally recognizes stock-based compensation using the straight-line method as the awards only contain a service condition. The fair value of an RSU is measured using the market price of the Company’s common stock on the date of the grant. The Company recognizes stock-based compensation expense from market-based awards using the graded-vesting method. The fair value of such awards is determined using a Monte Carlo simulation approach. The Company recognizes stock-based compensation expense based on actual forfeitures. Convertible Senior Notes The Company accounts for the issued Convertible Senior Notes (“Convertible Notes”) as separate liability and equity components. The carrying amount of the liability component was calculated by measuring the fair value of a similar liability that does not have an associated convertible feature using a discounted cash flow model with a discount rate associated with each convertible note. The discount rates were determined primarily using observable yields for stand-alone debt instruments with a comparable credit rating and term. In addition, for the 2026 Notes, the Company also used lattice models to determine the discount rate. The carrying amount of the equity component representing the conversion option was determined by deducting the fair value of the liability component from the par value of the Convertible Notes as a whole. This difference represents a debt discount that is amortized to interest expense over the term of the Convertible Notes using the effective interest rate method. The equity component is not remeasured as long as it continues to meet the conditions for equity classification. The Company has allocated issuance costs incurred to the liability and equity components. Issuance costs attributable to the liability component are being amortized to expense over the respective term of the Convertible Notes, and issuance costs attributable to the equity components were netted with the respective equity component in additional paid in capital. To the extent that the Company receives note conversion requests prior to the maturity of the Convertible Notes, a portion of the equity component is classified as temporary equity, which is measured as the difference between the principal and net carrying amount of the notes requested for conversion. Upon settlement of the conversion requests, the difference between the fair value and the amortized book value of the liability component of the Convertible Notes requested for conversion is recorded as a gain or loss on early note conversion. The fair value of the Convertible Notes are measured based on a similar liability that does not have an associated convertible feature based on the remaining term of the Convertible Notes. Leases Leases arise from contracts that convey the right to control the use of identified property or equipment for a period of time in exchange for consideration. The Company’s leasing arrangements are primarily for office space used to conduct operations. Leases are classified at commencement as either operating or finance leases. As of January 31, 2022, all of the Company’s leases were classified as operating leases. Rent expense for operating leases is recognized using the straight-line method over the term of the agreement beginning on the lease commencement date. At commencement, the Company records a lease liability at the present value of future lease payments, net of any future lease incentives to be received. Lease agreements may include options to renew the lease term, which is not included in the lease periods to calculate future lease payments unless it is reasonably certain the Company will renew the lease. The Company estimates its incremental borrowing rate (“IBR”) based on the information available at the lease commencement date in determining the present value of lease payments. In determining the appropriate IBR, the Company considers information including, but not limited to, the lease term and the currency in which the arrangement is denominated. At commencement, the Company also records a corresponding right-of-use asset, which is calculated based on the amount of the lease liability, adjusted for any advance lease payments made and initial direct costs incurred. Right-of-use assets are subject to evaluation for impairment or disposal on a basis consistent with other long-lived assets. As of January 31, 2022, the Company was not a material lessor in leasing arrang |