
210 × 297 mm
Real estate
Betriebskostenabrechnung (utility cost statement)
A German annual utility cost statement for one flat in a DIN 5008 letter layout: each cost type is split by its allocation key (floor area, water meter, persons, units), heating costs come from the metering service, and the balance against the prepayments shows as a payment due or a refund.
Opens Dynamic Document API with this template preloaded in a free workspace.
Template language features
- Loops
- Conditionals
- Macros
- Filters
- Currency formatting
- Date formatting
- Number formatting
- Repeating table headers
- Header & footer
- Page numbers
Filters such as format_currency and qrcode are described in the template language reference.
Variables
Derived from the sample data: 9 top-level fields, 59 paths in total. Send the same shape as data.
| Path | Type | Example |
|---|---|---|
| manager | object | |
| manager.name | string | "Brookhoff Hausverwaltung GmbH" |
| manager.short_name | string | "Brookhoff Hausverwaltung" |
| manager.street | string | "Am Kanalufer 9" |
| manager.postcode | string | "22303" |
| manager.city | string | "Hamburg" |
| manager.phone | string | "+49 40 66969 040" |
| manager.email | string | "abrechnung@brookhoff.example.com" |
| manager.website | string | "brookhoff.example.com" |
| manager.register | string | "Amtsgericht Hamburg, HRB 123456" |
| manager.managing_director | string | "Jasper Brookhoff" |
| manager.vat_id | string | "DE123456789" |
| manager.iban | string | "DE00 EXMP 0000 0045 6789 01" |
| manager.bic | string | "EXMPDEHHXXX" |
| manager.office_hours | string | "Mo–Do 9–16 Uhr, Fr 9–13 Uhr" |
| contact | object | |
| contact.name | string | "Merle Tiedemann" |
| contact.phone | string | "+49 40 66969 047" |
| contact.email | string | "m.tiedemann@brookhoff.example.com" |
| landlord | string | "Eigentümergemeinschaft Holunderstieg 12–14" |
| property | object | |
| property.reference | string | "HOL-12" |
| property.address | string | "Holunderstieg 12–14, 22083 Hamburg" |
| property.units | number | 18 |
| tenancy | object | |
| tenancy.tenant_number | string | "M-0314-07" |
| tenancy.unit | string | "Holunderstieg 14, 3. OG links (Whg. 07)" |
| tenancy.tenants | array<object> · 2 | |
| tenancy.tenants[].salutation | string | "Frau" |
| tenancy.tenants[].first_name | string | "Leonie" |
| tenancy.tenants[].last_name | string | "Hartwig" |
| tenancy.street | string | "Holunderstieg 14" |
| tenancy.postcode | string | "22083" |
| tenancy.city | string | "Hamburg" |
| statement | object | |
| statement.date | date | "2026-09-21" |
| statement.period_start | date | "2025-01-01" |
| statement.period_end | date | "2025-12-31" |
| statement.payment_days | number | 30 |
| statement.monthly_prepayment | number | 215 |
| statement.months_paid | number | 12 |
| statement.new_monthly_prepayment | number | 225 |
| statement.new_prepayment_from | date | "2026-11-01" |
| allocation_keys | array<object> · 4 | |
| allocation_keys[].id | string | "area" |
| allocation_keys[].label | string | "Wohnfläche" |
| allocation_keys[].unit | string | "m²" |
| allocation_keys[].decimals | number | 2 |
| allocation_keys[].total | number | 1386.5 |
| allocation_keys[].share | number | 74.6 |
| costs | array<object> · 13 | |
| costs[].name | string | "Grundsteuer" |
| costs[].total | number | 3186.4 |
| costs[].key | string | "area" |
| costs[].tax_35a? | string | "service" |
| heating | object | |
| heating.label | string | "Heiz- und Warmwasserkosten" |
| heating.note | string | "lt. Einzelabrechnung des Messdienstes" |
| heating.amount | number | 846.27 |
Render it with the API
After adding the template to your workspace, render it by ID and pass your data. Arrays are shortened here.
curl -X POST https://api-eu.dynamicdocumentapi.com/v1/renders \
-H "Authorization: Bearer $DYNAMIC_DOCUMENT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"manager": {
"name": "Brookhoff Hausverwaltung GmbH",
"short_name": "Brookhoff Hausverwaltung",
"street": "Am Kanalufer 9",
"postcode": "22303",
"city": "Hamburg",
"phone": "+49 40 66969 040",
"email": "abrechnung@brookhoff.example.com",
"website": "brookhoff.example.com",
"register": "Amtsgericht Hamburg, HRB 123456",
"managing_director": "Jasper Brookhoff",
"vat_id": "DE123456789",
"iban": "DE00 EXMP 0000 0045 6789 01",
"bic": "EXMPDEHHXXX",
"office_hours": "Mo–Do 9–16 Uhr, Fr 9–13 Uhr"
},
"contact": {
"name": "Merle Tiedemann",
"phone": "+49 40 66969 047",
"email": "m.tiedemann@brookhoff.example.com"
},
"landlord": "Eigentümergemeinschaft Holunderstieg 12–14",
"property": {
"reference": "HOL-12",
"address": "Holunderstieg 12–14, 22083 Hamburg",
"units": 18
},
"tenancy": {
"tenant_number": "M-0314-07",
"unit": "Holunderstieg 14, 3. OG links (Whg. 07)",
"tenants": [
{
"salutation": "Frau",
"first_name": "Leonie",
"last_name": "Hartwig"
},
{
"salutation": "Herr",
"first_name": "Can",
"last_name": "Yilmaz"
}
],
"street": "Holunderstieg 14",
"postcode": "22083",
"city": "Hamburg"
},
"statement": {
"date": "2026-09-21",
"period_start": "2025-01-01",
"period_end": "2025-12-31",
"payment_days": 30,
"monthly_prepayment": 215,
"months_paid": 12,
"new_monthly_prepayment": 225,
"new_prepayment_from": "2026-11-01"
},
"allocation_keys": [
{
"id": "area",
"label": "Wohnfläche",
"unit": "m²",
"decimals": 2,
"total": 1386.5,
"share": 74.6
},
{
"id": "water",
"label": "Wasserverbrauch",
"unit": "m³",
"decimals": 1,
"total": 1536,
"share": 84.6
}
],
"costs": [
{
"name": "Grundsteuer",
"total": 3186.4,
"key": "area"
},
{
"name": "Wasserversorgung",
"total": 3456,
"key": "water"
}
],
"heating": {
"label": "Heiz- und Warmwasserkosten",
"note": "lt. Einzelabrechnung des Messdienstes",
"amount": 846.27
}
},
"output": {
"format": "pdf",
"filename": "utility-cost-statement.pdf"
}
}'const response = await fetch("https://api-eu.dynamicdocumentapi.com/v1/renders", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.DYNAMIC_DOCUMENT_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
},
"data": {
"manager": {
"name": "Brookhoff Hausverwaltung GmbH",
"short_name": "Brookhoff Hausverwaltung",
"street": "Am Kanalufer 9",
"postcode": "22303",
"city": "Hamburg",
"phone": "+49 40 66969 040",
"email": "abrechnung@brookhoff.example.com",
"website": "brookhoff.example.com",
"register": "Amtsgericht Hamburg, HRB 123456",
"managing_director": "Jasper Brookhoff",
"vat_id": "DE123456789",
"iban": "DE00 EXMP 0000 0045 6789 01",
"bic": "EXMPDEHHXXX",
"office_hours": "Mo–Do 9–16 Uhr, Fr 9–13 Uhr"
},
"contact": {
"name": "Merle Tiedemann",
"phone": "+49 40 66969 047",
"email": "m.tiedemann@brookhoff.example.com"
},
"landlord": "Eigentümergemeinschaft Holunderstieg 12–14",
"property": {
"reference": "HOL-12",
"address": "Holunderstieg 12–14, 22083 Hamburg",
"units": 18
},
"tenancy": {
"tenant_number": "M-0314-07",
"unit": "Holunderstieg 14, 3. OG links (Whg. 07)",
"tenants": [
{
"salutation": "Frau",
"first_name": "Leonie",
"last_name": "Hartwig"
},
{
"salutation": "Herr",
"first_name": "Can",
"last_name": "Yilmaz"
}
],
"street": "Holunderstieg 14",
"postcode": "22083",
"city": "Hamburg"
},
"statement": {
"date": "2026-09-21",
"period_start": "2025-01-01",
"period_end": "2025-12-31",
"payment_days": 30,
"monthly_prepayment": 215,
"months_paid": 12,
"new_monthly_prepayment": 225,
"new_prepayment_from": "2026-11-01"
},
"allocation_keys": [
{
"id": "area",
"label": "Wohnfläche",
"unit": "m²",
"decimals": 2,
"total": 1386.5,
"share": 74.6
},
{
"id": "water",
"label": "Wasserverbrauch",
"unit": "m³",
"decimals": 1,
"total": 1536,
"share": 84.6
}
],
"costs": [
{
"name": "Grundsteuer",
"total": 3186.4,
"key": "area"
},
{
"name": "Wasserversorgung",
"total": 3456,
"key": "water"
}
],
"heating": {
"label": "Heiz- und Warmwasserkosten",
"note": "lt. Einzelabrechnung des Messdienstes",
"amount": 846.27
}
},
"output": {
"format": "pdf",
"filename": "utility-cost-statement.pdf"
}
}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const result = await response.json();
console.log(result);import os
import uuid
import requests
response = requests.post(
"https://api-eu.dynamicdocumentapi.com/v1/renders",
headers={
"Authorization": f"Bearer {os.environ['DYNAMIC_DOCUMENT_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"input": {
"type": "template",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C",
},
"data": {
"manager": {
"name": "Brookhoff Hausverwaltung GmbH",
"short_name": "Brookhoff Hausverwaltung",
"street": "Am Kanalufer 9",
"postcode": "22303",
"city": "Hamburg",
"phone": "+49 40 66969 040",
"email": "abrechnung@brookhoff.example.com",
"website": "brookhoff.example.com",
"register": "Amtsgericht Hamburg, HRB 123456",
"managing_director": "Jasper Brookhoff",
"vat_id": "DE123456789",
"iban": "DE00 EXMP 0000 0045 6789 01",
"bic": "EXMPDEHHXXX",
"office_hours": "Mo–Do 9–16 Uhr, Fr 9–13 Uhr",
},
"contact": {
"name": "Merle Tiedemann",
"phone": "+49 40 66969 047",
"email": "m.tiedemann@brookhoff.example.com",
},
"landlord": "Eigentümergemeinschaft Holunderstieg 12–14",
"property": {
"reference": "HOL-12",
"address": "Holunderstieg 12–14, 22083 Hamburg",
"units": 18,
},
"tenancy": {
"tenant_number": "M-0314-07",
"unit": "Holunderstieg 14, 3. OG links (Whg. 07)",
"tenants": [
{
"salutation": "Frau",
"first_name": "Leonie",
"last_name": "Hartwig",
},
{
"salutation": "Herr",
"first_name": "Can",
"last_name": "Yilmaz",
},
],
"street": "Holunderstieg 14",
"postcode": "22083",
"city": "Hamburg",
},
"statement": {
"date": "2026-09-21",
"period_start": "2025-01-01",
"period_end": "2025-12-31",
"payment_days": 30,
"monthly_prepayment": 215,
"months_paid": 12,
"new_monthly_prepayment": 225,
"new_prepayment_from": "2026-11-01",
},
"allocation_keys": [
{
"id": "area",
"label": "Wohnfläche",
"unit": "m²",
"decimals": 2,
"total": 1386.5,
"share": 74.6,
},
{
"id": "water",
"label": "Wasserverbrauch",
"unit": "m³",
"decimals": 1,
"total": 1536,
"share": 84.6,
},
],
"costs": [
{
"name": "Grundsteuer",
"total": 3186.4,
"key": "area",
},
{
"name": "Wasserversorgung",
"total": 3456,
"key": "water",
},
],
"heating": {
"label": "Heiz- und Warmwasserkosten",
"note": "lt. Einzelabrechnung des Messdienstes",
"amount": 846.27,
},
},
"output": {
"format": "pdf",
"filename": "utility-cost-statement.pdf",
},
},
timeout=90,
)
response.raise_for_status()
print(response.json())More real estate templates

Inventory and check-in report
A4A room-by-room inventory and check-in report for a rented flat: condition counts across all items, meter readings, keys handed over, smoke and CO alarm tests, then each room's items with condition badges, cleanliness, notes and photo numbers, and a declaration with tenant and clerk signatures.

Immobilien-Exposé (property listing)
A4A three-page German property exposé for a flat for sale: cover photo, key facts with the price per m², description, features, the energy certificate with its efficiency class on the A+ to H scale, location, floor plan with room areas, purchase costs and an agent card with a QR code to the online listing.