XML 111 R102.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Intangible assets (Details 4) - BRL (R$) R$ in Thousands | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Total Leases and Right of use | R$ 592,267 | R$ 492,739
Leases Related To Concession Agreements And Program Contract [Member] | Costs [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total Leases and Right of use | 582,617 | 588,600
Leases Related To Concession Agreements And Program Contract [Member] | Accumulated Amortizations [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Accumulated amortization | (217,041) | (213,921)
Leases Related To Concession Agreements And Program Net [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total Leases and Right of use | 365,576 | 374,679
Vehicles [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total Leases and Right of use | 232,477 | 205,593
Properties [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total Leases and Right of use | 58,505 | 11,566
Office equipment [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total Leases and Right of use | 45 | 45
Accumulated Amortization [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Accumulated amortization | (64,336) | (99,144)
Right Of Use Assets Net [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total Leases and Right of use | R$ 226,691 | R$ 118,060

X
- Definition The amount of assets that represent a lessee's right to use an underlying asset for the lease term that do not meet the definition of investment property. Underlying asset is an asset that is the subject of a lease, for which the right to use that asset has been provided by a lessor to a lessee. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 53 -Subparagraph j -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_j&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 47 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_AccumulatedAmortization
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_IfrsStatementLineItems
Namespace Prefix: | sbs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | sbs_LeasesConcessionAndProgramContractsCost
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_LeasesConcessionAndProgramContractsNet
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_TotalLeasesAndRightOfUse
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=sbs_LeasesRelatedToConcessionAgreementsAndProgramContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_FairValueAsDeemedCostAxis=sbs_CostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_FairValueAsDeemedCostAxis=sbs_AccumulatedAmortizationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=sbs_LeasesRelatedToConcessionAgreementsAndProgramNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_VehiclesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=sbs_PropertiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_OfficeEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=sbs_AccumulatedAmortizationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=sbs_RightOfUseAssetsNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |