XML 58 R49.htm IDEA: XBRL DOCUMENT v3.22.0.1
Accounts Receivable, net - Revenue reserve (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2021
Dec. 31, 2020
Accounts receivable, net        
Balance at the beginning of the period     $ 158,761 $ 182,941
Current period provision     341,228 504,754
Credits issued during the period     (337,386) (484,792)
Balance at the end of the period $ 162,603 $ 202,903 162,603 202,903
Chargebacks        
Accounts receivable, net        
Balance at the beginning of the period     69,564 61,877
Current period provision 114,700 191,500 245,900 379,821
Credits issued during the period     (248,631) (360,242)
Balance at the end of the period 66,833 81,456 66,833 81,456
Rebates        
Accounts receivable, net        
Balance at the beginning of the period     35,297 62,711
Current period provision 26,500 43,400 55,262 77,657
Credits issued during the period     (46,857) (77,536)
Balance at the end of the period 43,702 62,832 43,702 62,832
Returns        
Accounts receivable, net        
Balance at the beginning of the period     38,395 40,796
Current period provision 7,400 5,200 13,305 10,652
Credits issued during the period     (14,930) (12,181)
Balance at the end of the period 36,770 39,267 36,770 39,267
Other        
Accounts receivable, net        
Balance at the beginning of the period     15,505 17,557
Current period provision 7,800 20,800 26,761 36,624
Credits issued during the period     (26,968) (34,833)
Balance at the end of the period $ 15,298 $ 19,348 $ 15,298 $ 19,348