exact-online-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Exact Online webhooks. Use when setting up Exact Online webhook handlers, debugging HashCode signature verification, subscribing to topics…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Exact Online Webhooks
When to Use This Skill
- How do I receive Exact Online webhooks?
- How do I verify the Exact Online
HashCodesignature? - Why is my Exact Online webhook signature verification failing?
- How do I subscribe to a topic with the
WebhookSubscriptionsendpoint? - How do I handle
Accounts,Items,StockPositions,FinancialTransactions,GoodsDeliveries, orContactsevents? - Why does my Exact Online webhook payload only contain a
Key(GUID) and not the full record?
How Exact Online Webhooks Work (Read This First)
Exact Online does not use the Standard Webhooks spec, and the signature is not an HTTP header. Instead, the POST body is:
{
"Content": {
"Topic": "Accounts",
"Action": "Update",
"Key": "d4d4c8b6-1a2b-4c3d-9e8f-1234567890ab",
"Division": 123456,
"ClientId": "0a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d"
},
"HashCode": "5A3F9C2E7B1D8A46F0C3E9B2D7A15C8E4F6091A2B3C4D5E6F7089ABCDEF01234"
}
Two consequences drive everything below:
- The signature is the
HashCodebody field. You verify by re-computing an HMAC-SHA256 over the raw JSON of theContentnode and comparing toHashCode. - The payload is thin.
Contentcarries onlyTopic,Action,Key(the entity GUID),Division, andClientId. To act on the change you fetch the full record from the REST API using theKeyandDivision.
Exact Online ──POST {"Content":{…},"HashCode":"…"}──▶ your endpoint
│ verify HashCode
▼
GET /api/v1/{Division}/{entity}?$filter=ID eq guid'{Key}'
│ (OAuth2 bearer)
▼
read full record → act → return 200
Verification (core)
Compute HMAC-SHA256 over the exact raw JSON substring of the Content node
(the characters between {"Content": and ,"HashCode": in the raw body — braces
included). Key it with your app's Webhook secret (from the Exact App Center),
hex-encode, uppercase, and compare to HashCode. Do not re-serialize the
parsed Content object — key order/whitespace would differ and break the hash.
Verified against a real delivery (July 2026). An
Accounts/Updatewebhook was reproduced exactly: HMAC-SHA256 over the raw substring between{"Content":and,"HashCode":, hex-encoded and uppercased, matched the deliveredHashCode. Lowercase hex and base64 both failed, so the uppercasing is required.Exact's KB pages are JS-rendered and never state the signed substring in prose — these boundaries originally came from community implementations (picqer's PHP client) and are now confirmed by evidence.
One caveat: Exact sends compact JSON, so for that delivery the raw substring and a re-serialized compact
Contentwere byte-identical and both matched. The test therefore cannot distinguish them. Keep using the raw substring — it is the only form that stays correct if Exact ever emits whitespace or reorders keys. See references/verification.md for the failure modes.
const crypto = require('crypto');
function verifyExactWebhook(rawBody, secret) {
const raw = Buffer.isBuffer(rawBody) ? rawBody.toString('utf8') : rawBody;
const prefix = '{"Content":';
const marker = ',"HashCode":';
const start = raw.indexOf(prefix);
const end = raw.lastIndexOf(marker); // HashCode is last => lastIndexOf
if (start === -1 || end === -1 || end < start) return false;
const contentJson = raw.slice(start + prefix.length, end); // exact bytes Exact signed
let hashCode;
try { hashCode = JSON.parse(raw).HashCode; } catch { return false; }
if (!hashCode) return false;
const expected = crypto.createHmac('sha256', secret)
.update(contentJson, 'utf8').digest('hex').toUpperCase();
try {
return crypto.timingSafeEqual(
Buffer.from(expected), Buffer.from(String(hashCode).toUpperCase()));
} catch { return false; }
}
There is no official Exact Online SDK, so verification is manual in every
language. Always verify against the raw body — parse JSON only after the
HashCode checks out.
For complete handlers with route wiring, topic dispatch, and tests, see:
Common Topics
Subscribe to one topic per subscription, per division. Action is one of
Create, Update, or Delete.
| Topic | Fires When | Common Use Cases |
|---|---|---|
Accounts |
A customer/supplier account is created, updated, or deleted | Sync CRM, dedupe contacts |
Items |
A product/item changes | Sync cata |
Установить exact-online-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл exact-online-webhooks?
Receive and verify Exact Online webhooks. Use when setting up Exact Online webhook handlers, debugging HashCode signature verification, subscribing to topics via the WebhookSubscriptions REST endpoint, or handling entity change events like Accounts, Items, StockPositions, FinancialTransactions, GoodsDeliveries, and Contacts. Note: Exact does NOT use Standard Webhooks — the signature is a HashCode field inside the JSON body (HMAC-SHA256 over the Content node, hex, uppercased), not an HTTP header.
Как установить скилл exact-online-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл exact-online-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic