~ということだ・~とのことだ (report)
Report information you received from another source
You’ll be able to pass on a report in a neutral or formal way without presenting it as firsthand information.

天気予報によると、明日は高原でも晴れるということです。
tenki yohou ni yoru to, ashita wa kougen de mo hareru to iu koto desu.
What do you think this sentence means?
According to the weather forecast, it will be sunny tomorrow even on the plateau.
Pass on information from an external source
~ということだ (or formal ~とのことだ) is used to pass on information heard or read from an external source ("I hear that...", "the report says..."). Often paired with ~によると.
田中さんは来週から休むということです。
tanaka san wa raishuu kara yasumu to iu koto desu.
I hear Tanaka will be off from next week.
部長から電話があって、会議は三時からとのことです。
buchou kara denwa ga atte, kaigi wa sanji kara to no koto desu.
The manager called: the meeting starts at three, I’m told.
Attach ということだ or とのことだ to a plain form
Attach ということだ to plain sentences (verbs, adjectives, nouns + だ). とのことだ is often used in formal writing and business correspondence.
山田さんは、体調を崩して入院中とのことです。
yamada san wa, taichou o kuzushite nyuuinchuu to no koto desu.
I hear that Mr. Yamada has fallen ill and is currently hospitalized.
~そうです vs ~ということです
Both pass on something you heard. ~そうです is the everyday form; ~ということです sounds more formal and careful, as in announcements and news.
~そうです, I hear
明日は雨だそうです。
ashita wa ame da sou desu.
I hear it will rain tomorrow.
Natural when chatting.
~ということです, it is reported that
明日は雨だということです。
ashita wa ame da to iu koto desu.
It is reported that it will rain tomorrow.
Sounds like a newsreader passing on the forecast.
市のお知らせによると、来月からごみを出す曜日が変わるということです。
shi no oshirase ni yoru to, raigetsu kara gomi o dasu youbi ga kawaru to iu koto desu.
According to the city notice, the days for putting out trash will change from next month.
お客さまのお話では、注文した商品がまだ届いていないとのことです。
okyakusama no ohanashi de wa, chuumon shita shouhin ga mada todoite inai to no koto desu.
According to the customer, the item they ordered still hasn’t arrived.
新聞によると、駅前の古いデパートが来年閉まるということだ。
shinbun ni yoru to, ekimae no furui depaato ga rainen shimaru to iu koto da.
According to the newspaper, the old department store in front of the station will close next year.
7 more examples in the grammar path — free for a limited time.