XML 139 R130.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Equity (Details) - shares | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2024 | Dec. 31, 2023
IfrsStatementLineItems [Line Items] |  |
Number of shares | 683,509,869 | 683,509,869
Percentage of shares | 100.00% | 100.00%
Sao Paulo State [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Number of shares | 343,506,664 | 343,506,664
Percentage of shares | 50.30% | 50.30%
Other Shareholders In Brazil [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Number of shares | 266,922,203 | 257,339,417
Percentage of shares | 39.00% | 37.60%
Other Shareholders Abroads [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Number of shares | 73,081,002 | 82,663,788
Percentage of shares | 10.70% | 12.10%

X
- Definition The number of shares issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 106 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NumberOfSharesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
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
- References No definition available. + Details
Name: | sbs_PercentageOfShares
Namespace Prefix: | sbs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfEntitysOwnEquityInstrumentsAxis=sbs_SaoPauloStateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfEntitysOwnEquityInstrumentsAxis=sbs_OtherShareholdersInBrazilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfEntitysOwnEquityInstrumentsAxis=sbs_OtherShareholdersAbroadsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |