This guide explains how to configure WhatsApp in QBM and how to send invoices and other printable documents via WhatsApp.
It is written for both support staff and end-users.
👥 Audience: Support & End-Users
📄 Output: PDF attachment via WhatsApp
🖨️ Works from printable Data Entry forms
Where to find it
Path: Options > Integrations > WhatsApp settings; document toolbar > WhatsApp for sending a saved document.
Use this path from the main QBM window. If the command is not visible, confirm that the user has access to the related module and permission for that screen.
1. Introduction
QBM includes WhatsApp Business integration, allowing you to send invoices, quotes, purchase orders, and other business
documents directly to your customers and vendors via WhatsApp. This streamlines communication and provides fast delivery
of important documents.
Key Features
Send PDF documents directly from any Data Entry form that supports printing
Automatic phone number detection and selection from customer/vendor/employee records
Support for WhatsApp message templates
Preview documents before sending
Works with Sales Invoices, Quotes, Purchase Orders, Delivery Notes, Credit Notes, and more
Note: WhatsApp Business API requires a verified Meta Business account. Contact your system administrator if you need
assistance with the initial Meta platform setup.
How It Works (Summary)
1 Configure WhatsApp in Options
→
2 Enter WhatsApp number in Customer/Vendor
→
3 Open Print Settings from any form
→
4 Select WhatsApp tab & Send
2. Prerequisites
Meta Business Requirements
A verified Meta Business account
A registered WhatsApp Business phone number (Cloud API)
At least one approved message template (required to initiate conversations)
QBM Requirements
Administrator access to configure WhatsApp settings
WhatsApp numbers entered for customers/vendors/employees you want to message
Information You Will Need
Setting
Description
Phone Number ID
Your WhatsApp Business Phone Number ID from Meta (Required). This is not the display phone number — it's an internal Meta identifier like 94718790514085.
Access Token
Your permanent access token from Meta (Required). QBM uses this token to authenticate and send messages on your behalf.
Templates
Names and language codes of your approved message templates (e.g., invoice_pdf with language en).
Important: Treat the Access Token as confidential. Provide it only to trusted administrators.
If it is exposed, rotate it in Meta immediately and update QBM.
3. Setting Up WhatsApp in QBM
Follow these steps to configure WhatsApp integration in QBM.
3.1 Opening WhatsApp Settings
Go to the File menu and select Options (or press Ctrl+O).
Click the Integrations tab.
Click the WhatsApp sub-tab.
3.2 Enabling WhatsApp
Check the Enable checkbox at the top of the WhatsApp settings panel.
This activates WhatsApp integration features across QBM.
3.3 Required Settings
Setting
Description
Phone Number ID
Enter your WhatsApp Business Phone Number ID (example: 94718790514085).
This is NOT your actual phone number — find it in Meta Developer Console → WhatsApp → API Setup.
Access Token
Enter your permanent access token from Meta.
The token is stored securely in QBM (encrypted) and authorizes QBM to send messages.
3.4 Optional Settings
The following settings are optional but may be used for reference or advanced features:
Setting
Description
Account ID
Your WhatsApp Business Account ID (WABA) — for reference only.
App Secret
Meta App Secret — used for webhook signature verification (if applicable).
App ID
Your Meta App ID — for reference.
Phone Number
Your display phone number — shown for reference in settings.
Business Name
Your business name — for display purposes.
3.5 Adding Message Templates
Templates are pre-approved messages required by WhatsApp to initiate conversations.
In QBM, the template name and language code must match Meta exactly.
In the Templates section, click on an empty row in the grid.
Enter the Template name exactly as it appears in Meta (case-sensitive), e.g., invoice_pdf.
Enter the Language Code, e.g., en for English or ar for Arabic.
Repeat for additional templates as needed.
Important: Template names are case-sensitive and must match Meta exactly. A mismatch will cause "Template not found" errors.
3.6 Saving Settings
Click Save (or press Ctrl+S).
Close the Options window.
3.7 Confirming Setup
Open a Data Entry form that supports printing (e.g., Sales Invoice).
Click the WhatsApp button in the toolbar (green phone icon) or open Print Settings.
Confirm the WhatsApp tab is visible and templates appear in the Template dropdown.
If the WhatsApp tab is not visible, restart QBM and re-check the settings.
Success: When configured correctly, the WhatsApp button will appear in the toolbar of printable forms, and the WhatsApp tab will be available in Print Settings.
4. Configuring Customer/Vendor WhatsApp Numbers
For WhatsApp sending to work, a WhatsApp number must be entered in each customer/vendor/employee record you want to contact.
4.1 Adding WhatsApp Number to a Customer
Open Customer Details (Customers → Customer List → double-click a customer).
Go to the General tab.
Find the Address section.
Locate the WhatsApp field (next to Mobile).
Enter the WhatsApp number with country code.
Save the record.
Phone Number Format
Rule
Example
Include country code without + or 00
971 for UAE, 966 for KSA
Use digits only (no spaces, dashes, or parentheses)
✅ 971501234567 ❌ +971 50 123 4567
Do not include leading zeros after country code
✅ 971501234567 ❌ 9710501234567
Note: The same process applies to Vendors (Vendors → Vendor List) and Employees (Employees → Employee List).
Each record type has a WhatsApp field in the address/contact section.
4.2 Bulk Update WhatsApp Numbers (Optional)
If you have many records to update, use your standard QBM import/export process:
Export your customer/vendor list to Excel.
Add or update the WhatsApp column with correctly formatted numbers.
Import the updated file back into QBM.
5. Sending Documents via WhatsApp
Once WhatsApp is configured and customer numbers are entered, you can send documents directly from any printable Data Entry form.
5.1 Step-by-Step: Sending from Sales Invoice
Open or create a Sales Invoice (or any printable form).
Click the WhatsApp button in the toolbar (green phone icon), or click Print and select the WhatsApp tab.
The Print Settings dialog opens with two tabs: PDF and WhatsApp.
On the PDF tab:
Select your Printer (use "Microsoft Print to PDF" or your PDF printer)
Select your Print Template
Set the File location where the PDF will be saved (or use default)
On the WhatsApp tab:
Select the Phone Number from the dropdown (populated from customer's WhatsApp field)
Select a Template from the dropdown
(Optional) Click Preview to review the document before sending.
Click Send to generate the PDF and send it via WhatsApp.
Success: The document will be sent to the customer's WhatsApp. They will receive the PDF as an attachment with your template message.
5.2 Print Settings Dialog Reference
PDF Tab
Field
Description
Printer
Select "Microsoft Print to PDF" or your preferred PDF printer.
Print Template
Choose the document template/layout to use for this print.
File
Path where the PDF will be saved. Click ... to change location.
WhatsApp Tab
Field
Description
Phone Number
Dropdown of available WhatsApp numbers from the customer/vendor record. If empty, no WhatsApp number is configured.
Template
Select a message template. Templates are required to initiate conversations.
5.3 Supported Document Types
WhatsApp sending is available for all Data Entry forms that support printing:
Sales Invoices
Quotes / Proforma Invoices
Sales Orders
Purchase Orders
Delivery Notes
Credit Notes / Debit Notes
Payment Receipts
Customer Statements
And any other printable form...
6. Using Templates
WhatsApp Business API requires approved message templates for initiating conversations. Understanding how templates work is important for successful message delivery.
6.1 What Are Templates?
Templates are pre-approved message formats that you create in Meta Business Suite. They ensure compliance with WhatsApp policies and must be approved before use.
Must be submitted and approved through Meta Business Suite
Required when messaging customers who haven't messaged you in 24 hours
Can include variables for personalization (e.g., customer name, invoice number)
Must follow WhatsApp content policies
6.2 Template Categories
Category
Use Case
Approval Time
Utility
Order updates, invoices, appointment reminders, account alerts
Usually within 24 hours
Authentication
One-time passwords, verification codes
Usually within 24 hours
Marketing
Promotions, offers, newsletters
May take longer, stricter review
Recommendation: For sending invoices and business documents, use the Utility category. These templates are approved faster and have better delivery rates.
6.3 QBM-Compatible Invoice PDF Template
Use this structure when creating the invoice template in Meta. It keeps the message as a Utility template, uses a
Document header for the PDF invoice, and matches the numbered variables that QBM sends with the message.
Field
Value
Name
qbm_invoice_pdf
Category
Utility
Language
English (en)
Type of variable
Number
Header
Document. Upload a sample PDF invoice when Meta asks for the media sample.
Body
Hello {{1}},
Your invoice {{2}} dated {{3}} is attached as a PDF.
Total amount: {{4}}.
Thank you.
Footer
Thank you for your business
Buttons
None. Add buttons only if the QBM WhatsApp sender is configured to send matching button parameters.
Sample Values for Meta Review
Variable
QBM Field
Sample Value
{{1}}
Customer name
Ahmed Ali
{{2}}
Invoice number
INV-000123
{{3}}
Invoice date
20/05/2026
{{4}}
Total amount
AED 1,250.00
Important: In QBM, enter the template name exactly as approved in Meta, including lowercase letters and underscores.
The language code in QBM must also match the approved Meta language, for example en.
Avoid template errors: Do not create this as a Text header template. For invoice PDF sending, the Meta header must be
Document; otherwise QBM may reject the template as unsupported when it tries to attach the invoice PDF.
6.4 Common Language Codes
Language
Code
English
en
English (US)
en_US
Arabic
ar
French
fr
Spanish
es
Hindi
hi
7. Troubleshooting
7.1 WhatsApp Button Not Visible
If the WhatsApp button doesn't appear in the toolbar:
Verify WhatsApp is enabled in Options → Integrations → WhatsApp
Check that Phone Number ID and Access Token are entered
Restart QBM after saving settings
Ensure you have the required permissions in QBM
7.2 No Phone Number in Dropdown
If the Phone Number dropdown is empty:
Open the customer/vendor record
Check that the WhatsApp field has a valid number
Ensure the number format is correct (digits only, with country code)
Save the record and try again
7.3 Message Failed to Send
If messages fail to send:
Verify your Access Token is valid and not expired
Check that the recipient's number is registered on WhatsApp
Ensure you're using an approved template for new conversations
Check your internet connection
Review the error message for specific details
7.4 Template Errors
If template-related errors occur:
Verify template name matches exactly (case-sensitive)
Check that the language code is correct
Ensure the template is Approved in Meta Business Suite (not Pending or Rejected)
Confirm the template hasn't been paused or deleted
7.5 Common Error Messages
Error
Cause
Solution
Invalid phone number
Recipient not on WhatsApp or format incorrect
Verify number format and that recipient uses WhatsApp
Template not found
Template name or language code doesn't match
Check exact template name (case-sensitive) and language code in Meta
Authentication failed
Access token is invalid or expired
Generate a new permanent token in Meta and update QBM
Rate limit exceeded
Too many messages sent in short time
Wait and retry later; consider Meta business verification for higher limits
24-hour window closed
Customer hasn't messaged recently
Use a template message to re-initiate conversation
8. Frequently Asked Questions
Q: Do I need a separate phone for WhatsApp Business?
A: No. The WhatsApp Business API uses a cloud-hosted number. You don't need a physical phone with the WhatsApp app installed.
Q: Can I send messages to customers who haven't contacted me first?
A: Yes, but you must use an approved message template. This is a WhatsApp policy requirement to prevent spam.
Q: How much does WhatsApp Business API cost?
A: WhatsApp charges per message delivered. Prices vary by country and message type. Check Meta's pricing page for current rates. QBM itself doesn't charge extra for WhatsApp integration.
Q: Can I see if my message was delivered or read?
A: Basic delivery status is shown. For full read receipts and two-way chat, ask your administrator about the WhatsApp Chat feature.
Q: Can I send messages to international numbers?
A: Yes. Include the correct country code without the + symbol (e.g., 44 for UK, 1 for US, 971 for UAE).
Q: What file types can I send?
A: Currently, QBM supports sending PDF documents. The document is generated from your print template and sent as an attachment.
Q: Is there a limit on how many messages I can send?
A: WhatsApp has tier-based messaging limits. New accounts start with lower limits (250/day) that increase as you build reputation. Business verification unlocks higher limits.
Q: Can multiple users send WhatsApp messages from QBM?
A: Yes. The WhatsApp configuration is shared across all QBM users. Any user with access to printable Data Entry forms can send messages.
Q: What happens if a customer replies to my WhatsApp message?
A: Replies go to your WhatsApp Business account. If you have the WhatsApp Chat feature enabled, you can view and respond to replies within QBM.
Q: How do I know if my template was approved?
A: Check the template status in Meta Business Suite → WhatsApp Manager → Message Templates. Status should show "Approved".
9. Quick Reference
Setup Checklist
Meta Business account created and verified
WhatsApp Business phone number registered
Permanent access token generated (not temporary)
At least one message template approved
QBM WhatsApp enabled in Options → Integrations → WhatsApp
Phone Number ID entered in QBM
Access Token entered in QBM
Templates added to QBM (name + language code)
Customer/Vendor WhatsApp numbers entered
Test message sent successfully
Key Locations in QBM
Action
Location
WhatsApp Settings
File → Options → Integrations → WhatsApp
Customer WhatsApp Number
Customer Details → General → Address → WhatsApp field
Vendor WhatsApp Number
Vendor Details → General → Address → WhatsApp field
Send Document
Any printable form → WhatsApp button (toolbar) or Print Settings
Phone Number Format
Country
Code
Example
UAE
971
971501234567
Saudi Arabia
966
966501234567
India
91
919876543210
United Kingdom
44
447123456789
United States
1
12025551234
Getting Help
For QBM issues: Contact your system administrator or QBM support