Per IRS Publication 54 Tax Guide for U.S. Citizens and Resident Aliens Abroad, page 21:
Foreign Housing Exclusion and Deduction
In addition to the foreign earned income exclusion, you can also claim an exclusion or a deduction from gross income for your housing amount if your tax home is in a foreign country and you qualify for the exclusions and deduction under either the bona fide residence test or the physical presence test.
The housing exclusion applies only to amounts considered paid for with employer-provided amounts. The housing deduction applies only to amounts paid for with self-employment earnings.
If you are married and you and your spouse each qualifies under one of the tests, see Married Couples, later in the publication.