Files
tenant-registry/internal/erpsetup
Sharang ParnerkarandClaude Opus 5.5 bcaa96ff87
ci / shared (pull_request) Successful in 14s
ci / test (pull_request) Successful in 25m31s
ci / image (pull_request) Skipped
feat(erpsetup): outgoing e-invoices, payment by transfer, discount line
Backlog #16 (VD-04) for eu_einvoice v15.16.2 on ERPNext 15.112:

- Code Lists by the URNs eu_einvoice looks up, with only the codes our
  documents use: units (Monat MON, Jahr ANN, Prüfung/Stück C62), payment
  means (Überweisung 58, SEPA-Lastschrift 59, by Mode of Payment and
  Payment Terms Template), tax categories of the reverse-charge (AE) and
  non-EU (G, stand-in, see comment) templates with their VATEX codes.
  ERPNext 15.112 no longer imports a list from a URL.
- Mode of Payment "Überweisung" on the company bank account's GL account
  (so the e-invoice carries our IBAN, required for 58) and the payment
  terms "Überweisung 21 Tage": same 21 days as the direct debit, for
  customers without a signed mandate (decided 2026-10-20).
- Item RABATT for a discount as a negative line; eu_einvoice cannot carry
  a document discount (it folds it into the line prices, so XML and PDF
  disagree). Revenue reduction on SKR04 4700, cost center Verwaltung.
- E Invoice Settings: validate on save (warning) and submit (block).
- New customers default to the profile EN 16931.
- Print: offers and orders name the transfer and its days; the billing
  interval ignores the discount line. Invoice mail: "ziehen wir ein" only
  with a mandate on the customer, otherwise "bitte überweisen".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 10:57:42 +02:00
..