XML 89 R80.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Cash and cash equivalents (Details Narrative) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2024 | Dec. 31, 2023
Certificado De Deposito Interbancario [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Average yield of cash equivalents | 96.67% | 96.25%

X
- References No definition available. + Details
Name: | sbs_AverageYieldOfCashEquivalents
Namespace Prefix: | sbs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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_TypesOfInterestRatesAxis=sbs_CertificadoDeDepositoInterbancarioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |