XML 97 R86.htm IDEA: XBRL DOCUMENT
v3.19.1

9. Trade receivables (Details 2) - BRL (R$) R$ in Thousands | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Current | R$ 1,449,927 | R$ 1,434,097
Past-due | 1,701,931 | 1,522,381
Total | 3,151,858 | 2,956,478
Up to 30 days |  |
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Past-due | 330,310 | 287,173
From 31 to 60 days |  |
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Past-due | 145,153 | 100,383
From 61 to 90 days |  |
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Past-due | 83,679 | 56,386
From 91 to 120 days |  |
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Past-due | 54,486 | 34,685
From 121 to 180 days |  |
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Past-due | 89,740 | 70,609
From 181 to 360 days |  |
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Past-due | 44,856 | 47,241
Over 360 days |  |
SummaryOfTradeReceivablesLineItems [Line Items] |  |
Past-due | R$ 953,707 | R$ 925,904

X
- References No definition available. + Details
Name: | SBS_CurrentTradeReceivablesGross
Namespace Prefix: | SBS_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | SBS_SummaryOfTradeReceivablesLineItems
Namespace Prefix: | SBS_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | SBS_TradeReceivablesGross
Namespace Prefix: | SBS_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | SBS_TradeReceivablesPastDue
Namespace Prefix: | SBS_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_RangeAxis=SBS_UpTo30DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=SBS_From31To60DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=SBS_From61To90DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=SBS_From91To120DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=SBS_From121To180DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=SBS_From181To360DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=SBS_Over360DaysMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |