XML 69 R54.htm IDEA: XBRL DOCUMENT
v3.22.4

Valuation and Qualifying Accounts (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
SEC Schedule, 12-09, Valuation and Qualifying Accounts [Abstract] |
Schedule of Valuation and Qualifying Accounts | The table below provides changes in the allowance for credit losses over each period:
(in millions) | 2022 |  | 2021 |  | 2020
Balance at beginning of year | $ | 35 |  |  | $ | 38 |  |  | $ | 25 |
Additions charged to expense | 5 |  |  | 2 |  |  | 25 |
Deductions/other | (6) |  |  | (5) |  |  | (12) |
Balance at end of year | $ | 34 |  |  | $ | 35 |  |  | $ | 38 |

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

X
- Definition Schedule of Valuation and Qualifying Accounts + References No definition available. + Details
Name: | xyl_ScheduleOfValuationAndQualifyingAccountsTableTextBlock
Namespace Prefix: | xyl_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration