XML 104 R90.htm IDEA: XBRL DOCUMENT
v3.21.1

9 Restricted cash (Details) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Summary of restricted cash [Line Items] |  |  |
Restricted cash |  | R$ 35,742 | R$ 26,018
Agreement with the sao paulo municipal government [member] |  |  |
Summary of restricted cash [Line Items] |  |  |
Restricted cash | [1] | 29,599 | 17,068
Brazilian federal savings bank - escrow deposits [member] |  |  |
Summary of restricted cash [Line Items] |  |  |
Restricted cash | [2] | 272 | 2,245
Other [member] |  |  |
Summary of restricted cash [Line Items] |  |  |
Restricted cash |  | R$ 5,871 | R$ 6,705
[1] | Refers to the amount deducted from the 7.5% of municipal revenue transferred to the Municipal Fund for Environmental Sanitation and Infrastructure, corresponding to eventual amounts unpaid by direct management bodies, foundations and government agencies, as established in the agreement entered into with the municipal government of Sao Paulo and
[2] | Refers to savings account for receiving escrow deposits regarding lawsuits with final and unappealable decisions in favor of the Company, which are blocked as per contractual clause.

X
- Definition The amount of cash and cash equivalents whose use or withdrawal is restricted. [Refer: Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_55&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_RestrictedCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount represents information related to summary of restricted cash line items. + References No definition available. + Details
Name: | sbs_SummaryOfRestrictedCashLineItems
Namespace Prefix: | sbs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=sbs_AgreementwiththeSaoPauloMunicipalGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=sbs_BrazilianFederalSavingsBankEscrowDepositesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=sbs_OtherOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |