XML 71 R48.htm IDEA: XBRL DOCUMENT v3.22.2.2
Accounts Receivable - Revenue reserve (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Accounts receivable, net      
Balance at the beginning of the period $ 158,761 $ 182,941 $ 241,523
Current period provision 614,517 872,672 1,091,050
Credits issued during the period (609,693) (896,852) (1,149,632)
Balance at the end of the period 163,585 158,761 182,941
Chargebacks      
Accounts receivable, net      
Balance at the beginning of the period 69,564 61,877 89,567
Current period provision 437,680 650,317 761,787
Credits issued during the period (452,743) (642,630) (789,477)
Balance at the end of the period 54,501 69,564 61,877
Rebates      
Accounts receivable, net      
Balance at the beginning of the period 35,297 62,711 78,274
Current period provision 98,379 133,898 223,932
Credits issued during the period (85,187) (161,312) (239,495)
Balance at the end of the period 48,489 35,297 62,711
Returns      
Accounts receivable, net      
Balance at the beginning of the period 38,395 40,796 55,554
Current period provision 33,258 20,280 16,863
Credits issued during the period (25,175) (22,681) (31,621)
Balance at the end of the period 46,478 38,395 40,796
Other.      
Accounts receivable, net      
Balance at the beginning of the period 15,505 17,557 18,128
Current period provision 45,200 68,177 88,468
Credits issued during the period (46,588) (70,229) (89,039)
Balance at the end of the period 14,117 15,505 17,557
Rebates.      
Accounts receivable, net      
Current period provision $ 98,400 $ 133,900 $ 223,900