akwitoEU VAT proof

Clients

An accounting firm keeps one client file per client. The Cabinet plan includes ten active client files; each file beyond that is billed €5 excl. VAT a month and adds 250 checks and 100 watched numbers to the account quota. A check, batch, watch or reconciliation filed under a client file is consulted at VIES on that client's behalf and shows up in that client's audit file. Client files are created and edited in the dashboard; the API reads them and files work under them. Cabinet plan and above.

json
{
  "id": "cli_01J9X0000000000000000000",
  "name": "Boulangerie Martin",
  "reference": "C-0042",
  "vat_number": "FR40303265045",
  "created_at": "2026-09-14T08:12:00Z"
}

reference and vat_number are empty strings when not set.

GET /v1/clients #

Lists the active client files, by name.

http
GET /v1/clients
Authorization: Bearer ak_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
json
{ "items": [ { "id": "cli_01J9X0000000000000000000", "name": "Boulangerie Martin", "reference": "C-0042", "vat_number": "FR40303265045", "created_at": "2026-09-14T08:12:00Z" } ] }

Test keys may list client files too, to attach sandbox checks to them. Without the Cabinet plan the call is a 403 PLAN_REQUIRED with feature set to clients.

Filing work under a client file #

Pass client_id on POST /v1/checks, POST /v1/batches (JSON body or multipart field), POST /v1/watches and POST /v1/reconciliations. The work is attached at creation and cannot be moved afterwards.

The requester VIES is told is chosen in this order: an explicit requester_vat_number on the request, then the vat_number of the client file, then the account's own requester number.

StatuscodeWhen
404CLIENT_NOT_FOUNDclient_id is unknown or belongs to another account
400CLIENT_ARCHIVEDthe client file is archived and takes no new work
403PLAN_REQUIREDthe plan does not include client files (included from the Cabinet plan); carries feature set to clients and plan

Reading back #

GET /v1/checks accepts client_id: an id lists that client file's checks, an empty value (client_id=) lists the checks filed under no client file.

Batches, watches and reconciliations carry a client_id (string) when they are filed under a client file; the key is absent otherwise. A check's proof is hashed and does not carry it: GET /v1/checks/{id} returns the proof bytes unchanged and, when the check is filed under a client file, adds the response header X-Akwito-Client: <id>. The items of GET /v1/checks are the proofs as well and carry no client file.

GET /v1/exports/dossier.zip accepts client_id too and then bundles that client file only. Its index.csv carries a client column with the client file name.