Skip to content
📢 Kafinea is a compatible solution for electronic invoicing! Learn more ➔
kafinea logo svg

Kafinea

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

Marketing

1
  • Leads

Sales

14
  • Customer purchase orders
  • Customer accounts
  • Customer Quotes
  • Customer credit notes
  • Company Search (Sirene)
  • Margins in quotes
  • Invoicing
    • Classic Invoicing
    • Progress Invoicing
    • Issue an electronic invoice
    • Recurring invoicing
    • Invoicing Article Consumption
  • Payments
    • Customer payments
    • Linking a payment to one or more invoices
  • Price list
    • Price list administrator guide

Purchases

5
  • Supplier invoices
  • Supplier Purchase Orders
  • Suppliers
  • Supplier Credits
  • Receiving an Electronic Invoice

Catalog

8
  • Units of measure
  • Products
  • Services
  • Sourcing Management
  • The Purchase Order Assistant
  • Generic products
  • Product kits
  • Catalog margin analysis

Finance

11
  • Bank Accounts
  • Manual entries
  • SEPA Mandates
  • Third-party bank accounts
  • Bank Transactions
  • Accounting
    • Accounting entries
    • Tools for Checking Your Accounting
    • Accounting
    • Financial statements
  • Fiscal years
    • Cash accounting
    • Fiscal years

Human Resources

5
  • Timesheets
  • Activities
  • Pay Slips
  • Employee Extranet
    • Leave Management
    • The employee portal card

Project management

2
  • Secure assignments using a people list
  • The responder area: view and accept my assignments

Customer Support

1
  • The Client Portal

Inventory management

4
  • Goods receipt notes
  • Delivery Notes
  • Stock movements
  • Inventory Valuation

Cash register

1
  • Cash Registers

Document management

3
  • Electronic signature
  • Templates
    • Email templates
    • Document templates

Automation

2
  • Forms
  • Workflows

Artificial intelligence

5
  • AI-assisted invoice OCR
  • Connect an External AI (MCP)
  • AI Chat
  • The AI Text Assistant
  • AI Workflows

Kafinea interface

8
  • Data Import/Export
  • Navigation
  • Lists
  • Records
  • The Layout Manager
  • Automatic saving
  • Document Lines
  • Links Between Elements

Settings

10
  • SMTP Settings
  • Access Rights
  • Numbering formats
  • Global search
  • User preferences
  • Permanent locking
  • Catalog popup filtering
  • Tax Configuration
  • The MCP Server
  • AI agents

Business Guides

2
  • Enable employees to complete their HR record independently
  • Mobilizing thousands of field workers at scale

API

7
  • REST API – Introduction
  • REST API – Entity Relationships
  • REST API – File Management
  • REST API – Requests and Querying
  • REST API – Drop-down lists (Picklist)
  • REST API – CRUD Operations
  • REST API – Authentication
  • Kafinea
  • Documentation
  • API
  • REST API – Requests and Querying
View Categories

REST API – Requests and Querying

2 minutes


Query — Querying the Database #

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

  • Only one entity type per query (no JOIN)
  • Maximum 100 results per query (use LIMIT and OFFSET to paginate)
  • The WHERE, ORDER BY, and LIMIT clauses are optional
  • The query must be URL-encoded

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

Parameter Type Required Description
operation string yes Must be query
sessionName string yes Session identifier
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 final semicolon is mandatory.

Details:

Element Description
ColumnsList List of field names separated by commas
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 condition types:

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

Query Related — Querying Related Lists #

This operation allows you to retrieve entities from the related lists of a specific entity. The query follows the same format as query, but without a final semicolon.

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

Parameter Type Required Description
operation string yes Must be query_related
sessionName string yes Session identifier
id string yes Webservice ID of the parent entity
relatedLabel string yes Related module name
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"

Query example:

SELECT * FROM Documents WHERE filesize > 10000

Related References 🔗 #

  • CRUD Operations
  • API Introduction
Index
  • Query — Querying the Database
    • Query Format
  • Query Related — Querying Related Lists
  • Related References 🔗

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

RESOURCES

Blog
Brand Guidelines
Distributors
Help
Security

Customer portal
ABOUT

About Us
Contact Us
Cookie Policy
FAQ
Legal Notice
Privacy Policy
Terms of Service

Electronic invoicing compatible solution
French Tech Grand Paris Logo
FINANCE

Accounting
Audits & KPIs
Invoicing
Purchases

MANAGEMENT

Documents
Inventory Management
Maintenance
Project Management

HR

Absence Management
Employees
Recruitment
Timesheets

CUSTOMER SERVICE

Interventions
Service Contracts
Tickets
Warranty Tracking

SALES

CRM
Points of Sale
Sales Automation
Subscriptions

© 2026 Madiasoft - Kafinea

24 rue Louis Blanc, 75010 PARIS, France

+33 1 70 06 05 41

Facebook Linkedin
kafinea logo svg
Gérer le consentement aux cookies
Pour offrir les meilleures expériences, nous utilisons des cookies pour stocker et/ou accéder aux informations des appareils. Le fait de consentir à ces cookies nous permettra de traiter des données telles que le comportement de navigation ou les ID uniques sur ce site. Le fait de ne pas consentir ou de retirer son consentement peut avoir un effet négatif sur certaines caractéristiques et fonctions.
Fonctionnel Always active
Le stockage ou l’accès technique est strictement nécessaire dans la finalité d’intérêt légitime de permettre l’utilisation d’un service spécifique explicitement demandé par l’abonné ou l’internaute, ou dans le seul but d’effectuer la transmission d’une communication sur un réseau de communications électroniques.
Préférences
Le stockage ou l’accès technique est nécessaire dans la finalité d’intérêt légitime de stocker des préférences qui ne sont pas demandées par l’abonné ou la personne utilisant le service.
Statistiques
Le stockage ou l’accès technique qui est utilisé exclusivement à des fins statistiques. Le stockage ou l’accès technique qui est utilisé exclusivement dans des finalités statistiques anonymes. En l’absence d’une assignation à comparaître, d’une conformité volontaire de la part de votre fournisseur d’accès à internet ou d’enregistrements supplémentaires provenant d’une tierce partie, les informations stockées ou extraites à cette seule fin ne peuvent généralement pas être utilisées pour vous identifier.
Marketing
Le stockage ou l’accès technique est nécessaire pour créer des profils d’internautes afin d’envoyer des publicités, ou pour suivre l’internaute sur un site web ou sur plusieurs sites web ayant des finalités marketing similaires.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Voir les préférences
  • {title}
  • {title}
  • {title}
  • Features
    • Finance
      • Accounting
      • Audits & KPIs
      • Invoicing
      • Purchases
    • Management
      • Documents
      • Interventions
      • Inventory Management
      • Project Management
    • HR
      • Absence Management
      • Employees
      • Recruitment
      • Timesheets
    • Customer Service
      • Maintenance
      • Service Contracts
      • Tickets
      • Warranty Tracking
    • Sales
      • CRM
      • Points of Sale
      • Sales Automation
      • Subscriptions
    • Cross-Features
      • API
      • Electronic Signature
      • Extranet
      • Workflows
  • Pricing
  • Login
  • Discover the demo