Hulp
/
nlfren
Aanmelden
StartAan de slagDocumentenBankFacturenBtwVoor accountantsBeveiligingOntwikkelaars

Ontwikkelaars

Overzicht voor ontwikkelaarsAuthenticatieDe am-CLIEen agent koppelen via MCPFouten en limieten

Activity

Export an entity's activityAn entity's activityA firm's activityAn organisation's activity

Artifacts

Finalize an uploadRead an artifactList artifactsPresign an uploadRead an artifact againMake a file's view again

Ask

Ask AmanucciDelete an Ask threadAsk threadsAsk thread

Assignments

Assign or unassign a firm personWho works this client

Bank

Allocate a park to an itemConfirm a matchThe bank rows' figuresBank statementsBank transactionsOne bank transactionReject a match

Bank accounts

Register a bank accountList bank accounts

Cases

Accept Amanucci's proposalAnswer a questionAnswer a grant askRecord a firm ruleRecord a precedentAsk the clientConfirm a caseCorrect a caseCorrect a document's kindCorrect an eventDeduct a receipt's VAT on evidenceDismiss a caseKeep one of two documentsCasesClient requestsCorrectionsA firm's rulesA client's notesPrecedentsMerge two parties through a caseOne caseRemind the clientAsk for a grantRe-run a case under reviewWrite a note

Controls

Control runsOne control run

Decisions

Decision runsOne decision run

Documents

Cancel a draftCompose a documentSet up a recurring planAdd an itemDownload a payment fileEnd a recurring planFinalize a documentOne documentA blank draft's templateThe head figures of a document listRead what a line may be composed withA supplier invoice's payment QRRead a recurring planDownload a renditionRead an itemKeep one of an invoice's filesPick the invoice a credit note correctsThe document listList recurring plansList itemsPause a recurring planPreview a document's sendDownload a document's preview PDFPreview a payment fileCorrect a numbered document's email addressRecord a quote's outcomeResume a recurring planRevise a draftSend a documentSupersede a finalized documentChange a recurring planChange an item

Events

The events' countsEventsAn event's related bookingsOne event

Filings

Generate a filingRead a filingDownload a filing's payloadThe filings' figuresFiling formsList filingsRecord that a planned external filing was madeRead a grid's linesRecord an external filingRecord a filing's proofReplace a filingSign a filing's submission

Grants

Grant or revoke a capabilityEngage a firmRead my firm's switchesWhich doors are openTake your books elsewhere

Intake

Add a mail senderBlock a held mailGet the books' mail addressGet an intake batchList the books' mailList the books' mail sendersList intake batchesRelease a held mailRemove a mail senderSet the books' mail address

Law

Release a pack lock

Ledger

Close a fiscal yearThe journal's countsThe fixed-asset registerThe journalLock a periodLock a period over argued red checksMark provisional entries reviewedPost an entryPost the opening balanceWithhold on a payment for worksBalancesOne entryReopen a period

Matching

Match groupsAgingOne match group

Migrations

Abandon a switch-in migrationA switch-in migrationA switched-in client's documentsA firm's switch-in migrationsResume a switch-in's stopped replaySign a switch-in migrationStage a switched-in client's documentsStage a switch-in dropSubmit a switched-in client's documentsSubmit a switch-in dropSet a switch-in's last filed period

Overview

The digestThe Overview

Parties

Register a partyRead a partyList partiesPropose a merge of two contactsSet a party's national numberEdit a party

People

Walk through the doorAppend a firm seat versionAppend an organisation seat versionOpen the firm's doorOpen the client's doorSave a presetDelete a presetThe one paint callWho has been invited to this firmWho works at this firmA firm's notesWho has been invited to this organisationWho is in this organisationA list's presetsRead an invite before accepting itOffboard a firm seatShut a pending doorSend feedbackChange a presetSet your profileWrite a firm note

Queue

Queue health

Reports

An entity's annual accountsA firm's portfolioAn entity's statements

Settings

Remap a semantic accountConfirm the activity profileElect the entity's configSet the entity's invoicingElect the entity's policyDecide what owners may sign, by defaultRecord the import licenceDecide what this organisation's owners may signElect the entity's VAT deduction method for a yearRegister a vehicleSet a vehicle's VAT use for a yearAdd a shelfOpen a set of booksCreate an organisationCut a periodThe activity profileThe KBO's proposed activity profileThe entity's configThe entity's invoicing settingsThe entity's policyWhat owners may sign, by defaultThe import licenceWhat owners of this organisation may signThe entity's VAT deduction method for a yearA vehicle of the registerA vehicle's VAT use for a yearThe semantic-to-shelf mapThe chartWhich books are in this organisationThe calendarLook up a contractor's debtsOne set of booksRecord a contractor's debt checkSet the entity's IBANSet the entity's identitySet the entity's VAT number

Step up

Ask for a codeProve you are here
Hulp·Ontwikkelaars

One decision run

One decision run with every pin, the working paper (which rules fired, which parameter rows they read, which sources back each number), the derived facts by name, the refusal or the check sheet with its verdict, and the entry it landed on. A run under ANOTHER entity's books answers the same 404 as one that does not exist.

VorigeDecision runsVolgendeCancel a draft
GET
/v1/entities/{entityId}/decision-runs/{runId}

