XML 183 R107.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade receivables (Details Narrative) - BRL (R$) R$ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2025 | Dec. 31, 2024
IfrsStatementLineItems [Line Items] |  |
Judicial payment |  | R$ 701,000
Non Adjusting Event [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Judicial payment received | R$ 55,399 |

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_JudicialPayment
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=sbs_NonAdjustingEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |