XML 177 R163.htm IDEA: XBRL DOCUMENT
v3.21.1

32 Commitments (Details) R$ in Thousands | Dec. 31, 2020 BRL (R$)
--- | ---
Summary of commitments [Line Items] |
Contractual obligations - expenses | R$ 2,762,266
Contractual obligations - investments | 6,132,040
Total | 8,894,306
1 year [member] |
Summary of commitments [Line Items] |
Contractual obligations - expenses | 1,301,725
Contractual obligations - investments | 2,211,198
Total | 3,512,923
1-3 years [member] |
Summary of commitments [Line Items] |
Contractual obligations - expenses | 633,296
Contractual obligations - investments | 1,642,792
Total | 2,276,088
3-5 years [member] |
Summary of commitments [Line Items] |
Contractual obligations - expenses | 142,484
Contractual obligations - investments | 2,103,935
Total | 2,246,419
More than 5 years [member] |
Summary of commitments [Line Items] |
Contractual obligations - expenses | 684,761
Contractual obligations - investments | 174,115
Total | R$ 858,876

X
- Definition The amount of an entity’s obligation to transfer goods or services to a customer for which the entity has received consideration (or the amount is due) from the customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2020-01-01 -Paragraph 105 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2020-en-r&anchor=para_105&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2020-01-01 -Paragraph 116 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2020-en-r&anchor=para_116_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ContractLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount represents information related to contract liabilities expenses. + References No definition available. + Details
Name: | sbs_ContractLiabilitiesExpenses
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount represents information related to contract liabilities investments. + References No definition available. + Details
Name: | sbs_ContractLiabilitiesInvestments
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Its represents information related to summary of commitments. + References No definition available. + Details
Name: | sbs_SummaryOfCommitmentsLineItems
Namespace Prefix: | sbs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=sbs_LaterThanThreeYearAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |