SMS Call Reporting using Third Party App Extensions on Phone App
An app called VeroSMS is used here to demonstrate the feature called SMS Call reporting.
Settings > Phone > SMS Call Reporting
Watch the GIF below made on iPhone 6 iOS 12.4.7
Enable SMS/Call Reporting extension VeroSMS?
"Enabling this SMS/Call Reporting allows your device to send to the developer of this app information about your calls and text messages you choose to report. For received calls that you report, the developer will receive information about the call, such as the caller's number and time of the call. For received text of the messages that you report, the the developer will receive all the text, content and sender information. These messages may include verification codes from banks or other as well as other personal or sensitive information that may be in text messages."
For any further query contact the app developer here --> App Support
Disclaimer: This is merely a user tip to highlight the feature (SMS Call Reporting) and in no way suggest or recommend use of this app. I have neither tested nor used this app to vouch for its security and authenticity of data collected by the developer's server.