XML 94 R85.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Trade receivables (Details 1) - BRL (R$) R$ in Thousands | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Total | R$ 5,313,095 | R$ 5,233,932
Current [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 2,852,858 | 2,723,975
Not later than one month [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 573,435 | 627,986
Later than one month and not later than two months [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 265,847 | 271,476
Later than two months and not later than three months [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 189,807 | 181,639
Later than three months and not later than four months [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 142,875 | 127,421
Later Than Four Month And Not Later Than Six Months [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 304,359 | 290,610
Later than six months and not later than one year [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 179,209 | 57,289
Later than one year [member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | 804,705 | 953,536
Past Due [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Total | R$ 2,460,237 | 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 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_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: |