Contract lifecycle documentation
Written notice, dispatch confirmation, postal tracking, the counterparty response.
4–8 documents per change
Lethra keeps the compliance documents your platform produces for as long as the law requires, and deletes them when that period ends. You get a signed receipt when a document is stored and a certificate when it is deleted.
You encrypt every document before you send it, and the key stays with you. We cannot read what we store.
You encrypt on your side. We hold the ciphertext and the metadata you choose to send.
Each document has its own key. To delete the document, we destroy that key.
Receipts are signed, and a command-line tool verifies them offline.
The service runs in data centres in Frankfurt, Germany.
01 · The problem
On your platform a customer changes a contract in thirty seconds. The documents behind that change have to be kept for years, and usually the platform is the one that has to keep them.
Contract services, tax filing apps, insurance claims in a chat window, online prescriptions: these products take paperwork off the user's hands.
The duty to keep that paperwork does not go away. It moves to the platform, which was built to be fast and was never designed as an archive.
Keeping the files is only part of that duty. Documents change, and every version has to be kept, with a record of what changed and when, so that each version can still be produced years later.
Lethra does this as an independent third party. We record how and when each document was stored, and how and when it was deleted, and you can prove both.
Where the trail usually lives
What an auditor or a court will ask
A storage bucket cannot answer these questions. Lethra gives you a signed record for each one.
02 · The product
The whole product is four API calls. Your customers never see Lethra, and you have no data to migrate before you start.
/v1/deposits
curl https://api.lethra.io/v1/deposits \
-u "sk_live_…:" \
-H "Idempotency-Key: $(uuidgen)" \
-F "regime=GoBD-DE" \
-F "ciphertext=@notice.bin"
{
"deposit_id": "dep_01HM9C7A4Y2RXKQF3T8BVW7H6N",
"state": "stored",
"regime": "GoBD-DE",
"receipt": {
"hash": "sha256:9a7f2c84…",
"signature": "day:2026-09-02:MEUCIQD…"
}
}
Lethra only ever receives ciphertext.
/v1/deposits/{id}/events
curl https://api.lethra.io/v1/deposits/dep_01HM…/events \
-u "sk_live_…:" \
-d type=fax.dispatched \
-d "payload[receiver]=+4930…"
{
"event_id": "evt_01HM9CB2Q8T4N…",
"deposit_id": "dep_01HM9C7A4Y2RXKQF…",
"type": "fax.dispatched",
"signature": "day:2026-09-02:MEQCIF…"
}
Lethra only ever receives ciphertext.
/v1/deposits/{id}
curl https://api.lethra.io/v1/deposits/dep_01HM… \
-u "sk_live_…:" \
-H "Accept: multipart/mixed" \
-o bundle.multipart
{
"deposit_id": "dep_01HM9C7A4Y2RXKQF…",
"integrity": "verified",
"events": 3,
"attestation": { "root": "2026-09-01", "proof": [ "…" ] }
}
Lethra only ever receives ciphertext.
/v1/deposits/{id}/forget
curl https://api.lethra.io/v1/deposits/dep_01HM…/forget \
-u "sk_live_…:" \
-d mode=scheduled
{
"certificate_id": "cert_01HM9D4X…",
"state": "forgotten",
"mode": "scheduled",
"original_hash": "sha256:9a7f2c84…",
"pdf": "https://verify.lethra.io/c/cert_01HM9D4X…"
}
Lethra only ever receives ciphertext.
03 · How it works
A document goes through three steps. Here is what we do in each and what you get back.
Your platform encrypts the document with its own key and calls Store with the ciphertext and the retention regime.
You keep the key. We have no copy and cannot recover it for you.
We encrypt the file a second time with a key that belongs to this one document, kept in a hardware-backed key store. You get a signed receipt.
Every operation goes into a signed daily log.
When the retention period ends, or when you tell us to, we destroy the key for that document. Every copy of the file is unreadable from then on.
You receive a Certificate of Forgetting: a PDF for the auditor, JSON for your system.
Why we destroy the key and do not just delete the file
A stored file never exists only once. Storage systems keep replicas, snapshots and backups, and after a delete nobody can show that every one of those copies is gone. So we encrypt each document with a key of its own and keep that key in one place, a hardware-backed key store. To delete the document, we destroy this one key. Without it no copy can be decrypted, wherever it is stored, and the certificate records when the key was destroyed. Read the long version.
04 · Verification
With most compliance tools the receipt lives in the vendor's dashboard, and it is gone when the vendor is. A Lethra receipt can be checked in three ways, and one of them needs no connection to us.
Scan
A code on the document will show that it was registered, on which date and under which regime. This option is not available yet.
Anyone · coming soon
Full chain
The complete chain of signatures, from the single document up to the signed log of that day.
A lawyer
Offline
A command-line tool checks the receipt against our public key. It needs no connection to us and keeps working if Lethra no longer exists.
A court or an auditor
05 · Who it is for
We see six kinds of platform in Germany, Austria and Switzerland that produce documents they have to keep. These are the documents each one typically leaves behind.
Written notice, dispatch confirmation, postal tracking, the counterparty response.
4–8 documents per change
Declaration, submission confirmation, tax-office receipt, correspondence.
3–6 documents per filing
Supporting evidence, dispatch logs, insurer correspondence, settlement.
5–15 documents per claim
Consultation log, prescription, delivery confirmation.
2–5 documents per interaction
Application paperwork, bank dispatch, response handling.
4–10 documents per application
Applications, official correspondence, decisions.
5–10 documents per transaction
You name the regime when you store a document. We work out the deadline and delete on time. If a document has to be kept longer, for example during a legal dispute, you can pause the deletion.
06 · Status
Lethra is in a closed beta. The first partners use it with real documents, and we add new partners a few at a time.
There is no self-serve signup yet. Every integration starts with a kickoff call and a one-day workshop, so we only take on as many partners as we can look after properly.
Step 1
You tell us what your platform does and roughly how many documents it produces. We reply within one working day and set up a kickoff call.
Step 2
A full day with our team. We go through your documents and processes and plan the integration with you.
Step 3
You get a development account and test keys, and try the integration without real data.
Step 4
We help you connect your platform. An integration usually takes two to three weeks.
07 · Writing
In the blog we explain how the system is built and why we made the choices we made.
·5 min
No Kubernetes, no service mesh, no event bus, no dashboard for end users, no document management features. Each omission was a decision with a reason, and the reasons are more useful than the list.
Read →
·5 min
Retention rules differ by jurisdiction and change over time. Putting that behind a declared regime keeps it out of partner code, and makes the schedule an auditable artefact rather than a scattered assumption.
Read →
·5 min
One sealed envelope, one key, one lifecycle. Why the whole system is built around a single unit of retention, and what breaks in designs that pick a coarser one.
Read →
08 · Questions
You encrypt each document on your side, with a key we never receive, before you call Store. We hold the ciphertext and the metadata you send with it. We can prove what was stored, when it arrived and that it has not changed. If an authority wants the content, it has to ask you.
No. There are no tokens, no coins and no chain. We use encryption and signatures to protect documents and to prove what happened to them.
The document is deleted. This happens on schedule, after a data-subject request that you pass on to us, or when you discard your own key. Deletion cannot be undone. For each deletion you get a Certificate of Forgetting, a signed PDF and JSON record that includes the hash of the original document.
We hold only ciphertext and our own keys, and we have a documented incident response process. If someone broke into our storage, they would get files they cannot read, because your key was never with us.
Not yet. So far we have put our time and money into building the system, and a formal audit is still ahead of us.
You are the controller and we are the processor. We act only on your instruction. Every delete call states its mode, so the record shows what was requested and why. Where two obligations conflict, you make the decision.
You can still verify your receipts. The command-line verifier checks a receipt against our public key and needs no connection to our systems. We also recommend that you keep your own copy of each document and its receipt.
Yes, and we have a standard data processing agreement ready. Beta partners receive it during onboarding. If your legal team needs different terms, we can discuss them.
09 · Contact
We work with a small number of platforms at a time. Before anything is integrated, you get a kickoff call and a one-day workshop on your own case.
You get a kickoff call and a full-day workshop with the people who built Lethra. We go through your documents, show you the four API calls on your own document types, and tell you whether Lethra makes sense for you at this stage.
We get your feedback on a real integration. Beta partners have a say in the metadata model, the webhook format and the contents of the certificate.
In return you pay reduced rates during the beta.
Prefer email
office@lethra.ioTell us what your platform does and roughly how many documents it produces a month. That is all we need to start.
If your platform produces documents that have to be kept, write to us.
We only use your address for launch news. To get a workshop, use the application form above.
Lethra Technologies Ltd. would like to measure how this site is used: which pages get read, and where applications stall. The tool is PostHog, our processor, running on European infrastructure and served from lethra.io rather than from an analytics domain. Nothing here reaches an advertising network, and your choice is free: decline and the site works exactly as it does now.