# fawtar [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://fawtar.app/mcp  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/fawtar-2

## Description
ZATCA-compliant Saudi invoicing and accounting: invoices, receivables, VAT, ledger, payroll.

## Tools
Capabilities this server exposes over MCP:

- **fawtar_list** — List records from any Fawtar resource, with filtering, sorting and paging.

Resources:
- invoices: إصدار الفواتير الضريبية وقراءتها.
- credit_notes: تصحيح فاتورة صادرة بالخصم.
- debit_notes: تصحيح فاتورة صادرة بالزيادة.
- quotes: عروض الأسعار قبل تحوّلها إلى فواتير.
- orders: طلبات المتجر قبل الفوترة.
- customers: بيانات العملاء وأرقامهم الضريبية والعنوان الوطني.
- products: المنتجات والخدمات وأسعارها.
- categories: تصنيفات المنتجات.
- product_unit_types: وحدات بيع المنتجات.
- vendors: بيانات الموردين.
- bills: فواتير الموردين ببنودها.
- simple_bills: مصروف بمبلغ واحد دون بنود.
- bill_payments: سداد فواتير الموردين.
- inventories: المستودعات والفروع.
- inventory_levels: الكميات المتاحة لكل منتج في كل مستودع.
- inventory_adjustments: زيادة أو إنقاص كمية بسبب جرد أو تلف.
- inventory_transfers: نقل كمية بين مستودعين.
- invoice_payments: تسجيل دفعة على فاتورة.
- receipts: الدفعات نفسها بصيغة سند القبض.
- accounts: شجرة الحسابات وأنواعها.
- journal_entries: القيود المرحّلة إلى دفتر الأستاذ.
- recurring_journals: جدولة القيود التي تتكرر كل فترة.
- employees: بيانات الموظفين ورواتبهم وبدلاتهم.
- payroll_runs: المسيّرات الشهرية وإجمالياتها.
- payslips: قسيمة كل موظف داخل المسيّر.
- assets: سجل الأصول وإهلاكها.
- pos_tables: طاولات صالة المطعم.
- pos_orders: طلبات نقاط البيع المفتوحة والمحصّلة.

Filters use the form {"field_predicate": "value"} — for example {"status_eq": "issued"} or {"issued_at_gteq": "2026-01-01"}. Predicates: eq, not_eq, cont, start, end, gt, gteq, lt, lteq, in, null. Only fields the resource allows are honoured; anything else is ignored.
- **fawtar_get** — Fetch a single record by id. For invoices this also returns the line items and the public share link.
- **fawtar_create** — Create a customer, product, vendor, employee, asset or other simple record. Use fawtar_create_invoice for invoices — issuing one claims a sequential number, computes VAT, writes the QR and posts to the ledger, none of which a generic insert does.

Creatable resources: orders, customers, products, categories, product_unit_types, vendors, inventories, accounts, pos_tables.
- **fawtar_create_invoice** — Issue a tax or ordinary invoice. This is a real financial document: it takes the next sequential number, computes VAT, generates the ZATCA QR code and posts to the general ledger. It cannot be edited afterwards — correct it with a credit note. Confirm the amounts with the user before calling.

Use taxTreatment "tax" for a VAT-registered business, "ordinary" for one that is not registered. Use type "simplified" for individuals, "standard" for businesses (which requires the buyer's name and address).
- **fawtar_outstanding** — Every unpaid issued invoice with its remaining balance and how many days it is overdue, newest due first, plus the totals. This is the answer to 'who owes me money' without composing filters by hand.
- **fawtar_vat_summary** — Output VAT charged on sales, input VAT paid on expenses, and the net payable for a date range — the figures a VAT return is built from. Recoverable input VAT only; expenses marked non-recoverable are excluded, as they must be.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "fawtar": {
    "url": "https://fawtar.app/api/mcp"
  }
}
```

## Documentation

## What fawtar does

fawtar exposes Fawtar’s invoicing and accounting data to AI agents over MCP. Its coverage spans the main workflows of a Saudi business: customer and product records, quotations and orders, tax invoices and correction notes, vendor bills, payments, inventory, general-ledger entries, payroll, fixed assets, and restaurant point-of-sale records.

The server is particularly suited to finance and operations tasks that need structured access to business records. Agents can answer questions about unpaid invoices, summarize VAT activity, inspect individual invoices, or create supported records such as customers, products, vendors, employees, and assets.

## How it works

Clients connect to the hosted MCP endpoint at `https://fawtar.app/api/mcp`. The available tools use Fawtar resources such as `invoices`, `customers`, `products`, `bills`, `accounts`, `employees`, and `pos_orders`.

`fawtar_list` returns resource records with filtering, sorting, and pagination. Filters use field predicates in the form `{ "field_predicate": "value" }`. Examples include `status_eq`, `issued_at_gteq`, `amount_gt`, `name_cont`, and `id_in`. Supported predicates include equality, inequality, containment, prefix and suffix matching, comparisons, membership, and null checks. Filters on fields that a resource does not allow are ignored.

`fawtar_get` retrieves one record by ID. For invoices, the response also includes line items and the public sharing link. `fawtar_outstanding` provides unpaid issued invoices, remaining balances, overdue days, and totals, ordered with the newest due date first. `fawtar_vat_summary` reports sales VAT, recoverable purchase VAT, and the net amount for a selected date range; non-recoverable expenses are excluded.

## Setup and configuration

Configure an MCP client to use the streamable HTTP endpoint:

```text
https://fawtar.app/api/mcp
```

The service is hosted, so the connection does not require a locally installed server process or environment variables. Client-specific connection configuration depends on the MCP client being used.

## Tools and capabilities

- List Fawtar resources with filters, sorting, and pagination.
- Retrieve individual records, including invoice line items and sharing links.
- Create supported records such as orders, customers, products, categories, product units, vendors, inventories, accounts, and POS tables.
- Issue tax or ordinary invoices with sequential numbering, VAT calculation, ZATCA QR generation, and ledger posting.
- Review outstanding receivables and overdue balances.
- Produce VAT summaries for sales, recoverable expenses, and net payable amounts.

Invoice creation uses `fawtar_create_invoice` rather than the generic create tool. Set `taxTreatment` to `tax` for a VAT-registered business or `ordinary` for a non-registered business. Use `type: "simplified"` for individuals and `type: "standard"` for businesses; standard invoices require the buyer’s name and address.

## Limitations and notes

Issuing an invoice claims the next sequential number, calculates VAT, creates the ZATCA QR code, and posts the transaction to the general ledger. An issued invoice cannot be edited. Corrections must be made with a credit note, so the user’s amounts should be confirmed before calling the invoice tool.

The generic create operation is limited to supported simple resources and should not be used to issue invoices. VAT summaries include recoverable input VAT only. Resource filters are applied only to fields permitted by each resource.

_Full upstream README: https://allmcps.com/mcp/fawtar-2/readme_

