From d88141dc00591a3e0b34d7d39eb5da4a7bf28072 Mon Sep 17 00:00:00 2001 From: Jakob Wennberg <149234542+jakobwennberg@users.noreply.github.com> Date: Mon, 20 Jul 2026 13:29:10 +0200 Subject: [PATCH] docs(api): fix stale dashboard-only example on the API landing page (#1077) Attaching employees to a salary run has been API-callable since the v1 payroll surface shipped (POST /salary-runs/{id}/employees); the cookbook already documents it. Replace the example with steps that are actually dashboard-only today (salary payment files, payslip sending). Co-authored-by: Claude Fable 5 --- lib/docs/content/landing.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/content/landing.ts b/lib/docs/content/landing.ts index 60e7b17b..40f6aeca 100644 --- a/lib/docs/content/landing.ts +++ b/lib/docs/content/landing.ts @@ -4,7 +4,7 @@ export const LANDING_MD = `# accounted API > Swedish double-entry bookkeeping as a public REST API for agents and integrations. API version \`${API_V1_VERSION}\`. -The accounted API covers the financial workflows an integration needs: create invoices, ingest bank transactions, file VAT declarations, run payroll, and subscribe to webhooks for state changes. Every endpoint is designed for autonomous agents first: machine-readable schemas, dry-run previews, idempotent retries, and inline audit blocks on every write. (A few dashboard-only steps remain — e.g. attaching employees to a salary run — and each cookbook calls out where one applies.) +The accounted API covers the financial workflows an integration needs: create invoices, ingest bank transactions, file VAT declarations, run payroll, and subscribe to webhooks for state changes. Every endpoint is designed for autonomous agents first: machine-readable schemas, dry-run previews, idempotent retries, and inline audit blocks on every write. (A few dashboard-only steps remain, e.g. generating salary payment files and sending payslips, and each cookbook calls out where one applies.) If you've used [Stripe's API](https://docs.stripe.com/api), the shape will feel familiar: bearer-token auth, dated API versions, webhook signature verification, idempotency keys. The accounting concepts are Swedish (BAS chart, BFL retention, K2/K3, momsdeklaration) but the surface is built for the same kind of integrator.