← All templates

DIN 5008 German Letter

The DIN 5008 standard defines German business correspondence layout: margins, fold marks, address placement, reference lines, closing blocks. This template implements all of it. You provide the content as JSON, we handle the formatting. Typeset in Source Sans 3.

Template by Sematre

Example output

DIN 5008 German Letter example

Download example PDF →

Fields

FieldTypeStatus
senderSenderrequired
recipientstringrequired
datestringrequired
subjectstringrequired
bodystringrequired
annotationsstring | nulloptional
reference_signs[ReferenceSign] | nulloptional
closingstringdefault: "Mit freundlichen Grüßen"
attachments[string] | nulloptional
paperstringdefault: "a4"

Example

Request
POST https://api.lobsterpdf.com/render/din5008
Authorization: Bearer $LOBSTER_KEY
Content-Type: application/json

{
  "sender": {
    "name": "Dr. Katharina Schneider",
    "address": "Leopoldstraße 42, 80802 München",
    "phone": "+49 89 2180 7654",
    "email": "k.schneider@kanzlei-schneider.de"
  },
  "recipient": "Herrn\nThomas Weber\nWeber Architektur GmbH\nLindenstraße 28\n10969 Berlin",
  "date": "15. März 2026",
  "subject": "Ihr Angebot vom 3. März 2026 — Büroumbau",
  "body": "Sehr geehrter Herr Weber,\n\nvielen Dank für Ihr Angebot zur Neugestaltung unserer Kanzleiräume. Wir haben Ihren Entwurf im Team eingehend geprüft und sind von Ihrem Konzept überzeugt.\n\nGerne beauftragen wir Sie mit der Umsetzung zum vereinbarten Festpreis von 45.000 EUR zzgl. MwSt. Als Projektstart schlagen wir den 1. April 2026 vor.\n\nBitte senden Sie uns den unterschriebenen Vertrag bis zum 25. März 2026 zurück. Bei Rückfragen stehe ich Ihnen jederzeit gerne zur Verfügung.",
  "reference_signs": [
    {
      "label": "Unser Zeichen",
      "value": "KS/2026-0147"
    }
  ],
  "closing": "Mit freundlichen Grüßen",
  "attachments": [
    "Vertragsentwurf (2 Exemplare)",
    "Leistungsverzeichnis"
  ]
}
Response
{"url": "https://api.lobsterpdf.com/pdf/a1b2c3d4e5f6"}

JSON Schema

{
  "$defs": {
    "ReferenceSign": {
      "properties": {
        "label": {
          "title": "Label",
          "type": "string"
        },
        "value": {
          "title": "Value",
          "type": "string"
        }
      },
      "required": [
        "label",
        "value"
      ],
      "title": "ReferenceSign",
      "type": "object"
    },
    "Sender": {
      "properties": {
        "name": {
          "title": "Name",
          "type": "string"
        },
        "address": {
          "title": "Address",
          "type": "string"
        },
        "phone": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Phone"
        },
        "email": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Email"
        }
      },
      "required": [
        "name",
        "address"
      ],
      "title": "Sender",
      "type": "object"
    }
  },
  "properties": {
    "sender": {
      "$ref": "#/$defs/Sender"
    },
    "recipient": {
      "title": "Recipient",
      "type": "string"
    },
    "date": {
      "title": "Date",
      "type": "string"
    },
    "subject": {
      "title": "Subject",
      "type": "string"
    },
    "body": {
      "title": "Body",
      "type": "string"
    },
    "annotations": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Annotations"
    },
    "reference_signs": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ReferenceSign"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Reference Signs"
    },
    "closing": {
      "default": "Mit freundlichen Grüßen",
      "title": "Closing",
      "type": "string"
    },
    "attachments": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Attachments"
    },
    "paper": {
      "default": "a4",
      "title": "Paper",
      "type": "string"
    }
  },
  "required": [
    "sender",
    "recipient",
    "date",
    "subject",
    "body"
  ],
  "title": "Din5008Data",
  "type": "object"
}