XML 179 R103.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade receivables (Details 1) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Total | R$ 5,470,564 | R$ 5,233,932
Current [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 2,979,496 | 2,723,975
Not later than one month [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 637,375 | 627,986
Later than one month and not later than two months [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 303,238 | 271,476
Later than two months and not later than three months [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 177,777 | 181,639
Later than three months and not later than four months [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 168,515 | 127,421
Later Than Four Month And Not Later Than Six Months [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 241,030 | 290,610
Later than six months and not later than one year [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 47,992 | 57,289
Later than one year [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 915,141 | 953,536
Past Due [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | R$ 2,491,068 | R$ 2,509,957

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 2024-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78_b&doctype=Standard -URIDate 2024-03-27 + 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_IfrsStatementLineItems
Namespace Prefix: | sbs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_CurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_NotLaterThanOneMonthMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanOneMonthAndNotLaterThanTwoMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanThreeMonthsAndNotLaterThanFourMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=sbs_LaterThanFourMonthAndNotLaterThanSixMonthsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanSixMonthsAndNotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=ifrs-full_LaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_PastDueStatusAxis=sbs_PastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |