feat(mcp): self-describing agent surface — staging _meta, company identity, clean skill summaries (#775)
* feat(mcp): make the agent surface self-describing (staging _meta, company identity, clean summaries)
A pass over the MCP server's agent-facing surface so an agent can act
correctly without parsing description prose:
- Machine-readable staging contract: deriveToolMeta() attaches _meta to
tools/list (and search detail=full) — { requires_approval, approve_tool,
preflight? } — keyed off the STAGED_OPERATION_SCHEMA output schema. Literal
_meta (e.g. UI widget hints) wins on collision. TOOL_PREFLIGHT_MAP names the
read-only pre-flight for the few writes that have one (year-end readiness,
VAT validate, depreciation proposal). Guarded by staging-meta.test.ts.
- Company identity in gnubok_get_agent_briefing: returns a `company` block
(id, name, org_number, entity_type, accounting_method) so the agent can
confirm WHICH entity it operates on and pick the right settlement account
(accrual = credit 1510; cash = debit 19xx) before any write. Best-effort —
a missing row never blocks the briefing. Covered by agent-briefing.test.ts.
- toSummary(): trims the long, keyword-stuffed SKILL.md frontmatter into clean
one-liners for gnubok_list_skills / gnubok_get_agent_briefing so the client
never truncates one mid-sentence; full bodies stay in gnubok_load_skill.
Covered by to-summary.test.ts.
- bank-reconciliation skill: a match/link decision tree (what you have x
whether a verifikat exists) and kontant- vs faktureringsmetoden settlement
accounts.
- Prose/description clarifications: "Stages"/"Stages for approval" on the
link tools; propose_dispositioner/accruals note there is no dedicated MCP
poster; server-info documents _meta and the legacy gnubok_ tool prefix.
All 34 touched MCP tests pass. Merged cleanly on top of #759/#760 (server.ts).
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
* fix(mcp): make accounting_method description state the full settlement posting
Review (swedish-accounting-compliance): the agent-briefing schema described
accrual as "credit 1510 on payment", which reads as a one-sided entry. Spell
out both sides (payment debits 19xx AND credits 1510) so an agent can't infer a
single-leg posting that violates BFL 5 kap double-entry. Mirrors the precision
already in the bank-reconciliation skill body. Payload-size guard still passes.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
d5abc8dd1c
commit
43007fa869
@@ -46,6 +46,10 @@ function mockSupabase(opts: {
|
||||
}>
|
||||
// profiles.full_name for the signed-in user. undefined → no profile row.
|
||||
userFullName?: string | null
|
||||
// companies row for the active company. undefined → no row (null data).
|
||||
company?: { name: string | null; org_number: string | null; entity_type: string | null } | null
|
||||
// company_settings.accounting_method. undefined → no settings row (null data).
|
||||
accountingMethod?: string | null
|
||||
errors?: { profile?: string; memory?: string; atoms?: string }
|
||||
}) {
|
||||
const profile = opts.profile === undefined ? null : opts.profile
|
||||
@@ -110,6 +114,33 @@ function mockSupabase(opts: {
|
||||
})),
|
||||
}
|
||||
}
|
||||
if (table === 'companies') {
|
||||
return {
|
||||
select: vi.fn(() => ({
|
||||
eq: vi.fn(() => ({
|
||||
maybeSingle: vi.fn().mockResolvedValue({
|
||||
data: opts.company === undefined ? null : opts.company,
|
||||
error: null,
|
||||
}),
|
||||
})),
|
||||
})),
|
||||
}
|
||||
}
|
||||
if (table === 'company_settings') {
|
||||
return {
|
||||
select: vi.fn(() => ({
|
||||
eq: vi.fn(() => ({
|
||||
maybeSingle: vi.fn().mockResolvedValue({
|
||||
data:
|
||||
opts.accountingMethod === undefined
|
||||
? null
|
||||
: { accounting_method: opts.accountingMethod },
|
||||
error: null,
|
||||
}),
|
||||
})),
|
||||
})),
|
||||
}
|
||||
}
|
||||
throw new Error(`Unexpected table in test mock: ${table}`)
|
||||
}),
|
||||
}
|
||||
@@ -156,6 +187,54 @@ describe('gnubok_get_agent_briefing tool', () => {
|
||||
expect(result.user_name).toBeNull()
|
||||
})
|
||||
|
||||
it('returns the active company block so the agent can confirm the entity before writing', async () => {
|
||||
const tool = tools.find((t) => t.name === 'gnubok_get_agent_briefing')!
|
||||
const supabase = mockSupabase({
|
||||
profile: null,
|
||||
company: { name: 'Acme AB', org_number: '556677-8899', entity_type: 'aktiebolag' },
|
||||
accountingMethod: 'cash',
|
||||
})
|
||||
const result = (await tool.execute(
|
||||
{},
|
||||
'company-1',
|
||||
'user-1',
|
||||
supabase as never,
|
||||
{ type: 'api_key' }
|
||||
)) as {
|
||||
company: {
|
||||
id: string
|
||||
name: string | null
|
||||
org_number: string | null
|
||||
entity_type: string | null
|
||||
accounting_method: string | null
|
||||
}
|
||||
}
|
||||
expect(result.company).toEqual({
|
||||
id: 'company-1',
|
||||
name: 'Acme AB',
|
||||
org_number: '556677-8899',
|
||||
entity_type: 'aktiebolag',
|
||||
accounting_method: 'cash',
|
||||
})
|
||||
})
|
||||
|
||||
it('always returns the company id even when the company/settings rows are missing', async () => {
|
||||
const tool = tools.find((t) => t.name === 'gnubok_get_agent_briefing')!
|
||||
const supabase = mockSupabase({ profile: null })
|
||||
const result = (await tool.execute(
|
||||
{},
|
||||
'company-1',
|
||||
'user-1',
|
||||
supabase as never,
|
||||
{ type: 'api_key' }
|
||||
)) as {
|
||||
company: { id: string; name: string | null; accounting_method: string | null }
|
||||
}
|
||||
expect(result.company.id).toBe('company-1')
|
||||
expect(result.company.name).toBeNull()
|
||||
expect(result.company.accounting_method).toBeNull()
|
||||
})
|
||||
|
||||
it('returns only the first name (tilltalsnamn) — data minimisation, not the full legal name', async () => {
|
||||
const tool = tools.find((t) => t.name === 'gnubok_get_agent_briefing')!
|
||||
const supabase = mockSupabase({ profile: null, userFullName: 'Peter Bennet' })
|
||||
|
||||
@@ -1,17 +1,23 @@
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { tools } from '../server'
|
||||
import { tools, deriveToolMeta } from '../server'
|
||||
|
||||
describe('tools/list payload size guard', () => {
|
||||
it('keeps the projected tools/list payload under the context-budget ceiling', () => {
|
||||
const projection = tools.map((t) => ({
|
||||
name: t.name,
|
||||
...(t.title ? { title: t.title } : {}),
|
||||
description: t.description,
|
||||
inputSchema: t.inputSchema,
|
||||
...(t.outputSchema ? { outputSchema: t.outputSchema } : {}),
|
||||
annotations: t.annotations,
|
||||
...(t._meta ? { _meta: t._meta } : {}),
|
||||
}))
|
||||
// Mirror the real tools/list serializer, including the derived staging
|
||||
// _meta (requires_approval / approve_tool / preflight) merged over any
|
||||
// literal _meta — otherwise the guard under-measures the wire payload.
|
||||
const projection = tools.map((t) => {
|
||||
const meta = { ...(deriveToolMeta(t) ?? {}), ...(t._meta ?? {}) }
|
||||
return {
|
||||
name: t.name,
|
||||
...(t.title ? { title: t.title } : {}),
|
||||
description: t.description,
|
||||
inputSchema: t.inputSchema,
|
||||
...(t.outputSchema ? { outputSchema: t.outputSchema } : {}),
|
||||
annotations: t.annotations,
|
||||
...(Object.keys(meta).length > 0 ? { _meta: meta } : {}),
|
||||
}
|
||||
})
|
||||
const payload = JSON.stringify({ tools: projection })
|
||||
const approxTokens = Math.round(payload.length / 4)
|
||||
// Ceiling progression: 20K → 25K → 30K → 31K → 31.5K → 32K → 36K.
|
||||
@@ -46,9 +52,16 @@ describe('tools/list payload size guard', () => {
|
||||
// * Held at 36K when gnubok_list_accrual_schedules (add/bokslut) merged with
|
||||
// the categorize vat_amount override (#717): the combination crossed the
|
||||
// ceiling by ~75, offset by trimming the 8 longest descriptions to ~200 chars.
|
||||
// * 36K → 38K with the MCP legibility pass: the machine-readable staging
|
||||
// contract now emits `_meta { requires_approval, approve_tool, preflight }`
|
||||
// on every staging write (~40 tools) so an agent can tell — without reading
|
||||
// prose — which writes need a follow-up gnubok_approve_pending_operation and
|
||||
// which have a pre-flight; gnubok_get_agent_briefing also gained a `company`
|
||||
// identity block in its outputSchema. This is wire data the agent depends
|
||||
// on, not trimmable prose — hence a bump rather than a description trim.
|
||||
// Long-term answer to growth is leaning harder on gnubok_search_tools — if this
|
||||
// fires again, prefer trimming descriptions or making a tool opt-in via search
|
||||
// before bumping further.
|
||||
expect(approxTokens).toBeLessThan(36_000)
|
||||
expect(approxTokens).toBeLessThan(38_000)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -195,7 +195,18 @@ describe('MCP Receipt Matcher', () => {
|
||||
})
|
||||
})
|
||||
|
||||
it('does not include _meta for tools without it', async () => {
|
||||
it('does not include _meta for read-only tools that neither stage nor render UI', async () => {
|
||||
const res = await handleMcpRequest(mcpRequest('tools/list'))
|
||||
const result = await parseResult(res)
|
||||
|
||||
const listTool = result.tools.find(
|
||||
(t: { name: string }) => t.name === 'gnubok_list_customers'
|
||||
)
|
||||
expect(listTool).toBeDefined()
|
||||
expect(listTool._meta).toBeUndefined()
|
||||
})
|
||||
|
||||
it('includes the derived staging contract in _meta for staging writes', async () => {
|
||||
const res = await handleMcpRequest(mcpRequest('tools/list'))
|
||||
const result = await parseResult(res)
|
||||
|
||||
@@ -203,7 +214,10 @@ describe('MCP Receipt Matcher', () => {
|
||||
(t: { name: string }) => t.name === 'gnubok_categorize_transaction'
|
||||
)
|
||||
expect(categorizeTool).toBeDefined()
|
||||
expect(categorizeTool._meta).toBeUndefined()
|
||||
expect(categorizeTool._meta).toMatchObject({
|
||||
requires_approval: true,
|
||||
approve_tool: 'gnubok_approve_pending_operation',
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* Guards the machine-readable staging contract surfaced via tools/list `_meta`.
|
||||
*
|
||||
* An agent must be able to tell — without reading description prose — whether a
|
||||
* write stages a pending_operation (and so needs a follow-up
|
||||
* gnubok_approve_pending_operation), and whether a read-only pre-flight exists.
|
||||
* That signal is `_meta.requires_approval` / `_meta.preflight`, derived from the
|
||||
* staged-operation output schema. These tests pin that derivation and the
|
||||
* companion prose convention so neither drifts.
|
||||
*/
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { tools, deriveToolMeta } from '../server'
|
||||
|
||||
/** Structural proxy for STAGED_OPERATION_SCHEMA without importing the private const. */
|
||||
function isStagingTool(t: { outputSchema?: Record<string, unknown> }): boolean {
|
||||
const schema = t.outputSchema as
|
||||
| { properties?: Record<string, unknown>; required?: string[] }
|
||||
| undefined
|
||||
return Boolean(schema?.properties?.staged) && Boolean(schema?.required?.includes('staged'))
|
||||
}
|
||||
|
||||
describe('staging contract _meta', () => {
|
||||
it('requires_approval is set exactly for the tools that stage a pending_operation', () => {
|
||||
for (const t of tools) {
|
||||
const meta = deriveToolMeta(t)
|
||||
if (isStagingTool(t)) {
|
||||
expect(meta, `tool ${t.name} should expose staging _meta`).toBeDefined()
|
||||
expect(meta?.requires_approval, `tool ${t.name}`).toBe(true)
|
||||
expect(meta?.approve_tool, `tool ${t.name}`).toBe('gnubok_approve_pending_operation')
|
||||
} else {
|
||||
expect(meta, `tool ${t.name} must not claim to stage`).toBeUndefined()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
it('every _meta.preflight points at a real, read-only tool', () => {
|
||||
const byName = new Map(tools.map((t) => [t.name, t]))
|
||||
for (const t of tools) {
|
||||
const preflight = deriveToolMeta(t)?.preflight as string | undefined
|
||||
if (!preflight) continue
|
||||
const target = byName.get(preflight)
|
||||
expect(target, `${t.name} preflight ${preflight} must exist`).toBeDefined()
|
||||
expect(target?.annotations.readOnlyHint, `preflight ${preflight} must be read-only`).toBe(true)
|
||||
}
|
||||
})
|
||||
|
||||
it('every staging tool declares staging in its description (uniform prose signal)', () => {
|
||||
// The approval REFERENCE is carried machine-readably by _meta.approve_tool
|
||||
// (see the test above), so prose only needs to make the staging nature
|
||||
// unambiguous — every staged write says it stages (stage/stages/staged/staging).
|
||||
const violations = tools
|
||||
.filter(isStagingTool)
|
||||
.filter((t) => !/stag(e|ing)/i.test(t.description))
|
||||
.map((t) => t.name)
|
||||
expect(violations).toEqual([])
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,55 @@
|
||||
/**
|
||||
* Unit tests for toSummary — trims the long, keyword-stuffed SKILL.md
|
||||
* frontmatter descriptions into clean one-liners for gnubok_list_skills and
|
||||
* gnubok_get_agent_briefing, so the client never truncates one mid-sentence.
|
||||
*/
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { toSummary } from '../skills/atoms'
|
||||
|
||||
describe('toSummary', () => {
|
||||
it('returns short input unchanged (idempotent)', () => {
|
||||
const s = 'Swedish VAT compliance reference.'
|
||||
expect(toSummary(s)).toBe(s)
|
||||
expect(toSummary(toSummary(s))).toBe(s)
|
||||
})
|
||||
|
||||
it('collapses internal whitespace', () => {
|
||||
expect(toSummary('Foo bar\n\tbaz')).toBe('Foo bar baz')
|
||||
})
|
||||
|
||||
it('prefers the first sentence when it ends within the cap', () => {
|
||||
const s = 'Project accounting basics. ' + 'tail '.repeat(60) // well over the cap
|
||||
expect(toSummary(s, 60)).toBe('Project accounting basics.')
|
||||
})
|
||||
|
||||
it('cuts at a word boundary with an ellipsis when no sentence ends within the cap', () => {
|
||||
const long = 'a '.repeat(300).trim() // 300 single-char words, no punctuation
|
||||
const out = toSummary(long, 50)
|
||||
expect(out.length).toBeLessThanOrEqual(51) // <= maxLen + ellipsis
|
||||
expect(out.endsWith('…')).toBe(true)
|
||||
expect(out).not.toMatch(/\s…$/) // trimmed before the ellipsis
|
||||
expect(out.includes(' ')).toBe(false)
|
||||
})
|
||||
|
||||
it('never cuts in the middle of a word', () => {
|
||||
const s = 'alpha bravo charlie delta echo foxtrot golf hotel india juliet kilo lima'
|
||||
const out = toSummary(s, 25)
|
||||
const body = out.replace(/…$/, '').trim()
|
||||
// every whitespace-delimited token in the output is a whole word from the input
|
||||
const words = new Set(s.split(/\s+/))
|
||||
for (const tok of body.split(/\s+/)) expect(words.has(tok)).toBe(true)
|
||||
})
|
||||
|
||||
it('handles the real project-accounting description without a mid-word cut', () => {
|
||||
const desc =
|
||||
'Swedish project accounting (projektredovisning) covering dimensional tagging of bokföringsposter with project codes, WIP accounting (pågående arbeten), revenue recognition under K2 and K3 (successiv vinstavräkning, färdigställandemetoden), construction contracts (entreprenadavtal), BAS account patterns for project tracking (1470, 1620, 2420, 2450, 4970), SIE4 dimension encoding (#DIM 6, #OBJEKT, #TRANS object lists)'
|
||||
const out = toSummary(desc)
|
||||
expect(out.length).toBeLessThanOrEqual(201)
|
||||
expect(out.endsWith('…')).toBe(true)
|
||||
})
|
||||
|
||||
it('tolerates empty/blank input', () => {
|
||||
expect(toSummary('')).toBe('')
|
||||
expect(toSummary(' ')).toBe('')
|
||||
})
|
||||
})
|
||||
File diff suppressed because one or more lines are too long
@@ -31,6 +31,28 @@ interface AtomRegistryRow {
|
||||
|
||||
let cache: Skill[] | null = null
|
||||
|
||||
/**
|
||||
* SKILL.md frontmatter `description` fields are long, keyword-stuffed trigger
|
||||
* lists authored for CLI skill-matching — not display copy (the project-accounting
|
||||
* atom is ~1,100 chars). `gnubok_list_skills` and `gnubok_get_agent_briefing`
|
||||
* surface them as one-line summaries, where the raw string gets truncated
|
||||
* mid-sentence by the client. Trim to the first sentence, or a clean word
|
||||
* boundary capped at `maxLen` with an ellipsis. The full text always stays
|
||||
* available in the skill body (gnubok_load_skill). Idempotent for short input.
|
||||
*/
|
||||
export function toSummary(description: string, maxLen = 200): string {
|
||||
const text = (description ?? '').trim().replace(/\s+/g, ' ')
|
||||
if (text.length <= maxLen) return text
|
||||
// Prefer the first sentence when it ends within the cap.
|
||||
const firstStop = text.search(/[.!?](\s|$)/)
|
||||
if (firstStop !== -1 && firstStop + 1 <= maxLen) return text.slice(0, firstStop + 1)
|
||||
// Otherwise cut at the last word boundary before the cap and ellipsize so the
|
||||
// truncation is ours (clean) rather than the client's (mid-word).
|
||||
const slice = text.slice(0, maxLen)
|
||||
const lastSpace = slice.lastIndexOf(' ')
|
||||
return `${(lastSpace > 0 ? slice.slice(0, lastSpace) : slice).trimEnd()}…`
|
||||
}
|
||||
|
||||
export async function loadAtomsAsSkills(supabase: SupabaseClient): Promise<Skill[]> {
|
||||
if (cache) return cache
|
||||
|
||||
@@ -83,7 +105,7 @@ export async function loadAtomsAsSkills(supabase: SupabaseClient): Promise<Skill
|
||||
out.push({
|
||||
slug: row.id,
|
||||
name: row.title ?? row.id,
|
||||
summary: row.description,
|
||||
summary: toSummary(row.description),
|
||||
tags,
|
||||
body,
|
||||
tier: row.tier as SkillTier,
|
||||
@@ -137,7 +159,7 @@ export async function loadReferenceById(
|
||||
return {
|
||||
slug: row.id,
|
||||
name: row.title ?? row.id,
|
||||
summary: row.description,
|
||||
summary: toSummary(row.description),
|
||||
tags: [row.tier, 'reference'],
|
||||
body,
|
||||
tier: row.tier as SkillTier,
|
||||
|
||||
@@ -11,6 +11,43 @@ Reconcile the company's bank statements against the bookkeeping ledger so that t
|
||||
- "Why doesn't my 1930 balance match the bank?"
|
||||
- Mid-month spot-check before tax filings
|
||||
|
||||
## Choosing the right matching/linking tool
|
||||
|
||||
Accounted has several reconciliation tools because the *right* one depends on what
|
||||
you already have in hand. Decide along two axes — **what you're connecting** and
|
||||
**whether a verifikat already exists** — then pick:
|
||||
|
||||
| You have… | …and the entry is | Use |
|
||||
|---|---|---|
|
||||
| One bank tx + one customer invoice | not yet booked | \`gnubok_match_transaction_to_invoice\` |
|
||||
| One bank receipt covering many invoices (customer **or** supplier) | not yet booked | \`gnubok_match_batch_allocate\` (samlingsbetalning, BFL 5 kap 6§) |
|
||||
| A whole period of unmatched income to clear | not yet booked | \`gnubok_auto_match_period\` (run \`dry_run=true\` first) |
|
||||
| One bank tx whose affärshändelse you already posted manually | already booked | \`gnubok_link_transaction_to_journal_entry\` |
|
||||
| A customer invoice you know is paid, payment already in a verifikat | already booked | \`gnubok_find_voucher_candidates_for_invoice\` → \`gnubok_link_invoice_to_voucher\` |
|
||||
| A supplier invoice paid, payment already in a verifikat | already booked | \`gnubok_find_voucher_candidates_for_supplier_invoice\` → \`gnubok_link_supplier_invoice_to_voucher\` |
|
||||
| A receipt/document to file against a tx (no new bokföring) | n/a | \`gnubok_attach_document_to_transaction\` |
|
||||
| Income you're sure is paid but with no bank line to point at | not yet booked | \`gnubok_mark_invoice_as_paid\` |
|
||||
|
||||
Rule of thumb: **match_\*** creates the payment bokföring; **link_\*** attaches to
|
||||
bokföring that already exists (no new verifikat). Every one of these stages a
|
||||
pending operation — the user approves before anything posts.
|
||||
|
||||
### Kontantmetoden vs faktureringsmetoden
|
||||
|
||||
The settlement posting differs by the company's \`accounting_method\` (read it from
|
||||
\`gnubok_get_agent_briefing\` — \`accrual\` = faktureringsmetoden, \`cash\` =
|
||||
kontantmetoden; null defaults to accrual):
|
||||
|
||||
- **Faktureringsmetoden (accrual):** revenue was booked at invoice time against
|
||||
kundfordran **1510**. Payment **credits 1510** and debits the bank (19xx). The
|
||||
link/match tools settle 1510.
|
||||
- **Kontantmetoden (cash):** no receivable was raised at invoice time. Payment
|
||||
**debits 19xx** and books the revenue + moms now.
|
||||
|
||||
You usually don't pass the method explicitly — the tools resolve it from company
|
||||
settings — but knowing it lets you sanity-check the staged preview's accounts
|
||||
before approving (1510 movement under accrual; revenue/moms under cash).
|
||||
|
||||
## Workflow
|
||||
|
||||
### Step 1 — Pull the reconciliation status
|
||||
@@ -84,8 +121,11 @@ ledger after reconciliation:
|
||||
- \`gnubok_list_uncategorized_transactions\`
|
||||
- \`gnubok_suggest_categories\`
|
||||
- \`gnubok_categorize_transaction\`
|
||||
- \`gnubok_match_transaction_to_invoice\`
|
||||
- \`gnubok_match_transaction_to_invoice\`, \`gnubok_match_batch_allocate\` (one receipt → many invoices)
|
||||
- \`gnubok_auto_match_period\` (bulk matcher with confidence thresholds — use for big backlogs)
|
||||
- \`gnubok_link_transaction_to_journal_entry\`, \`gnubok_link_invoice_to_voucher\`, \`gnubok_link_supplier_invoice_to_voucher\` (attach to an existing verifikat — no new bokföring)
|
||||
- \`gnubok_find_voucher_candidates_for_invoice\`, \`gnubok_find_voucher_candidates_for_supplier_invoice\` (read-only — run before the link_\* tools)
|
||||
- \`gnubok_attach_document_to_transaction\` (file a receipt against a tx)
|
||||
- \`gnubok_reverse_journal_entry\` (storno)
|
||||
- \`gnubok_run_currency_revaluation\` (FX accounts only)
|
||||
- \`gnubok_get_trial_balance\`, \`gnubok_get_ar_ledger\`, \`gnubok_get_supplier_ledger\` (verification)
|
||||
@@ -94,8 +134,8 @@ ledger after reconciliation:
|
||||
export const bankReconciliationSkill: Skill = {
|
||||
slug: 'bank-reconciliation',
|
||||
name: 'Bank Reconciliation',
|
||||
summary: 'Stämma av banken: categorize incoming PSD2 rows, match against invoices, resolve duplicates, verify with ledger reports.',
|
||||
tags: ['monthly', 'reconciliation', 'bank', 'verification'],
|
||||
summary: 'Stämma av banken: pick the right match/link tool, categorize PSD2 rows, handle kontant- vs faktureringsmetoden, resolve duplicates, verify with ledger reports.',
|
||||
tags: ['monthly', 'reconciliation', 'bank', 'verification', 'matching'],
|
||||
body,
|
||||
tier: 'workflow',
|
||||
applicability: { entity_type: 'both' },
|
||||
|
||||
@@ -53,4 +53,4 @@ export async function loadAllSkills(supabase: SupabaseClient): Promise<Skill[]>
|
||||
|
||||
export type { Skill, SkillTier } from './types'
|
||||
export { SKILL_MIME_TYPE, SKILL_URI_PREFIX, skillUri, skillSlugFromUri } from './types'
|
||||
export { loadAtomsAsSkills, __resetAtomCache } from './atoms'
|
||||
export { loadAtomsAsSkills, toSummary, __resetAtomCache } from './atoms'
|
||||
|
||||
Reference in New Issue
Block a user