Aide
/
nlfren
Se connecter
AccueilPour commencerDocumentsBanqueFacturesTVAComptablesSécuritéDéveloppeurs

Développeurs

Présentation pour les développeursAuthentificationLa CLI amConnecter un agent via MCPErreurs et limites

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
Aide·Développeurs

Register a vehicle

Register a vehicle, or append its next version. The organisation's owner or a firm accountant holding `ledger.manage` (a member or a staffer meets 403 `authority-required`). `expectedSeq` is the pinned-row idempotency key: identical retry 200, stale head 409. The database judges the row (422 `vehicle_invalid`, each refusal by name): the plate, the vocabularies, an exclusion matching its category, a zero-emission fuel at 0 g, the dates' order, private fuel only with a holder.

PrécédentElect the entity's VAT deduction method for a yearSuivantSet a vehicle's VAT use for a year
POST
/v1/entities/{entityId}/vehicles/{plate}

Register a vehicle, or append its next version. The organisation's owner or a firm accountant holding ledger.manage (a member or a staffer meets 403 authority-required). expectedSeq is the pinned-row idempotency key: identical retry 200, stale head 409. The database judges the row (422 vehicle_invalid, each refusal by name): the plate, the vocabularies, an exclusion matching its category, a zero-emission fuel at 0 g, the dates' order, private fuel only with a holder.

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
plate*string

The plate, as printed: separators and case are ignored (1-abc-234 is 1ABC234).

Length2 <= length <= 20

Request Body

application/json
  1. body
  1. body
  2. …
effectiveFrom*string

From which date the new version applies. Never defaulted to today: a backdated election must be expressible.

Formatdate
expectedSeq*integer

The head seq the caller believes it is appending after; the server writes expectedSeq + 1.

Range0 <= value
bikHolder*|

Who has the vehicle at their personal disposal (a benefit in kind), or null.

Length1 <= length <= 200
category*string

The vehicle as the registration rules class it.

Value in"passenger_car""dual_use_car""minibus""light_truck""motorcycle""other"
co2GKm*|

g CO2/km as registered; null when the vehicle registry holds no CO2 figure. An electric or hydrogen vehicle states 0.

Range0 <= value <= 2000
commitmentKind*string

What committedOn is: the order of a purchase, the contract of an operational lease or a rental, or the contract of a financial lease.

Value in"order""contract""financial_lease"
committedOn*string

The day the vehicle was ordered or contracted: the date the income-tax band reads. A financial lease whose contract and delivery fall in different bands is a case.

Formatdate
deliveredOn*string

The day the vehicle was delivered.

Formatdate
fuel*string

The engine's fuel (a plug-in hybrid states its combustion fuel).

Value in"diesel""petrol""lpg""natural_gas""electric""hydrogen"
ownership*string

A leased or rented vehicle is no asset of these books.

Value in"owned""leased""rented"
plugInHybrid*boolean
privateFuelPaid*boolean

The company bears the fuel of the holder's private use. Requires a bikHolder.

vatExclusion*|

The reason the pack's 50 % VAT cap does not reach this vehicle, or null. A light truck and a motorcycle carry their own.

Value in"mass_over_3500""seats_over_8""ambulance_hearse""unregistrable""camper""light_truck""moped_motorcycle""dealer_stock""rental_stock""paid_passenger_transport""new_exempt_supply"null

Response Body

Duplicate-ok: this exact version was already the head.

application/json
  1. response
  1. response
  2. …
duplicate*boolean
vehicle*
Example Request
curl -X POST 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/vehicles/string' \
  -H 'Content-Type: application/json' \
  -d '{
  "effectiveFrom": "2019-08-24",
  "expectedSeq": 0,
  "bikHolder": "string",
  "category": "passenger_car",
  "co2GKm": 0,
  "commitmentKind": "order",
  "committedOn": "2019-08-24",
  "deliveredOn": "2019-08-24",
  "fuel": "diesel",
  "ownership": "owned",
  "plugInHybrid": true,
  "privateFuelPaid": true,
  "vatExclusion": "mass_over_3500"
}'
Example Response
{
  "duplicate": true,
  "vehicle": {
    "actor": "string",
    "effectiveFrom": "2019-08-24",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "seq": 0,
    "bikHolder": "string",
    "category": "passenger_car",
    "co2GKm": 0,
    "commitmentKind": "order",
    "committedOn": "2019-08-24",
    "deliveredOn": "2019-08-24",
    "fuel": "diesel",
    "ownership": "owned",
    "plugInHybrid": true,
    "privateFuelPaid": true,
    "vatExclusion": "mass_over_3500",
    "plate": "string"
  }
}