XML 77 R68.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Risk management (Details 1) - $ / shares | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Lene [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Exchange rate variation | (3.50%) | (3.50%)
Exchange rate | $ 0.03301 | $ 0.03422
United State Currency [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Exchange rate | $ 4.9962 | $ 4.8413
Exchange rate variation | 3.20% | 3.20%

X
- References No definition available. + Details
Name: | sbs_ClosingForeignExchangeRate1
Namespace Prefix: | sbs_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

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

X
- References No definition available. + Details
Name: | sbs_ClosingForeignExchangeRates
Namespace Prefix: | sbs_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
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_CurrencyInWhichInformationIsDisplayedAxis=sbs_LeneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_CurrencyInWhichInformationsIsDisplayedAxis=sbs_UnitedStateCurrencyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |