A commercial invoice

A commercial invoice: letterhead, logo, a billed-lines table, totals, and a QR code that pays it by SEPA transfer.

This is the document the team built the library to make. One page carries a letterhead with a logo, the seller and buyer blocks, a table of billed lines with quantities and unit prices, the totals under it, and a payment block at the foot. The table paginates on its own, so an invoice of forty lines is the same code as an invoice of four.

The code in the payment block is a SEPA credit transfer. A phone's banking application reads it and offers to pay that exact amount into that exact account, so nobody has to retype an IBAN off a screen. The team runs a code reader over the finished page and reads the transfer back, which is how the sample below is checked before it is published.

What this example shows

  • A letterhead, a logo and address blocks placed by coordinates.
  • A billed-lines table that carries its heading onto the next page.
  • A QR code holding a SEPA credit transfer a banking app can pay.

The code, in full

The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.

The document itself

The same document is written in each of these languages. Open the one you want to look at.

Open the document in English Open the document in French

Read the Rust source Read the Python source

First page of A commercial invoice

What this document weighs

Before 169,872 bytes
Now 99,848 bytes
Saved 41.2 %

Not one mark on the page changed. See every document measured.

Examples near this one

A delivery note

The note that travels with the goods: a barcode against each article, a box the receiver ticks, and the consignment's own code.

A payslip

A payslip: eighteen contribution lines with employee and employer shares, the month against the year to date.

A landscape certificate

A landscape certificate whose border and seal are drawn line by line rather than placed as pictures.

A boarding pass

A boarding pass carrying the IATA BCBP string a gate scanner reads.

Every example, by subject

Glossary

QR Code
The square of black and white dots you point a telephone at: on a poster, on a restaurant table, at the foot of a bill. It carries a web address, or the exact details of a payment, so nobody has to type anything in. On an invoice it turns paying into one tap.