Skip to main content

Use cases

10-year legal archival (S3 + WORM retention)

Retention compliant with article L102 B of the LPF

Every Scell.io-issued invoice and every eIDAS-signed document is automatically archived for 10 years (French legal duration, article L102 B of the LPF). Storage: Scaleway S3 with Object Lock in Compliance mode (WORM = Write Once Read Many) preventing any deletion, even by a Scell.io administrator. Factur-X PDFs and signatures are accessible anytime via `GET /api/v1/invoices/{id}/download` or `GET /api/v1/signatures/{id}/download` (1h S3 signed URL). Additionally, the audit trail (SHA-256 chain + RFC 3161 TSA anchoring) guarantees historical integrity. No client action required: retention is managed by Scell.io.

Key facts

  • 10-year retention (article L102 B LPF)
  • Scaleway S3 Object Lock Compliance mode (WORM)
  • No deletion possible, not even by Scell.io admin
  • Download via S3 signed URL (1h)
  • Daily RFC 3161 TSA anchoring (historical integrity)
  • No client-side action required

Code example

import { ScellClient } from '@scell/sdk';
import { writeFileSync } from 'node:fs';

const scell = new ScellClient({ apiKey: process.env.SCELL_SECRET_KEY! });

// Récupérer une facture vieille de 8 ans (conservation 10 ans garantie)
const pdfBuffer = await scell.invoices.download('inv_old_8_years_ago');
writeFileSync('/tmp/old-invoice.pdf', pdfBuffer);

// Vérifier l'intégrité de l'archive
const proof = await scell.invoices.integrityProof('inv_old_8_years_ago');
console.log(`SHA-256: ${proof.sha256} | TSA anchor: ${proof.tsa_timestamp}`);

See also

Your cookie preferences

We use cookies to improve your experience. Essential cookies are always active. Cookie policy.