Fax has an ip protocol called t.38 however it is inconsistently implemented. Most services still rely on g.711 - essentially uncompressed voice - for transmission of fax tones. However there is no guarantee the end to end call will be g.711 even if specified during call setup. There is an app called eFax - unfortunately the service is not free but I as a subscriber routinely fax over the phone when it’s the only way to communicate (like with a doc office).