One decision run with every pin, the working paper (which rules fired, which parameter rows they read, which sources back each number), the derived facts by name, the refusal or the check sheet with its verdict, and the entry it landed on. A run under ANOTHER entity's books answers the same 404 as one that does not exist.

Authorization

headerx-api-key<token>

A per-user API key. x-api-key takes precedence over every session cookie when both are sent. Omit this header to use a session, including for signed-act presence.

Path Parameters

entityId*string
Formatuuid
runId*string
Formatuuid

Response Body

The run, its working paper and its facts.

application/json
  1. response
  1. response
  2. …
createdAt*string
Formatdate-time
engineVersion*string|null
entryId*|

The entry this run's proposal landed on, joined by dedup_key: a second run on one input lands on the FIRST run's entry. null for a refused run.

Formatuuid
eventVersionId*|
Formatuuid
id*string
Formatuuid
matchGroupId*|
Formatuuid
outcome*|

The run's outcome — auto posted in the run's transaction; provisional posted too, flagged for a person to review before the period locks (the working paper's flags say why); review left a posted=0 entry beside its case; refused opened a case and proposed nothing; null on the origination stand-in row a finalized sale carries.

Value in"auto""provisional""review""refused"null
packLockHash*|

Which EDITION of the law ran — the immutable pack lock.

proposalHash*string|null
verdict*|

The stage-10 sheet's verdict (auto every check green, provisional red only on checks that flag, review a blocking red); the outcome is this lifted by the run's review flags. null when the run refused before a sheet existed, and on the stand-in row.

Value in"auto""provisional""review"null
accountMappingVersionIds*array<>
authoritySources?unknown
automationPolicyResult?unknown

Why it posted with no human, or why it did not: the verdict, the impact ladder's classes, the policy and the override, the UNSETTLED rows on the path.

checkResults?unknown

The nine stage-10 checks, { name, ok, detail } each.

dedupKey*string|null
derivedFacts*array<>

One row per intermediate conclusion — what journal_line.derivation_ids addresses.

entityConfigVersionId*|
Formatuuid
entityPolicyVersionId*|
Formatuuid
entry*|null
impact*array<unknown>

The impact ladder's classes, highest first — which uncertain input reached which line of the entry; [] on a refusal.

inputFactSnapshotHash*string|null
journalTemplateVersion*string|null
lines*array<>

The proposed lines: the lines of the entry the proposal landed on (by dedup_key), posted or not; [] for a refusal. Amounts are decimal strings.

matchedRuleVersions?unknown
note*|

Why the run did what it did, in one sentence, rendered from a template over its verdict, correction and refusal in the viewer's language (your profile's locale, else Accept-Language: nl | fr | en, default en) — never stored, never model prose. null for a run with no outcome.

packs*array<>

The pack edition the run pinned, one hop through packLockHash: each pack of the set and its version.

parameterRowIds*array<string>
pins?unknown

The resolved world the run read, whole — the calendar, the mapping heads, the policy, the precedents. What replay re-runs over.

precedentIds*array<>
refusal?unknown
resultHash*string|null
unsettledPolicyOverride*string|null
vatProrataVersionId*|
Formatuuid
Example Request
curl -X GET 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/decision-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "createdAt": "2019-08-24T14:15:22Z",
  "engineVersion": "string",
  "entryId": "09a8b554-45ca-4bab-a638-265db4b3e828",
  "eventVersionId": "892044d0-fe92-47ec-8f75-8acd29451c74",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "matchGroupId": "1ccf9f82-c20f-47dd-ad6c-120f2600659b",
  "outcome": "auto",
  "packLockHash": "string",
  "proposalHash": "string",
  "verdict": "auto",
  "accountMappingVersionIds": [
    "677ff0fd-1d33-477d-bd48-f7dd1858b3cd"
  ],
  "authoritySources": null,
  "automationPolicyResult": null,
  "checkResults": null,
  "dedupKey": "string",
  "derivedFacts": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "inputFactIds": [
        "0bdf44a4-7cdb-4ad1-98dd-9efb8c3081ee"
      ],
      "inputFacts": [
        "string"
      ],
      "name": "string",
      "parameterRowIds": [
        "string"
      ],
      "ruleId": "string",
      "ruleVersion": 0,
      "sourceReferenceIds": [
        "string"
      ],
      "value": null
    }
  ],
  "entityConfigVersionId": "22deddf7-feee-42d4-b1a6-dc22161b67db",
  "entityPolicyVersionId": "99efda65-35c9-4a86-ad61-71c5d31ada8c",
  "entry": {
    "entrySeq": 0,
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "posted": true
  },
  "impact": [
    null
  ],
  "inputFactSnapshotHash": "string",
  "journalTemplateVersion": "string",
  "lines": [
    {
      "accountCode": "string",
      "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      "accountName": "string",
      "amount": "string",
      "amountEntity": "string",
      "currency": "string",
      "lineNo": 0,
      "side": "D"
    }
  ],
  "matchedRuleVersions": null,
  "note": "string",
  "packs": [
    {
      "packSet": "string",
      "version": "string"
    }
  ],
  "parameterRowIds": [
    "string"
  ],
  "pins": null,
  "precedentIds": [
    "810e2614-8e36-4c97-914d-9e7b7f30f4c2"
  ],
  "refusal": null,
  "resultHash": "string",
  "unsettledPolicyOverride": "string",
  "vatProrataVersionId": "0ec95d36-9947-49c4-b789-c9832f07c07c"
}