XML 161 R85.htm IDEA: XBRL DOCUMENT
v3.25.1

Risk Management (Details 3) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Borrowings | R$ 23,438,372 | R$ 17,804,385
Certificado De Deposito Interbancario [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Borrowings | 15,250,135 | 9,966,111
Interest Benchmark Rates [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Borrowings | 1,683,342 | 1,684,711
Indice Nacional De Precos Ao Consumidor Amplos [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Borrowings | 2,982,735 | 3,038,378
Taxa De Juros A Longo Prazos [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Borrowings | 1,067,436 | 1,365,806
Secured Overnight Financing Rate [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Borrowings | 1,882,325 | 1,356,473
Interest And Charge [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Borrowings | R$ 572,399 | R$ 392,906

X
- References No definition available. + Details
Name: | sbs_BorrowingsAndFinancing
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_TypesOfInterestRatesAxis=sbs_CertificadoDeDepositoInterbancarioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=sbs_InterestBenchmarkRatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=sbs_IndiceNacionalDePrecosAoConsumidorAmplosMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=sbs_TaxaDeJurosALongoPrazosMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=sbs_SecuredOvernightFinancingRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=sbs_InterestAndChargeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |