XML 26 R12.htm IDEA: XBRL DOCUMENT v3.23.1
Accounts Receivable
12 Months Ended
Dec. 31, 2022
Receivables [Abstract]  
Accounts Receivable Accounts Receivable
Accounts receivable consists of the following (in thousands):
December 31,
20222021
Accounts receivable$423,071 $236,149 
Less: allowance for credit losses(1,888)(140)
Accounts receivable, net$421,183 $236,009 

Included in accounts receivable are amounts retained by project owners that represent funds withheld by our customers until the products are installed by a third-party, arranged by the customer, and the project is declared operational. Such retention amounts were $47.4 million and $13.5 million as of December 31, 2022 and 2021, respectively. All retention amounts outstanding as of December 31, 2022 are collectible within the next 12 months.

The following is the activity of the reserve for credit losses on accounts receivable which includes trade accounts receivable and unbilled accounts receivable (in thousands):
December 31,
20222021
Beginning balance$(140)$(663)
Provision for credit losses(2,599)303 
Collected731 130 
Written-off120 90 
Ending balance$(1,888)$(140)