XML 95 R86.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Trade receivables (Details 2) - BRL (R$) R$ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2024 | Mar. 31, 2023
Trade Receivables |  |
Balance at the beginning of the period | R$ 1,377,209 | R$ 1,428,517
Creation/(reversal) of losses | 40,097 | (8,449)
Recoveries | (40,444) | (19,627)
Balance at the end of the period | R$ 1,376,862 | R$ 1,400,441

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

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

X
- References No definition available. + Details
Name: | sbs_DisclosureTradeReceivablesAbstract
Namespace Prefix: | sbs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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