XML 159 R83.htm IDEA: XBRL DOCUMENT
v3.25.1

Risk Management (Details 1) - R$ / shares | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Currency Of USD [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Exchange rate | R$ 6.1923 | R$ 4.8413
Exchange rate variation | 27.90% |
Lene [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Exchange rate variation | 15.30% |
Exchange rate | R$ 0.03947 | R$ 0.03422

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

X
- Details
Name: | ifrs-full_CurrencyInWhichInformationIsDisplayedAxis=sbs_IeneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |