XML 175 R99.htm IDEA: XBRL DOCUMENT
v3.25.1

Financial investments (Details 1) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Financial investments, non current | R$ 769,057 |
Banco Itau S/A [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Financial investments, non current | R$ 769,057 |

X
- Definition The amount of non-current financial assets measured at amortised cost. [Refer: Financial assets at amortised cost] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 8 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_8_f&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NoncurrentFinancialAssetsAtAmortisedCost
Namespace Prefix: | ifrs-full_
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
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_BancoItauSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |