Back

Sending the Invoice via SMS

You can send a sales invoice to the client in a text message to their telephone or mobile number, with a link that opens the invoice. Send it from the invoice page with the Send SMS button, or for several invoices at once from Manage Invoices. This guide explains when the button appears, setting up SMS Settings, the message fields, the blocking messages and following the sending status.

Required permissionNo special permission is needed to send; being able to open the invoice is enough. Setting up SMS Settings needs Edit General Settings
Where to find itSales → Manage Invoices → the invoice → Send SMS

Before you start

  • The SMS app must be enabled on the account; without it the button does not appear.
  • Choose an SMS provider and enter your account details with it from Settings → SMS Settings; without this, the button takes you to the provider page and nothing is sent.
  • The invoice client's profile must have a Telephone or Mobile number.
  • Optional: prepare the message text from Templates → SMS Templates with the type Unpaid invoice or Paid invoice.

Steps to send an invoice by SMS

First: set up the SMS provider (once)

  1. From the main menu, click Settings, then SMS Settings.
  2. On Select SMS Provider, click Configure under the provider you have an account with, such as Twilio, 4jawaly or Taqnyat. Only the providers available for your account's country are shown.
  3. Enter your account details with the provider, such as the API key and sender name, then save. The system verifies the details before saving.

Second: send one invoice

  1. Click Sales, then Manage Invoices, and open the invoice.
  2. Click Send SMS, or Send Via then SMS. If they are not on the invoice toolbar, open the more actions menu.
  3. In To, review the numbers; it is filled with the client's Telephone and Mobile. You can remove a number or add others separated by commas.
  4. Choose a template from the templates list to copy its text into the message, or type the message yourself in Body.
  5. From Place Holders, add View link so the client can open the invoice, and any other data such as the invoice number and total.
  6. Click Send.
🛈

Note: You go to the SMS campaign page, which shows the sending status of each number and refreshes until sending finishes.

Third: send several invoices at once

  1. In Manage Invoices, select the invoices.
  2. From With Selected, choose Send Sms.
  3. Choose a template or type the message, and add View link from Place Holders; the placeholders are replaced with each invoice's own data.
  4. Click Send.
🛈

Note: Invoices whose clients have no phone number are skipped, and the message «Some items don't have contact numbers» appears.

Fields

Field Required / optional Default Accepted values What it does
Message template Optional [Default SMS template] Unpaid invoice and Paid invoice templates Copies the template text into Body so you can edit it before sending. Shown only when the account has templates. The system does not pick the template by the invoice's payment status; choose it yourself.
To Required The client's Telephone and Mobile Numbers separated by commas The numbers the message is sent to. The country code is added from the client's country or the account's country.
Place Holders Optional – Invoice, client, business and staff data Adds a token to the message that is replaced with its value when sent, such as the invoice number or the unpaid amount.
Body Required Empty, or the template text Text The message text. The longer the text, the more messages the provider counts.

Settings that affect it

Setting Where Default Effect
SMS app Manage Apps Disabled Shows Send SMS and Send Via → SMS on the invoice, and Send Sms in With Selected.
SMS provider Settings → SMS Settings None Without it nothing is sent and the button takes you to the provider page. If you choose WhatsApp as the provider, the button opens the WhatsApp send page with Meta templates instead.
SMS Templates Templates → SMS Templates None Invoice templates appear in the templates list on the send page.
Client numbers Client profile: Telephone and Mobile – The button appears only when one of them is filled, and they fill To.

Validations and error messages

Message When it appears Fix
«You need to configure the SMS plugin first» You clicked Send SMS without setting up an SMS provider. Choose a provider and enter its details in SMS Settings.
«You need to enable the SMS plugin first» The SMS app is disabled. Enable it from Manage Apps.
«Client phone number not set» The client profile has no Telephone or Mobile. Add a number to the client profile.
«Please enter client phone» To is empty. Enter at least one number.
«Please enter Message» The message text is empty. Type the message or choose a template.
«Could not send SMS» Shown with either of the two errors above. Complete the fields and send again.
«No SMS provider is active. Messages will not be sent.» The SMS provider is no longer active when sending. Check SMS Settings.
«Could not send SMS to the client, …» Sending could not be created for another reason, shown at the end of the message. Fix the reason and try again.
«You can't send from a preview site. To do this, go to your live site.» You are sending from a preview copy of the account. Send from your live account.

Restrictions

Restriction Details
When the button appears Send SMS appears when the SMS app is enabled and the client has a number, whatever the invoice's payment status, and not on deleted invoices.
Templates There are only two invoice template types, Unpaid invoice and Paid invoice, and both appear on the send page.
Invalid numbers They do not stop sending to the other numbers; the error shows next to the number on the campaign page, such as «Phone number is too short».
Message cost Charged by the SMS provider from your balance with them, not by Enerpize.

Permissions

Permission What it allows Without it
Viewing the invoice Opening and sending the invoice; there is no separate permission for sending messages. You cannot open the invoice.
Edit General Settings Opening SMS Settings, setting up the provider and managing SMS Templates. You cannot set up the provider or the templates.
Account owner All of the above. –

What happens after saving

  • An SMS campaign is created and the message is recorded for each number, then sent through the provider in the background within minutes.
  • The campaign page shows the Status and a table per number: the number, message, size, send time and any error.
  • Place Holders are replaced with the invoice data, and View link opens the invoice for the client without logging in.
  • The sending is recorded in the invoice and client activity log.
  • Sent messages appear in SMS Reports.

Troubleshooting

Problem Cause Fix
Send SMS does not appear The SMS app is disabled, or the client has no Telephone or Mobile. Enable the app, or add a number to the client profile.
The button takes me to Select SMS Provider No SMS provider is set up. Set up the provider from SMS Settings.
The templates list does not appear There are no invoice SMS Templates. Create a template with the type Unpaid invoice or Paid invoice.
The status finished but the message did not arrive The provider rejected the message or the number. Check the error column on the campaign page and your balance with the provider.

FAQs

How does the client open the invoice from the message?

Add View link from Place Holders; it opens the invoice directly.

Does the system pick the paid invoice template automatically?

No, paid and unpaid invoice templates appear together; choose the right one yourself.

Can I send to more than one number?

Yes, add the numbers in To separated by commas.

Do I pay Enerpize for the messages?

No, messages are charged from your balance with the SMS provider you connected.

Can I send through WhatsApp?

Yes, if you choose WhatsApp as the provider in SMS Settings; the button opens the send page with WhatsApp templates approved by Meta.

How do I know the message was delivered?

From the campaign page that opens after sending, or from SMS Reports.