XML 93 R84.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Trade receivables (Details) - BRL (R$) R$ in Thousands | Mar. 31, 2024 | Dec. 31, 2023
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Subtotal | R$ 5,313,095 | R$ 5,233,932
Allowance for doubtful accounts | (1,376,862) | (1,377,209)
Total trade receivables | 3,936,233 | 3,856,723
Current | 3,590,432 | 3,584,287
Noncurrent | 345,801 | 272,436
Private Sector [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 2,865,622 | 3,039,931
Private Sector [Member] | General And Special Customers [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 2,687,984 | 2,200,921
Private Sector [Member] | Agreements [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 177,638 | 839,010
Government Entities [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 1,266,561 | 1,006,009
Government Entities [Member] | Agreements [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 658,021 | 374,372
Government Entities [Member] | Municipal [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 598,602 | 623,601
Government Entities [Member] | Federal [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 9,938 | 8,036
Wholesale Customers Municipal Governments [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 88,745 | 49,676
Wholesale Customers Municipal Governments [Member] | Mogi Das Cruzes [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 4,134 | 4,343
Wholesale Customers Municipal Governments [Member] | Sao Caetano Do Sul [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 8,109 | 45,333
Wholesale Customers Municipal Governments [Member] | Sao Caetano Do Sul Agreement [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | 76,502 |
Unbilled Supply [Member] |  |
IfrsStatementLineItems [Line Items] |  |
Subtotal | R$ 1,092,167 | R$ 1,138,316

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 Expired 2023-01-01 -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_b&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 68 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_68&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_b&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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

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

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

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

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

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=sbs_WholesaleCustomersMunicipalGovernmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ifrs-full_TypesOfCustomersAxis=sbs_SaoCaetanoDoSulAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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