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 party

Register a counterparty — the identity ladder's VAT-id rung. A normalised VAT number that already names a live party in this entity RESOLVES to it (200, `alreadyExisted: true`, the existing facts returned unchanged); no hit CREATES (201). An explicit `vatNumber: null` asserts there is none and creates a row off the rung. Only the name and that assertion are required: endpoint, address and establishment facts are what an INVOICE needs, and finalize refuses `party_incomplete` for the ones it lacks. A new party is at seq 1 with its first revision; its facts are edited by `updateParty`.

PrécédentThe OverviewSuivantRead a party
POST
/v1/entities/{entityId}/parties

Register a counterparty — the identity ladder's VAT-id rung. A normalised VAT number that already names a live party in this entity RESOLVES to it (200, alreadyExisted: true, the existing facts returned unchanged); no hit CREATES (201). An explicit vatNumber: null asserts there is none and creates a row off the rung. Only the name and that assertion are required: endpoint, address and establishment facts are what an INVOICE needs, and finalize refuses party_incomplete for the ones it lacks. A new party is at seq 1 with its first revision; its facts are edited by updateParty.

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. …
address?|

The whole postal block or nothing (BR-08/BR-10): every member required, so a partial address is unrepresentable rather than a 422 hand-rolled in a handler.

contactName?|

The person documents are addressed to: a label, never identity.

Length1 <= length <= 300
emails?array<>

Where invoices, credit notes, quotes and reminders are emailed; the first is the recipient. Empty: no email rail.

Itemsitems <= 10
endpoint?|

The electronic address as a PAIR (Peppol BIS R010/R020). A scheme without an id is not a half-known endpoint; it cannot be rendered.

establishmentCountry?|

Where the party is ESTABLISHED — load-bearing for the VAT treatment (44-vs-47, POC 4), captured as a fact, never inferred from the VAT prefix.

Length2 <= length <= 2
feeCategory?|

Whether this party's costs are reported on a fiche 281.50 (art. 57 WIB 92), and in which zone: commission (a) — commissions, brokerage, trade rebates, to a natural or a legal person; fee (b) — fees of a natural person in a liberal profession, never a company. null: not a beneficiary.

Value in"commission""fee"null
language?|

The language its documents and emails render in; null, the entity's default.

Value in"nl""fr""de""en"null
paymentTermDays?|

This customer's payment term in days, over the entity's.

Range0 <= value <= 365
personKind?|

A natural or a legal person, the fiche 281.50's 'aard van de verkrijger': typed, never inferred from the name or the VAT number.

Value in"natural""legal"null
phone?|

A number to call, E.164: '+', the country code, then the number (+3291234567). Never printed on a document or carried in the UBL.

Match^\+[1-9][0-9]{6,14}$
profession?|

The profession it exercises, as the fiche 281.50 asks of every beneficiary.

Length1 <= length <= 100
registry?|

The party's registry identity: set once, accepted only while the party has none (a wrong one is a new party and a merge).

vatStatus?|

Whether the party is VAT-registered, the fact a sale's rules read (customer.vat_status); captured, never inferred from the VAT number.

Value in"registered""not_registered"null
ibans?array<>|

A HINT, never identity: one IBAN is often shared by many counterparties, so this resolves nothing and creates nothing.

id*string

A client-minted uuid v7. The PRIMARY KEY is the idempotency key (rule 3b): the same id with the same facts is 200 alreadyExisted: true; the same id with DIFFERENT facts is 409; the same id under another entity is a 404, never a conflict.

Formatuuid
name*string
Length1 <= length <= 300
standing?|

A STRUCTURAL standing only: the trading role is document.direction, never a column here. supplier/customer die at this enum.

Value in"director""employee""authority""bank"null
vatNumber*|

REQUIRED, as a string or an explicit null. A string is the identity ladder's rung 1: normalised (country prefix, upper case, no separators), an exact hit within the entity RESOLVES to the existing row (200 alreadyExisted: true, facts unchanged) and no hit CREATES. null is the caller's assertion that this party has no VAT number — only that assertion creates a row off the rung, and it never resolves to anything (name + country is a case, Phase 3).

Response Body

Duplicate-ok: this id, or this VAT number, already named a party here — returned unchanged.

application/json
  1. response
  1. response
  2. …
alreadyExisted*boolean

True when this call found the party already there — by the client id (a retry) or by the VAT-id rung (a second sighting of one registry identity). The row comes back UNCHANGED either way: a create never edits, and a correction is an updateParty edit.

party*
Example Request
curl -X POST 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/parties' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "vatNumber": "string"
}'
Example Response
{
  "alreadyExisted": true,
  "party": {
    "address": {
      "city": "string",
      "country": "st",
      "postalZone": "string",
      "street": "string"
    },
    "contactName": "string",
    "emails": [
      "string"
    ],
    "endpoint": {
      "id": "string",
      "scheme": "string"
    },
    "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
    "establishmentCountry": "string",
    "feeCategory": "commission",
    "ibans": [
      "string"
    ],
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "language": "nl",
    "mergedIntoId": "12626477-5850-4591-8c86-e5f05fda55c2",
    "name": "string",
    "nationalNumberSet": true,
    "paymentTermDays": 0,
    "personKind": "natural",
    "phone": "string",
    "profession": "string",
    "registry": {
      "number": "string",
      "scheme": "kbo"
    },
    "seq": 1,
    "standing": "director",
    "vatNumber": "string",
    "vatStatus": "registered"
  }
}