XML 123 R114.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Borrowings and financing (Details Narrative) R$ in Billions | Mar. 31, 2024 Number | Mar. 05, 2024 BRL (R$) | Dec. 31, 2023 Number
--- | --- | --- | ---
Events After Reporting Period [Member] |  |  |
IfrsStatementLineItems [Line Items] |  |  |
Issuance of unsecured debenture | R$ |  | R$ 2,940.5 |
Currency U S D [Member] |  |  |
IfrsStatementLineItems [Line Items] |  |  |
Exchange rate | 4.9962 |  | 4.8413
Currency J P Y [Member] |  |  |
IfrsStatementLineItems [Line Items] |  |  |
Exchange rate | 0.03301 |  | 0.03422

X
- Definition The spot exchange rate at the end of the reporting period. Exchange rate is the ratio of exchange for two currencies. Spot exchange rate is the exchange rate for immediate delivery. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ClosingForeignExchangeRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
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_IssuanceOfUnsecuredDebenture
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=sbs_EventsAfterReportingPeriodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=sbs_CurrencyUSDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=sbs_CurrencyJPYMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |