German Real Estate Depreciation & Restnutzungsdauer

v0.2.3
immo.rundum/real-estate-appraisal Checked 3 days ago Published 15 days ago

German 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…

ParameterTypeDescription
constructionYear *integerOriginal year of construction. / Baujahr.
floorArea *numberLiving or usable floor area in square metres. / Wohn- bzw. Nutzfläche.
propertyType *stringGerman residential property category. CONDOMINIUM = Eigentumswohnung, ROW_HOUSE = Reihenhaus, SEMI_DETACHED = Doppelhaushälfte, APARTMENT_BUILDING = Mehrfamilienhaus, RESIDENTIAL_COMMERCIAL_BUILDING…
coreRenovationYearYear of a qualifying core renovation, if applicable. / Jahr einer Kernsanierung.
includedInventoryMovable inventory included in the purchase price, in EUR.
landAreaLand area in square metres. / Grundstücksfläche.
localeLanguage for upstream explanations; defaults to German.
modernizationKnown state of eight modernization components (Modernisierungselemente): roof (Dach), facadeInsulation (Fassadendämmung), windowsDoors (Fenster und Außentüren), heating (Heizung), utilities (Leitun…
modernizationLevelCoarse modernization level used when detailed component data is unavailable.
purchasePriceTotal purchase price in EUR. / Kaufpreis.
purchaseRelatedCostsPurchase-related costs in EUR (land transfer tax, notary, land register, broker). / Kaufnebenkosten.
standardLandValueStandard land value in EUR per square metre. / Bodenrichtwert.
taxRatePersonal 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…

ParameterTypeDescription
constructionYear *integerOriginal construction year; it cannot be later than the purchase year.
floorArea *numberLiving or usable floor area in square metres.
landArea *numberPlot area in square metres.
propertyType *stringGerman residential property category.
purchaseDate *stringDate of the notarized purchase contract in YYYY-MM-DD format; must be from 1990-01-01 through today.
standardLandValue *numberStandard land value (Bodenrichtwert) in EUR per square metre.
totalPurchasePrice *numberTotal notarized purchase price in EUR.
coOwnershipDenominatornumberCo-ownership denominator; required with the numerator for a condominium.
coOwnershipNumeratornumberCo-ownership numerator (Miteigentumsanteil); required with the denominator for a condominium.
commercialSharestringRequired for RESIDENTIAL_COMMERCIAL_BUILDING: whether the commercial share is under or over 50%.
garagesintegerNumber of above-ground garages. Improves the asset-method allocation by valuing parking separately. Ask the user if the property includes garages.
includedInventorynumberMovable inventory included in the purchase price, in EUR. It is deducted before allocation.
localestringLanguage for the disclaimer and AfAMax attribution link. Defaults to German.
monthlyNetColdRentnumberMonthly 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…
purchaseRelatedCostsnumberLand transfer tax, notary, land-register, and broker costs in EUR. Defaults to 0.
undergroundParkingSpacesintegerNumber 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…

ParameterTypeDescription
product *stringWhich AfAMax product to price. `rnd` — Restnutzungsdauergutachten / remaining-useful-life appraisal, the basis for a higher AfA rate. `kurzgutachten` — Wertgutachten / short value appraisal. `voll…
expressDeliverybooleanExpress processing (3-5 business days / Expressbearbeitung). Adds a surcharge unless a free-express promotion is running.
localestringLanguage of labels and of the link handed back. Match the user's language.
propertyTypestringOptional. Together with totalFlatsCount, a two-family, apartment or mixed-use building with more than one flat adds a per-flat price.
totalFlatsCountintegerOptional. Number of flats in the building / Anzahl Wohneinheiten.
viewingTypestringProperty 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…

ParameterTypeDescription
daysintegerHow many calendar days to look ahead (1-21, default 7). / Anzahl Tage.
fromstringISO 8601 date-time to start looking from. Defaults to now. / Frühester Zeitpunkt.
localestringLanguage of the link handed back and the response labels. Match the user's language (most users are German-speaking).
maxSlotsPerDayintegerHow 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…

ParameterTypeDescription
emailstringStep 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.
localestringStep 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…
namestringStep 1 — the user's full name. / Vor- und Nachname.
otpstringStep 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.
phonestringStep 1, optional — phone number for the call. / Telefonnummer für das Gespräch.
startDateTimestringStep 1 — the chosen slot, copied exactly from get_available_appointments `startDateTime`.
verificationIdstringStep 2 — the `verificationId` returned by step 1.