XML 75 R55.htm IDEA: XBRL DOCUMENT v3.20.2
Accounts Receivable, net - Revenue reserve (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Change in revenue related reserves      
Balance at the beginning of the period $ 241,523 $ 298,616 $ 220,384
Current period provision 1,091,050 1,407,073 1,532,701
Adjustment related to adoption of ASC 606   3,536  
Credits issued during the period (1,149,632) (1,467,702) (1,454,469)
Balance at the end of the period 182,941 241,523 298,616
Chargebacks      
Change in revenue related reserves      
Balance at the beginning of the period 89,567 153,034 79,537
Current period provision 761,787 1,047,192 1,141,995
Credits issued during the period (789,477) (1,110,659) (1,068,498)
Balance at the end of the period 61,877 89,567 153,034
Rebates      
Change in revenue related reserves      
Balance at the beginning of the period 78,274 82,502 87,616
Current period provision 223,932 250,555 296,784
Credits issued during the period (239,495) (254,783) (301,898)
Balance at the end of the period 62,711 78,274 82,502
Returns      
Change in revenue related reserves      
Balance at the beginning of the period 55,554 43,059 42,135
Current period provision 16,863 41,982 24,024
Credits issued during the period (31,621) (29,487) (23,100)
Balance at the end of the period 40,796 55,554 43,059
Other      
Change in revenue related reserves      
Balance at the beginning of the period 18,128 20,021 11,096
Current period provision 88,468 67,344 69,898
Adjustment related to adoption of ASC 606   3,536  
Credits issued during the period (89,039) (72,773) (60,973)
Balance at the end of the period 17,557 18,128 20,021
Rebates      
Change in revenue related reserves      
Current period provision $ 223,900 $ 250,600 $ 296,800