XML 214 R138.htm IDEA: XBRL DOCUMENT
v3.25.1

Borrowings and financing (Details 8) R$ in Thousands | Dec. 31, 2024 BRL (R$)
--- | ---
IfrsStatementLineItems [Line Items] |
Borrowings and financing - credit limits | R$ 3,697
Brazilian Federal Savings Bank [Member] |
IfrsStatementLineItems [Line Items] |
Borrowings and financing - credit limits | 768
Brazilian Development Bank – BNDES [Member] |
IfrsStatementLineItems [Line Items] |
Borrowings and financing - credit limits | 30
Inter-American Development Bank (IDB) [Member] |
IfrsStatementLineItems [Line Items] |
Borrowings and financing - credit limits | 886
International Bank for Reconstruction and Development (IBRD) [Member] |
IfrsStatementLineItems [Line Items] |
Borrowings and financing - credit limits | 1,060
BTG Pactual Bank [Member] |
IfrsStatementLineItems [Line Items] |
Borrowings and financing - credit limits | 949
Other Borrowings And Financing [Member] |
IfrsStatementLineItems [Line Items] |
Borrowings and financing - credit limits | R$ 4

X
- References No definition available. + Details
Name: | sbs_BorrowingsAndFinancingCreditLimited
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_CategoriesOfRelatedPartiesAxis=sbs_BrazilianFederalSavingsBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_BrazilianDevelopmentsBankBNDESMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_InterAmericanDevelopmentBankIDBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_InternationalBankForReconstructionAndDevelopmenstMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_BTGPactualBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_OtherBorrowingsAndFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |