Short url service to SMS Invoices and other documents

We are working on sms the invoices by creating a short url and attempting to add that to the message however this isn’t working so far. Has anyone integrated a short url service to erpnext?