XML 25 R11.htm IDEA: XBRL DOCUMENT v3.23.2
RECEIVABLES
6 Months Ended
Jun. 30, 2023
Receivables [Abstract]  
RECEIVABLES RECEIVABLES
A summary of accounts receivable as of June 30, 2023 and December 31, 2022 is as follows (in thousands): 
June 30, 2023December 31, 2022
 (unaudited) 
Trade accounts receivable$159,330 $160,572 
Unbilled receivables42,848 31,379 
Allowance for credit losses(5,145)(5,262)
Total$197,033 $186,689 
We measure all expected credit losses for financial instruments held at the reporting date based on historical experience, current conditions, and reasonable and supportable forecasts. This applies to financial assets measured at amortized cost, including trade and unbilled accounts receivable, and requires immediate recognition of lifetime expected credit losses. Significant factors that affect the expected collectability of our receivables include macroeconomic trends and forecasts in the oil and gas, refining, power, and petrochemical markets and changes in our results of operations and forecasts. For unbilled receivables, we consider them as short-term in nature as they are normally converted to trade receivables within 90 days, thus future changes in economic conditions will not have a significant effect on the credit loss estimate.
The following table shows a rollforward of the allowance for credit losses (in thousands):
 June 30, 2023December 31, 2022
 (unaudited)
Balance at beginning of period$5,262 $7,843 
Provision for expected credit losses783 1,059 
Recoveries collected(498)(1,114)
Write-offs(369)(2,479)
Foreign exchange effects(33)(47)
Balance at end of period$5,145 $5,262