What it is for
Cloud accounting software for invoicing, bills, expenses, and tax reporting (ZATCA, UAE FTA).
Wafeq triggers check for new data periodically, every few minutes, so there may be a short delay.
Set up the connection
Authentication type: API key or token
- 1Sign in to Wafeq and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Wafeq step, click "Connect" and paste it.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Invoice: fill in Customer, Invoice Number, Invoice Date, Due Date, Currency, Default Sales Account, Line Items; use the data selector to map values from earlier steps.
- Report Invoice to Tax Authority: fill in Invoice; use the data selector to map values from earlier steps.
- Create Contact: fill in Name, Type of Contact; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Triggers (4)
Events that can start a flow. Expand each one to see its fields.
New InvoicePeriodic check0 fields
No fields to configure.
New BillPeriodic check0 fields
No fields to configure.
New ContactPeriodic check1 fields
| Field | Type | Required |
|---|---|---|
| Type of Contact | Fixed list | No |
New Payment ReceivedPeriodic check0 fields
No fields to configure.
Actions (15)
Operations available as flow steps. Expand each one to see its fields.
Create Invoice15 fields
| Field | Type | Required |
|---|---|---|
| Customer | List (from your account) | Yes |
| Invoice Number | Text | Yes |
| Invoice Date | Date and time | Yes |
| Due Date | Date and time | Yes |
| Currency | Fixed list | Yes |
| Default Sales Account | List (from your account) | Yes |
| Default Tax Rate | List (from your account) | No |
| Line Items | List of values | Yes |
| Do the prices above include tax? | Fixed list | No |
| Status | Fixed list | No |
| Printed Language | Fixed list | No |
| Reference | Text | No |
| Notes / Message to Customer | Long text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Report Invoice to Tax Authority2 fields
| Field | Type | Required |
|---|---|---|
| Invoice | List (from your account) | Yes |
| Duplicate Protection Key | Text | No |
Create Contact11 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Type of Contact | Multi-select | Yes |
| Text | No | |
| Phone | Text | No |
| VAT / Tax Number | Text | No |
| Country Code | Text | No |
| City | Text | No |
| Street Address | Long text | No |
| Postal / ZIP Code | Text | No |
| Your Customer ID | Text | No |
| Duplicate Protection Key | Text | No |
Find Contact4 fields
| Field | Type | Required |
|---|---|---|
| Search For | Text | No |
| Type of Contact | Fixed list | No |
| Your Reference ID (optional) | Text | No |
| Max Results | Number | No |
Create Bill15 fields
| Field | Type | Required |
|---|---|---|
| Supplier | List (from your account) | Yes |
| Bill Number | Text | Yes |
| Bill Date | Date and time | Yes |
| Due Date | Date and time | Yes |
| Currency | Fixed list | Yes |
| Default Expense Account | List (from your account) | Yes |
| Default Tax Rate | List (from your account) | No |
| Line Items | List of values | Yes |
| Do the prices above include tax? | Fixed list | No |
| Status | Fixed list | No |
| Reference | Text | No |
| Your PO Number | Text | No |
| Internal Notes | Long text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Record Payment13 fields
| Field | Type | Required |
|---|---|---|
| What is this payment for? | Fixed list | Yes |
| Paying | Dynamic fields | Yes |
| Total Amount Paid | Number | Yes |
| Amount in Company Currency | Number | Yes |
| Currency | Fixed list | Yes |
| Payment Date | Date and time | Yes |
| Paid Through Account | List (from your account) | Yes |
| Contact (optional) | List (from your account) | No |
| Payment Fees (optional) | Number | No |
| Fees Account | List (from your account) | No |
| Reference | Text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Create Simplified Invoice15 fields
| Field | Type | Required |
|---|---|---|
| Sale Date | Date and time | Yes |
| Currency | Fixed list | Yes |
| Where was the money received? | List (from your account) | Yes |
| Default Sales Account | List (from your account) | Yes |
| Default Tax Rate | List (from your account) | No |
| Line Items | List of values | Yes |
| Do the prices above include tax? | Fixed list | No |
| Customer (optional) | List (from your account) | No |
| Invoice Number (optional) | Text | No |
| Status | Fixed list | No |
| Printed Language | Fixed list | No |
| Reference | Text | No |
| Notes | Long text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Create Credit Note14 fields
| Field | Type | Required |
|---|---|---|
| Customer | List (from your account) | Yes |
| Credit Note Number | Text | Yes |
| Credit Note Date | Date and time | Yes |
| Currency | Fixed list | Yes |
| Default Sales Account | List (from your account) | Yes |
| Default Tax Rate | List (from your account) | No |
| Line Items | List of values | Yes |
| Do the prices above include tax? | Fixed list | No |
| Status | Fixed list | No |
| Printed Language | Fixed list | No |
| Reference | Text | No |
| Notes / Message to Customer | Long text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Create Quote15 fields
| Field | Type | Required |
|---|---|---|
| Customer | List (from your account) | Yes |
| Quote Number | Text | Yes |
| Quote Date | Date and time | Yes |
| Currency | Fixed list | Yes |
| Default Sales Account | List (from your account) | Yes |
| Default Tax Rate | List (from your account) | No |
| Line Items | List of values | Yes |
| Do the prices above include tax? | Fixed list | No |
| Status | Fixed list | No |
| Printed Language | Fixed list | No |
| Customer's PO Number | Text | No |
| Reference | Text | No |
| Notes / Message to Customer | Long text | No |
| Your Reference ID | Text | No |
| Duplicate Protection Key | Text | No |
Convert Quote to Invoice2 fields
| Field | Type | Required |
|---|---|---|
| Quote | List (from your account) | Yes |
| Duplicate Protection Key | Text | No |
Download Invoice PDF2 fields
| Field | Type | Required |
|---|---|---|
| Invoice | List (from your account) | Yes |
| File Name (optional) | Text | No |
Create Item13 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Description | Long text | No |
| SKU / Product Code | Text | No |
| Sale Price | Number | No |
| Purchase Cost | Number | No |
| Sales Account ID (advanced) | Text | No |
| Cost Account ID (advanced) | Text | No |
| Sales Tax Rate ID (advanced) | Text | No |
| Purchase Tax Rate ID (advanced) | Text | No |
| Track Stock Levels? | Yes / No | No |
| Active | Yes / No | No |
| Your Product ID | Text | No |
| Duplicate Protection Key | Text | No |
List Items4 fields
| Field | Type | Required |
|---|---|---|
| Your Reference ID (optional) | Text | No |
| Created On or After | Date and time | No |
| Created On or Before | Date and time | No |
| Max Results | Number | No |
List Accounts4 fields
| Field | Type | Required |
|---|---|---|
| Account Type | Fixed list | No |
| Payment-Enabled Only? | Fixed list | No |
| Your Reference ID (optional) | Text | No |
| Max Results | Number | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
