XML 103 R89.htm IDEA: XBRL DOCUMENT
v3.21.1

8 Financial investments (Details Narrative) | 12 Months Ended
--- | ---
Dec. 31, 2020
Certificado de deposito interbancario [member] |
FinancialInvestmentsLineItems [Line Items] |
Average yield of financial investments | 98.95%

X
- Definition Percentage of average yield of financial instrument. + References No definition available. + Details
Name: | sbs_AverageYieldOfFinancialInstrument
Namespace Prefix: | sbs_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | sbs_FinancialInvestmentsLineItems
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: |