Skip to content

LiquidPDF

German donation receipt (Spendenbescheinigung)

A receipt for a monetary donation laid out after the wording of the official German sample: the amount in figures and, through numToWords, in capital letters as the form asks, the exemption notice of the tax office, and the liability note. It shows the mechanics; have your tax adviser check the wording for your organisation.

Free plan, no card. You get your own copy in the editor, published and ready for the API.

Rendered result

Rendered result: German donation receipt (Spendenbescheinigung)
PDF · 1 page · 111 KB ↓ download

What this example shows

  • donation.amount | numToWords: "de" | upper writes the amount as ZWEIHUNDERTFÜNFZIG, the spelled-out form the receipt asks for beside the figures.
  • The yes/no boxes for the waiver of reimbursement are one Liquid {% if donation.waiver %}.
  • Tax office, tax number, date and period of the exemption notice come from the data, so one template serves several organisations.
  • The year’s receipts are one batch: an item per donation, a zip at the end.
  • The wording is modelled on the official sample for monetary donations to corporations; it shows the mechanics and is no tax advice, so have your tax adviser check it for your organisation.

Helpers used

Template folder

templates/spendenbescheinigung/template.htmlLiquid
<p class="issuer"><strong>{{ organisation.name }}</strong><br>{{ organisation.street }} · {{ organisation.city }}</p>

<h1>Bestätigung über Geldzuwendungen</h1>
<p class="muted">im Sinne des § 10b des Einkommensteuergesetzes an eine der in § 5 Abs. 1 Nr. 9 des Körperschaftsteuergesetzes bezeichneten Körperschaften, Personenvereinigungen oder Vermögensmassen</p>

<h2>Name und Anschrift des Zuwendenden</h2>
<p class="box">{{ donor.name }}<br>{{ donor.street }}<br>{{ donor.city }}</p>

<table class="amount">
  <tr>
    <th>Betrag der Zuwendung in Ziffern</th>
    <th>in Buchstaben</th>
    <th>Tag der Zuwendung</th>
  </tr>
  <tr>
    <td>{{ donation.amount | money }}</td>
    <td>{{ donation.amount | numToWords: "de" | upper }} EURO</td>
    <td>{{ donation.date | date: "dd.MM.yyyy" }}</td>
  </tr>
</table>

<p>Es handelt sich um den Verzicht auf Erstattung von Aufwendungen: {% if donation.waiver %}Ja ☒ Nein ☐{% else %}Ja ☐ Nein ☒{% endif %}</p>

<p>
  Wir sind wegen Förderung {{ organisation.purpose }} nach dem Freistellungsbescheid des Finanzamts {{ organisation.tax_office }},
  StNr. {{ organisation.tax_number }}, vom {{ organisation.notice_date | date: "dd.MM.yyyy" }} für den letzten Veranlagungszeitraum
  {{ organisation.notice_period }} nach § 5 Abs. 1 Nr. 9 des Körperschaftsteuergesetzes von der Körperschaftsteuer und nach
  § 3 Nr. 6 des Gewerbesteuergesetzes von der Gewerbesteuer befreit.
</p>
<p>Es wird bestätigt, dass die Zuwendung nur zur Förderung {{ organisation.purpose }} verwendet wird.</p>

<div class="sign">
  <p>{{ receipt.place }}, {{ receipt.date | date: "dd.MM.yyyy" }}</p>
  <div><span></span>{{ receipt.signer }}, {{ receipt.signer_role }}</div>
</div>

<p class="note">
  <strong>Hinweis:</strong> Wer vorsätzlich oder grob fahrlässig eine unrichtige Zuwendungsbestätigung erstellt oder veranlasst,
  dass Zuwendungen nicht zu den in der Zuwendungsbestätigung angegebenen steuerbegünstigten Zwecken verwendet werden, haftet für
  die entgangene Steuer (§ 10b Abs. 4 EStG, § 9 Abs. 3 KStG, § 9 Nr. 5 GewStG).
