Backlog #39 (a) and (b): the ERPNext side of the travel expense flow.
Expense Claim Types: the 22 types the travel app names in src/config/erpnext-mapping.json. The names were compared programmatically: identical. Each type has one account row for Breakpilot GmbH, using standard SKR04 accounts. We chose these ourselves on 2026-10-20 and only change them if the tax advisor books differently.
The managing directors of a GmbH are its employees, so the types use the Arbeitnehmer accounts, never 667x/6680 (Unternehmer). A test enforces this. If an account is missing it is reported as missing (not created), and the type is still created.
For the tax advisor's check (noted in the code):
Own meals reimbursed on top of the per diem may be taxable wages. The app already flags them as "Sachbezug prüfen".
Bewirtung: 30 % is not deductible (6644). Usually the tax advisor splits it.
Messe / Konferenz: pure training would be 6821.
Expense Claim gets a new field breakpilot_report_id (Data, unique, read-only). It is the relay's idempotency key (#40).
Still open in #39: the company's HR accounts (payable for expense claims, employee advances), which wait for the tax advisor's expense account; employees (c); cost centers (d); the relay's API user (e).
Backlog #39 (a) and (b): the ERPNext side of the travel expense flow.
**Expense Claim Types:** the 22 types the travel app names in `src/config/erpnext-mapping.json`. The names were compared programmatically: identical. Each type has one account row for Breakpilot GmbH, using standard SKR04 accounts. We chose these ourselves on 2026-10-20 and only change them if the tax advisor books differently.
| Types | SKR04 |
|---|---|
| Bahn, Flug, ÖPNV, Taxi, Mietwagen, Carsharing, Kraftstoff, Ladestrom, Fähre | 6663 Reisekosten Arbeitnehmer Fahrtkosten |
| Übernachtung | 6660 Reisekosten Arbeitnehmer Übernachtungsaufwand |
| Verpflegungsmehraufwand (steuerfrei) | 6664 Reisekosten Arbeitnehmer Verpflegungsmehraufwand |
| Kilometerpauschale | 6668 Kilometergelderstattung Arbeitnehmer |
| Verpflegung, Reisenebenkosten Parken/Maut/Gebühren/Sonstige | 6650 Reisekosten Arbeitnehmer |
| Bewirtung | 6640 Bewirtungskosten |
| Messe / Konferenz | 6600 Werbekosten |
| Telekommunikation | 6805 Telefon |
| Bürobedarf | 6815 Bürobedarf |
| Sonderausgabe (Prüfung) | 6300 Sonstige betriebliche Aufwendungen |
The managing directors of a GmbH are its employees, so the types use the *Arbeitnehmer* accounts, never 667x/6680 (*Unternehmer*). A test enforces this. If an account is missing it is reported as `missing (not created)`, and the type is still created.
**For the tax advisor's check** (noted in the code):
- Own meals reimbursed on top of the per diem may be taxable wages. The app already flags them as "Sachbezug prüfen".
- Bewirtung: 30 % is not deductible (6644). Usually the tax advisor splits it.
- Messe / Konferenz: pure training would be 6821.
**Expense Claim gets a new field `breakpilot_report_id`** (Data, unique, read-only). It is the relay's idempotency key (#40).
**Still open in #39:** the company's HR accounts (payable for expense claims, employee advances), which wait for the tax advisor's expense account; employees (c); cost centers (d); the relay's API user (e).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Backlog #39 (a)+(b). The 22 Expense Claim Types the Reisekosten app names
(src/config/erpnext-mapping.json; same 22 names, checked), each with its
standard SKR04 account for the company, decided 2026-10-20 and changed
only if the tax advisor books differently: fares 6663, nights 6660, per
diem 6664, mileage 6668, incidentals and own meals 6650, Bewirtung 6640,
Messe/Konferenz 6600, telecom 6805, office supplies 6815, special items
6300. Directors of a GmbH are employees, so no Unternehmer accounts.
Expense Claim gets breakpilot_report_id (unique, read-only), the relay's
idempotency key (#40). A missing account is reported, not created.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang
merged commit 6a640d553f into main2026-10-20 11:07:48 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Backlog #39 (a) and (b): the ERPNext side of the travel expense flow.
Expense Claim Types: the 22 types the travel app names in
src/config/erpnext-mapping.json. The names were compared programmatically: identical. Each type has one account row for Breakpilot GmbH, using standard SKR04 accounts. We chose these ourselves on 2026-10-20 and only change them if the tax advisor books differently.The managing directors of a GmbH are its employees, so the types use the Arbeitnehmer accounts, never 667x/6680 (Unternehmer). A test enforces this. If an account is missing it is reported as
missing (not created), and the type is still created.For the tax advisor's check (noted in the code):
Expense Claim gets a new field
breakpilot_report_id(Data, unique, read-only). It is the relay's idempotency key (#40).Still open in #39: the company's HR accounts (payable for expense claims, employee advances), which wait for the tax advisor's expense account; employees (c); cost centers (d); the relay's API user (e).
🤖 Generated with Claude Code