# Sage 100

With the [Sage 100 integration](/en/docs/data-exchange/connectors/sage-100.md), AI apps such as Claude and ChatGPT also reach your Sage 100 through the [MCP server](/en/docs/mcp.md). You ask the AI app, for example, for an article's price for a customer or for a customer's open orders, or have it create a delivery note from an order. The AI app reads and writes live in your Sage 100 to do so.

You connect the AI app as described on the [MCP server](/en/docs/mcp.md#setup) page, with the same server URL and your Workist account. For Sage 100, an admin also turns the tools on in the Sage 100 integration.

:::warning Changes go straight into Sage 100
The tools that change data write directly into your Sage 100, without a Workist document and without a review in the Workbench. Only turn on the tools your staff should use in AI apps.
:::

## Requirements {#requirements}

- The Sage 100 integration is set up and version 20 of the Workist API extension is installed. The installation is described in [Sage 100 – Installation, version 20](/en/docs/data-exchange/connectors/sage-100-installation.md#version-20-of-the-extension).
- The [version of the extension](/en/docs/data-exchange/connectors/sage-100.md#version-of-the-workist-api-extension) is set to 20 in the connection. With an older version, the *MCP* tab only shows a note that the tools need version 20.
- AI apps are allowed for your company and your role may see documents, as described under [MCP server, Requirements](/en/docs/mcp.md#requirements).

## Turning It On in the Workbench {#turning-it-on-in-the-workbench}

1. Open **Settings** → **Integrations** → **Sage 100** and the connection.
2. Switch to the *MCP* tab.
3. Turn on the switch in the *Sage 100 in Worki and AI apps* section.
4. Check the tools under *Tools* and turn off those that should not be used.

The tab also shows:

- **Server URL**: the same address as on the [MCP server](/en/docs/mcp.md) page, the same for all staff. There is no shared password and no API key: everyone signs in with their own Workist account.
- **Add it to your AI app**: a short guide for Claude, ChatGPT, Claude Code and other apps. The full guide is under [MCP server, Setup](/en/docs/mcp.md#setup).
- **Tools**: one switch per tool, filtered by the three groups below. The AI app does not see a tool that is switched off and cannot call it. The individual switches can only be changed while the main switch is on.

Once turned on, all tools are active until you switch individual ones off. This also applies to tools Workist adds later. If AI apps are not yet allowed for your company, the tab shows a note with a link to **Settings → AI apps**.

If you have several Sage 100 connections, the tools use the oldest connection on version 20 whose switch is on.

## Tools {#tools}

The tools are split into three groups, as in the *MCP* tab. The AI app sees the names in the left column, and so does the tab next to each switch.

### Search and Read {#search-and-read}

In the tab: *Search and read*. These tools do not change anything in your Sage 100.

| Tool | What it does |
| --- | --- |
| `search_sage_customers` | Searches customers by number, name, search term or delivery address, with price list and payment terms. |
| `search_sage_suppliers` | Searches suppliers by number, name, search term or address. |
| `search_sage_articles` | Searches articles by article number, search term, description, EAN or manufacturer article number, with units, packaging and tax class. |
| `search_sage_contacts` | Searches contact persons by account, name, email address or phone number. |
| `search_sage_delivery_addresses` | Searches your customers' delivery addresses. |
| `search_sage_billing_addresses` | Searches your customers' alternative billing accounts with their address. |
| `search_sage_price_lists` | Searches price lists by name or memo, with currency, validity and whether they are active. |
| `search_sage_customer_article_numbers` | Searches customer article numbers: the customer's own number and description for one of your articles, with the agreed price and discount. |
| `search_sage_supplier_article_references` | Shows which suppliers deliver an article: the supplier's article number, purchase unit, price, minimum order quantity and replenishment time. |
| `search_sage_sales_documents` | Searches sales documents (quote, order confirmation, delivery note, invoice) with header, addresses, totals and status, by document type, customer, customer reference or process. |
| `search_sage_sales_document_lines` | Reads the lines of sales documents with ordered, delivered and invoiced quantity, price, discount and tax code. |
| `search_sage_purchase_documents` | Searches purchase documents (price inquiry, purchase order, goods receipt, invoice) with header, addresses and totals. |
| `search_sage_purchase_document_lines` | Reads the lines of purchase documents with ordered, delivered, invoiced and returned quantity, price and discount. |
| `search_sage_expected_receipts` | Shows the next expected goods receipts: open purchase order quantities with the expected and the confirmed date and the supplier. |
| `search_sage_stock` | Shows the stock per storage location, in the article's stock unit. |
| `lookup_sage_values` | Lists the values Sage 100 accepts in selection fields, such as warehouses, projects, item groups, cost centres, payment and delivery terms and document types. |
| `get_sage_record` | Reads one master data record in full, with all its fields. |
| `get_sage_sales_price` | Calculates the sales price of an article for a customer or a price list and a quantity: unit price, quantity break, discount and total. |
| `get_sage_article_availability` | Shows the availability of an article: stock, available and reserved quantity and the quantity expected from open purchase orders. |
| `check_sage_document_chain` | Shows the process of a document without changing anything: all documents of the process, the open quantities per line, the next possible follow-on document and whether the document can be reversed. |

### Master Data Changes {#master-data-changes}

In the tab: *Master data writes*. The tools apply to these master data: customers, suppliers, articles, contact persons, delivery addresses, alternative billing accounts, price lists, supplier article references, customer article numbers.

| Tool | What it does |
| --- | --- |
| `create_sage_record` | Creates a master data record. |
| `update_sage_record` | Changes individual fields of a master data record. Sage 100 rejects the change if the record was changed in the meantime. |
| `delete_sage_record` | Deletes a master data record. Sage 100 refuses while the record is in use, for example a customer with documents. |

### Document Changes {#document-changes}

In the tab: *Transaction writes*. The AI app names document types by their key, such as `VPA` (quote), `VVA` (order) or `EBB` (purchase order). It reads which keys exist in your client with `lookup_sage_values`.

| Tool | What it does |
| --- | --- |
| `create_sage_sales_document` | Creates a sales document, such as a quote or an order, as a new process. |
| `create_sage_purchase_document` | Creates a purchase document, such as a price inquiry or a purchase order, as a new process. |
| `change_sage_open_order` | Changes the delivery date of an open sales or purchase order, or the quantity and delivery date of its lines, as long as there is no follow-on document. |
| `transfer_sage_document` | Creates the next document of a process, such as the order from a quote, the delivery note or goods receipt from an order, or the invoice from a delivery. Without lines, the whole open quantity is transferred. |
| `reverse_sage_document` | Reverses a whole document with a counter-document, such as a delivery note, goods receipt or invoice. An invoiced delivery needs its invoice reversed first. |
| `change_sage_sales_order_reference` | Changes the customer reference number or reference sign of an open order without a delivery or invoice. |
| `cancel_sage_sales_order` | Cancels an open order by closing its process, as long as there is no delivery or invoice. |
| `transfer_sage_stock` | Moves stock of an article from one storage location to another. Articles with batch or serial numbers are excluded. |

## Things to Know {#things-to-know}

- **Everyone with access to the AI apps can use the tools that are switched on.** The tools have no roles of their own. If staff should only read in Sage 100, switch off the tools that change master data and documents.
- **Sage 100 checks every change itself.** If a required field is missing, a record was changed since it was read or is still in use, Sage 100 refuses, and the AI app receives Sage 100's message.
- **Changes run through the connection's Workist user.** Workist accesses your Sage 100 with the [Workist user](/en/docs/data-exchange/connectors/sage-100-installation.md#step-7-create-and-authorise-the-workist-user), not with a separate Sage user per person.
- **Documents as drafts.** If [*Save documents in Sage 100 as drafts*](/en/docs/data-exchange/connectors/sage-100.md#documents-as-drafts) is switched on in the connection, `create_sage_sales_document` and `create_sage_purchase_document` create the documents as parked. Your staff complete them in Sage 100.
- **No duplicate bookings.** If the AI app repeats the same call to create a follow-on document, reverse a document or move stock after a connection drop, Sage 100 does not create a second booking.
- **The AI app decides whether to ask before a change.** Workist marks the tools that change data as such for the AI app. Whether the app asks for confirmation before calling them is set in the AI app.
- **Worki uses the same tools.** The switches in the *MCP* tab also apply to [Worki](/en/docs/agents/worki.md), the chat agent in the Workbench, even if AI apps are not allowed for your company. In the chat, Worki asks for your confirmation before every change. Before creating a document, Worki also asks whether it should be created directly in Sage 100 or as a document in Workist for review, unless you already said so.

## Examples {#examples}

- "What is the price of article 4711 for 50 pieces for customer 10020?"
- "How much of article 4711 is available and when does the next delivery arrive?"
- "Which orders does customer 10020 have and what has not been delivered yet?"
- "Create the delivery note for order 2026-60021."
- "Move the delivery date of purchase order 2026-70012 to 15 January."
- "Add a new delivery address for customer 10020 at Hauptstraße 5, 80331 München."
