XML 170 R94.htm IDEA: XBRL DOCUMENT
v3.25.1

Risk Management (Details 12) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | --- | ---
IfrsStatementLineItems [Line Items] |  |  |  |
Cash and cash equivalents | R$ 25,258,297 | R$ 19,536,350 | R$ 18,958,671 | R$ 17,723,836
Services payable | 1,438,507 | 750,732 |  |
Public-Private Partnership - PPP | 2,853,896 | 2,798,688 |  |
Carrying amount [member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
Cash and cash equivalents | 25,258,297 | 19,536,350 |  |
Trade payables and contractors | 766,609 | 456,215 |  |
Services payable | 1,438,507 | 750,732 |  |
Program contract commitments |  | 34,016 |  |
Public-Private Partnership - PPP | 3,306,219 | 3,286,614 |  |
Fair Values [Member] |  |  |  |
IfrsStatementLineItems [Line Items] |  |  |  |
Cash and cash equivalents | 26,362,590 | 19,950,055 |  |
Trade payables and contractors | 766,609 | 456,215 |  |
Services payable | 1,438,507 | 750,732 |  |
Program contract commitments |  | 34,016 |  |
Public-Private Partnership - PPP | R$ 3,306,219 | R$ 3,286,614 |  |

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of capital commitments for which the entity has entered into a contract. [Refer: Capital commitments] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_112_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ContractualCapitalCommitments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of current provisions other than provisions for employee benefits. [Refer: Provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherShorttermProvisions
Namespace Prefix: | ifrs-full_
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
- References No definition available. + Details
Name: | sbs_PublicprivatePartnershipPpp
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | ifrs-full_FairValueAsDeemedCostAxis=ifrs-full_CarryingAmountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_FairValueAsDeemedCostAxis=sbs_FairValuesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |