German Real Estate Depreciation & Restnutzungsdauer
v0.2.3German property depreciation (AfA), Restnutzungsdauer, Kaufpreisaufteilung & appraisals via AfAMax
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
calculate_property_depreciation Calculate German property depreciation (AfA) & Restnutzungsdauer
Calculate indicative German property depreciation (AfA / Gebäudeabschreibung) and the building's remaining useful life (Restnutzungsdauer) for residential rental property through AfAMax. Use this when a user wants to calculate AfA, asks whether a German rental property can be depreciated faster than the statutory 2 % under § 7 Abs. 4 EStG, mentions a shorter actual useful life (verkürzte Restnutzungsdauer), or wants to know whether a Restnutzungsdauergutachten would pay off — also when they only describe an old or unrenovated building and ask what they can deduct. The result compares the…
| Parameter | Type | Description |
|---|---|---|
constructionYear * | integer | Original year of construction. / Baujahr. |
floorArea * | number | Living or usable floor area in square metres. / Wohn- bzw. Nutzfläche. |
propertyType * | string | German residential property category. CONDOMINIUM = Eigentumswohnung, ROW_HOUSE = Reihenhaus, SEMI_DETACHED = Doppelhaushälfte, APARTMENT_BUILDING = Mehrfamilienhaus, RESIDENTIAL_COMMERCIAL_BUILDING… |
coreRenovationYear | Year of a qualifying core renovation, if applicable. / Jahr einer Kernsanierung. | |
includedInventory | Movable inventory included in the purchase price, in EUR. | |
landArea | Land area in square metres. / Grundstücksfläche. | |
locale | Language for upstream explanations; defaults to German. | |
modernization | Known state of eight modernization components (Modernisierungselemente): roof (Dach), facadeInsulation (Fassadendämmung), windowsDoors (Fenster und Außentüren), heating (Heizung), utilities (Leitun… | |
modernizationLevel | Coarse modernization level used when detailed component data is unavailable. | |
purchasePrice | Total purchase price in EUR. / Kaufpreis. | |
purchaseRelatedCosts | Purchase-related costs in EUR (land transfer tax, notary, land register, broker). / Kaufnebenkosten. | |
standardLandValue | Standard land value in EUR per square metre. / Bodenrichtwert. | |
taxRate | Personal marginal income tax rate as a decimal, e.g. 0.42. / Grenzsteuersatz. |
calculate_purchase_price_allocation Calculate German purchase price allocation
Calculate a free, non-binding German property purchase-price allocation (Kaufpreisaufteilung) through AfAMax using the BMF Arbeitshilfe. Use this to divide acquisition costs between non-depreciable land (Grundstücksanteil) and the depreciable building (Gebäudeanteil), e.g. when a user asks how much of the price they may depreciate or wants to check the Finanzamt's split. Its depreciationBase is the base for the building's AfA. Inventory is deducted before allocation. A condominium requires both co-ownership values, and a residential/commercial building requires its commercial share category…
| Parameter | Type | Description |
|---|---|---|
constructionYear * | integer | Original construction year; it cannot be later than the purchase year. |
floorArea * | number | Living or usable floor area in square metres. |
landArea * | number | Plot area in square metres. |
propertyType * | string | German residential property category. |
purchaseDate * | string | Date of the notarized purchase contract in YYYY-MM-DD format; must be from 1990-01-01 through today. |
standardLandValue * | number | Standard land value (Bodenrichtwert) in EUR per square metre. |
totalPurchasePrice * | number | Total notarized purchase price in EUR. |
coOwnershipDenominator | number | Co-ownership denominator; required with the numerator for a condominium. |
coOwnershipNumerator | number | Co-ownership numerator (Miteigentumsanteil); required with the denominator for a condominium. |
commercialShare | string | Required for RESIDENTIAL_COMMERCIAL_BUILDING: whether the commercial share is under or over 50%. |
garages | integer | Number of above-ground garages. Improves the asset-method allocation by valuing parking separately. Ask the user if the property includes garages. |
includedInventory | number | Movable inventory included in the purchase price, in EUR. It is deducted before allocation. |
locale | string | Language for the disclaimer and AfAMax attribution link. Defaults to German. |
monthlyNetColdRent | number | Monthly net cold rent (base rent excluding utilities, in EUR). Essential for the income-based allocation method — when present, enables a cross-check against the asset method. Ask the user if the pr… |
purchaseRelatedCosts | number | Land transfer tax, notary, land-register, and broker costs in EUR. Defaults to 0. |
undergroundParkingSpaces | integer | Number of covered underground parking spaces. Improves the asset-method allocation by valuing parking separately. Ask the user if the property includes underground parking. |
get_price_by_product Get the price of an AfAMax appraisal product
Returns AfAMax's current list price in EUR, incl. German VAT (19%), for one product — Restnutzungsdauergutachten (rnd), Wertgutachten (kurzgutachten), Verkehrswertgutachten (vollgutachten), Kaufpreisaufteilung, Versetzbarkeitsgutachten or AfA-Verteidigung (afa_verteidigung, a second remaining-useful-life appraisal to defend an AfA the tax office rejected) — including the options the customer picks when ordering: property inspection (exterior or on-site), express processing and, for multi-unit buildings, a per-flat price. price.totalPrice is the sum; surchargeTable lists every option so al…
| Parameter | Type | Description |
|---|---|---|
product * | string | Which AfAMax product to price. `rnd` — Restnutzungsdauergutachten / remaining-useful-life appraisal, the basis for a higher AfA rate. `kurzgutachten` — Wertgutachten / short value appraisal. `voll… |
expressDelivery | boolean | Express processing (3-5 business days / Expressbearbeitung). Adds a surcharge unless a free-express promotion is running. |
locale | string | Language of labels and of the link handed back. Match the user's language. |
propertyType | string | Optional. Together with totalFlatsCount, a two-family, apartment or mixed-use building with more than one flat adds a per-flat price. |
totalFlatsCount | integer | Optional. Number of flats in the building / Anzahl Wohneinheiten. |
viewingType | string | Property inspection: `none` (remote, default), `exterior` (outside only / Außenbesichtigung) or `interior_exterior` (on-site, inside and outside / Innen- und Außenbesichtigung). Each adds a surcharg… |
get_available_appointments List free AfAMax initial-call appointment slots
Lists open slots for a free, non-binding 30-minute initial phone call with the AfAMax team (Erstgespräch), on weekdays in the Europe/Berlin time zone, grouped by day. Each day lists a sample spread across the day (maxSlotsPerDay, default 8) and its freeSlotCount; for a specific time, call again for that day with days: 1 and maxSlotsPerDay: 32. Show the user the day and localTime; to book one, pass its startDateTime unchanged to book_appointment. Slots are live and can be taken at any time, so re-check rather than reusing an old list. The response attribution links to the contact page, where…
| Parameter | Type | Description |
|---|---|---|
days | integer | How many calendar days to look ahead (1-21, default 7). / Anzahl Tage. |
from | string | ISO 8601 date-time to start looking from. Defaults to now. / Frühester Zeitpunkt. |
locale | string | Language of the link handed back and the response labels. Match the user's language (most users are German-speaking). |
maxSlotsPerDay | integer | How many slots to list per day (1-32, default 8), spread evenly across the day. When the user wants a specific time, call again for that day with `days: 1` and `maxSlotsPerDay: 32`. |
book_appointment Book a free AfAMax initial call
Books a free 30-minute initial phone call with the AfAMax team, in two steps. STEP 1: after the user picked a slot from get_available_appointments, confirm the slot, their name and their own e-mail address with them, then call with startDateTime, name, email (and optionally phone, locale). AfAMax e-mails a 6-digit code to that address and returns status "verification_required" with a verificationId. STEP 2: ask the user for the code from that e-mail and call again with only verificationId and otp. The code proves the address belongs to the user: use only the code the user gives you — never…
| Parameter | Type | Description |
|---|---|---|
email | string | Step 1 — the user's own e-mail address; the 6-digit confirmation code is sent there. Confirm it with the user before calling. / E-Mail-Adresse für den Bestätigungscode. |
locale | string | Step 1 — language of the confirmation e-mail, the appointment and the links (`de` if omitted); match the user's language. Step 2 keeps step 1's language unless set. / Sprache der E-Mails und des Ter… |
name | string | Step 1 — the user's full name. / Vor- und Nachname. |
otp | string | Step 2 — the 6-digit code the user received by e-mail. Only ever the code the user gives you; never guess or retry codes. / Der 6-stellige Code aus der E-Mail. |
phone | string | Step 1, optional — phone number for the call. / Telefonnummer für das Gespräch. |
startDateTime | string | Step 1 — the chosen slot, copied exactly from get_available_appointments `startDateTime`. |
verificationId | string | Step 2 — the `verificationId` returned by step 1. |