Skip to content
Wafeq

How to use Wafeq

AccountingCost: 1 credit per runTechnical reference

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

  1. 1Sign in to Wafeq and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Wafeq step, click "Connect" and paste it.
  4. 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
FieldTypeRequired
Type of ContactFixed listNo
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
FieldTypeRequired
CustomerList (from your account)Yes
Invoice NumberTextYes
Invoice DateDate and timeYes
Due DateDate and timeYes
CurrencyFixed listYes
Default Sales AccountList (from your account)Yes
Default Tax RateList (from your account)No
Line ItemsList of valuesYes
Do the prices above include tax?Fixed listNo
StatusFixed listNo
Printed LanguageFixed listNo
ReferenceTextNo
Notes / Message to CustomerLong textNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Report Invoice to Tax Authority2 fields
FieldTypeRequired
InvoiceList (from your account)Yes
Duplicate Protection KeyTextNo
Create Contact11 fields
FieldTypeRequired
NameTextYes
Type of ContactMulti-selectYes
EmailTextNo
PhoneTextNo
VAT / Tax NumberTextNo
Country CodeTextNo
CityTextNo
Street AddressLong textNo
Postal / ZIP CodeTextNo
Your Customer IDTextNo
Duplicate Protection KeyTextNo
Find Contact4 fields
FieldTypeRequired
Search ForTextNo
Type of ContactFixed listNo
Your Reference ID (optional)TextNo
Max ResultsNumberNo
Create Bill15 fields
FieldTypeRequired
SupplierList (from your account)Yes
Bill NumberTextYes
Bill DateDate and timeYes
Due DateDate and timeYes
CurrencyFixed listYes
Default Expense AccountList (from your account)Yes
Default Tax RateList (from your account)No
Line ItemsList of valuesYes
Do the prices above include tax?Fixed listNo
StatusFixed listNo
ReferenceTextNo
Your PO NumberTextNo
Internal NotesLong textNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Record Payment13 fields
FieldTypeRequired
What is this payment for?Fixed listYes
PayingDynamic fieldsYes
Total Amount PaidNumberYes
Amount in Company CurrencyNumberYes
CurrencyFixed listYes
Payment DateDate and timeYes
Paid Through AccountList (from your account)Yes
Contact (optional)List (from your account)No
Payment Fees (optional)NumberNo
Fees AccountList (from your account)No
ReferenceTextNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Create Simplified Invoice15 fields
FieldTypeRequired
Sale DateDate and timeYes
CurrencyFixed listYes
Where was the money received?List (from your account)Yes
Default Sales AccountList (from your account)Yes
Default Tax RateList (from your account)No
Line ItemsList of valuesYes
Do the prices above include tax?Fixed listNo
Customer (optional)List (from your account)No
Invoice Number (optional)TextNo
StatusFixed listNo
Printed LanguageFixed listNo
ReferenceTextNo
NotesLong textNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Create Credit Note14 fields
FieldTypeRequired
CustomerList (from your account)Yes
Credit Note NumberTextYes
Credit Note DateDate and timeYes
CurrencyFixed listYes
Default Sales AccountList (from your account)Yes
Default Tax RateList (from your account)No
Line ItemsList of valuesYes
Do the prices above include tax?Fixed listNo
StatusFixed listNo
Printed LanguageFixed listNo
ReferenceTextNo
Notes / Message to CustomerLong textNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Create Quote15 fields
FieldTypeRequired
CustomerList (from your account)Yes
Quote NumberTextYes
Quote DateDate and timeYes
CurrencyFixed listYes
Default Sales AccountList (from your account)Yes
Default Tax RateList (from your account)No
Line ItemsList of valuesYes
Do the prices above include tax?Fixed listNo
StatusFixed listNo
Printed LanguageFixed listNo
Customer's PO NumberTextNo
ReferenceTextNo
Notes / Message to CustomerLong textNo
Your Reference IDTextNo
Duplicate Protection KeyTextNo
Convert Quote to Invoice2 fields
FieldTypeRequired
QuoteList (from your account)Yes
Duplicate Protection KeyTextNo
Download Invoice PDF2 fields
FieldTypeRequired
InvoiceList (from your account)Yes
File Name (optional)TextNo
Create Item13 fields
FieldTypeRequired
NameTextYes
DescriptionLong textNo
SKU / Product CodeTextNo
Sale PriceNumberNo
Purchase CostNumberNo
Sales Account ID (advanced)TextNo
Cost Account ID (advanced)TextNo
Sales Tax Rate ID (advanced)TextNo
Purchase Tax Rate ID (advanced)TextNo
Track Stock Levels?Yes / NoNo
ActiveYes / NoNo
Your Product IDTextNo
Duplicate Protection KeyTextNo
List Items4 fields
FieldTypeRequired
Your Reference ID (optional)TextNo
Created On or AfterDate and timeNo
Created On or BeforeDate and timeNo
Max ResultsNumberNo
List Accounts4 fields
FieldTypeRequired
Account TypeFixed listNo
Payment-Enabled Only?Fixed listNo
Your Reference ID (optional)TextNo
Max ResultsNumberNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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