Companies live on agreements whose money is only settled afterwards: supplier rebates and scale discounts, buying-group bonuses, pallet accounts with forwarders, commissions and allotments with booking channels. The contract says one thing, the partner's statement another, and nobody has the time to compare them line by line. An agent can read the terms, recompute what should have been paid or credited, and list the differences with evidence. A clerk decides what is claimed. The technology is feasible today; the hard part is getting contract terms and partner data into a usable form.
Problem & value
- Today: the terms sit in PDF contracts, side letters and emails. Rebates are checked, if at all, once a year against a credit note that arrives late. Pallet accounts are reconciled by phone and by hand from paper slips. Hotels receive monthly commission invoices from booking channels that nobody re-checks against the bookings. Missed claims are simply lost money; wrong claims cost goodwill.
- AI value: the LLM reads clauses (tiers, retroactive bonuses, exclusions, periods) and turns them into a calculation rule; code recomputes the expected amount; the agent explains the gap and drafts the claim. Exceptions go to people, the routine comparison runs continuously instead of once a year.
- Where the need is concrete (gap analysis, 2026-11): wholesale (central settlement and rebates, about 6 h each per period), forwarding (pallet accounts, about 10 h), hotels (channel and allotment reconciliation, about 5 h). These are estimates from the catalog's process analysis, not measurements.
- Evidence is thin and mostly vendor-made. Rebate-reconciliation vendors describe the pattern (expected versus claimed versus settled amount) [1]; a hotel-finance vendor claims large recoveries from checking OTA commissions daily, and its own figures are not independently verified [2]. Treat percentages as best case.
Variants
- Wholesale and retail (Grosshandel): supplier rebates, retroactive scale discounts (Staffelrabatte), marketing contributions and buying-group bonuses. Central settlement (Zentralregulierung) through a Verbundgruppe adds a layer: the group collects, passes on bonuses and charges a fee [3].
- Forwarding (Spedition): pallet accounts (Palettenkonto) with consignors and consignees under Bonn or Cologne exchange clauses; reconcile slips against account balances and send balance confirmations [4][5].
- Hotel: reconcile commission invoices and payouts of booking channels against PMS bookings, check commission on cancellations, no-shows and excluded fees, and compare allotments and releases with actual use [2].
- Manufacturing and distribution: customer-side bonuses and price-protection agreements.
- Private use: not applicable.
How it works
- contracts + conditions (PDF, ERP price/rebate tables)
- clause extraction into structured rules (tiers, periods, bases, exclusions)
- clerk confirms rules
- data pull: own sales/purchases/deliveries, pallet slips, bookings
- partner documents in: statement, credit note, commission invoice (document AI)
- deterministic recomputation: expected rebate / pallet balance / commission per partner and period
- comparison expected vs. claimed vs. settled
- LLM explains deviation and cites clause and documents
- proposals: claim letter, balance confirmation, accrual, correction request
- clerk review and release
- send, post draft, update open-items list and audit log
- Rules from contracts: an LLM proposes the structured rule from the clause text; a person confirms each rule once. Retroactive tiers, "from the first euro" versus "above threshold" and netting of returns are classic misreadings.
- Calculation in code, never "in the head" of the model. The LLM explains and drafts.
- Human-in-the-loop: every outgoing claim, every posting and every rule change is released by a person; the agent only reads source systems and writes drafts.
Data preparation
Which data: contracts and conditions, price and rebate tables, sales and purchase history, partner statements and credit notes, pallet slips and account extracts, booking and commission exports.
Where it lives: contracts in the DMS, on file shares or in mail attachments; conditions partly in the ERP, partly in the heads of purchasing staff or in Excel; pallet slips on paper or photos; hotel data in PMS, channel manager and extranets.
Typical gaps: conditions that exist only as side letters or emails, no structured rebate master data, article and customer numbers that differ between partner and own system, unreadable pallet slips, and credit notes without reference to the agreement they settle.
Preparation steps: 1. Choose one partner group (e.g. the 10 largest suppliers) and collect all agreements and amendments (PREP-006). 2. Write the conditions as structured rules in a table and validate them with purchasing (PREP-012, PREP-016). 3. Harmonise article, customer and partner keys between own data and partner statements (PREP-005). 4. Build a test set from past periods where the correct outcome is known (PREP-018). 5. Restrict access to contract and price data (PREP-023).
Tools: spreadsheets or DuckDB for the rule tables, document AI for statements, ERP exports.
Rough share of effort: high, about 40 to 50 percent. Contract knowledge, not the model, decides the quality. See GUIDE-003.
Implementation paths
Which path for whom
- SMB: B. Standard accounting tools do not cover contract-based rebate checks; a small cloud-API build with rules in code and a review screen fits typical Mittelstand volumes. Path A is an option where the ERP vendor offers a rebate module.
- Enterprise: A. Rebate and trade-promotion platforms and ERP-native agents bring governance and settlement workflows; consider B for special contracts.
- Developer: B. Cloud LLMs with structured outputs and an agent framework; calculation stays in deterministic code.
Path A — Buy
- ERP rebate modules and conditions engines: SAP (settlement management, rebate processing), Microsoft Dynamics 365 (Business Central and Finance), proALPHA and similar German mid-market ERP offer bonus/rebate handling; they compute rebates but rarely compare them with the partner's statement or read contracts.
- Rebate management and finance-agent vendors: specialised rebate and deduction tools with AI claims handling exist, mostly US-origin; check EU hosting, subprocessors and an AVV [1].
- Logistics: online pallet accounts and pallet-exchange services (Palettenkonto platforms, pallet pooling services) cover the account, not the contract logic [4].
- Hotel: OTA reconciliation tools on top of PMS and channel manager [2].
- Choose A when: the ERP already holds clean conditions and the vendor module is in place.
Path B — Build on cloud APIs
- Models: a reasoning-capable LLM via an EU-region endpoint (Azure OpenAI EU, Vertex AI EU, Bedrock Frankfurt) or Mistral (EU provider); structured outputs for rules and findings.
- Orchestration: n8n or Power Automate for scheduling and mail, an agent framework for the investigation step, ERP/DATEV exports or APIs as tools; document intake as in DOC-001.
- Choose B when: conditions are individual and no product fits; own or partner engineering is available.
Path C — Self-host (open source)
- Stack: open-weight models (Qwen3, Mistral, gpt-oss) with vLLM, Docling for statements, DuckDB/PostgreSQL for recomputation, n8n for workflow.
- Hardware: HW3 for reasoning models over long contracts; HW2 suffices if clauses are extracted once and rules are checked in code.
- Choose C when: contract and price data must not leave the company.
Path D — Custom training
Rarely needed. Only a matching model for partner article or customer keys across many statement layouts could pay off at very high volumes.
State of the art (2026)
- Clause extraction into structured rules works well for standard wording; unusual retroactive bonuses and references to other documents ("conditions of the group in the current version") need human confirmation.
- Document AI reads partner statements and credit notes of any layout (see DOC-001); line-item tables remain the main error source.
- Agents for deductions and rebates are productised mainly in the US consumer-goods and pharma context [1]; in the German Mittelstand, most solutions are custom builds or add-ons, so maturity is early-adopter.
- Limits and failure modes: wrong clause reading, missing side letters, tier logic misapplied, plausible but false deviation explanations, tax consequences that the agent cannot judge, and over-trust of reviewers. Vendor performance numbers are self-reported.
- Pallet slips and many hotel extranets have no clean API; computer-use agents (AGENT-003) are fragile there.
Shared resources & combinations
- Same stack: the document AI and VLM server of DOC-001 and DOC-006 (delivery notes, pallet slips) and the contract reading of DOC-009 feed the rule table.
- Upstream: AGENT-004 (orders) and AGENT-024 (freight operations) produce the transactions and pallet movements.
- Neighbours: AGENT-006 covers financial close and account reconciliation against ledgers, not against contract terms; AGENT-023 handles customer-side deductions and collections; AGENT-005 and AGENT-029 negotiate the terms that this agent later checks.
- Downstream: ANOM-006 (ledger anomalies) as second line; PRED-016 (liquidity) uses expected rebate cash-in.
- Platform: AGENT-002 workflow engine, AGENT-013 for orchestration.
- Quick win in combination: one contract-rule table serves wholesale rebates, pallet accounts and hotel commissions; build it once and reuse it.
Effort, cost & KPIs
- Path A: 2-4 months if the ERP module and clean conditions exist; licence cost dominates.
- Path B: 2-4 months for a pilot with 5-10 partners; cost drivers are rule capture, integration and review effort, not tokens.
- Path C: 3-6 months plus GPU server and operations.
- KPIs: share of agreements with confirmed rules, recovered amount per period (claims granted), hours per settlement run, days from period end to claim, open pallet balance and age, false-alarm rate, reviewer rework rate.
People & change
Involve early: management and the head of purchasing, finance or logistics as process owner; clerks as daily users; IT for the ERP interface; data owners of contract and price data. Legal checks claim letters and contract wording; the DPO is involved when contact persons or sole-trader partners appear in the data (GUIDE-005).
Works council: depends. The workflow logs who confirmed, released or rejected which finding; if individual performance can be derived, §87(1) no. 6 BetrVG applies; §90(1) no. 3 requires information about AI-supported work (GUIDE-004).
AI literacy: Art. 4 AI Act; train clerks to check clause citations and not to rubber-stamp deviations (GUIDE-006).
Pilot and communication: start with the 5-10 partners with the highest settlement volume, run in parallel with the manual check for two periods, and present the tool as a way to find money that is now lost (GUIDE-008, GUIDE-009).
Typical concerns: strained partner relations if claims are wrong (hence human release), fear that experience-based negotiation knowledge is devalued, tax-audit proof.
Humans in control: no claim sent, no accrual posted and no rule activated without release.
Risks, regulation & compliance
- EU AI Act: minimal risk; internal back-office process, no Annex III category. AI literacy (Art. 4) applies [6].
- GDPR: mostly company data; contact persons, sole-trader partners and pallet slips with driver names are personal data. Minimise, conclude an AVV (Art. 28), prefer EU hosting [7].
- Commercial law and tax: HGB/GoBD (traceable accruals and credit notes, Verfahrensdokumentation); subsequent rebates can change the VAT base (§17 UStG), and the treatment of group bonuses in central settlement is currently in flux: FG Münster (19 May 2026, 15 K 3483/18 U) held passed-on group bonuses not VAT-relevant after BFH remand (XI R 6/22); an appeal (V R 21/26) is reported but unverified [3]. Leave tax classification to the tax adviser.
- Contract law: without a contractual basis there is no pallet exchange or return duty and no automatic compensation; Bonn and Cologne clauses are association-recommended exchange terms, not law (source [4] does not cover them; check current wording and AGB validity with a lawyer).
- Competition and confidentiality: conditions of several partners are sensitive; keep them separated and never leak one partner's terms into another's letter.
- Mitigations: draft-only access, clause citation for every finding, materiality thresholds, sampling by a controller, immutable logs.
Getting started
- Baseline: number of agreements, annual rebate and commission volume, hours per settlement, claims currently found.
- Pick 5-10 partners with the largest volume and collect all contract documents.
- Capture the conditions as a confirmed rule table; recompute last year and compare with actual credit notes (backtest).
- Review the deviations with purchasing or logistics; count which would have been valid claims.
- Add the agent for statements, explanations and draft letters; release claims manually.
- Extend to pallet accounts or hotel channels only after the rule table proves reliable.
Sources
- Hyperbots — What is Rebate Reconciliation? — https://www.hyperbots.com/glossary/rebate-reconciliation
- Phacet Labs — Hotel revenue reconciliation and OTA commission automation (vendor article) — https://www.phacetlabs.com/blog/hotel-revenue-reconciliation-ota-commission-automation
- Grant Thornton Germany — FG Münster: Weitergeleitete Gruppenboni im Zentralregulierungsgeschäft nicht umsatzsteuerbar — https://www.grantthornton.de/themen/2026/fg-muenster-weitergeleitete-gruppenboni-im-zentralregulierungsgeschaeft-nicht-umsatzsteuerbar/
- Verkehrsrundschau — Palettentausch: So schützen sich Speditionen — https://www.verkehrsrundschau.de/nachrichten/transport-logistik/tausch-tuecken-3778985
- SoftGuide — Führung von Palettenkonten (function description) — https://www.softguide.de/funktion/fuehrung-von-palettenkonten
- Regulation (EU) 2024/1689 (AI Act) — https://eur-lex.europa.eu/eli/reg/2024/1689/oj
- Regulation (EU) 2016/679 (GDPR) — https://eur-lex.europa.eu/eli/reg/2016/679/oj