XML 81 R72.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Risk management (Details 5) - BRL (R$) R$ in Thousands | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Cash and cash equivalents and financial investments | R$ 6,191,982 | R$ 3,265,236
Banco B V [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Current accounts and investment funds | 329,381 | 322,241
A A A Bra [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Cash and cash equivalents and financial investments | 5,859,198 | 2,940,690
Others [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Cash and cash equivalents and financial investments | R$ 332,784 | R$ 324,546

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

X
- References No definition available. + Details
Name: | sbs_CurrentAccountsAndInvestmentFunds
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_CategoriesOfRelatedPartiesAxis=sbs_BancoBVMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=sbs_AAABraMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ExternalCreditGradesAxis=sbs_OthersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |