XML 106 R92.htm IDEA: XBRL DOCUMENT
v3.21.1

10 Trade receivables (Details) - BRL (R$) R$ in Thousands | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | --- | --- | ---
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal |  | R$ 3,608,605 | R$ 3,395,042 |  |
Allowance for doubtful accounts |  | (1,157,619) | (1,042,015) | R$ (1,099,442) | R$ (1,067,973)
Total trade receivables |  | 2,450,986 | 2,353,027 |  |
Current |  | 2,204,029 | 2,137,752 |  |
Noncurrent |  | 246,957 | 215,275 |  |
Total |  | 2,450,986 | 2,353,027 |  |
Unbilled supply [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal |  | 713,310 | 745,884 |  |
Wholesale customers - Municipal governments [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal | [1] | 22,390 | 13,149 |  |
Wholesale customers - Municipal governments [member] | Mogi das Cruzes [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal | [1] | 3,582 | 3,278 |  |
Wholesale customers - Municipal governments [member] | Sao Caetano do Sul [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal | [1] | 18,808 | 9,871 |  |
Private sector [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal |  | 2,062,105 | 1,883,491 |  |
Private sector [member] | General and special customers [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal | [2],[3] | 1,663,738 | 1,505,150 |  |
Private sector [member] | Agreements [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal | [4] | 398,367 | 378,341 |  |
Government entities [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal |  | 810,800 | 752,518 |  |
Government entities [member] | Agreements [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal | [4] | 333,740 | 277,047 |  |
Government entities [member] | Municipal [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal |  | 473,201 | 472,666 |  |
Government entities [member] | Federal [member] |  |  |  |  |
Summary of trade receivables [Line Items] |  |  |  |  |
Subtotal |  | R$ 3,859 | R$ 2,805 |  |
[1] | Wholesale basis customers - municipal governments - This balance refers to invoices issued as a result of services provided to municipalities, which are responsible for distributing to, billing and charging final customers.
[2] | General customers - residential and small and mid-sized companies
[3] | Special customers - large consumers, commercial, industries, condominiums and special billing consumers (fixed demand agreements, industrial waste, wells, etc.).
[4] | Agreements - installment payments of past-due receivables, plus monetary adjustment and interest, according to the agreements.

X
- Definition The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2021-01-01 -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 16 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2020-01-01 + Details
Name: | ifrs-full_AllowanceAccountForCreditLossesOfFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_78_b&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 68 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_68&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_CurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_78_b&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_NoncurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 2020-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_78_b&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The amount represents information related to trade receivables gross. + References No definition available. + Details
Name: | sbs_TradeReceivablesGross
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | sbs_TradeReceivablesAxis=sbs_UnbilledSupplyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesSectorAxis=sbs_WholesaleMunicipalGovernmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesAxis=sbs_MogiDasCruzesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesAxis=sbs_SaoCaetanoDoSulMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesSectorAxis=sbs_PrivateSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesAxis=sbs_GeneralAndSpecialCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesAxis=sbs_AgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesSectorAxis=sbs_GovernmentEntitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesAxis=sbs_MunicipalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | sbs_TradeReceivablesAxis=sbs_FederalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |