Go to content
kafinea logo svg

Kafinea

  • Features
        • Finance
          • Purchasing
          • Audits & KPIs
          • Accounting
          • Invoicing
        • Management
          • Documents
          • Project Management
          • Inventory Management
          • Maintenance
        • HR
          • Employees
          • Timesheets
          • Absence Management
          • Recruitment
        • Customer Service
          • Service Contracts
          • Interventions
          • Warranty Management
          • Tickets
        • Sales
          • Subscriptions
          • Sales Automation
          • CRM
          • Points of Sale
        • Cross-features
          • API
          • Extranet
          • Electronic Signature
          • Workflows
  • Pricing
  • Login
  • Discover the demo
kafinea logo svg
Kafinea

Marketing

6
  • Prospects
  • The business
  • Sending emails and SMS
  • Campaigns
    • Marketing campaigns
    • Setting up email and SMS campaigns
    • Calculating forecast margins for a campaign

Sales

16
  • Customer accounts
  • Contacts
  • Customer quotations
  • Margins in quotes
  • Customer purchase orders
  • Customer credit notes
  • Company Search (SIRENE)
  • Invoicing
    • Classic invoicing
    • Advancement invoicing
    • Item consumption invoicing
    • Electronic invoicing
  • Payments
    • Customer payments
    • Associating a payment with one or more invoices
  • Price list
    • The use of a price list
    • Pricing strategies
    • Administrator's Guide to Pricing

Purchasing

5
  • Suppliers
  • Supplier purchase orders
  • Supplier invoices
  • Supplier credit notes
  • Supplier payments

Catalog

8
  • The products
  • Services
  • Product families
  • Units of measurement
  • Sourcing Management
  • Generic products
  • Product kits
  • The Supplier Order Assistant

Finance

18
  • Bank accounts
  • Third-party bank accounts
  • Banking transactions
  • SEPA mandates
  • Direct debits
  • Manual entries
  • Accounting
    • Accounting
    • Accounting entries
    • Accounting strategies
    • Financial statements
    • Bank reconciliations
    • Bank statements
    • Tools for checking your accounts
    • Setting up VAT returns
    • VAT declaration
    • Accounting export in FEC format
  • Accounting periods
    • Accounting periods
    • Cash accounting

Human Resources

16
  • The people
  • Services
  • The activities
  • Service assignments
  • Timesheets
  • Leave requests
  • Types of absence
  • Expense reports
  • Training courses
  • Workplaces
  • Versatility matrices
  • Sample employment contracts
  • Pay stubs
  • Employee Extranet
    • The employee portal
    • The Employee Portal
    • Leave Management

Project Management

4
  • The projects
  • Project tasks
  • Project milestones
  • Participation in projects

Customer support

7
  • Tickets
  • Service contracts
  • Customer equipment
  • Customer instances
  • Warranty Management
  • FAQs
  • Customer portal

Maintenance

4
  • Our facilities
  • Maintenance sites
  • The equipment
  • Maintenance operations

Inventory Management

8
  • Storage sites
  • Storage locations
  • Inventory movements
  • Stock transfer requests
  • Delivery notes
  • Receipt slips
  • Delivery methods
  • Inventory Valuation

Points of Sale

5
  • Physical sales outlets
  • E-commerce stores
  • Cash movements
  • Cash register
    • Cash registers
    • Setting up your cash register

Records Management

6
  • Electronic document management
  • The electronic signature
  • Sending documents by email
  • Models
    • Document templates
    • Email templates
    • Shortcodes

Automation

3
  • The forms
  • Workflows
  • The planner

Artificial Intelligence

5
  • The AI text assistant
  • The AI Chatbot
  • AI workflows
  • Connect an external AI (MCP)
  • AI-powered invoice OCR

Integrations

7
  • API
    • REST API – Introduction
    • REST API – Authentication
    • REST API – CRUD Operations
    • REST API – Entity Relationships
    • REST API – Requests and Queries
    • REST API – File Management
    • REST API – Dropdown Lists (Picklists)

Kafinea interface

10
  • Data import/export
  • Dashboards
  • Navigation
  • Listings
  • The recordings
  • The layout manager
  • Reports
  • Tags
  • Document lines
  • Automatic recording

Setting

16
  • The companies
  • The users
  • Access rights
  • User preferences
  • Languages and translations
  • Numbering formats
  • SMTP settings
  • Global search
  • Pop-up blocking
  • Permanent locking
  • The Event Log
  • Tax Settings
  • AI agents
  • The MCP server
  • Data mapping
    • Lead conversion mapping
    • Project business mapping

Career Guides

1
  • Allow employees to update their HR records on their own
  • Kafinea
  • Help
  • Integrations
  • API
  • REST API – Requests and Queries
View Categories

REST API – Requests and Queries

2 minutes


Query — Query the database #

