XML 203 R127.htm IDEA: XBRL DOCUMENT
v3.25.1

Financial Asset (Indemnity) (Details Narrative) R$ in Thousands | Jul. 31, 2024 BRL (R$)
--- | ---
Concession Agreement - URAE-1 [Member] |
IfrsStatementLineItems [Line Items] |
Adjustment of financial assets | R$ 8,757,450

X
- References No definition available. + Details
Name: | sbs_AdjustmentOfFinancialAssets
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
- Details
Name: | ifrs-full_TypesOfFinancialAssetsAxis=sbs_ConcessionAgreementURAE1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |