Skip to content

Skilled trades plugin (EN)

anti43 edited this page Nov 25, 2026 · 2 revisions

Skilled Trades and Construction Plugin (handwerk.jar)

Deutsch: Handwerker-Plugin (DE) · Overview: Plugins (EN)

The Skilled Trades and Construction plugin (handwerk.jar) extends OpenYaBS with construction site management, German and European trades compliance (§ 35a EStG, § 14b UStG, § 13b UStG, § 48b EStG, VOB/B and BGB), a format-neutral Bill of Quantities (BoQ) engine (GAEB DA XML, GAEB 90, CSV), DATANORM 4.0/5.0 catalog import, a site measurement formula evaluator, time and material sheets, and 5 ready-to-use .fodt templates. It adapts automatically to English and German (ExtensionContext.tr) while keeping all industry logic strictly outside OpenYaBS core.

Skilled Trades overview showing active construction sites, tax certificates (§ 13b / § 48b), warranties & retentions, and maintenance schedule

Features

  • Construction Site Management (1-to-many per contact): Project number, site name, site address, contract type (BGB or VOB/B), retention percentage and basis (GROSS/NET), acceptance date, automatic warranty calculation (4 years under VOB/B § 13 Abs. 4 or 5 years under BGB § 634a), maintenance due date, and Active/Archived status. Documents capture an immutable site address snapshot.
  • § 35a EStG Labor vs. Material Split: Automatic classification of labor, travel, and machine lines vs. material, plus per-line overrides (including partial labor share percentages for bundled packages). Computes net, VAT, gross, and estimated 20% income tax credit (capped at EUR 1,200/year) and warns on cash payments.
  • § 14b Abs. 1 S. 5 UStG Retention Notice: Automatic 2-year invoice retention notice for private property work with pre-save compliance checks.
  • § 13b UStG Reverse Charge: Tracks customer USt 1 TG certificates and expiry dates, creates the standard 0% AE / VATEX-EU-AE tax rate for ZUGFeRD/XRechnung, and warns on expired certificates or unintended positive VAT.
  • § 48b EStG Construction Withholding Tax Exemption: Stores your own Freistellungsbescheinigung (tax number, security number, validity) as well as customer certificates, warning on commercial/public invoices exceeding EUR 5,000 when your certificate is missing or expired.
  • VOB/B and BGB § 650m Retention: Computes retention (Sicherheitseinbehalt), automatically enforcing a net basis under § 13b Reverse Charge (VOB/B § 17 Abs. 6), checks statutory caps (5% consumer cap under BGB § 650m, 10% single partial-payment cap under VOB/B), and tracks release dates and warranty bonds.
  • Format-Neutral BoQ and GAEB Engine (BoqCodec):
    • GAEB DA XML 3.1 / 3.2 / 3.3: Lossless import (.X81, .X83, .X86) with category hierarchy, normal/optional/alternative positions, and long texts, plus priced bid export (.X84) switching the namespace to DA84, regenerating <GAEBInfo>, updating <UP>/<IT>, and preserving bidder texts.
    • GAEB 90: Legacy fixed-width import (.D81, .D83, .D86) and bid export (.D84).
    • Pan-European CSV BoQ: Generic semicolon/comma CSV BoQ import and bid export (supporting German decimal commas) for spreadsheet-based tenders across Europe (e.g. France DPGF/BPU, UK NRM 2, Italy Computo Metrico).
  • DATANORM 4.0 and 5.0 Wholesaler Import: Parses DATANORM.001–.999, DATPREIS.001, .RAB, and .WRG (V, A, B, T, P, R, S records), including cent-integer price decoding, price-unit divisors (0=/1 through 3=/1000), discount groups, and configurable sales markup into OpenYaBS Products.
  • Site Measurements (Aufmaß) and Time Sheets (Regieberichte): Safe arithmetic formula evaluator (e.g. 2 * (4,50 + 3,20) * 2,60 - 1,20 * 2,10) with direct quantity transfer to document positions, plus worker time/travel logging with one-click transfer of unbilled sheets to invoice lines.
  • 4-Tab Overview, Search, and GDPR: Dedicated overview dashboard (Active Sites, Tax Certificates, Warranties and Retentions, Maintenance Schedule), Search anything (Shift Shift) integration, and GDPR PrivacyContributor support (Art. 15/20 JSON export and cascade deletion).

