Skip to content

Page and document

The paper and its margins.

Type: page size · Default: A4

Named sizes are portrait unless orientation is landscape; explicit sizes are used as written.

Type: keyword · Default: portrait

Turns a named size to landscape.

One of:

  • portrait
  • landscape

Type: edges · Default: 36pt

Space between the page edges and the content.

The PDF document: its metadata, structure and the standards it conforms to.

Type: text

The PDF author.

Type: text

The PDF subject.

Type: list of text

The PDF keywords.

Type: true or false · Default: true

Emit a tagged (structured) PDF. On by default; PDF/UA requires it.

Type: list of keyword

Standards the PDF conforms to.

One of:

  • pdf-a-2b
  • pdf-a-3b
  • pdf-a-4
  • pdf-a-4f
  • pdf-ua-1
  • pdf-ua-2

Type: list of object

Files embedded in the PDF.

Type: object

Hybrid e-invoice (Factur-X / ZUGFeRD): embeds the XML and writes the required XMP metadata.

A file embedded in the PDF. Each entry of document.attachments:

Type: text · Required

File name shown by PDF viewers.

Type: text · Required

Text template; a single expression ("{Xml}") binds raw bytes or text.

Type: text · Default: application/octet-stream

Media type, e.g. application/xml.

Type: text

Shown in the PDF viewer’s list of attachments.

Type: keyword · Default: unspecified

How an attachment relates to the document (the PDF/A-3 AFRelationship).

One of:

  • unspecified
  • source
  • data
  • alternative
  • supplement

A hybrid e-invoice. document.eInvoice:

Type: keyword · Default: factur-x

The e-invoice standard: Factur-X, which is also ZUGFeRD 2.

One of:

  • factur-x

Type: keyword · Default: en16931

The Factur-X profile (conformance level) of the XML.

One of:

  • minimum
  • basic-wl
  • basic
  • en16931
  • extended

Type: text · Required

Text template yielding the CII XML, usually a single expression over a parameter.