Daftra

Daftra

Work with Daftra, the cloud accounting and ERP of the Middle East, from your AI: look up invoices, clients, products, stock and the ledger, and create invoices, payments, expenses, purchases and journal entries with confirmation.

7-day free trial · No credit card · EU-hosted

Ask Daftra anything

Try a real prompt against Daftra via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.

Install Daftra on Cloud
Daftra · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Setup in 2 minutes

  1. 1Start a free trial on cloud.anythingmcp.com.
  2. 2Click Daftra in the connector store. Paste credentials when prompted.
  3. 3Mint an MCP API key and point your AI client at the generated MCP URL.
Install Daftra now

Guides for Daftra

Step-by-step setup for the most popular AI clients.

Setting up Daftra

From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.

Daftra

This connector calls the Daftra REST API (https://<subdomain>.daftra.com/api2) of one Daftra account with an API key: sales invoices, credit notes and refunds, payments, clients and suppliers, products and stock, purchase invoices, expenses, treasuries and the general ledger (journals and chart of accounts).

Getting credentials (about 2 minutes)

  1. As a Daftra administrator, open Settings > API > API Keys and click Generate API key.
  2. Paste the key into DAFTRA_API_KEY and the first part of your Daftra address into DAFTRA_SUBDOMAIN (acme for acme.daftra.com). The key is sent in the APIKEY header, only to your Daftra account, and acts with that account's permissions.

Request shape: Daftra wraps every record in its model name. Writes send e.g. {"Journal": {...}, "JournalTransaction": [...]}; the tools build that envelope. Lists answer with data (each row under its model name) and a pagination block; page with page and limit (up to 1000).

Ids: every tool takes the internal id, not the printed number (an invoice no such as 000123). Find ids with the list tools; daftra_list_stores, daftra_list_treasuries and daftra_list_journal_accounts give the ids that documents refer to; tax ids appear on existing invoice lines.

Writes change the books. Invoices, payments, expenses, journals, purchases, refunds and stock movements post to the ledger and stock; daftra_create_treasury and daftra_create_journal_category change the account setup. Describe the change and wait for the user's yes before any write. Installed switched off: the deletes (daftra_delete_invoice, daftra_delete_invoice_payment, daftra_delete_expense, daftra_delete_journal), daftra_update_journal (replaces every line) and daftra_set_invoice_draft_status (issuing is final).

Dates are YYYY-MM-DD; amounts are in the document currency.

Common errors

  • 401 or 403: the API key is wrong, deleted or lacks permission; generate a new one.
  • 404 on every call: the subdomain is wrong (the part before .daftra.com).
  • 400 or 422: a required field is missing or an id does not exist; the message names it.

Cloud and self-hosted: both call the account's own daftra.com subdomain over the internet; nothing else differs.

Out of scope here: estimates, incomes and taxes (405 through the API key), OAuth sign-in, work orders, appointments, staff, time tracking, notes and attachments.

Your AI is two clicks away from Daftra.

Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.