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 filing's submission

Sign the submission — THE signed act on a filing: the payload is ready and the signer uploads it at the state's site, which offers no API. The caller holds a signing seat on the entity — a firm accountant, or an organisation owner the firm's owner signing policy lets sign filings (403 `signing-reserved` otherwise) — with a step-up under fifteen minutes old; the `verification.id` of that step-up is recorded on the filing. Only a `validated` filing is signed (409 `filing_not_validated`); a second submit is 409 `invalid_transition`.

PreviousReplace a filingNextGrant or revoke a capability
POST
/v1/entities/{entityId}/filings/{filingId}/submit

Sign the submission — THE signed act on a filing: the payload is ready and the signer uploads it at the state's site, which offers no API. The caller holds a signing seat on the entity — a firm accountant, or an organisation owner the firm's owner signing policy lets sign filings (403 signing-reserved otherwise) — with a step-up under fifteen minutes old; the verification.id of that step-up is recorded on the filing. Only a validated filing is signed (409 filing_not_validated); a second submit is 409 invalid_transition.

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

entityId*string
Formatuuid
filingId*string
Formatuuid

Response Body

The submitted filing.

application/json
  1. response
  1. response
  2. …
bankLine*|

A PAYMENT's proof (a tax prepayment): the debit bank line that paid it — the bank row's Transactions view shows this filing as its counterpart. null otherwise.

bankTransactionId*|
Formatuuid
coversFrom*|

An obligation we do not produce (a payroll return, a prepayment) covers a WINDOW — a month, a quarter, a fiscal-year quarter — in place of the period range; a monthly return generated here (the IOSS return) covers its month inside the one period it names; null for every other return generated here.

Formatdate
coversTo*|
Formatdate
createdAt*string
Formatdate-time
deadline*|

The filing's deadline, read from the pack set's calendar for this filing's kind on its one period. null when the filing spans periods, when the period has no regime, or when the calendar has no row — never a computed baseline.

entityId*string
Formatuuid
generatedAt*|
Formatdate-time
gridValues*|||||||

What the filing froze, by its schema: a return's grids, an IC listing's rows, a client listing's rows, or an OSS or IOSS return's member states at generation; an external filing's recorded facts. Amounts are decimal strings; nothing moves once stored.

id*string
Formatuuid
kind*string

A return generated here, or an obligation filed or paid outside the system and recorded: which is which is the pack's filing forms (production).

Value in"vat_return""ic_listing""client_listing""oss_return""ioss_return""fiche_281_50""annual_accounts""cit_return""withholding_return""social_security_return""cit_prepayment""pit_prepayment"
payloadArtifactId*|

What we send: the rendered payload, an immutable generated_filing artifact — read its bytes through getArtifact.

Formatuuid
periodEndId*|
Formatuuid
periodStartId*|
Formatuuid
proofArtifactId*|

Proof they received it: the acknowledgement a human uploaded.

Formatuuid
proofReference*|

The state's reference of the accepted declaration, read off the acknowledgement; a replacement return names it.

recordedBy*|

Who recorded an external filing (a human: actor); null for a return signed here.

status*string

Forward-only. generated with validationResults.valid = false is a payload the schema refused: it is kept as evidence and never signed.

Value in"draft""generated""validated""submitted""accepted_evidence"
submittedAt*|
Formatdate-time
submittedBy*|
Formatuuid
submittedVia*|

manual: signed here and uploaded at the state's portal. external: filed or paid outside the system and recorded here — no signature. migrated: a VAT return the previous package filed, recorded by the switch-in — no signature.

Value in"manual""robot""external""migrated"null
supersededBy*|

Set once when a replacement return supersedes this filing; a superseded filing never moves again.

Formatuuid
validationResults*|null
listedCustomers*|

A listing's per-customer rows in gridValues, counted; null for a return.

periodEnd*|null
periodStart*|null
replaces*|

The filing this one replaced — the row whose supersededBy names it — and when that one reached the state; null for a first filing.

signer*|

submittedBy, rendered for the viewer; null until signed.

Example Request
curl -X POST 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/filings/497f6eca-6276-4993-bfeb-53cbbbba6f08/submit'
Example Response
{
  "bankLine": {
    "amount": "string",
    "currency": "string",
    "entryDate": "2019-08-24",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "structuredRef": "string"
  },
  "bankTransactionId": "e64f7265-f5a1-4da6-baa0-5224e33ba98a",
  "coversFrom": "2019-08-24",
  "coversTo": "2019-08-24",
  "createdAt": "2019-08-24T14:15:22Z",
  "deadline": {
    "dueDate": "2019-08-24",
    "parameterRowId": "string",
    "paymentDate": "2019-08-24",
    "paymentParameterRowId": "string"
  },
  "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
  "generatedAt": "2019-08-24T14:15:22Z",
  "gridValues": {
    "carried": {
      "migrationId": "69f2701a-9173-4deb-8aa7-3f5e56a6111b",
      "tags": {
        "property1": "string",
        "property2": "string"
      }
    },
    "remainder": {
      "property1": "string",
      "property2": "string"
    },
    "remainderFrom": {
      "filingId": "79ada8ef-98e4-495b-8d26-4e319d7aff7f",
      "tags": {
        "property1": "string",
        "property2": "string"
      }
    },
    "schema": "filing.vat-grids/v1",
    "source": "filed",
    "tags": {
      "property1": "string",
      "property2": "string"
    },
    "totals": {
      "deductible": "string",
      "due": "string",
      "payable": "string"
    }
  },
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "kind": "vat_return",
  "payloadArtifactId": "342c5318-f936-4d75-9ab9-2cc7f2c7d8a4",
  "periodEndId": "77eec89b-31d3-421f-889c-46e679fa6fce",
  "periodStartId": "6664fede-e5c5-4ac4-94f0-9ed148745104",
  "proofArtifactId": "efaa9597-702f-4079-9880-b8c9a6deac08",
  "proofReference": "string",
  "recordedBy": "string",
  "status": "draft",
  "submittedAt": "2019-08-24T14:15:22Z",
  "submittedBy": "a641a425-2470-49a5-92c2-5825c2833a34",
  "submittedVia": "manual",
  "supersededBy": "608778cc-35f6-47d1-a540-9bcbfdf24101",
  "validationResults": {
    "errors": [
      "string"
    ],
    "findings": [
      {
        "fact": "personKind",
        "partyId": "950a3d1f-4657-4e7b-87db-3ff5fa95b5c0",
        "seq": 1
      }
    ],
    "schema": {
      "members": [
        {
          "path": "string",
          "sha256": "string"
        }
      ],
      "root": "string"
    },
    "valid": true,
    "warnings": [
      "string"
    ]
  },
  "listedCustomers": 0,
  "periodEnd": {
    "endsOn": "2019-08-24",
    "fiscalYear": 0,
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "label": "string",
    "startsOn": "2019-08-24",
    "status": "open"
  },
  "periodStart": {
    "endsOn": "2019-08-24",
    "fiscalYear": 0,
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "label": "string",
    "startsOn": "2019-08-24",
    "status": "open"
  },
  "replaces": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "submittedAt": "2019-08-24T14:15:22Z"
  },
  "signer": {
    "display": "string",
    "id": "string",
    "kind": "human"
  }
}