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

The head figures of a document list

The head figures of one documents list: each a sum per currency with the count of the documents it sums, summed by the server over every row, so no page bound caps them. An invoice list carries what is owed, what is overdue and what was paid this month; a quote list what waits for an answer and what is accepted but not yet invoiced; a credit-note list what is still to settle; the purchases what is still to book and, over the payables, what the entity owes its suppliers, what of it is overdue, what it paid them this month, and what its suppliers' credit notes still give back or settled this month. `partyId` narrows them to one counterparty; `period` or `from`/`to` narrow what is still to book to the purchases received in those days, and an outbound kind, whose heads are the whole book's, refuses them (422).

PreviousA blank draft's templateNextRead what a line may be composed with
GET
/v1/entities/{entityId}/document-totals

The head figures of one documents list: each a sum per currency with the count of the documents it sums, summed by the server over every row, so no page bound caps them. An invoice list carries what is owed, what is overdue and what was paid this month; a quote list what waits for an answer and what is accepted but not yet invoiced; a credit-note list what is still to settle; the purchases what is still to book and, over the payables, what the entity owes its suppliers, what of it is overdue, what it paid them this month, and what its suppliers' credit notes still give back or settled this month. partyId narrows them to one counterparty; period or from/to narrow what is still to book to the purchases received in those days, and an outbound kind, whose heads are the whole book's, refuses them (422).

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

Query Parameters

from?string

kind=purchase only: the first day received counted, inclusive (as listDocuments takes it).

Formatdate
kind*string

Whose list: invoice, quote or credit_note, or purchase, the received documents.

Value in"credit_note""invoice""purchase""quote"
partyId?string

One counterparty's documents only.

Formatuuid
period?string

kind=purchase only: the days received counted, the period listDocuments takes, resolved against today in the books' own day. Not with from or to.

to?string

kind=purchase only: the last day received counted, inclusive.

Formatdate

Response Body

The head figures.

application/json
  1. response
  1. response
  2. …

The invoice heads, over live finalized invoices: owed, what is still to be paid, each residual net of its credit notes' open credit; overdue, that past its due date; paidThisMonth, the money that settled them in entries dated in the month of asOf (a credit note's application is no money).

asOf*string

The business day the figures are judged on (Europe/Brussels): what is overdue, and which month is this month.

Formatdate
kind*"invoice"
Value in"invoice"
overdue*

A head figure: one sum per currency, and how many rows it holds.

owed*

A head figure: one sum per currency, and how many rows it holds.

paidThisMonth*

A head figure: one sum per currency, and how many rows it holds.

Example Request
curl -X GET 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/document-totals?kind=credit_note'
Example Response
{
  "asOf": "2019-08-24",
  "kind": "invoice",
  "overdue": {
    "amounts": [
      {
        "amount": "string",
        "currency": "string"
      }
    ],
    "count": 0
  },
  "owed": {
    "amounts": [
      {
        "amount": "string",
        "currency": "string"
      }
    ],
    "count": 0
  },
  "paidThisMonth": {
    "amounts": [
      {
        "amount": "string",
        "currency": "string"
      }
    ],
    "count": 0
  }
}