XML 66 R56.htm IDEA: XBRL DOCUMENT v3.19.1
Accounts Receivable - Revenue Reserve (Details) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2019
Mar. 31, 2018
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 1,119,518 1,100,054
Credits issued during the period (1,170,706) (1,060,662)
Balance at the end of the period 250,964 259,776
Chargebacks    
Change in revenue related reserves    
Balance at the beginning of the period 153,034 79,537
Current period provision 834,270 797,964
Credits issued during the period (887,777) (764,055)
Balance at the end of the period 99,527 113,446
Rebates    
Change in revenue related reserves    
Balance at the beginning of the period 82,502 87,616
Current period provision 194,012 228,100
Credits issued during the period (204,112) (239,665)
Balance at the end of the period 72,402 76,051
Returns    
Change in revenue related reserves    
Balance at the beginning of the period 43,059 42,135
Current period provision 31,069 21,661
Credits issued during the period (23,407) (16,543)
Balance at the end of the period 50,721 47,253
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 60,167 52,329
Credits issued during the period (55,410) (40,399)
Balance at the end of the period $ 28,314 $ 23,026