Archive API
GoBD-compliant long-term archiving for e-invoices. Audit-proof, with qualified timestamps and complete audit trail.
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
1// Geplante API2const 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 Jahre11 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 Hash21console.log(result.timestamp); // Qualifizierter Zeitstempel22console.log(result.retentionUntil); // "2035-01-15"Retrieve Archive
1// Archivierte Rechnung abrufen2const 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-Rechnung11console.log(data.auditLog); // Vollständiges Audit-Log12console.log(data.verification); // IntegritätsprüfungPlanned Compliance
| Standard | Description | Status |
|---|---|---|
| GoBD | German principles of proper accounting | Planned |
| AO § 147 | Retention obligations under tax code | Planned |
| DSGVO | EU General Data Protection Regulation | Planned |
| eIDAS | Qualified timestamps and signatures | Planned |
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.