XML 67 R56.htm IDEA: XBRL DOCUMENT v3.10.0.1
Accounts Receivable - Revenue Reserve (Details) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Change in revenue related reserves    
Balance at the beginning of the period $ 298,616 $ 220,384
Adjustment related to adoption of ASC 606 3,536  
Current period provision 809,374 674,119
Credits issued during the period (828,596) (690,624)
Balance at the end of the period 282,930 203,879
Chargebacks    
Change in revenue related reserves    
Balance at the beginning of the period 153,034 79,537
Current period provision 612,560 474,882
Credits issued during the period (637,492) (499,959)
Balance at the end of the period 128,102 54,460
Rebates    
Change in revenue related reserves    
Balance at the beginning of the period 82,502 87,616
Current period provision 143,578 156,073
Credits issued during the period (147,023) (157,071)
Balance at the end of the period 79,057 86,618
Returns    
Change in revenue related reserves    
Balance at the beginning of the period 43,059 42,135
Current period provision 18,662 14,541
Credits issued during the period (12,213) (11,881)
Balance at the end of the period 49,508 44,795
Other    
Change in revenue related reserves    
Balance at the beginning of the period 20,021 11,096
Adjustment related to adoption of ASC 606 3,536  
Current period provision 34,574 28,623
Credits issued during the period (31,868) (21,713)
Balance at the end of the period $ 26,263 $ 18,006