{"schema_version":"2026.10.1","server":{"name":"apier-no","version":"2026.10.1"},"tools":[{"name":"get_company_summary","title":"Company obligations and deadlines summary","description":"A one-shot summary of obligations and deadlines for a Norwegian organisation: your FIRST call when you orient against a company. One call gives you entity_type, nace_codes, mva_registered, data_tier, obligations[] and deadlines[] (tier_2 adds filing_status), all from one version of the rules. The sandbox answers from fixtures with a different shape (no rulebook_coverage). It is not the identity from the registry: use get_company_context instead; to drill down call get_company_obligations; to set a horizon_months call get_company_deadlines. Failure modes: NOT_FOUND, ENTITY_REMOVED, UPSTREAM_UNAVAILABLE, VALIDATION_FAILED; a credential without `read:brreg` can't see the tool. No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/company-snapshot","description_nb":"Ditt FØRSTE kall mot et selskap: entity_type, datanivå, forpliktelseskatalogen (bytevis lik get_company_obligations) og fristkalenderen i ett kall, fra én regelversjon. Ikke registeridentiteten: for navn, adresser og roller, bruk get_company_context i stedet. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The /summary composition: entity_type, nace_codes, mva_registered, data_tier, obligations[], deadlines[] (tier_2 adds filing_status), and (tier_1 only) upgrade_path. NOT the registry identity; call get_company_context for that."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg","altinn","rulebook"],"_meta":{"examples":[{"description":"One-shot identity + obligations and deadlines summary for a Norwegian AS","input":{"org_number":"818000006"}}]}},{"name":"get_public_obligations","title":"Obligations by entity type (keyless)","description":"Keyless; runs the production path under a sandbox bearer. Retrieve the universal obligation set for a Norwegian entity type — every regulatory obligation that applies by virtue of BEING that organisational form, before per-company Tier-2 data is layered on. Use it for 'what does an AS owe?' or 'what are the baseline filings for an Enkeltpersonforetak?' without naming a company. Each obligation carries tier_2_required: true means the rule engine needs commercial data to decide for a SPECIFIC company, false means it applies unconditionally. Input: { entity_type } from the closed enum AS / ENK / ANS / DA / NUF (no 'OTHER' fallback). Failure modes: VALIDATION_FAILED, UPSTREAM_UNAVAILABLE; a credential without `read:rulebook` can't see the tool. For a specific company's evaluated obligations, call get_company_obligations; for the universal calendar, use get_public_deadlines. Docs: https://www.apier.no/docs/guides/norwegian-company-obligations","description_nb":"Nøkkelfritt. Oppdag de universelle forpliktelsene som gjelder for en gitt norsk selskapsform (AS, ENK, ANS, DA, NUF). Kun malnivå, så kall get_company_obligations for en vurdering per selskap. Forpliktelser med `tier_2_required: true` trenger kommersielle data for å vurderes for et bestemt selskap. For et konkret selskaps vurderte forpliktelser, bruk get_company_obligations i stedet.","inputSchema":{"type":"object","properties":{"entity_type":{"type":"string","enum":["AS","ENK","ANS","DA","NUF"],"description":"Norwegian organisational form (closed enum): AS / ENK / ANS / DA / NUF.","examples":["AS"]}},"required":["entity_type"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The universal obligation set for the entity type, before per-company Tier-2 data is layered on."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:rulebook","data_sources":["rulebook"],"_meta":{"examples":[{"description":"Baseline obligations for an Aksjeselskap (AS)","input":{"entity_type":"AS"}}]}},{"name":"get_exchange_rate","title":"Norges Bank exchange rate (keyless)","description":"Keyless; runs the production path under a sandbox bearer. Norges Bank reference exchange rate for a currency against NOK — the benchmark Norwegian tax and accounting rules accept for foreign-currency obligations. No Norwegian-company input. Input: { base, quote, date? } — ISO 4217 codes, NOK-anchored: exactly one side MUST be 'NOK'. The response is always base NOK and quote = the other currency, whatever order you sent; rate = NOK per 1 unit of quote; date = the day the rate is valid for (weekends and holidays fall back to the prior business day, so it can differ from requested_date). A pair without a NOK side is rejected client-side as UNSUPPORTED_CURRENCY_PAIR: derive cross rates from two NOK legs. Failure modes: VALIDATION_FAILED, UNSUPPORTED_CURRENCY_PAIR, INVALID_DATE, UPSTREAM_UNAVAILABLE, NO_RATE_AVAILABLE; a credential without `read:norgesbank` can't see the tool. For obligations or deadlines rather than a rate, use get_company_summary instead. Docs: https://www.apier.no/docs/mcp","description_nb":"Nøkkelfritt. Hent Norges Banks referansekurs for en valuta mot NOK. Inndata: { base, quote, date? } med koder etter ISO 4217, forankret i NOK: nøyaktig én side MÅ være 'NOK', ellers UNSUPPORTED_CURRENCY_PAIR. Svaret har alltid base NOK uansett rekkefølgen i kallet, og rate er NOK per 1 enhet av quote; date er dagen kursen gjelder for (helg og helligdag gir forrige virkedag). For forpliktelser eller frister i stedet for en valutakurs, bruk get_company_summary i stedet.","inputSchema":{"type":"object","properties":{"base":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"Base currency — ISO 4217 three-letter code (case-insensitive). Exactly one of base/quote must be 'NOK'.","examples":["EUR","USD"]},"quote":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"Quote currency — ISO 4217 three-letter code (case-insensitive). Exactly one of base/quote must be 'NOK'.","examples":["NOK"]},"date":{"description":"Optional ISO 8601 date (YYYY-MM-DD); omit for the latest published rate. Non-business days fall back to the prior business day.","examples":["2026-04-10"],"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["base","quote"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The Norges Bank NOK reference rate, the date it is valid for, and the source attribution."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:norgesbank","data_sources":["norges_bank"],"_meta":{"examples":[{"description":"EUR→NOK reference rate (latest published)","input":{"base":"EUR","quote":"NOK"}}]}},{"name":"get_company_profile","title":"Company profile (Brønnøysund)","description":"Resolve a Norwegian organisasjonsnummer (9 digits) into a structured company profile from Brønnøysund Enhetsregisteret: display name, form of organisation, NACE codes with their labels, addresses, the dates of registration and dissolution, the `active` / `dissolved` status enum, the MVA-registered flag, and the role codes of persons in the public register (no names); never fødselsnummer or other national IDs. The REST route is POST /api/v1/brreg/company-profile. For deadlines and filing status, use get_company_summary; for the signaturrett / prokura role-code summary, use get_company_context instead. No sandbox mirror; it returns SANDBOX_TOOL_UNAVAILABLE under a sandbox bearer. Failure modes: COMPANY_NOT_FOUND, VALIDATION_FAILED, ORG_NUMBER_INVALID_CHECKSUM, UPSTREAM_UNAVAILABLE; a credential without `read:brreg` can't see the tool. Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/norwegian-company-register-search","description_nb":"Slå opp et organisasjonsnummer og få en selskapsprofil fra Enhetsregisteret: navn, organisasjonsform, NACE-koder, adresser, status og rollekoder, aldri personidentifikatorer. For frister og innleveringsstatus, bruk get_company_summary i stedet; for signaturrett-/prokuraoppsummeringen, bruk get_company_context i stedet. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund Enhetsregisteret ID). Unlike the get_company_* tools, this input schema does NOT run the MOD-11 control-digit check — MOD-11 is enforced by the backing route, which returns ORG_NUMBER_INVALID_CHECKSUM (HTTP 400) when a well-formed 9-digit value fails it; correct the number rather than retrying the same one.","examples":["818000006"]}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The Brønnøysund company profile: display name, organisasjonsform, NACE codes + descriptions, addresses, registration/dissolution dates, MVA flag, and person role codes from the public register (no names; never fødselsnummer or other national identifiers)."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg:enhetsregisteret"],"_meta":{"examples":[{"description":"Structured company profile for a Norwegian org number","input":{"org_number":"818000006"}}]}},{"name":"get_company_context","title":"Company registry facts","description":"Brønnøysund identity slice for a Norwegian organisation: legal name, form of organisation, NACE codes, municipality, registration_date, and the signaturrett / prokura roles (names and role codes from the public register; never fødselsnummer or other national identifiers). Identity ONLY, no evaluation of obligations; add get_company_obligations or get_company_deadlines for the regulatory layer. Failure modes: NOT_FOUND, ENTITY_REMOVED, UPSTREAM_UNAVAILABLE, VALIDATION_FAILED; a credential without `read:brreg` can't see the tool (tools/list leaves it out). For evaluated obligations, use get_company_summary instead; for NACE descriptions, use get_company_profile instead. No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Authority tier USD 0.06 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/company-snapshot","description_nb":"Hent Brønnøysund-identitetsdelen for en virksomhet: navn, organisasjonsform, NACE-koder, kommune, registreringsdato og rollene (navn og rollekoder fra det offentlige registeret, aldri fødselsnummer). Uten vurdering av forpliktelser. For vurderte forpliktelser, bruk get_company_summary i stedet; for profilen med NACE-beskrivelser, bruk get_company_profile i stedet. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Authority-nivået 0,60 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The Brønnøysund identity slice: legal name, organisasjonsform, NACE codes, municipality, registration_date, and the signaturrett/prokura roles (names and role codes from the public register; never fødselsnummer or other national identifiers)."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg"],"_meta":{"examples":[{"description":"Registry identity slice for a Norwegian AS (no obligations verdict)","input":{"org_number":"818000006"}}]}},{"name":"get_company_deadlines","title":"Company filing calendar","description":"The filing calendar for one company, horizon_months ahead. One entry per obligation and period: obligation_id (the rule_id of get_company_obligations), period_label, due_at, adjusted_for, original_due_at and filing_status. If rulebook_coverage is `covered`, an empty list means none fall due in the window; raise horizon_months up to 60. Sandbox: fixed dates far ahead, horizon_months ignored, no rulebook_coverage; real window: a production key (generic year: use get_public_deadlines). Errors: NOT_FOUND, ENTITY_REMOVED, UPSTREAM_UNAVAILABLE, VALIDATION_FAILED; a credential without `read:brreg` can't see the tool. For evaluation, use get_company_obligations. No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/norway-corporate-tax-return-deadline","description_nb":"Beregn den kommende innleveringskalenderen for et selskap, `horizon_months` (1 til 60) frem: én rad per (forpliktelse, periode) med `obligation_id` (samme rule_id som get_company_obligations), `period_label`, `due_at` i Europe/Oslo, `adjusted_for` med `original_due_at` og `filing_status`. Sandkassesvar har faste datoer langt frem i tid og ignorerer `horizon_months`; for et reelt vindu, bruk en produksjonsnøkkel; for et generelt år, bruk get_public_deadlines. Krever read:brreg. For vurdering per forpliktelse, bruk get_company_obligations i stedet. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]},"horizon_months":{"description":"Look-ahead window in months (1–60). Omitted → the endpoint's default horizon (12).","examples":[12],"type":"integer","minimum":1,"maximum":60}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The upcoming filing calendar: per obligation×period, due_at (Europe/Oslo), adjusted_for, original_due_at, period_label and filing_status, plus rulebook_coverage."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["rulebook","brreg"],"_meta":{"examples":[{"description":"Next 12 months of filing deadlines for a Norwegian AS","input":{"org_number":"818000006","horizon_months":12}}]}},{"name":"get_company_obligations","title":"Company regulatory obligations","description":"Evaluate the Apier Rulebook for a Norwegian organisation: one entry per rule with rule_id, obligation_name, evaluation_result (applicable, not_applicable or insufficient_data), a reason, the legal_reference, frequency, data_tier_required and the bokmål description, which is inherited byte for byte (never re-translate it). Sandbox fixtures have no rulebook_coverage. Failure modes: NOT_FOUND, ENTITY_REMOVED, UPSTREAM_UNAVAILABLE, VALIDATION_FAILED; a credential without `read:brreg` can't see the tool. For the calendar alone, use get_company_deadlines instead; for the entity-type set that needs no org number or key, use get_public_obligations instead. No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/norwegian-company-obligations","description_nb":"Evaluer Apiers regelbok for et selskap: én rad per regel med `rule_id`, `obligation_name`, `evaluation_result` (applicable / not_applicable / insufficient_data), `reason`, `legal_reference` (lovdata.no) og bokmålsbeskrivelsen arvet bytevis. Krever read:brreg. For kun kalenderen, bruk get_company_deadlines i stedet; for settet uten API-nøkkel, bruk get_public_obligations i stedet. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The full rule-engine evaluation: one entry per rule with rule_id, evaluation_result, reason, lovdata legal_reference and bokmål description, plus rulebook_coverage."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["rulebook","brreg"],"_meta":{"examples":[{"description":"Full obligation menu for a Norwegian AS as of now","input":{"org_number":"818000006"}}]}},{"name":"get_public_deadlines","title":"Norwegian filing calendar (keyless)","description":"Keyless; runs the production path under a sandbox bearer. The universal Norwegian filing calendar: the deadlines for every Norwegian business in the covered categories (MVA, A-melding, Skattemelding, Årsregnskap), which do not depend on any one organisation. One entry per obligation and period for a single Europe/Oslo calendar year: a per-period obligation_id (such as `mva-termin-4-2026`; the company tools use rule ids such as `MVA_FILING_BIMONTHLY` instead), period, deadline (Europe/Oslo), submission_window_closes, adjusted_from (the legal date before a shift, else null), legal_reference and applies_to_entity_types. The output is deterministic for a given rulebook_version. The only input is an optional `year` (2020–2100; defaults to the current Oslo year). Failure modes: VALIDATION_FAILED on year shape; a credential without `read:rulebook` can't see the tool. For a specific company's calendar, use get_company_deadlines instead. Docs: https://www.apier.no/docs/guides/norway-corporate-tax-return-deadline","description_nb":"Nøkkelfritt. Hent den universelle norske fristkalenderen for et gitt kalenderår (mva-terminer, A-melding, skattemelding, årsregnskap): per periode `obligation_id` (for eksempel `mva-termin-4-2026`), `deadline`, `submission_window_closes` og `adjusted_from`. Deterministisk og allerede flyttet frem forbi helger og norske helligdager. For et konkret selskaps fristkalender, bruk get_company_deadlines i stedet.","inputSchema":{"type":"object","properties":{"year":{"description":"Europe/Oslo calendar year the calendar should cover (2020–2100). Omitted → the current Oslo year at the endpoint.","examples":[2026],"type":"integer","minimum":2020,"maximum":2100}},"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The universal Norwegian filing calendar for one Europe/Oslo year, independent of any specific organisation."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:rulebook","data_sources":["rulebook"],"_meta":{"examples":[{"description":"The 2026 universal Norwegian filing calendar","input":{"year":2026}}]}},{"name":"explain_compliance_error","title":"Explain a compliance error (keyless)","description":"Keyless. Resolve a structured Apier compliance error code into a Norwegian-bokmål Explanation envelope: summary, bokmål why, ordered fix_steps, optional documentation link + legal_basis, and an optional handover block (who / where / what / why) for errors a human must resolve (e.g. AUTH_INSUFFICIENT_ROLE, AUTH_NO_DELEGATION, SCOPE_MISSING) — agent-resolvable errors ship `handover: null`. Accepts any code from the closed EXPLAINER_ERROR_CODES catalogue. Optional flat context_org_number / context_scope / context_role / context_field / context_upstream_system strings carry placeholder values interpolated into the bokmål text; missing values fall back to 'ukjent <noun>'. Failure modes: VALIDATION_FAILED on an unknown code; a credential without `read:rulebook` can't see the tool (tools/list leaves it out). The same code and context always give the same text. For a company's live obligations rather than an error explanation, use get_company_obligations instead. Docs: https://www.apier.no/docs/guides/error-handling","description_nb":"Nøkkelfritt. Gjør en feilkode fra Apier om til en forklaringspakke på bokmål: sammendrag, begrunnelse, ordnede `fix_steps`, valgfri lenke og `legal_basis`, og en overleveringsblokk for feil et menneske må løse. Aksepterer alle koder i katalogen EXPLAINER_ERROR_CODES; flate `context_*`-felter bærer plassholderverdier. For et selskaps faktiske forpliktelser, bruk get_company_obligations i stedet.","inputSchema":{"type":"object","properties":{"error_code":{"type":"string","minLength":1,"description":"An Apier error code from an error envelope. Full list: apier://tools/explain_compliance_error/guide","examples":["VALIDATION_FAILED","AUTH_NO_DELEGATION"]},"context_org_number":{"description":"Organisation the error relates to (9 digits).","type":"string","pattern":"^\\d{9}$"},"context_scope":{"description":"Scope token interpolated into the bokmål explanation.","type":"string","minLength":1,"maxLength":64},"context_role":{"description":"Role code interpolated into the explanation.","type":"string","minLength":1,"maxLength":64},"context_field":{"description":"Field name interpolated into the explanation.","type":"string","minLength":1,"maxLength":64},"context_upstream_system":{"description":"Upstream system name interpolated into the explanation.","type":"string","minLength":1,"maxLength":64}},"required":["error_code"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"`explanation`: summary, bokmål why, ordered fix_steps, optional documentation link + legal_basis, and an optional human handover block."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:rulebook","data_sources":["explainer:rulebook"],"_meta":{"examples":[{"description":"Explain a VALIDATION_FAILED error in Norwegian bokmål","input":{"error_code":"VALIDATION_FAILED"}}]}},{"name":"search_companies","title":"Search companies by name","description":"Resolve a Norwegian company NAME to its 9-digit organisasjonsnummer. Use this as your FIRST call whenever you have a company's name but NOT its org_number — every other company tool needs the number; guessing one risks the wrong company. Searches Brønnøysund's public Enhetsregisteret and returns up to ten candidates with five fields each (name, org_number, org_form, municipality, registry status). Then call get_company_summary or get_company_context with the chosen org_number. Input: { name } (2–100 chars, æ/ø/å supported). On NOT_FOUND, broaden the name and drop the legal form — never loop on the same name. Failure modes: VALIDATION_FAILED, NOT_FOUND, UPSTREAM_UNAVAILABLE; a credential without `read:brreg` can't see the tool (tools/list leaves it out). No sandbox mirror — the sandbox fixtures catalogue already lists every synthetic org. Docs: https://www.apier.no/docs/guides/norwegian-company-register-search","description_nb":"Slå opp et selskaps organisasjonsnummer ut fra NAVNET, ditt FØRSTE kall når du har navnet, men ikke nummeret. Søker i Enhetsregisteret og returnerer inntil ti kandidater med fem felter hver. Velg riktig org_number og kall så get_company_summary eller get_company_context. Ved NOT_FOUND: utvid søket og utelat selskapsformen. Krever read:brreg.","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":100,"description":"Company name to search for (2–100 characters, trimmed). Free-text; matched against Brønnøysund's registered `navn` field. Omit the legal form for a broader match (search `Nordic Widgets`, not `Nordic Widgets AS`) — a too-specific or misspelled name returns a NOT_FOUND you must broaden. Norwegian characters (æ/ø/å) are supported.","examples":["Nordic Widgets","Equinor"]}},"required":["name"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The /company/search projection: { query, count, candidates } — five fields per candidate (name, org_number, org_form, municipality, status). Pick an org_number, then call get_company_summary / get_company_context."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg"],"_meta":{"examples":[{"description":"Resolve a company name to candidate org numbers","input":{"name":"Nordic Widgets"}}]}},{"name":"get_company_verification","title":"Company verification status","description":"Fast go / no-go trust check on a Norwegian counterparty organisation. It keys ONLY off entity activity and visible signing authority. `verification_status` is `pass` (active and signing authority visible), `fail` (not active: konkurs, avvikling or oppløst) or `unknown` (not determinable, or active with no signing authority visible; never a claimed absence). `signing_authority_summary` lists roles, not the joint rule; for that use get_company_authority. Fails with NOT_FOUND, ENTITY_REMOVED, UPSTREAM_UNAVAILABLE or VALIDATION_FAILED; a credential without `read:brreg` can't see the tool (tools/list leaves it out). For identity, call get_company_context instead. No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/norwegian-company-register-search","description_nb":"Rask tillitssjekk (pass / fail / unknown) på et selskap før du stoler på det som motpart: `pass` = aktiv med synlig signaturrett, prokura eller innehaver; `fail` = ikke aktiv; `unknown` = ubestemmelig eller uten synlig signaturforhold. `signing_authority_summary` lister rollene, ikke regelen for felles signering; for den, bruk get_company_authority i stedet. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]},"client_reference":{"description":"Optional: your own case ID or onboarding ID, 1 to 64 of A-Z a-z 0-9 . _ : / - with no run of 11 or more digits (use an opaque ID, never a name or national identity number). Echoed in metadata.client_reference, which is not signed; Apier stores it nowhere.","type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9._:/-]+$"},"mode":{"description":"`verdict` (default) returns the pass / fail / unknown status. `checks` returns the check bundle from GET /api/v1/company/{org}/checks instead: every check (registration, bankruptcy and liquidation, VAT, roles, coded signing authority, annual accounts, requirements evidence) with its own check_status, source, retrieval time, freshness and licence, and no verdict. Same price.","type":"string","enum":["verdict","checks"]}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The trust-check result: `verification_status` (pass / fail / unknown; `warn` reserved), the seven signals, Norwegian `summary`, `signing_authority_summary`, `last_accounts_year`, and the registry identity echo."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg"],"_meta":{"examples":[{"description":"One-shot go/no-go verification status for a Norwegian AS","input":{"org_number":"818000006"}}]}},{"name":"get_company_authority","title":"Company signing-authority resolver","description":"The register's coded signing rules for this company, uninterpreted. Call get_company_verification first; this ignores bankruptcy and dissolution. The class (sole, joint, by_role, prokura_only, no_authority, unknown) comes from Fullmakttjenesten and the role holders; `coded_authority` (absent in sandbox) adds coded clauses and stamps. Statutory authority only; never a yes or no on signing. Failure modes: NOT_FOUND, ENTITY_REMOVED, UPSTREAM_UNAVAILABLE, VALIDATION_FAILED; a credential without `read:brreg` can't see the tool. Altinn rights are not read (withdrawn); for roles use get_company_context, for status use get_company_verification. No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Authority tier USD 0.06 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/signature-rights-norwegian-company","description_nb":"Registerets kodede signaturregler for selskapet, uten tolkning. Kall get_company_verification først: signaturretten gjenspeiler ikke konkurs eller oppløsning. Deterministisk signeringsklassifisering fra Fullmakttjenesten og rolleinnehaverne; `coded_authority` mangler i sandkassesvar. Svaret er aldri et ja eller nei om signering, og ingen lovhjemmel påstås. Apier leser ingen Altinn-rettigheter (trukket tilbake 2026-10-21); for hele rollelisten, bruk get_company_context; for en tillitssjekk, bruk get_company_verification. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Authority-nivået 0,60 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The /authority answer: a deterministic `classification`, `combinations[]`, the `signaturrett_holders` / `prokura_holders` lists, `kombinasjon_available`, and the stamp-honest `coded_authority` model over the mirrored clauses. No legal citation is asserted."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg","fullmakttjenesten"],"_meta":{"examples":[{"description":"The register's coded signing rules for a Norwegian company, uninterpreted","input":{"org_number":"818000006"}}]}},{"name":"get_company_accounts","title":"Company annual accounts snapshot","description":"A Norwegian company's annual accounts (årsregnskap) from the OPEN Regnskapsregisteret tier: `has_filed_annual_accounts` (null = unknown, never a made-up false), `last_accounts_year` and its `key_figures` (with currency). Latest year only; `key_figures_history` lists the years Apier's archive has kept. `accounts_deadline_observation` says if accounts were observed for the newest year past its usual deadline, or a later one. A register 404 or 410 gives 200 with `null`. Errors: VALIDATION_FAILED, UPSTREAM_UNAVAILABLE (503); a credential without `read:brreg` can't see the tool. For status, use get_company_verification; for identity, use get_company_context. No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/norwegian-company-annual-accounts","description_nb":"Øyeblikksbilde av et selskaps årsregnskap fra det ÅPNE Regnskapsregisteret: `has_filed_annual_accounts` (tri-state; `null` = ukjent), `last_accounts_year` og årets minimale `key_figures` (valuta alltid oppgitt). Registeret gir bare det siste året; `key_figures_history` lister årene arkivet til Apier har tatt vare på, med status og dekningsvindu. `accounts_deadline_observation` oppgir om Apier har observert et regnskap for det nyeste året der den vanlige fristen er passert, eller for et senere år. Ukjent organisasjonsnummer gir 200 med `null`, ikke 404. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The /accounts read: `has_filed_annual_accounts` (tri-state), `last_accounts_year`, and that year's minimal `key_figures` (currency always surfaced, presentation basis, totals), live from the register, which serves the latest year only. `key_figures_history` lists the accounting years Apier's own archive has kept, with a status and a coverage window. `accounts_deadline_observation` states what Apier observed about the newest accounting year whose usual filing deadline has passed (an observation with a status, not a statement about whether accounts were filed)."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg","rulebook"],"_meta":{"examples":[{"description":"Current annual-accounts snapshot for a Norwegian company","input":{"org_number":"818000006"}}]}},{"name":"get_company_evidence_pack","title":"Signed evidence pack of what Apier observed about a company","description":"One signed JSON record of what Apier observed about a Norwegian company today: the check bundle, archived changes in the window (`changes_from`, at most 366 days back), your receipts, each archived record's daily anchor proof when available (else pending or proof_unavailable), coverage window and source licences. A record of observation, not a verdict, no admissibility claim. The user can save the `result` object as a .json file and open it at https://www.apier.no/evidence-pack/viewer to verify it. Errors: VALIDATION_FAILED, NOT_FOUND, ENTITY_REMOVED, CERTIFICATE_SIGNING_UNAVAILABLE; a credential without `read:brreg` can't see the tool, and calls get unknown tool (-32602). No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Proof tier USD 0.30 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/evidence-pack","description_nb":"Én signert JSON-oversikt over hva Apier har observert om et norsk selskap i dag: sjekkpakken, alle arkiverte endringer i perioden (`changes_from`, høyst 366 dager tilbake), dine egne kvitteringer for selskapet, hver arkiverte oppføring med ankerbeviset for dagen, dekningsperioden og lisensen for hver kilde. Den er en oversikt over observasjoner, aldri en konklusjon, og hevder ikke at den kan brukes som bevis i retten. Signaturen kan kontrolleres uten nett mot /.well-known/jwks.json for produksjonspakker eller /.well-known/sandbox-jwks.json for sandkassepakker; brukeren kan lagre objektet `result` som en .json-fil og åpne den på https://www.apier.no/evidence-pack/viewer uten nøkkel. Kan pakken ikke signeres, svarer verktøyet CERTIFICATE_SIGNING_UNAVAILABLE. Bruk get_company_verification for en status og get_company_context for identitet. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Proof-nivået 3,00 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]},"changes_from":{"description":"Start of the change window as a calendar date (YYYY-MM-DD). Default: today minus 366 days. Never after today and at most 366 days before it; a date before the archive start is answered as asked, with the coverage window saying what is covered.","examples":["2026-01-01"],"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"client_reference":{"description":"Optional: your own case ID or onboarding ID, 1 to 64 of A-Z a-z 0-9 . _ : / - with no run of 11 or more digits (use an opaque ID, never a name or national identity number). Signed inside the pack with a fixed note; Apier stores it nowhere.","type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9._:/-]+$"}},"required":["org_number"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The /evidence-pack response: the signed `pack` and its `public_log` entry. Save this `result` object (not the whole MCP envelope) as a .json file to keep or hand on; it verifies offline and in the keyless viewer."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg","internal-supabase"],"_meta":{"examples":[{"description":"Signed evidence pack for a Norwegian company over the default window","input":{"org_number":"818000006"}}]}},{"name":"get_company_history","title":"Company state on a date, or its observed changes","description":"Company history from Apier's archive of Brønnøysund observations. Mode `as_of` with `date` returns the state Apier had observed at the end of that day: every tracked field with its status, source and licence. Mode `history` with `from` and `to` (at most 366 days) returns up to 1,000 changes observed in the window, or with `view` `diff` one field-by-field comparison. The archive starts 2026-07-30 and nothing earlier is backfilled; `coverage` says what is covered. A record of what the register showed, not what was in force, never a verdict. Errors: VALIDATION_FAILED, UPSTREAM_UNAVAILABLE; a credential without `read:brreg` can't see the tool, and calls get unknown tool (-32602). No API key? Use Bearer apier_sandbox_test_<suffix> (a fresh suffix) to get fixtures; valid orgs are the 818, 99966 and 99977 series and 999000002 (see GET /api/v1/sandbox/fixtures). Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/guides/company-history","description_nb":"Selskapshistorikk fra arkivet til Apier over observasjoner fra Brønnøysund. Modus `as_of` med `date` gir tilstanden Apier hadde observert ved slutten av dagen: hvert sporet felt med status, kilde og lisens. Modus `history` med `from` og `to` (høyst 366 dager) gir høyst 1000 endringer observert i perioden, eller med `view` `diff` én sammenligning felt for felt. Arkivet starter 2026-07-30, og ingenting tidligere fylles inn i ettertid; `coverage` viser hva som er dekket. Svaret viser hva registeret viste, ikke hva som gjaldt, og er aldri en konklusjon. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"org_number":{"type":"string","pattern":"^\\d{9}$","description":"9-digit Norwegian organisasjonsnummer (Brønnøysund ID); MOD-11-checked up-front — a failing value is rejected as VALIDATION_FAILED, so correct the number rather than retrying it.","examples":["818000006"]},"mode":{"type":"string","enum":["as_of","history"],"description":"`as_of` returns the state Apier had observed at the end of `date`; `history` returns up to 1,000 changes Apier observed between `from` and `to` (`truncated` marks more) (or, with `view` `diff`, one field-by-field comparison of the two ends)."},"date":{"description":"Only with mode `as_of`, and required there: a calendar date (YYYY-MM-DD), not after today in Europe/Oslo. A date before the archive start is answered with the facts `not_checked`.","examples":["2026-10-01"],"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"from":{"description":"Only with mode `history`, and required there: start of the window (YYYY-MM-DD), not after `to`.","examples":["2026-10-01"],"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"description":"Only with mode `history`, and required there: end of the window (YYYY-MM-DD), not after today in Europe/Oslo and at most 366 days after `from`.","examples":["2026-10-01"],"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"view":{"description":"Only with mode `history`: `events` (default) lists the changes; `diff` compares the state at the end of `from` with the state at the end of `to`.","type":"string","enum":["events","diff"]},"client_reference":{"description":"Optional: your own case ID or onboarding ID, 1 to 64 of A-Z a-z 0-9 . _ : / - with no run of 11 or more digits (use an opaque ID, never a name or national identity number). Echoed in metadata.client_reference, which is not signed; Apier stores it nowhere.","type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9._:/-]+$"}},"required":["org_number","mode"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The /as-of or /history response: observed facts with their source, licence and coverage window; never a verdict."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg","internal-supabase"],"_meta":{"examples":[{"description":"The state Apier had observed for a Norwegian company at the end of a date","input":{"org_number":"818000006","mode":"as_of","date":"2026-10-01"}},{"description":"The changes Apier observed for a company in a window","input":{"org_number":"818000006","mode":"history","from":"2026-08-01","to":"2026-10-31"}}]}},{"name":"list_changes","title":"Query the cross-source change archive","description":"Read Apier's cross-source change archive — created / updated / deleted events detected across the upstreams Apier polls (Brønnøysund, Norges Bank, NAV, Skatteetaten Tier-2; the Digdir and Altinn schema pollers are retired, so `digdir` and `altinn` are valid but empty filters). Filter by { source, entity_type, entity_id, change_type } and a { from }–{ to } detected_at range. Queries WITHOUT entity_id withhold personal-field rows by design (`personal_fields_withheld: true`); the org-scoped form returns everything. Keyset-paginated newest-first: pass { limit } (1–500, default 50) and carry `next_cursor` back verbatim (HMAC-signed; an edited one is CURSOR_INVALID: start over without a cursor). Failure modes: VALIDATION_FAILED, CURSOR_INVALID; a credential without `read:changes` can't see the tool (tools/list leaves it out). No sandbox mirror; returns SANDBOX_TOOL_UNAVAILABLE under a sandbox bearer. Docs: https://www.apier.no/docs/guides/webhooks","description_nb":"Les Apiers endringsarkiv: hendelser av typen created, updated og deleted fra kildene Apier poller (polleren for Digdir er avviklet, så `digdir` er et gyldig, men tomt filter). Filtrer på source, entity_type, entity_id, change_type, from og to; markørbasert paginering nyeste først (send `next_cursor` tilbake ordrett). Uten entity_id holdes personfeltrader tilbake med hensikt (`personal_fields_withheld`). Krever read:changes. Ingen sandkassespeil; under en sandkassenøkkel returneres SANDBOX_TOOL_UNAVAILABLE.","inputSchema":{"type":"object","properties":{"source":{"description":"Filter to one upstream source (e.g. brreg / altinn / digdir / norges_bank). Omit for all sources.","type":"string","enum":["brreg","altinn","digdir","norges_bank","nav","skatteetaten","lovdata"]},"entity_type":{"description":"Filter to one entity type (e.g. annual_accounts, company).","type":"string","minLength":1,"maxLength":50},"entity_id":{"description":"Filter to one entity's change stream (e.g. a 9-digit org number).","examples":["818000006"],"type":"string","minLength":1,"maxLength":100},"change_type":{"description":"Filter to created / updated / deleted events.","type":"string","enum":["created","updated","deleted"]},"from":{"description":"Lower bound on detected_at (ISO 8601 with timezone offset).","examples":["2026-01-01T00:00:00Z"],"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"to":{"description":"Upper bound on detected_at; must be ≥ from.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"limit":{"description":"Page size 1–500 (route default 50).","examples":[50],"type":"integer","minimum":1,"maximum":500},"cursor":{"description":"Opaque signed cursor from a previous `next_cursor` — pass back verbatim.","type":"string","minLength":1}},"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The change page: `data[]` rows (source, entity_type, entity_id, change_type, detected_at, source_snapshot_id, observation_kind), a `pagination` block, and `personal_fields_withheld`. Ordered newest-first."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:changes","data_sources":["internal-supabase"],"_meta":{"examples":[{"description":"Recent Brønnøysund changes for one org since a date","input":{"source":"brreg","entity_id":"818000006","from":"2026-01-01T00:00:00Z"}}]}},{"name":"get_altinn_migration_guidance","title":"Altinn 2 → Altinn 3 migration guidance","description":"Discover the Altinn 3 equivalent of an Altinn 2 service or role code. The 19 June 2026 Altinn 2 deprecation deadline has passed, so this serves remediation for integrations still on Altinn 2. Pass { altinn2_code } (alphanumeric, 1–10 chars, e.g. A0208) for one mapping, or omit it for the whole map. Every response carries the deprecation status computed in Europe/Oslo (deprecation_deadline, days_remaining, deadline_passed). Each entry ships a `verified` flag: gate any production migration on `verified === true`; unverified entries are hints. Deterministic static map (Digdir-sourced); no government system is contacted. Zero-auth REST twin: GET /api/v1/tools/altinn-migration. Failure modes: NOT_FOUND for a code not in the map, VALIDATION_FAILED (INVALID_CODE). Keyless: callable with no API key at all (per-IP limited); a credential without `read:digdir` can't see the tool. No sandbox mirror; a sandbox bearer runs this keyless path. Docs: https://www.apier.no/docs/guides/altinn-system-users","description_nb":"Finn det tilsvarende i Altinn 3 for en kode fra Altinn 2 (utfasingsfristen 19. juni 2026 er passert, så dette er nå utbedring). Send { altinn2_code } for én tilordning, eller utelat for hele listen. Baser produksjonsmigreringer på `verified === true`. Deterministisk statisk tilordning (Digdir som kilde). Nøkkelfri tvilling i REST: GET /api/v1/tools/altinn-migration. Nøkkelfri: kan kalles uten nøkkel (begrenset per IP); med nøkkel kreves read:digdir. Ingen sandkassespeil; under en sandkassenøkkel kjøres den nøkkelfrie veien.","inputSchema":{"type":"object","properties":{"altinn2_code":{"description":"An Altinn 2 service or role code to resolve (alphanumeric, 1–10 chars, e.g. A0208). Omit to get the entire migration map.","examples":["A0208"],"type":"string","minLength":1,"maxLength":10,"pattern":"^[A-Za-z0-9]+$"}},"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The migration lookup: `deprecation_deadline` (Oslo), `days_remaining`, `deadline_passed`, and either one `entry` or the full `mappings[]`. Gate production migration actions on `verified === true`."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:digdir","data_sources":["digdir","internal-static"],"_meta":{"examples":[{"description":"Resolve one Altinn 2 code to its Altinn 3 equivalent","input":{"altinn2_code":"A0208"}}]}},{"name":"get_pricing","title":"Apier price list (keyless)","description":"Call this BEFORE metered work to check per-call cost and whether billing enforcement is live. Keyless (runs the production path under a sandbox bearer): executes WITHOUT an API key, so an agent can price a workflow before it holds any credential. Returns the machine-readable price list: every credit-metered REST endpoint with its MCP tool name and cost in whole øre (always an integer), the enforcement.live flag (while false nothing is debited and a 402 is impossible), the 402 INSUFFICIENT_CREDITS recovery-contract field list, the top-up bounds with top_up_url, and the how_to_pay_guide URL. Prices derive from the SAME configuration the 402 meter debits, so this surface cannot drift from enforcement. Input: none — call with {}. Failure modes: per-IP rate limiting and transient errors only. For the calling key's own balance, use get_credit_balance (Bearer key required) instead. Docs: https://www.apier.no/docs/guides/billing","description_nb":"Kall dette FØR målt arbeid for å sjekke prisen per kall og om kredittkontrollen er aktiv. Nøkkelfritt. Returnerer prislisten: hvert målte endepunkt med MCP-verktøynavn og kostnad i hele øre, enforcement.live, 402-gjenopprettingskontrakten og påfyllingsgrensene. Prisene er avledet fra samme konfigurasjon som 402-måleren. Inndata: ingen ({}). For nøkkelens egen saldo, bruk get_credit_balance i stedet.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The machine-readable price list: per-endpoint/tool costs in whole øre, enforcement.live, the 402 recovery-contract shape, top-up bounds, and the how_to_pay_guide URL."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:pricing","data_sources":["apier:pricing"],"_meta":{"examples":[{"description":"Fetch the current price list (no input, no API key needed)","input":{}}]}},{"name":"get_credit_balance","title":"Own prepaid credit balance","description":"Call this BEFORE a batch of metered calls to confirm the calling key's prepaid credit balance covers it, and AFTER a 402 INSUFFICIENT_CREDITS + human top-up to verify the funds landed. The balance is ALWAYS the authenticated key's own — no parameters, so reading another key's balance is structurally impossible. Returns api_key_id, balance_ore (whole øre, always an integer), currency (NOK), updated_at (null = never topped up = balance 0), and top_up_url (hand it to a human). Affordability: cost_ore from get_pricing times planned calls versus balance_ore. Free, zero side effects. Failure modes: 401 without a key (NOT keyless: use get_pricing for keyless price discovery); a credential without `read:credits` (or `read:*`) can't see the tool; CREDIT_BALANCE_UNAVAILABLE (503, retryable; a money read is never fabricated). Under a sandbox bearer it returns SANDBOX_TOOL_UNAVAILABLE. A sub-key is refused (403): the owner's key reads the wallet. Docs: https://www.apier.no/docs/guides/agent-payments","description_nb":"Kall dette FØR målte kall for å bekrefte at nøkkelens forhåndsbetalte saldo dekker dem, og ETTER en 402 + påfylling. Saldoen er ALLTID den autentiserte nøkkelens egen (ingen parametre). Returnerer api_key_id, balance_ore (hele øre), currency, updated_at og top_up_url (gi den til et menneske). Gratis og uten bivirkninger. IKKE nøkkelfritt, så bruk get_pricing for nøkkelfri prisoppdagelse. Krever read:credits. En undernøkkel avvises (403): eierens nøkkel leser saldoen.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The authenticated key's own prepaid balance: api_key_id, balance_ore, currency, updated_at, top_up_url."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:credits","data_sources":["internal-supabase"],"_meta":{"examples":[{"description":"Check the calling key's remaining prepaid balance (no input)","input":{}}]}},{"name":"redeem_issuance_token","title":"Redeem an owner-issued key-issuance token (keyless)","description":"Convert an owner-issued key-issuance token into your own API key — the headless onboarding step for an agent that holds no credential yet. Keyless: the one-time token IS the credential. Minting and revocation are dashboard-only, so an agent can never self-issue authority. Redemption is strictly SINGLE-USE and atomic: on success (201) the token is consumed and the result carries {id, name, scopes, created_at, plaintext_key} — returned EXACTLY ONCE; store it immediately. Failure modes: an expired / used / revoked / unknown token yields ONE uniform ISSUANCE_TOKEN_INVALID failure (ask the owner for a fresh token, never retry); MAX_KEYS_REACHED (409) means 3 active keys — the token was NOT consumed, retry with the SAME token after the owner revokes a key. After onboarding, use get_pricing to price metered work and get_credit_balance (with your new key) for the balance. No sandbox mirror; returns SANDBOX_TOOL_UNAVAILABLE under a sandbox bearer. Docs: https://www.apier.no/docs/authentication","description_nb":"Veksle inn et eierutstedt nøkkelutstedelsestoken i din egen API-nøkkel, det hodeløse oppstartssteget. Nøkkelfritt: tokenet ER legitimasjonen; utstedelse skjer kun i dashbordet. Strengt ENGANGS: ved 201 returneres plaintext_key ÉN gang, så lagre den umiddelbart. Ugyldig token gir én uniform feil, ISSUANCE_TOKEN_INVALID; MAX_KEYS_REACHED (409) betyr 3 aktive nøkler (tokenet ble IKKE forbrukt). Etterpå: bruk get_pricing og get_credit_balance. Ingen sandkassespeil; under en sandkassenøkkel returneres SANDBOX_TOOL_UNAVAILABLE.","inputSchema":{"type":"object","properties":{"token":{"type":"string","minLength":1,"maxLength":256,"description":"The one-time key-issuance token the account owner minted in the Apier dashboard (Agent issuance tokens) and handed to you out-of-band. Single-use: it is consumed atomically on success. Never logged by Apier.","examples":["apr_issue_<token_from_the_account_owner>"]}},"required":["token"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The freshly issued API key: id, fixed name, read:* scopes, creation time, and the one-time plaintext_key."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:onboarding","data_sources":["internal-supabase"],"_meta":{"examples":[{"description":"Redeem the owner-minted one-time token for your API key","input":{"token":"apr_issue_<token_from_the_account_owner>"}}]}},{"name":"search","title":"Search companies by name (connector search)","description":"search = search companies by name. The search tool that OpenAI's connector specification for ChatGPT names, with the same data as search_companies: it searches Brønnøysund's public Enhetsregisteret for a Norwegian company name and returns up to ten candidates. The result carries `results`, one { id, title, url } per candidate, where id is the 9-digit organisasjonsnummer, title the registered name and url the register record; pass an id to fetch for the company's verification facts. The Apier envelope (result, justification, metadata) is kept beside it, with name, org_form, municipality and status per candidate. Input: { query } (2 to 100 characters). On NOT_FOUND, shorten the name and leave out the legal form. Failure modes: VALIDATION_FAILED, NOT_FOUND, UPSTREAM_UNAVAILABLE; a credential without `read:brreg` cannot see the tool. Name search is not charged. Docs: https://www.apier.no/docs/guides/norwegian-company-register-search","description_nb":"search betyr søk etter selskap på navn. Verktøyet som spesifikasjonen fra OpenAI for ChatGPT-koblinger krever, med samme data som search_companies: inntil ti kandidater fra Enhetsregisteret, med `results` som { id, title, url } per kandidat, der id er organisasjonsnummeret du gir til fetch. Krever read:brreg. Navnesøk koster ingenting.","inputSchema":{"type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":100,"description":"A Norwegian company name to search for (2 to 100 characters, trimmed), matched against the registered name in Enhetsregisteret. Leave out the legal form for a broader match.","examples":["Nordic Widgets","Equinor"]}},"required":["query"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The /company/search projection { query, count, candidates }; the tool result also carries the connector key `results` ([{ id, title, url }], id = org number for fetch)."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg"],"_meta":{"examples":[{"description":"Find candidate companies for a name, as a ChatGPT connector search","input":{"query":"Nordic Widgets"}}]}},{"name":"fetch","title":"Fetch a company's register checks (connector fetch)","description":"fetch = get company checks by id. The fetch tool that OpenAI's connector specification for ChatGPT names: pass the id of a search result (a 9-digit organisasjonsnummer) and get the company's register check bundle, one entry per check (registration status, bankruptcy and liquidation, VAT registration, roles, the coded signing rules, annual accounts and more), each with its own status: verified, missing, stale, unavailable, not_checked or review. There is no overall verdict. The result carries id, title, text (the bundle as JSON) and url (the register record), and keeps the Apier envelope (result, justification, metadata). Failure modes: VALIDATION_FAILED, NOT_FOUND, ENTITY_REMOVED, UPSTREAM_UNAVAILABLE; a credential without `read:brreg` cannot see the tool. Cost: 50 øre (NOK 0.50) per call; Verify tier USD 0.01 from 2026-12-07 (get_pricing, /api/v1/pricing). Docs: https://www.apier.no/docs/mcp","description_nb":"fetch betyr hent selskapets kontroller etter id. Verktøyet som spesifikasjonen fra OpenAI for ChatGPT-koblinger krever: gi id fra et søkeresultat (organisasjonsnummeret) og få kontrollene fra registrene, hver med egen status, uten en samlet konklusjon. Krever read:brreg. Kostnad: 50 øre (NOK 0.50) per kall, forhåndsbetalt, Verify-nivået 0,10 kr fra 2026-12-07 (priser: verktøyet get_pricing eller GET /api/v1/pricing).","inputSchema":{"type":"object","properties":{"id":{"type":"string","pattern":"^\\d{9}$","description":"The id of a search result: a 9-digit Norwegian organisasjonsnummer, MOD-11-checked (a failing value is rejected as VALIDATION_FAILED).","examples":["818000006"]}},"required":["id"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The register check bundle; the tool result also carries the connector keys id, title, text (this bundle as JSON) and url."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:brreg","data_sources":["brreg"],"_meta":{"examples":[{"description":"Fetch the register checks for a search result id, as a ChatGPT connector fetch","input":{"id":"818000006"}}]}},{"name":"check_receipt","title":"Check an Apier receipt (keyless)","description":"Check an Apier receipt and get each finding separately. Free and keyless: no API key, no credits. Pass { receipt } (the compact JWS in the certificate's `signature` field) and, for Apier's detached form, { payload } (the certificate without `signature`). The result has seven findings under `findings`: signature, signing_key (current, retired, revoked, unknown or sandbox), environment, log_inclusion, anchor, format_version and recorded_result. Each stands alone and there is no overall verdict. A sandbox receipt is checked against the public sandbox key, reads environment sandbox and never `verified`. `notes` says what an intact receipt does not show: internal authority, board resolutions and legal effect. No register lookup is made. Failure mode: VALIDATION_FAILED for a receipt that is not a compact JWS, or a detached one sent without its payload. REST twin: POST /api/v1/public/receipts/verify. No sandbox mirror; a sandbox bearer runs this keyless path. Docs: https://www.apier.no/docs/guides/check-receipt","description_nb":"Sjekk en Apier-kvittering og få hvert funn for seg. Gratis og nøkkelfritt: ingen API-nøkkel, ingen kreditter. Send { receipt } (den kompakte JWS-en i sertifikatets felt signature) og, for Apiers løsrevne form, { payload } (sertifikatet uten signature). Svaret har sju funn under findings: signatur, signeringsnøkkel, miljø, logg, forankring, formatversjon og registrert resultat. Hvert funn står for seg, og det gis ingen samlet konklusjon. En sandkassekvittering sjekkes mot den offentlige sandkassenøkkelen og merkes sandbox. Verktøyet gjør ingen registeroppslag. Nøkkelfri tvilling i REST: POST /api/v1/public/receipts/verify. Ingen sandkassespeil; under en sandkassenøkkel kjøres den nøkkelfrie veien.","inputSchema":{"type":"object","properties":{"receipt":{"type":"string","minLength":1,"maxLength":16384,"pattern":"^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]+$","description":"The compact JWS: the `signature` field of the certificate, evidence pack or notary record, unchanged.","examples":["eyJhbGciOiJFZERTQSJ9..c2lnbmF0dXJl"]},"payload":{"description":"For a detached JWS (Apier's form, with an empty middle segment): the signed object WITHOUT its `signature` field. Leave out for an attached JWS.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["receipt"],"additionalProperties":false},"outputSchema":{"type":"object","description":"Apier envelope; failures set result null + metadata.error_code / retryable / remediation. Contract: https://www.apier.no/docs/mcp","properties":{"result":{"type":["object","null"],"description":"The receipt check: the signature answer, the receipt log lookup and seven separate findings."},"justification":{},"metadata":{},"_meta":{}},"required":["result","justification","metadata"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"icons":[{"src":"https://www.apier.no/logo.svg","mimeType":"image/svg+xml","sizes":["any"]}],"required_scope":"read:receipts","data_sources":["apier:signing-keys","apier:receipt-log"],"_meta":{"examples":[{"description":"Check a detached receipt: the certificate's signature and the certificate without it","input":{"receipt":"eyJhbGciOiJFZERTQSJ9..c2lnbmF0dXJl","payload":{"issuer":"https://www.apier.no","issued_at":"2026-11-02T19:30:00+01:00"}}}]}}],"capabilities_url":"/api/v1/capabilities","openapi_url":"/openapi.json"}