</p>
templates/spendenbescheinigung/style.cssCSS
body { font-family: 'Inter', sans-serif; font-size: 9.5pt; line-height: 1.5; color: #1e293b; }
.issuer { margin: 0 0 12mm; padding-bottom: 4mm; border-bottom: 1px solid #cbd5e1; }
h1 { margin: 0 0 1mm; font-size: 15pt; }
h2 { margin: 8mm 0 2mm; font-size: 8pt; letter-spacing: 0.05em; text-transform: uppercase; color: #64748b; }
.muted { margin: 0; font-size: 8pt; color: #64748b; }
.box { margin: 0; padding: 3mm 4mm; border: 1px solid #cbd5e1; border-radius: 1.5mm; }
.amount { width: 100%; margin: 8mm 0 6mm; border-collapse: collapse; }
.amount th { padding: 0 2mm 1.5mm 0; text-align: left; font-size: 7.5pt; font-weight: 400; color: #64748b; }
.amount td { padding: 2.5mm 2mm 2.5mm 0; border-top: 1.5px solid #1e293b; border-bottom: 1px solid #cbd5e1; font-weight: 600; }
p { margin: 0 0 4mm; }
.sign { margin-top: 14mm; break-inside: avoid; }
.sign div { width: 80mm; margin-top: 14mm; font-size: 8pt; color: #64748b; }
.sign span { display: block; margin-bottom: 1.5mm; border-top: 1px solid #1e293b; }
.note { margin-top: 12mm; font-size: 7.5pt; color: #64748b; }
templates/spendenbescheinigung/head.htmlHTML
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap">
templates/spendenbescheinigung/settings.jsonJSON
{
  "pdf": {
    "metadata": {
      "title": "Bestätigung über Geldzuwendungen"
    }
  },
  "paper": {
    "format": "A4"
  },
  "margin": {
    "top": "20mm",
    "right": "20mm",
    "bottom": "20mm",
    "left": "22mm"
  },
  "locale": "de-DE",
  "timezone": "Europe/Berlin",
  "currency": "EUR"
}
templates/spendenbescheinigung/data/default.jsonJSON
{
  "organisation": {
    "name": "Förderverein Musterstadt e. V.",
    "street": "Musterstraße 1",
    "city": "12345 Musterstadt",
    "purpose": "der Jugendhilfe",
    "tax_office": "Musterstadt",
    "tax_number": "000/000/00000",
    "notice_date": "2025-03-14",
    "notice_period": "2021 bis 2023"
  },
  "donor": {
    "name": "Erika Mustermann",
    "street": "Beispielweg 2",
    "city": "54321 Beispielstadt"
  },
  "donation": {
    "amount": 250,
    "date": "2026-09-10",
    "waiver": false
  },
  "receipt": {
    "place": "Musterstadt",
    "date": "2026-09-18",
    "signer": "Max Mustermann",
    "signer_role": "Schatzmeister"
  }
}

Render it through the API

Save the sample data as data.json and send it with the template’s name. Each language uses its SDK; curl sends the same JSON to the REST API, as any other language can. Renders with a key that starts with ff_test_ are not metered; on the Free plan they carry a small watermark.

render.shShell
jq '{template: "spendenbescheinigung", data: .}' data.json \
  | curl https://api-eu.formfeed.dev/v1/renders \
      -H "Authorization: Bearer ff_test_..." \
      -H "Content-Type: application/json" \
      --data-binary @-
render.tsTypeScript
import { Formfeed } from '@formfeed/sdk';
import data from './data.json' with { type: 'json' };

const formfeed = new Formfeed({ apiKey: process.env.FORMFEED_API_KEY! });

const render = await formfeed.renders.create({
  template: 'spendenbescheinigung',
  data,
});
console.log(render.status, render.download_url);
render.pyPython
import json
import os

from formfeed import Formfeed

formfeed = Formfeed(api_key=os.environ["FORMFEED_API_KEY"])

with open("data.json", encoding="utf-8") as file:
    data = json.load(file)

render = formfeed.renders.create(
    template="spendenbescheinigung",
    data=data,
)
print(render.status, render.download_url)
render.phpPHP
<?php
require __DIR__ . '/vendor/autoload.php';

$formfeed = new Formfeed\Client(apiKey: getenv('FORMFEED_API_KEY'));

$render = $formfeed->renders->create([
    'template' => 'spendenbescheinigung',
    'data' => json_decode(file_get_contents('data.json'), true),
]);
echo $render->status, ' ', $render->downloadUrl, PHP_EOL;
main.goGo
package main

import (
	"context"
	"encoding/json"
	"fmt"
	"log"
	"os"

	formfeed "github.com/formfeed-dev/formfeed-go"
)

func main() {
	client := formfeed.NewClient(os.Getenv("FORMFEED_API_KEY"))

	contents, err := os.ReadFile("data.json")
	if err != nil {
		log.Fatal(err)
	}
	var data map[string]any
	if err := json.Unmarshal(contents, &data); err != nil {
		log.Fatal(err)
	}

	render, err := client.Renders.Create(context.Background(), formfeed.RenderRequest{
		Template: "spendenbescheinigung",
		Data:     data,
	})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(render.Status, render.DownloadURL)
}
Program.csC#
using System.Text.Json;
using Formfeed;

using var formfeed = new FormfeedClient(Environment.GetEnvironmentVariable("FORMFEED_API_KEY"));

var render = await formfeed.Renders.CreateAsync(new RenderRequest
{
    Template = "spendenbescheinigung",
    Data = JsonSerializer.Deserialize<Dictionary<string, object?>>(File.ReadAllText("data.json")),
});
Console.WriteLine($"{render.Status} {render.DownloadUrl}");
Render.javaJava
import com.fasterxml.jackson.databind.ObjectMapper;
import dev.formfeed.Formfeed;
import dev.formfeed.RenderRequest;
import java.io.File;

public class Render {
  public static void main(String[] args) throws Exception {
    var formfeed = Formfeed.builder().apiKey(System.getenv("FORMFEED_API_KEY")).build();
    var data = new ObjectMapper().readTree(new File("data.json"));

    var request = RenderRequest.template("spendenbescheinigung")
        .data(data);
    var render = formfeed.renders().create(request);
    System.out.println(render.getStatus() + " " + render.getDownloadUrl());
  }
}
render.rbRuby
require "json"
require "formfeed"

formfeed = Formfeed::Client.new(api_key: ENV.fetch("FORMFEED_API_KEY"))

render = formfeed.renders.create(
  template: "spendenbescheinigung",
  data: JSON.parse(File.read("data.json"))
)
puts "#{render.status} #{render.download_url}"

More ways to call it

TypeScript
// the year's receipts in one job, one PDF per donor
const job = await formfeed.renders.batch({
  template: 'spendenbescheinigung',
  zip: true,
  items: donations.map((donation) => ({
    data: { organisation, donor: donation.donor, donation, receipt },
  })),
});

Start rendering today

The free plan includes 100 units a month and free test renders. Change plans when you need more.