Installation

  1. Import handwerk.jar from the plugins/ folder of the OpenYaBS distribution (or openyabs-plugins-<version>.zip) via Settings › Plugins › Import Java plugin….
  2. On startup, the plugin automatically creates its cross-database tables (trades_schema_version, trades_contact_meta, trades_sites, trades_item_meta, trades_line_cost_type, trades_boq_documents, trades_boq_positions, trades_measurements, trades_time_sheets) on H2, Derby, MySQL/MariaDB, or PostgreSQL.

Settings

Configured per database under Settings › Plugins › Skilled Trades & Construction:

  • Chamber of Crafts and Registration Number: Exposed via [hw.chamberName] and [hw.chamberNumber].
  • Own Tax Certificates: § 48b exemption tax number, security number, validity date, and own USt 1 TG validity date.
  • Hourly Rates and Markup: Master, journeyman, apprentice rates, travel flat fee, and DATANORM sales markup (%).
  • Contract and Retention Defaults: BGB (5-year warranty) or VOB_B (4-year warranty), default retention %, and basis (GROSS/NET).
  • Lead Time and Pre-Save Check: Certificate expiry warning lead days (default 30) and pre-save compliance confirmation dialog.

Commands and Workflow

Seven commands are available under the Plugins menu:

  1. Trades: Import BoQ / GAEB (.X83, .D83, .CSV) – imports a Bill of Quantities as positions into the open offer, order, or invoice.
  2. Trades: Export Priced BoQ / GAEB Bid (.X84, .D84, .CSV) – exports updated unit prices and bidder texts as a priced bid file.
  3. Trades: Import DATANORM 4.0 / 5.0 Catalog – imports one or more wholesaler DATANORM files into Products.
  4. Trades: Open Skilled Trades Overview – opens the 4-tab dashboard for sites, expiring certificates, warranties/retentions, and maintenance.
  5. Trades: Import Starter Services & § 13b Tax Rate – creates starter trades services (HW-MEISTER, HW-GESELLE, HW-AZUBI, HW-ANFAHRT, HW-MASCHINE, HW-WARTUNG, HW-KLEINMAT) and the 0% AE / VATEX-EU-AE Reverse Charge tax rate.
  6. Trades: Validate Current Document – runs all compliance and BoQ completeness checks on the open document.
  7. Trades: Export Document Templates (.fodt) – exports all 5 bundled LibreOffice templates (trades invoice DE/EN, final invoice DE, acceptance protocol DE, time sheet DE).

Contact views display a banner with Sites & Tax Certificates; offer/order/invoice views display a banner with Site & Compliance, § 35a Split, BoQ / GAEB, Measurements, Time Sheets, and Check.

Template Placeholders ([hw.*])

Placeholder Value
[hw.chamberName] / [hw.chamberNumber] Chamber of crafts name & registration number
[hw.siteProjectNo] / [hw.siteName] / [hw.siteAddress] Project no., site name & address snapshot
[hw.contractType] Contract type (BGB or VOB/B)
[hw.laborNet] / [hw.laborVat] / [hw.laborGross] § 35a EStG labor/travel/machine share (net / VAT / gross)
[hw.materialNet] / [hw.materialVat] / [hw.materialGross] Material share (net / VAT / gross)
[hw.taxCredit35a] / [hw.notice35a] Estimated § 35a credit & formatted statutory notice
[hw.notice14b] 2-year private property retention notice (§ 14b Abs. 1 S. 5 UStG)
[hw.notice13b] / [hw.ust1tgNo] / [hw.ust1tgValidUntil] § 13b Reverse Charge notice & USt 1 TG certificate details
[hw.freistellungTaxNo] / [hw.freistellungSecNo] / [hw.freistellungValidUntil] / [hw.freistellungNotice] § 48b withholding tax exemption certificate details & notice
[hw.retentionPercent] / [hw.retentionBasis] / [hw.retentionAmount] Retention %, effective basis & amount
[hw.payableAfterRetention] / [hw.retentionReleaseDate] / [hw.retentionBondRef] Payable amount after retention, release date & warranty bond ref
[hw.acceptanceDate] / [hw.warrantyYears] / [hw.warrantyUntil] / [hw.maintenanceDue] Acceptance date, warranty period/expiry & next maintenance
[hw.boqFormat] / [hw.boqProject] / [hw.boqLabel] / [hw.boqSummary] BoQ/GAEB metadata & position summary
[hw.measurementsSummary] Formatted site measurement summary
[hw.timeSheetsSummary] / [hw.totalHours] Time sheet breakdown & total hours

See also

Clone this wiki locally