SCHEDULE II VALUATION AND QUALIFYING ACCOUNTS (Details) - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
| Allowance for doubtful accounts deducted from accounts receivable in the balance sheets |
|
|
|
| Valuation and qualifying accounts |
|
|
|
| Balance at Beginning of Period |
$ 2,868
|
$ 2,133
|
$ 7,381
|
| Charged to Costs and Expenses |
2,972
|
3,292
|
641
|
| Deductions |
457
|
2,557
|
5,889
|
| Balance at End of Period |
5,383
|
2,868
|
2,133
|
| Allowance for obsolete and slow moving inventory deducted from inventories in the balance sheets |
|
|
|
| Valuation and qualifying accounts |
|
|
|
| Balance at Beginning of Period |
14,486
|
8,660
|
8,231
|
| Charged to Costs and Expenses |
756
|
15,590
|
3,186
|
| Deductions |
2,365
|
9,764
|
2,757
|
| Balance at End of Period |
12,877
|
14,486
|
8,660
|
| Allowance for deferred tax assets not expected to be realized |
|
|
|
| Valuation and qualifying accounts |
|
|
|
| Balance at Beginning of Period |
186,993
|
132,021
|
120,958
|
| Charged to Costs and Expenses |
147,558
|
94,026
|
41,820
|
| Deductions |
15,664
|
39,054
|
30,757
|
| Balance at End of Period |
$ 318,887
|
186,993
|
$ 132,021
|
| Foreign tax credits transferred from Archrock pursuant to Spin-off |
|
$ 45,000
|
|