Planned Q1/2027

Archive API

GoBD-compliant long-term archiving for e-invoices. Audit-proof, with qualified timestamps and complete audit trail.

In Planning

Coming Soon

The Archive API is in planning and is expected to be released in Q1/2027. Sign up to be notified.

API Preview

Archive Invoice

typescript
1// Geplante API
2const response = await fetch('https://service.invoice-api.xhub.io/api/archive/store', {
3 method: 'POST',
4 headers: {
5 'Authorization': 'Bearer sk_live_...',
6 'Content-Type': 'application/json'
7 },
8 body: JSON.stringify({
9 invoiceId: 'inv_xyz789',
10 retentionYears: 10, // GoBD: 10 Jahre
11 metadata: {
12 department: 'Buchhaltung',
13 project: 'PRJ-2025-001'
14 }
15 })
16});
17 
18const result = await response.json();
19console.log(result.archiveId); // "arc_abc123"
20console.log(result.hash); // SHA-256 Hash
21console.log(result.timestamp); // Qualifizierter Zeitstempel
22console.log(result.retentionUntil); // "2035-01-15"

Retrieve Archive

typescript
1// Archivierte Rechnung abrufen
2const archived = await fetch(
3 'https://service.invoice-api.xhub.io/api/archive/arc_abc123',
4 {
5 headers: { 'Authorization': 'Bearer sk_live_...' }
6 }
7);
8 
9const data = await archived.json();
10console.log(data.invoice); // Original-Rechnung
11console.log(data.auditLog); // Vollständiges Audit-Log
12console.log(data.verification); // Integritätsprüfung

Planned Compliance

StandardDescriptionStatus
GoBDGerman principles of proper accountingPlanned
AO § 147Retention obligations under tax codePlanned
DSGVOEU General Data Protection RegulationPlanned
eIDASQualified timestamps and signaturesPlanned

Planned Features

GoBD-compliant

Audit-proof archiving according to German accounting principles

10+ Years Storage

Automatic retention for the legally required period

Immutability

WORM storage (Write Once Read Many) prevents subsequent changes

Qualified Timestamps

TSP-compliant timestamps for legally secure archiving

Audit Trail

Complete logging of all access and changes

EU Data Centers

Data is stored exclusively in German/EU data centers

Audit-proof Security

WORM storage guarantees that archived documents cannot be modified or deleted - not even by administrators.

Encryption

AES-256 encryption at-rest and TLS 1.3 in-transit. Optional Bring-Your-Own-Key (BYOK) support.

Currently Available

Until the Archive API is available, created invoices are automatically stored for 30 days (Free), 1 year (Starter) or 10 years (Business). See Pricing for details.