attachment
An attachment is a whole file tucked inside a PDF and carried along with it, the way a paper clip holds a sheet to a folder.
In more detail
The document you see on screen is one thing; the file clipped inside it is another, and the two travel as one. Opening the document is enough to get the second one back out — every ordinary reader shows a list of what a document carries, and saving one from that list gives you the original file, byte for byte.
It is not a picture pasted into the page. A picture becomes ink; an attachment stays the file it was, with its own name and its own kind, and comes back out unchanged.
What it does on a real document
The everyday case is the electronic invoice. The page a person reads carries, clipped inside it, the same amounts written out for accounting software: one document to send, one to file, and nobody retypes anything.
It is not only invoices. A report can carry the spreadsheet its figures came from, and a set of plans the drawing they were produced from. Beside the file itself the document carries its name, a sentence describing it, its kind, its date, and the relationship it bears to the page — is it the source of the page, an alternative to it, or data that goes with it.
Where it comes from, and why
Carrying a file inside a document was always allowed by the format. What was not allowed was doing it in a document kept for the long term: the earlier archiving rules refused it outright, because nobody could promise the carried file would still be readable.
The third part of the archiving rules, published in 2012, is the one that opened the door, and it opened it precisely so that an invoice could be a page and a data file at once. The fourth part narrowed it again and then added a form of its own for documents that carry files of any kind.
See it on a finished document
An invoice a machine reads too An archivable PDF/A-3 form The rules behind this word, and the texts they are read from
Glossary
- byte
- The unit a file's weight is counted in, the way a parcel is counted in grams. A thousand of them make a kilobyte, and a million make a megabyte — the size of one photograph taken with a telephone. A one-page PDF here weighs between six thousand and a hundred and twenty thousand, so a hundred of them fit in the space of five photographs.
- Factur-X
- An invoice that is a page for a person and a data file for a machine, in one document. The page looks like any invoice; inside, the same amounts are attached in a form accounting software reads without anybody retyping them. French law requires this exchange between companies.
- CMYK
- The four inks a printing press lays down: cyan, magenta, yellow and black. A screen mixes light instead, so a document going to a press states its colours in inks, not in screen colours.