XML 110 R101.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Intangible assets (Details 3) - BRL (R$) R$ in Thousands | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Current liabilities | R$ 435,671 | R$ 487,926
Noncurrent liabilities | 2,787,032 | 2,798,688
Total liabilities | 3,222,703 | 3,286,614
Alto Tiete [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Current liabilities |  | 52,762
Noncurrent liabilities |  |
Total liabilities |  | 52,762
Sao Lourenco [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Current liabilities | 435,671 | 435,164
Noncurrent liabilities | 2,787,032 | 2,798,688
Total liabilities | R$ 3,222,703 | R$ 3,233,852

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

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

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

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_AltoTieteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=sbs_SaoLourencoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |