EzSoft
Home About Our Projects Help Center Contact

Webhooks (n8n/Zapier), SMS/WhatsApp, Customer Sync API & ZATCA E-Invoicing

Category: Reports, Webhooks, API & Troubleshooting β€’ Views: 13 β€’ Updated: Dec 04, 2026
OVERVIEW
Easy Restaurant v3.0 is built to connect seamlessly with your external marketing tools, accounting systems, automation platforms (like n8n and Zapier), and government e-invoicing portals.

WEBHOOK ENGINE (60+ REAL-TIME EVENTS)
1. Navigate to Webhooks > Add Webhook.
2. Enter your target Endpoint URL (e.g., an n8n webhook URL or custom ERP endpoint) and optional secret/headers.
3. Subscribe to any combination of 60+ real-time events across 9 categories:
- Sales & Orders: `sale.created`, `sale.updated`, `sale.cancelled`, `order.closed`, `order.split`, `order.merged`, `order.self_order_placed`, `order.online_order_placed`, `sale.discount_invoice_completed`
- Payments & Register: `payment.received`, `payment.split`, `register.opened`, `register.closed`, `cash_in.added`, `expense.recorded`
- Kitchen: `kitchen.order_received`, `kitchen.cooking_started`, `kitchen.cooking_done`, `kitchen.bell_rung`
- Customers & Loyalty: `customer.created`, `customer.loyalty_points_earned`, `customer.loyalty_points_redeemed`, `customer.membership_card_created`
- Menu, Inventory, Promotions, Refunds & Staff events.
4. Use Webhooks > Test to send a sample payload and Webhooks > Logs to inspect delivery status codes or click "Retry" on any failed delivery.

SMS, EMAIL (SMTP) & WHATSAPP NOTIFICATIONS
- SMS Settings & Invoice SMS Template: Configure your SMS gateway (e.g., Twilio or local SMS provider) under All Common Setting > SMS Settings, then customize your automated post-checkout Invoice SMS Template under Short Message Service > Invoice SMS Template.
- Email (SMTP): Configure SMTP host, port, and credentials under All Common Setting > Email Setting for receipts and password resets.
- WhatsApp Setting: Configure WhatsApp integration under All Common Setting > WhatsApp Setting to send order confirmations and alerts.

CUSTOMER SYNC REST API
- Easy Restaurant provides a queued Customer Sync REST API (`/api/v1/CustomerSync`) protected by `X-API-KEY` header authentication and optional IP allowlisting.
- Configure your `Customer Sync API Key` and `Customer Sync Allowed IP` under Settings > Setting.

ZATCA PHASE-2 E-INVOICING (SAUDI ARABIA)
- Easy Restaurant includes built-in UBL 2.1 XML & ZATCA Phase-2 configuration (`application/config/zatca_config.php`) supporting Sandbox and Production Compliance, B2C Simplified Invoice Reporting (`0211`), B2B Standard Invoice Clearance (`0100`), and Credit Notes (`0200`).

COMMON TROUBLESHOOTING TIPS
1. Register Sales Showing 0:
- Ensure a Cash Register is actively open (`register_status = 1`) for the current counter before taking orders.
2. Cannot Access POS or Modules:
- Make sure you have clicked the green "Enter" button on an active Outlet first, and verify your user Role has permission under Account & User > Roles.
3. Thermal Printer Not Printing:
- Verify the local Print Server is running, confirm the printer IP/port (9100) or Windows share name, and check that the printer is assigned to the active Counter or Kitchen.
4. Need Engineering Support?
- Open a support ticket directly from the EzSoft Help Center and include your outlet name, browser/printer details, and any error message.

Was this article helpful?

Still need help?

Can't find what you're looking for? Our engineers are ready to assist.

Open Support Ticket