Skip to content

Workspace export format

The workspace export hands a whole workspace over as a series of ZIP parts. This page describes the parts and their files as Acriva writes them, for everyone who reads, checks or imports them. Every manifest names its format as acriva-workspace-export/1; a later change to the files gets a new number.

Part What it holds
<nn>-<type key>.zip The documents of one document type: manifest.json, documents.csv, versions.csv and the originals under files/.
<nn>-<type key>-<k>.zip The next part of the same type, from k = 2, when a type holds more than one part (about 2 GiB). A document is never split.
<nn>-no-type.zip The documents without a document type, in the same form.
00-workspace.zip The whole export: manifest.json, document-types.json, akten.csv, invoices.csv, allocation.csv and README.txt.

nn is the type’s position in the export, from 01. The type key is written in lower-case letters, digits and hyphens. Check each part against the size and SHA-256 that 00-workspace.zip’s manifest.json and the card in the app name.

  • files/<document ID>/v<n><extension>: the original of version n, byte for byte as it was uploaded. The entry is named by the document and the version, never by the uploaded file name, which versions.csv keeps. The extension is the uploaded file’s own when it is short and plain, else none.
  • documents.csv: one row per document, with the columns document_id, document_type, title, status, confidential, created_at, document_date, amount, currency, retention_until, akten (the IDs of the Akten it is in, separated by blanks), tags (separated by ; ) and metadata (the values of its fields as JSON, by field key; in manifest.json, values that aren’t valid JSON are kept as the original text).
  • versions.csv: one row per version, with document_id, version, file_name, content_type, size, sha256, created_at, included (true when the part holds its original) and path (its entry under files/).
  • manifest.json: the same documents in full, with their type, their values as JSON, their Akten, tags and versions, and each version’s path (or null when the part doesn’t hold it).
  • manifest.json: the export’s ID, the workspace, who started it (a user ID) and when, when it was completed, the number of documents, versions and bytes, what it left out (leftOut) and every type part with its name, document type, number of documents, size and SHA-256.
  • document-types.json: every document type with its key, its names in German and English, whether it is active, and its fields with key, labels and type, so the values in metadata can be read without Acriva.
  • akten.csv: every Akte with akte_id, akte_type, number, name, status, created_at, closed_at and key_fields. Which documents an Akte holds is on the documents (column akten).
  • invoices.csv: the incoming invoices among the exported documents, with document_id, invoice_number, invoice_date, due_date, vendor_name, vendor_number, currency, net, tax and gross.
  • allocation.csv: their allocation lines, with document_id, position, amount, gl_account, cost_center and tax_key.
  • README.txt: what the export holds and how to read it, in German and English.

The CSV files are UTF-8, with ; between columns, CR LF between rows and a header line. A value that holds ;, " or a line break is enclosed in ", with a " inside doubled. A text that a spreadsheet would read as a formula (it starts with =, +, - or @, also after blanks, or with a tab or a line break) gets a leading apostrophe; a plain number such as a credit note’s -119.00 doesn’t, so it stays a number. Times are UTC in ISO 8601 (2026-11-11T09:30:00Z), days YYYY-MM-DD, and numbers have a . as decimal separator and no thousands separator.

An export holds what the person who started it may read. It counts, and never names:

  • confidential documents whose list doesn’t name that person;
  • documents in the recycle bin;
  • documents in quarantine as a whole;
  • versions that are quarantined or still being checked: their row is in versions.csv with included false, their original isn’t in the part.

The audit log isn’t part of the export; it has its own export (see Audit log).