XML 48 R30.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Basis of Presentation and Summary of Significant Accounting Policies (Summary of Allowance Activity Included in Trade Receivables Includes Allowance for Doubtful Accounts, Prompt Pay Cash Discounts and Chargebacks) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Allowance for Doubtful Accounts Receivable [Roll Forward}      
Balance at beginning of period $ 11,479 $ 8,888 $ 3,895
Provision related to current period sales     20,734
Credit or payments made during the period (28,055) (29,256) (15,741)
Provision related to current period sales 25,157 31,315  
Provision related to prior period sales (95) (532)  
Balance at end of period 8,486 11,479 8,888
Chargebacks      
Allowance for Doubtful Accounts Receivable [Roll Forward}      
Balance at beginning of period 346 927 468
Provision related to current period sales     2,637
Credit or payments made during the period (852) (3,268) (2,178)
Provision related to current period sales 783 2,687  
Provision related to prior period sales 0 0  
Balance at end of period 277 346 927
Government Rebates      
Allowance for Doubtful Accounts Receivable [Roll Forward}      
Balance at beginning of period 11,133 7,961 3,427
Provision related to current period sales     18,097
Credit or payments made during the period (27,203) (25,988) (13,563)
Provision related to current period sales 24,374 28,628  
Provision related to prior period sales (95) (532)  
Balance at end of period $ 8,209 $ 11,133 $ 7,961