Skip to content

October 28, 2026 — Sancho API and MCP server, marking notifications as read

Changes since October 24.

Your program, such as an online store or a spreadsheet report, connects to Sancho with an API key and gets the same data you see in the app. The API reads products, warehouses, business partners, employees, warehouse documents, invoices, purchase orders, storage locations, quality control and tags. It writes PZ and PW goods receipts, WZ and RW goods issues and MM stock transfers: it creates, edits, deletes and cancels them. It also writes products, their placement on storage locations, and warehouses. Comarch Optima, ERPNext and Fakturownia answer the same way, so one program works with each of them.

A key writes on behalf of the person who created it. The document history and the Optima operator show that person, and the Audit log names the key. When that person leaves the account, the key can only read.

The API is a paid add-on at 400 PLN net per month for the whole organization, whatever the number of keys. You turn it on with Enable API on the API keys page. Add a payment card under Billing first; adding the card ends the trial. Without the add-on, Sancho rejects every request made with a key. A self-hosted install needs no add-on.

An account can send 100 requests per second. All of the account’s keys and the MCP server share that limit. The API guide covers the methods, examples and error codes.

An AI assistant such as Claude Code reads Sancho data through the MCP server. The server has 24 tools, one for each API read, and none of them writes anything. The assistant gets only the tools the key’s permissions allow. It can fetch long lists in TOON, which takes fewer tokens than JSON.

The MCP server is a separate add-on at 400 PLN net per month, independent of the API add-on. You turn it on with Enable MCP on the API keys page. A key that connected to the MCP server before this change now needs this add-on. The old product list tool is replaced by tools named after the API methods. The MCP server page explains how to connect an assistant.

API keys with permissions and an expiry date

Section titled “API keys with permissions and an expiry date”

An API key now has its own permissions. In Workspace → API keys, the Create API key form shows only the permissions you have yourself, so you can’t create a key with more access than your own account. In Integrations you pick the integrations the key works in. At least one is required. Expires sets the day after which the key stops working. Leave it empty for a key with no expiry.

The key list has Permissions, Integrations, Last used and Expires columns. Before you delete an old key, Last used tells you whether anything still uses it.

Keys created earlier keep working and can read products in every integration on the account. On an account with no integrations, Sancho revoked the existing keys. A program sends the key in the request header. Sancho rejects a key added to the URL.

In the Inbox, right-click a notification and choose Mark as read or Mark as unread. Before, a notification became read only once you opened it, and there was no way back. The counter next to Inbox changes right away.

Mark all as read above the list clears every unread notification at once. The button is hidden when nothing is unread and while a search narrows the list.

Some ERP systems number each kind of document separately, so a PZ and a PW can share an id. A link to a goods receipt, goods issue, stock transfer, invoice or order now names the document’s kind, so Sancho always opens the document you meant. This covers the web app, the phone, notifications and emails.

Browser bookmarks saved before this change, and push notifications already on a phone, open a page that doesn’t exist. Links in emails from Sancho still work. Open the document from its list and save the bookmark again.

The related documents list and the document on a tag show the right symbol: PZ or PW, WZ or RW, FZ or FS. The same goes for the web app and the phone.

Goods receipts, goods issues and stock transfers sort by Last modified, goods issues also by Entity, and invoices by Payment due date. Orders sort by the business partner’s name instead of its number. Products no longer sort by status. Each list’s saved sorting goes back to the default once.

Goods issues above stock and receipts from invoices in Fakturownia

Section titled “Goods issues above stock and receipts from invoices in Fakturownia”

A WZ or MM in Fakturownia no longer saves with a quantity above the stock level. The quantity field shows Quantity exceeds the available stock level and Save stays disabled. Before, this check never ran on Fakturownia and a WZ could drive stock below zero. The product card shows the stock in each warehouse instead of the account-wide total.

In every ERP, that message now stays on the line item until you lower the quantity. Before, it disappeared when you added another line item or changed the recipient or a date, and a line item above stock could be saved.

A PZ created from an invoice in Fakturownia stores the unit and the VAT rate on its line items, so gross differs from net the way it does on the invoice. Storage locations and the delivery cost stay after you reopen it, and the PZ remembers the invoice it came from. A PZ saved earlier has no VAT in Fakturownia, and saving it again won’t fix that.

The form for a new WZ, RW, PZ or PW in Fakturownia no longer gets stuck loading.

When you set the warehouse and dates on a new PZ first and pick an invoice afterwards, the warehouse and dates stay. This applies to every ERP. The hint on a locked delivery cost names the document’s ERP instead of always saying Comarch Optima.

A handheld scanner types a code like very fast typing on a keyboard. The scan’s first character landed in the field with the cursor, so after every scan a letter, usually H, appeared at the end of Identifier. Sancho now takes that character back out and the field looks as it did before the scan. The fix works in Note and Tag code too, and on every web app screen that takes a scanner.

A letter typed by hand just before a scan stays in the field and no longer ends up at the start of the scanned code.

When you scan a tag that is already on the line item, you get the notice This tag is already on this line item. Before, nothing happened.

  • Optima sends a delivery lot’s delivery date and a supplier’s last delivery as a plain day. The supplier panel on the product card shows the last delivery date in the usual format.
  • Sancho tells an ERP that didn’t answer and an unreachable integration server apart from its own errors. It passes Optima’s and ERPNext’s messages through unchanged. A program using an API key gets a short message without server details when the ERP fails.
  • Sancho links a document to another Sancho document only when both belong to the same account.
  • Search on Fakturownia lists treats a period, a bracket or an asterisk as a plain character.
  • In ERPNext, a return no longer opens as a regular goods receipt or goods issue, and the invoice list shows only the invoices of the company set on the integration.
  • When you edit a Comarch Optima integration, the permission list no longer offers deleting warehouses and products. Sancho never deletes them in Optima.
  • Order dates from the DMS system arrive as a plain day. An order placed late in the evening no longer shows the next day’s date.
  • Sancho stores only a hash of each API key, never the key itself.
  • The demo account has fictional suppliers instead of real shops.