This operation allows you to execute a SELECT query. The query must follow a specific format and has certain limitations:

  • Only one entity type per query (no JOINs)
  • Maximum of 100 results per query (use LIMIT and OFFSET (for pagination)
  • The clauses WHERE, ORDER BY and LIMIT are optional
  • The request must be URL-encoded

GET https://apps.kafinea.com/{instance}/webservice.php

Setting Type Required Description
operation string yes Must be query
sessionName string yes Session ID
query string yes SQL query (URL-encoded)

Curl example:

curl "https://apps.kafinea.com/YourKafinea/webservice.php?operation=query&sessionName=YOUR_SESSION_ID&query=SELECT%20*%20FROM%20Contacts%20WHERE%20lastname%3D'Dupont'%20LIMIT%2010%20;"

Query format #

SELECT * | ColumnsList | count(*)
FROM ModuleName
WHERE Conditions
ORDER BY ColumnsList
LIMIT Offset, Limit ;

Important: The semicolon at the end is required.

Details:

Element Description
ColumnsList A comma-separated list of field names
ModuleName Entity module name
Conditions Separated by AND or OR, processed from left to right. No grouping with parentheses.
Offset Integer (optional)
Limit Integer

Available conditions:

Type Syntax Example
Operator <, >, <=, >=, !=, = lastname = 'Dupont'
IN IN(val1, val2, ...) industry IN('Tech', 'Finance')
LIKE LIKE 'pattern' lastname LIKE '%dup%'

Query Related — Query Related Lists #

This operation retrieves the entities from the related lists of a specific entity. The query follows the same format as query, but without a semicolon at the end.

GET https://apps.kafinea.com/{instance}/webservice.php

Setting Type Required Description
operation string yes Must be query_related
sessionName string yes Session ID
id string yes Parent entity's Web service ID
relatedLabel string yes Name of the linked module
query string yes SQL query (URL-encoded, without ; (final)

Curl example:

curl "https://apps.kafinea.com/YourKafinea/webservice.php?operation=query_related&sessionName=YOUR_SESSION_ID&id=21x3456&relatedLabel=Documents&query=SELECT%20*%20FROM%20Documents%20WHERE%20filesize%20%3E%2010000"

Example query:

SELECT * FROM Documents WHERE filesize > 10000

Related references 🔗 #

  • CRUD operations
  • API Introduction
Index
  • Query — Query the database
    • Query format
  • Query Related — Query related lists
  • Related references 🔗

All-in-one software for SMEs. Take advantage of the automation capabilities and flexibility of our business management platform to facilitate the work of all your employees.

RESOURCES

Blog
Brand Guidelines
Distributors
Help
Security

Customer portal
ABOUT US

About Us
Contact Us
Cookie Policy
Frequently Asked Questions
General Terms of Use
Privacy Policy
Terms & Conditions

FINANCES

Accounting
Audits & KPIs
Invoicing
Purchasing

MANAGEMENT

Documents
Project management
Inventory management
Maintenance

HR

Absence Management
Employees
Recruitment
Timesheets

CUSTOMER SERVICE

Service contracts
Service
Warranty tracking
Tickets

SALES

CRM
Point of Sale
Sales Automation
Subscriptions

© 2026 Madiasoft -Kafinea

24 rue Louis Blanc, 75010 PARIS, France

01 70 06 05 41

Facebook Linkedin
kafinea logo svg
Manage cookie consent
To provide the best experiences, we use cookies to store and/or access device information. Consenting to these cookies will allow us to process data such as browsing behavior or unique IDs on this site. Failure to consent or withdrawal of consent may adversely affect certain features and functions.
Functional Always on
Storage or technical access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or Internet user, or for the sole purpose of transmitting a communication over an electronic communications network.
Preferences
Storage or technical access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or person using the service.
Statistics
Storage or technical access used exclusively for statistical purposes. Storage or technical access that is used exclusively for anonymous statistical purposes. In the absence of a subpoena, voluntary compliance by your Internet service provider or additional third-party records, information stored or retrieved for this sole purpose generally cannot be used to identify you.
Marketing
Storage or technical access is necessary to create profiles of Internet users in order to send advertisements, or to track the Internet user on a website or on several websites with similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} suppliers
  • Find out more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
  • Features
    • Finance
      • Purchasing
      • Audits & KPIs
      • Accounting
      • Invoicing
    • Management
      • Documents
      • Interventions
      • Project Management
      • Inventory Management
    • HR
      • Employees
      • Timesheets
      • Absence Management
      • Recruitment
    • Customer Service
      • Service Contracts
      • Warranty Management
      • Maintenance
      • Tickets
    • Sales
      • Subscriptions
      • Sales Automation
      • CRM
      • Points of Sale
    • Cross-features
      • API
      • Extranet
      • Electronic Signature
      • Workflows
  • Pricing
  • Login
  • Discover the demo