XML 59 R49.htm IDEA: XBRL DOCUMENT v3.22.4
Accounts Receivable, net - Revenue reserve (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Accounts receivable, net        
Balance at the beginning of the period     $ 163,585 $ 158,761
Current period provision     255,655 341,228
Credits issued during the period     (291,969) (337,386)
Balance at the end of the period $ 127,271 $ 162,603 127,271 162,603
Chargebacks        
Accounts receivable, net        
Balance at the beginning of the period     54,501 69,564
Current period provision 94,700 114,700 180,856 245,900
Credits issued during the period     (195,618) (248,631)
Balance at the end of the period 39,739 66,833 39,739 66,833
Rebates        
Accounts receivable, net        
Balance at the beginning of the period     48,489 35,297
Current period provision 25,700 26,500 47,322 55,262
Credits issued during the period     (58,295) (46,857)
Balance at the end of the period 37,516 43,702 37,516 43,702
Returns        
Accounts receivable, net        
Balance at the beginning of the period     46,478 38,395
Current period provision 8,200 7,400 13,546 13,305
Credits issued during the period     (22,834) (14,930)
Balance at the end of the period 37,190 36,770 37,190 36,770
Other.        
Accounts receivable, net        
Balance at the beginning of the period     14,117 15,505
Current period provision 7,200 7,800 13,931 26,761
Credits issued during the period     (15,222) (26,968)
Balance at the end of the period $ 12,826 $ 15,298 $ 12,826 $ 15,298