XML 121 R92.htm IDEA: XBRL DOCUMENT v3.22.1
Trade Receivables and Reseller Financing - Summary of Movements in the Allowance for Loss Allowance for Expected Credit Losses (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Disclosure of financial assets [line items]    
Beginning balance R$ 197,011  
Ending balance 185,278 R$ 197,011
Trade receivables [member]    
Disclosure of financial assets [line items]    
Beginning balance 382,096 404,886
Additions 177,872 194,220
Reversals (150,160) (203,994)
Write-offs (18,646) (13,016)
Reclassification to assets held for sale (16,807)  
Ending balance 374,355 382,096
Reseller Financing - Ipiranga [member]    
Disclosure of financial assets [line items]    
Beginning balance 197,011 156,006
Additions 65,536 74,745
Reversals (68,982) (29,791)
Write-offs (8,287) (3,949)
Ending balance R$ 185,278 R$ 197,011