XML 85 R76.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Risk management (Details 9) - BRL (R$) R$ in Thousands | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Financial investments | R$ 4,172,591 | R$ 2,426,752
Restricted cash | 45,694 | 54,944
Trade receivables | 5,313,095 | 5,233,932
Water and Basic Sanitation National Agency ANA | 1,879 | 2,673
Carrying amount [member] |  |
IfrsStatementLineItems [Line Items] |  |
Cash and cash equivalents | 2,019,391 | 838,484
Financial investments | 4,172,591 | 2,426,752
Restricted cash | 45,694 | 54,944
Trade receivables | 3,936,233 | 3,856,723
Water and Basic Sanitation National Agency ANA | 1,879 | 2,673
Other assets | 237,270 | 196,065
Fair Values [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Cash and cash equivalents | 2,019,391 | 838,484
Financial investments | 4,172,591 | 2,426,752
Restricted cash | 45,694 | 54,944
Trade receivables | 3,936,233 | 3,856,723
Water and Basic Sanitation National Agency ANA | 1,879 | 2,673
Other assets | R$ 237,270 | R$ 196,065

X
- Definition The amount of current financial assets measured at amortised cost. [Refer: Financial assets at amortised cost] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 8 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_f&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CurrentFinancialAssetsAtAmortisedCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount receivable by the entity that it does not separately disclose in the same statement or note. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_OtherReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of cash and cash equivalents whose use or withdrawal is restricted. [Refer: Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RestrictedCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount due from customers for goods and services sold. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_CashAndCashEquivalent
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
- References No definition available. + Details
Name: | sbs_WaterNationalAgencyNoncurrent
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: |