| Fact | Value | Period | Source |
|---|
| common_shares_outstanding | {"unit": "shares", "value": 270139069, "concept": "dei:EntityCommonStockSharesOutstanding" | 2023-12-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 270139069, "concept": "dei:EntityCommonStockSharesOutstanding" | 2022-12-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 269375860, "concept": "dei:EntityCommonStockSharesOutstanding" | 2021-12-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 268351567, "concept": "dei:EntityCommonStockSharesOutstanding" | 2020-12-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 99679851, "concept": "dei:EntityCommonStockSharesOutstanding"} | 2019-12-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 4198700, "concept": "dei:EntityCommonStockSharesOutstanding"} | 2018-12-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 99679851, "concept": "dei:EntityCommonStockSharesOutstanding"} | 2017-12-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 270139069} | 2023-12-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 270139069} | 2022-12-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 269375860} | 2021-12-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 268351567} | 2020-12-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 99679851} | 2019-12-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 4198700} | 2018-12-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 99679851} | 2017-12-31 | sec_edgar |
| industry_sic | {"code": "5411", "scheme": "SIC", "description": "Retail-Grocery Stores"} | | sec_edgar |
| observed_web_domain | {"via": "wikidata:P856", "domain": "gpabr.com"} | | robots_obs |
| website | {"qid": "Q1541470", "url": "https://www.gpabr.com", "via": "wikidata"} | | wikidata |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": -2000000} | 2023-12-31 | sec_edgar |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": -1752000000} | 2022-12-31 | sec_edgar |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": 574000000} | 2021-12-31 | sec_edgar |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": 1692000000} | 2020-12-31 | sec_edgar |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": 107000000} | 2019-12-31 | sec_edgar |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": -66000000} | 2018-12-31 | sec_edgar |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": -49000000} | 2017-12-31 | sec_edgar |
| xbrl:AccumulatedOtherComprehensiveIncome | {"unit": "BRL", "value": -20000000} | 2016-12-31 | sec_edgar |
| xbrl:AcquisitiondateFairValueOfEquityInterestInAcquireeHeldByAcquirerImmediatelyBeforeAcquisitionDate | {"unit": "BRL", "value": 9541000000} | 2019-12-31 | sec_edgar |
| xbrl:AcquisitiondateFairValueOfTotalConsiderationTransferred | {"unit": "BRL", "value": 9371000000} | 2019-12-31 | sec_edgar |
| xbrl:AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwill | {"unit": "BRL", "value": -138000000} | 2018-12-31 | sec_edgar |
| xbrl:AcquisitionsThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 3174000000} | 2019-12-31 | sec_edgar |
| xbrl:AcquisitionsThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 41000000} | 2018-12-31 | sec_edgar |
| xbrl:AcquisitionsThroughBusinessCombinationsInvestmentProperty | {"unit": "BRL", "value": 8496000000} | 2019-12-31 | sec_edgar |
| xbrl:ActuarialAssumptionOfDiscountRates | {"value": 0.074} | 2022-12-31 | sec_edgar |
| xbrl:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets | {"unit": "BRL", "value": 630000000} | 2018-12-31 | sec_edgar |
| xbrl:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets | {"unit": "BRL", "value": 740000000} | 2017-12-31 | sec_edgar |
| xbrl:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets | {"unit": "BRL", "value": 631000000} | 2016-12-31 | sec_edgar |
| xbrl:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets | {"unit": "BRL", "value": -556000000} | 2015-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 157000000} | 2023-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 230000000} | 2022-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 232000000} | 2021-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 198000000} | 2020-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 298000000} | 2019-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 737000000} | 2018-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": 283000000} | 2017-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill | {"unit": "BRL", "value": -436000000} | 2016-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsInvestmentProperty | {"unit": "BRL", "value": 100000000} | 2022-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsInvestmentProperty | {"unit": "BRL", "value": 124000000} | 2021-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsInvestmentProperty | {"unit": "BRL", "value": 14000000} | 2020-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsInvestmentProperty | {"unit": "BRL", "value": 12000000} | 2019-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": 1410000000} | 2023-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": 1896000000} | 2022-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": 1474000000} | 2021-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": 4207000000} | 2020-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": 3268000000} | 2019-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": 2236000000} | 2018-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": 1367000000} | 2017-12-31 | sec_edgar |
| xbrl:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment | {"unit": "BRL", "value": -1387000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 275000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 269000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 269} | 2021-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 269000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 268000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 267} | 2018-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 267} | 2017-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 266000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 266000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": 147000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": -383000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": 989000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": -1142000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": -181000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": -1475000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": -1505000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": 107000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInInventories | {"unit": "BRL", "value": -261000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": 149000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": -336000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": -5000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": -27000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": -173000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": -34000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": -48000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": 118000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherAssets | {"unit": "BRL", "value": -140000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": 173000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": -509000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": 210000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": 392000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": -354000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": -1350000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": -321000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": -709000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInOtherOperatingReceivables | {"unit": "BRL", "value": -434000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -20000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -166000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -140000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -257000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -14000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -326000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -2115000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -1259000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInTradeAccountReceivable | {"unit": "BRL", "value": -434000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": -282000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": -29000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": -676000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": 69000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": 240000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": 235000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": 92000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": -118000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "BRL", "value": 135000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 1136000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 1902000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 2117000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 2564000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 1559000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 1322000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 1229000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 1089000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForDepreciationAndAmortisationExpense | {"unit": "BRL", "value": 1102000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForFairValueGainsLosses | {"unit": "BRL", "value": 48000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForFairValueGainsLosses | {"unit": "BRL", "value": 83000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForFairValueGainsLosses | {"unit": "BRL", "value": 105000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForFairValueGainsLosses | {"unit": "BRL", "value": 3000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForFairValueGainsLosses | {"unit": "BRL", "value": 0} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForFairValueGainsLosses | {"unit": "BRL", "value": 0} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1670000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1696000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1316000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1796000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1668000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1730000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1998000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1272000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForFinanceCosts | {"unit": "BRL", "value": 1154000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates | {"unit": "BRL", "value": -2082000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates | {"unit": "BRL", "value": -1000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates | {"unit": "BRL", "value": 598000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates | {"unit": "BRL", "value": 0} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates | {"unit": "BRL", "value": 0} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates | {"unit": "BRL", "value": -94000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates | {"unit": "BRL", "value": 0} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": 14000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": 2569000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": 247000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": -317000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": -88000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": -17000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": 329000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": 203000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment | {"unit": "BRL", "value": 148000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss | {"unit": "BRL", "value": 33000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss | {"unit": "BRL", "value": 44000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss | {"unit": "BRL", "value": 45000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss | {"unit": "BRL", "value": 29000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss | {"unit": "BRL", "value": 1000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss | {"unit": "BRL", "value": 0} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": 43000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": -28000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": 26000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": 24000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": 16000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": -6000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": -1000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": 44000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossInventories | {"unit": "BRL", "value": 57000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 20000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 40000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 61000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 86000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 263000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 634000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 737000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 630000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables | {"unit": "BRL", "value": 556000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInDeferredIncome | {"unit": "BRL", "value": 252000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInDeferredIncome | {"unit": "BRL", "value": 173000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInDeferredIncome | {"unit": "BRL", "value": 1032000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInDeferredIncome | {"unit": "BRL", "value": -8000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInDeferredIncome | {"unit": "BRL", "value": 660000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInDeferredIncome | {"unit": "BRL", "value": 750000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": 39000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": -195000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": 378000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": -1000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": -52000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": 193000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": 89000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": -279000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInOtherLiabilities | {"unit": "BRL", "value": 397000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": -1512000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": -332000000} | 2022-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": -738000000} | 2021-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": 726000000} | 2020-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": -1215000000} | 2019-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": 2149000000} | 2018-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": 3059000000} | 2017-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": -1486000000} | 2016-12-31 | sec_edgar |
| xbrl:AdjustmentsForIncreaseDecreaseInTradeAccountPayable | {"unit": "BRL", "value": 2503000000} | 2015-12-31 | sec_edgar |
| xbrl:AdjustmentsForProvisions | {"unit": "BRL", "value": -87000000} | 2023-12-31 | sec_edgar |
| xbrl:AdjustmentsForProvisions | {"unit": "BRL", "value": 1523000000} | 2022-12-31 | sec_edgar |