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

One set of books

One entity's profile: its §5 columns — name, enterprise and VAT numbers, Peppol id, postal address, IBAN, currency, pack set — and the firm holding its books. The same `Entity` every `listEntities` item is. The firm side needs `settings.policy`, as the writes to these columns do (`setEntityIban`).

PrécédentLook up a contractor's debtsSuivantRecord a contractor's debt check
GET
/v1/entities/{entityId}

One entity's profile: its §5 columns — name, enterprise and VAT numbers, Peppol id, postal address, IBAN, currency, pack set — and the firm holding its books. The same Entity every listEntities item is. The firm side needs settings.policy, as the writes to these columns do (setEntityIban).

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

Response Body

The entity.

application/json
  1. response
  1. response
  2. …
active*boolean
address*|

The entity's own postal address — the seller block on every invoice it renders — its seller party's; null when unset. Written by setEntityIdentity.

firm*

The firm the organisation hangs under (organisation.firm_id) — the one holding these books. Never null.

functionalCurrency*string

The target every amount_entity converts into. Validated against the pack set's currency data at creation — an unknown code is refused rather than seeded (an entity whose currency has no minor_units row cannot hold a journal line).

Length3 <= length <= 3
iban*|

The entity's own payment IBAN, rendered as the seller's PaymentMeans on every invoice it finalizes (BR-61); null when none is set. Written by setEntityIban.

id*string
Formatuuid
kboNumber*|

The enterprise number — the state's identity anchor — its seller party's; null until setEntityIdentity sets it, once.

name*string

The denomination every picker and the seller block render: its seller party's name, written by setEntityIdentity.

organisationId*string

The organisation these books belong to.

Formatuuid
peppolParticipantId*|

The entity's e-invoice address, its seller party's endpoint as scheme:id (0208:0123456749); null until setEntityIdentity sets it.

rulePackSet*string

THE COUNTRY PLUG: which pack set's chart, vocabulary and rules these books speak. Set at creation from the pack set the request NAMED (default xx); never changed after.

sellerPartyId*string

The party these books ARE, which every invoice they finalize names as the seller: born with the entity under its name, never moved, read by getParty. Its name, VAT and enterprise numbers, address and endpoint are this entity's, written by setEntityIdentity and setEntityVatNumber only (updateParty refuses them, 422 party_seller_identity); its emails and phone are an updateParty edit. No listParties role view lists it.

Formatuuid
sellerSeq*integer

The seller party's version: setEntityIdentity sends it back as expectedSeq, and a head that has moved is a 409 with nothing written.

Range1 <= value
vatNumber*|

The returns' declarant and the invoices' seller's, normalised (BE0123456749): its seller party's, written by setEntityVatNumber, once.

Example Request
curl -X GET 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "active": true,  "address": {    "city": "string",    "country": "string",    "postalZone": "string",    "street": "string"  },  "firm": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string"  },  "functionalCurrency": "str",  "iban": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "kboNumber": "string",  "name": "string",  "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",  "peppolParticipantId": "string",  "rulePackSet": "string",  "sellerPartyId": "5a50b67e-7b60-4a39-8f92-16a4e37456f9",  "sellerSeq": 1,  "vatNumber": "string"}
GET
/v1/entities/{entityId}
Example Request
curl -X GET 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{
  "active": true,
  "address": {
    "city": "string",
    "country": "string",
    "postalZone": "string",
    "street": "string"
  },
  "firm": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string"
  },
  "functionalCurrency": "str",
  "iban": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "kboNumber": "string",
  "name": "string",
  "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
  "peppolParticipantId": "string",
  "rulePackSet": "string",
  "sellerPartyId": "5a50b67e-7b60-4a39-8f92-16a4e37456f9",
  "sellerSeq": 1,
  "vatNumber": "string"
}