InvoiceWithMe

A short history of the invoice, from clay tablets to JSON

By Muhammad SaadPublished Updated 8 min read

Essay

Five thousand years of a stubborn document

The invoice is older than people think. It predates paper, it predates the alphabet, and it predates writing as we usually picture it. The oldest invoices we still have today were originally fist-sized lumps of clay, and they are sitting in climate-controlled boxes at the British Museum and the Louvre with reference numbers attached to them.

Mesopotamia, about five thousand years ago

In ancient Sumer, around 3000 BCE, traders pressed wedge-shaped marks into wet clay to record what one person owed another. A typical tablet might read, in modern translation, something like: thirty measures of barley delivered to the temple, by Lugal-ibni-Sin, in the third month of the year.

These were not metaphorically invoices. They were literal invoices. A document, given by one party to another, recording a quantity of goods and the obligation attached to them. Some had cylinder-seal signatures rolled across the clay. Some had witness names listed at the bottom. They have survived intact because the clay was often baked, and even the unbaked tablets last more or less forever in dry conditions.

What is striking is how similar the structure is to a modern invoice. Buyer, seller, quantity, item, date. The shape of the document on your laptop today is a five-thousand-year-old format. Almost nothing else in our daily lives is that consistent across that kind of time.

Rome and the wax-tablet tabulae

By the height of the Roman empire, invoicing had moved to wax-coated wooden tablets, the tabulae. The advantage of wax was that it was reusable: Romans wrote with a stylus, scraped the wax flat when done, and started over. For permanent records they used parchment.

Roman invoices included most of what we would still expect today: a description of goods, a price, often a reference back to a contract. They also included one feature modern invoices have lost. It was common to inscribe a small curse on the back of a tablet asking the gods to bring misfortune on anyone who failed to pay. Several have been excavated from the ruins of Pompeii. I have a great deal of sympathy with the practice.

The double-entry breakthrough

For most of human history, an invoice was a one-sided record. The seller kept track of what was owed; the buyer might or might not keep their own copy. This led to constant disputes and it led, eventually, to the great accounting innovation of the thirteenth century.

In medieval northern Italy, merchant families in Venice, Genoa and Florence developed double-entry bookkeeping: every transaction recorded twice, once as a credit and once as a debit, so the books always balanced and any discrepancy was visible. Luca Pacioli wrote it down formally in 1494, in a book called Summa de Arithmetica, Geometria, Proportioni et Proportionalita, which is also the first time the modern invoice format appears in printed form. Numbers in columns, subtotals on the right, a grand total at the bottom.

If you stare at one of Pacioli's example invoices long enough, it becomes indistinguishable from a 2026 freelance invoice except for the language and the currency. The format reached its mature shape five hundred years ago and basically stopped changing.

Paper, then carbon paper, then fax

From the printing press onwards, invoices were paper documents. Hand-written, then typewritten, then mass-printed on pre-perforated multi-part forms with carbon paper sandwiched between them. Three copies: one for the seller, one for the buyer, one for the file. The yellow carbon copy is a thing your grandparents knew well and your kids will never see.

Fax took over for business invoicing in the 1980s and 1990s. Companies faxed invoices to each other because it was faster than mail and produced a printed record at the receiving end. Some industries kept faxing well into the late 2010s. Japan in particular stuck with fax for B2B paperwork for a remarkably long time. The fax machine's death has been greatly exaggerated.

Email, PDF, and the era we are still in

The invoice as most people know it today, a PDF attached to an email, is roughly a twenty-five-year-old format. Adobe shipped the first PDF spec in 1993, but PDF only became dominant for invoicing in the early 2000s. Before that businesses often emailed Word documents back and forth, which were inconvenient because they kept getting accidentally edited by the recipient.

PDF fixed that. It is essentially digital paper. It renders the same on every device, can be signed, can be archived, and is universally accepted as proof. The entire rise of online invoicing tools, from FreshBooks and Wave through to this site, sits on top of the PDF format.

E-invoicing: the future already arriving in Europe

The next shift is already in motion, mostly in the European Union. E-invoicing replaces the PDF with a structured data format (typically XML, sometimes JSON wrappers like UBL or Factur-X) that machines can read directly without OCR. Italy, Spain, Poland and Hungary have already mandated structured e-invoicing for B2B transactions. France is rolling it out for all businesses on a phased timeline starting in 2026. Germany began phasing requirements in for B2B in January 2025.

The advantage is automation. Your accounting software ingests a structured invoice without anyone having to retype the line items. The disadvantage is that a pure data invoice is not human-readable; you still need a PDF rendering for the actual person looking at it.

So the invoice is likely to split in two. A structured data payload for the accounting systems, and a PDF for the humans. The PDF will not disappear because humans still want a document to look at. What the document represents will just be encoded twice and the structured copy will do the boring work.

What has stayed the same

Five millennia of innovation in materials, transmission, layout, ledger systems and storage. And yet what an invoice does, record an obligation between two parties, has not really changed. The structure has barely moved either. Names, items, amounts, totals, terms.

Worth thinking about the next time you generate one. You are using a document format that was invented before metallurgy.

Muhammad Saad.

Send a five-thousand-year-old document format today. Open the generator.
A short history of the invoice, from clay tablets to JSON | InvoiceWithMe