XML 199 R123.htm IDEA: XBRL DOCUMENT
v3.25.1

Intangible assets (Details 6) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Intangible Assets |  |
Contract asset | R$ 380,204 | R$ 183,876
Intangible assets | 1,933,347 | 2,191,361
Total | R$ 2,313,551 | R$ 2,375,237

X
- References No definition available. + Details
Name: | sbs_DisclosureIntangibleAssetsAbstract
Namespace Prefix: | sbs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | sbs_PerformanceAgreementsContractAssets
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_PerformanceAgreementsIntangibleAssets
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_PerformanceAgreementsTotalAssets
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant