Urgent.News

What's breaking now, across thousands of outlets.

Tech

Archiving Invoices as PDF/A: What the Format Forbids, and Why Your Pipeline Should Care

A client in Germany asked me last year whether the invoices I send will "still open in ten years." It was not small talk. German bookkeeping rules expect business documents to stay readable and unaltered for a decade, and "it's a PDF" is not the same as "it's an archival PDF." The format designed for that promise is PDF/A — and the first time you convert real-world invoices to it, several of them…

A German client inquired about the long-term readability of invoices they receive. It became clear that German bookkeeping rules require business documents to remain readable and unaltered for at least a decade. PDF is not the same as an archival PDF. The process designed for that purpose is PDF/A. When invoices are converted to PDF/A, several issues may arise.

PDF/A is a limited subset of PDF (ISO 19005). Its purpose is to make the file completely self-contained, as anything referenced externally can become obsolete within a decade. PDF/A requires all fonts to be embedded, uses device-independent color, does not allow encryption, JavaScript, audio/video, or external references. If a file validates as PDF/A, any conforming reader should render it identically decades later.

There are three levels of PDF/A: PDF/A-1 (oldest and strictest), PDF/A-2 (allows transparency and layers), and PDF/A-3 (permits embedded files, used in e-invoicing formats like ZUGFeRD/Factur-X). The choice of level depends on the specific requirements and the contents of the invoice.

Common issues encountered when converting real invoices to PDF/A include unembedded fonts, encryption or permissions flags, device-dependent color, and transparency and blend modes in logos and stamps. Choosing the appropriate level determines how much of the existing artwork will be preserved in the final archival copy.

Conversion should be an integral part of the production pipeline, not an afterthought. When invoices are issued, the same job that generates the PDF should also generate the archival copy and validate it. This ensures that conversion is controlled and consistent. Validation reports should be stored alongside the archival files for future reference and auditing.

To maintain the integrity of the conversion process, keep the original invoice and the archival copy together. Slight changes in appearance, such as color conversion, can occur during conversion. Storing the original and the archival copy together ensures that any potential discrepancies can be easily identified and addressed. Additionally, convert invoices at the time of issuance rather than in a bulk job years later, as the fonts and templates used for conversion are likely to remain accessible.

This approach allows for a reliable and testable answer to the question, "Will it open in ten years?"

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Microservices Architecture Explained: Benefits, Challenges, Scalability & Best Practices

Microservices have become a widely adopted architectural style for building modern software systems, especially in environments where scalability, independent deployment, and rapid iteration are…

  • Microservices split applications into small, specialized services for distinct functions.
  • Enables independent deployment and scaling of services based on demand.
  • Requires careful service design, observability, and disciplined practices.

Text-to-SQL Agents Are Breaking the Semantic Layer dbt Built

TL;DR — Semantic layers like dbt's metrics layer, Cube, and LookML exist to stop every tool from reinventing what 'revenue' means.

  • Text-to-SQL agents query raw warehouse tables directly, breaking semantic layers.
  • Fix involves giving agents access to semantic layer's query API, not raw SQL connections.

Ubuntu 26.10 released

Canonical has announced the release of Ubuntu 26.10 ("Stonking Stingray"): Ubuntu 26.10 advances enterprise security features, completes the rollout of the Rust-based uutils coreutils , and…

More from Thursday 15 October →