Help
/
nlfren
Sign in
HomeGetting startedDocumentsBankInvoicesVATFor accountantsSecurityDevelopers

Developers

Developer overviewAuthenticationThe am CLIConnect an agent over MCPErrors and rate limits

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
Help·Developers

Sign a switch-in migration

Sign a company's move — ONE signed act, `post_entry`: a firm accountant (a staffer meets 403 `authority-required`) with a step-up under fifteen minutes old (403 `step-up-required`), and on a matched client also that client's signing (its `ledger.manage` grant). In one transaction: a new client's organisation, its entity named and addressed from the company (its enterprise and VAT numbers are attached when its invited owner accepts, never here), and its first owner's invite (`ownerEmail`, mailed after the commit; the engagement follows the owner's acceptance), the accounts, the parties, the year's periods and the opening's holder, the files copied into the entity's evidence, the signed opening, the migration `signed`; the year is then replayed in the background. A plan read before it changed or over another last filed period or replay cut-off (409 `plan_changed`), a plan with a blocker (409 `migration_blocked`, naming it), a new client without its owner (422 `owner_email_required`) or a migration already signed (409 `migration_signed`) writes nothing.

PreviousResume a switch-in's stopped replayNextStage a switched-in client's documents
POST
/v1/firms/{firmId}/migrations/{migrationId}/sign

Sign a company's move — ONE signed act, post_entry: a firm accountant (a staffer meets 403 authority-required) with a step-up under fifteen minutes old (403 step-up-required), and on a matched client also that client's signing (its ledger.manage grant). In one transaction: a new client's organisation, its entity named and addressed from the company (its enterprise and VAT numbers are attached when its invited owner accepts, never here), and its first owner's invite (ownerEmail, mailed after the commit; the engagement follows the owner's acceptance), the accounts, the parties, the year's periods and the opening's holder, the files copied into the entity's evidence, the signed opening, the migration signed; the year is then replayed in the background. A plan read before it changed or over another last filed period or replay cut-off (409 plan_changed), a plan with a blocker (409 migration_blocked, naming it), a new client without its owner (422 owner_email_required) or a migration already signed (409 migration_signed) writes nothing.

Authorization

cookiebetter-auth-session_token<token>

One alternative session cookie accepted by Better Auth 1.7.2: dot or legacy hyphen name, with or without __Secure-. Send the existing opaque cookie unchanged; x-api-key takes precedence when present.

Path Parameters

firmId*string
Formatuuid
migrationId*string
Formatuuid

Request Body

application/json
  1. body
  1. body
  2. …
lastFiledPeriodEnd*|

The plan's last filed period, as read: another one is updateMigration's, never the signature's (409 plan_changed).

Formatdate
ownerEmail*|

The first owner of a company new to Amanucci, invited by this signature as New client invites one (422 owner_email_required when absent); null for a matched client.

Formatemail
planHash*string
Match^[0-9a-f]{64}$
replayThrough*string

The plan's replay cut-off, as read: another one is updateMigration's, never the signature's (409 plan_changed).

Formatdate

Response Body

The company moved; the year replays in the background.

application/json
  1. response
  1. response
  2. …
entityId*string
Formatuuid
migrationId*string
Formatuuid
openingEntryId*string
Formatuuid
organisationId*|
Formatuuid
ownerInvite*|

The new client's first-owner invite, mailed after the commit (inviteMailed: confirmed within the deadline); null for a matched client.

Example Request
curl -X POST 'https://api.amanucci.com/v1/firms/497f6eca-6276-4993-bfeb-53cbbbba6f08/migrations/497f6eca-6276-4993-bfeb-53cbbbba6f08/sign' \
  -H 'Content-Type: application/json' \
  -d '{
  "lastFiledPeriodEnd": "2019-08-24",
  "ownerEmail": "user@example.com",
  "planHash": "string",
  "replayThrough": "2019-08-24"
}'
Example Response
{
  "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
  "migrationId": "69f2701a-9173-4deb-8aa7-3f5e56a6111b",
  "openingEntryId": "f3015687-dd6e-48f0-b839-bf838c6e7a3c",
  "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
  "ownerInvite": {
    "inviteId": "14ca54c2-5d85-4c93-81b5-495a2e7e0ca4",
    "inviteMailed": true
  }
}