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

Presign an upload

Step 1 of 3: pin the file's hash and get a checksum-bound PUT. The content hash is checked EARLY against this entity's artifacts — a file already held answers `exists` with no upload. No row is written before finalize: bytes are not evidence until the row exists.

VorigeList artifactsVolgendeRead an artifact again
POST
/v1/entities/{entityId}/artifacts/presign

Step 1 of 3: pin the file's hash and get a checksum-bound PUT. The content hash is checked EARLY against this entity's artifacts — a file already held answers exists with no upload. No row is written before finalize: bytes are not evidence until the row exists.

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

Request Body

application/json
  1. body
  1. body
  2. …
bank?

For bank_csv only: a CSV export names neither its bank nor its account inside itself, so the upload says which map reads it and which registered account it belongs to.

batchId?string

A client-minted uuid v7 naming the batch this file is handed over in: the first presign naming it opens it, every file of one drop names the same id, and a batch holds at most 100 files (422 batch_full). Another person's batch is 409 batch_conflict, another entity's the hiding 404 batch_not_found. A file these books already hold (exists) adds nothing to it. Absent: a single file, in no batch.

Formatuuid
byteSize*integer

The exact byte length, bound into the PUT beside the hash. The intake cap is 52428800 bytes.

Range1 <= value <= 52428800
contentHash*string

sha256 of the bytes, 64 lowercase hex, computed by the CLIENT. Checked EARLY against UNIQUE(entity_id, content_hash): a known file answers exists and no upload happens; a new one is bound into the presigned PUT so the bucket refuses any other bytes.

Match^[0-9a-f]{64}$
filename*string
Length1 <= length <= 255
id*string

A client-minted uuid v7 — the artifact's id and the idempotency key of the whole flow (rule 3b): the same id with the same hash is a retry; with a different hash it is a 409.

Formatuuid
kind*string

What the file IS, checked against its magic bytes at finalize. Every kind but generated_filing and user_note, which only their own doors mint. The fate: coda_file/bank_csv → import; pdf/photo/peppol_ubl → extract; email → unpack (its PDF, image and UBL attachments become child artifacts, each entering its own stage); every other kind is evidence_only.

Value in"peppol_ubl""coda_file""bank_csv""card_statement""pdf""photo""email""payroll_file""engagement_letter""filing_proof""office_document"

Response Body

Either the artifact this hash already names, or where to PUT the bytes.

application/json
  1. response
  1. response
  2. …
artifact*
outcome*"exists"

This entity already holds a file with this hash: here it is. Nothing to upload, nothing to finalize.

Value in"exists"
Example Request
curl -X POST 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/artifacts/presign' \
  -H 'Content-Type: application/json' \
  -d '{
  "byteSize": 1,
  "contentHash": "string",
  "filename": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "kind": "peppol_ubl"
}'
Example Response
{
  "artifact": {
    "byteSize": 0,
    "contentHash": "string",
    "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
    "filename": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "kind": "peppol_ubl",
    "parentArtifactId": "30de9595-6900-4c53-bd4b-00026267c22f",
    "receivedAt": "string",
    "source": "string",
    "storageRef": "string"
  },
  "outcome": "exists"
}