Skip to content

Releases

v0.1.15

Choose a tag to compare

@github-actions github-actions released this 24 Nov 10:51
Immutable release. Only release title and notes can be modified.

Added

  • "Kunden" has the field "Abteilung / Zusatz" for a department or cost center below the name. A further contact person of the customer keeps it. The PDF prints it and the contact person on one line each, so the address always fits the window; the XML carries them in full.
  • The references a customer asks for. "Kunden" has the field "Geschäftspartnernummer", the number of the seller at the customer; a further contact person keeps it. A template has the fields "Bestellnummer" and "Vertrag". A new draft takes the Geschäftspartnernummer from the customer and the other two from its template, and the editor changes all three. The PDF prints them in the information block, where a long value wraps. The XML carries them as seller identifier (BT-29), purchase order (BT-13) and contract (BT-12). A Stornorechnung repeats the references of its invoice. Issued invoices stay as they are.
  • The unit of a line with a quantity: "Stück", "Stunden", "UE (45 Min.)" or "Tage", in the draft and the template. The PDF prints it after the quantity, for example "24 UE" or "3,5 Std."; a piece shows the number only, as before. The XML carries its code (BT-130): C62, HUR or DAY. A teaching unit has no code of its own and goes as C62. A lump sum keeps LS.
  • The day or period of the service of a line, optional, in the draft and the template. The PDF prints it below the text of the line, the XML carries it as the period of the line (BT-134, BT-135). A single day fills one field. A period that ends before it starts is refused. A Stornorechnung repeats unit and day. Issued invoices stay as they are.

Changed

  • The address of an invoice follows DIN 5008: name, "Abteilung / Zusatz", the contact person, street, postcode and city, country. The contact person was not printed before. Six lines fit the window of the envelope. A longer address, for example a name of two lines, gets a smaller text, so the full name stays and the address still fits. The XML carries the addition as address line 2 (BT-51) and the contact person as contact point of the buyer (BT-56). Issued invoices stay as they are.
  • On "Kunden" the contact person sits in "Anschrift", below the name, since it is now part of the address.
  • The XML carries the tax number as tax registration (BT-32) only, once a Geschäftspartnernummer takes the seller identifier (BT-29). Without one, and without a VAT ID, the tax number serves as BT-29 as before (BR-CO-26).

Full changelog: v0.1.14...v0.1.15

v0.1.14

Choose a tag to compare

@github-actions github-actions released this 23 Nov 14:55
Immutable release. Only release title and notes can be modified.

Fixed

  • A release names the time of its build below the menu too, as a build of main does. The menu keeps its place, and the image of a release passes its visual tests.

Full changelog: v0.1.13...v0.1.14

v0.1.12

Choose a tag to compare

@github-actions github-actions released this 23 Nov 06:24
Immutable release. Only release title and notes can be modified.

Added

  • "Einstellungen", "Datensicherung": a warning above "Export herunterladen" says that the file is not encrypted, holds all customer data, IBANs and password hashes, belongs on an encrypted medium only and is deleted after use.

Changed

  • The docs, comments and tests name neutral examples (im.example.org, documentation address ranges, /volume/example) instead of the hosts, addresses and paths of the own network.
  • The Verfahrensdokumentation describes external invoices with their original files, the numbers of a year before the app with the reasons of their gaps and "Jahr abschließen", the access over the own VPN, the audit log written once and the seals of snapshots, receipts and original files. Save a new version under "Dokumente" to take the new text.
  • The README describes backup and restore, the table backup_run of the host scripts, a rate limit of the login in the reverse proxy and why port 8080 should reach the proxy only. Architecture decision records live in docs/adr.

Removed

  • Alpine.js: no page used it. The app no longer ships vendor/alpine.min.js.
  • htmx: no page used it. The app no longer ships vendor/htmx.min.js.

Fixed

  • An issue or a registration while the admin marks the year for numbers by hand no longer ends in an error page. The counter gives no number to such a year, and the form says that its invoices come as external invoices.
  • An explained gap in the numbers of a year by hand keeps the audit log, as the other business data do.
  • The page of an external invoice reads its original files, up to 25 MB each, once instead of twice: the check of the files still reads and verifies every byte, the list "Originaldateien" takes name, size and checksum without the content.

Security

  • The reports, the §19 threshold, the payments, the open amounts and the Stornorechnung now check the seal of an invoice's snapshot before they compute with it. Until now they read it without the check. If someone changed the snapshot outside the app, the page shows what the check found and computes nothing. The payment and the issue are refused.
  • CI scans the libraries of pom.xml and package-lock.json and the built image with Trivy. A HIGH or CRITICAL vulnerability with a fix fails the build, and a release stops before its tag with one; the release workflow checks again before it pushes the image. A nightly scan of main reports to the Security tab.
  • The database lets the status of an invoice move only along its graph: nothing leaves "storniert", and nothing goes back to a draft. The ID and the creation time of an issued invoice never change either. The import of a backup takes the same path.

Full changelog: v0.1.11...v0.1.12

v0.1.11

Choose a tag to compare

@github-actions github-actions released this 22 Nov 14:55
Immutable release. Only release title and notes can be modified.

Added

  • External invoices: an invoice made outside the app goes in with its original file, a PDF, XLSX, DOCX or XML of at most 25 MB. The format "Externe Rechnung" on a customer, a template or a draft marks it. The draft editor takes the facts: dates, amounts per tax category, the tax note. "Rechnung erfassen" asks for the number of the file and the file itself.
  • The registration takes the next invoice number and refuses a file with another one. Nothing is saved then, and no gap remains.
  • The original files of an invoice are sealed, written once and checked on every read, at startup and every night. The yearly archive and the full export take them along. Further files go in one at a time on the page of the invoice.
  • Numbers of a year before the app: the admin marks the year under "Einstellungen", "Nummernkreis". Its external invoices then take the number of their file, in any order. The number has the form year and counter, its year is the year of the invoice date, and a counter exists once.
  • The page "Nummernkreis" of such a year lists its numbers, the dates out of order and the gaps. Each gap gets a reason, written once. "Jahr abschließen" works without a gap without reason: the counter continues after the highest number.
  • Payments, dispatches, reminders, the Stornorechnung and the reports treat an external invoice like an issued one. An e-mail from the app attaches its original files byte for byte, and a payment reminder can attach them too.

Full changelog: v0.1.10...v0.1.11

v0.1.10

Choose a tag to compare

@github-actions github-actions released this 17 Nov 14:21
Immutable release. Only release title and notes can be modified.

Changed

  • The migration of the database is a step of its own: java -jar im.jar migrate, before the app starts. Only this step gets the password of the owner of the tables. The app connects without it and starts only on the current schema. Docker Compose runs the step as a service that the app waits for.
  • A new passkey needs a login of the last 15 minutes, with the password or a passkey. After a login by "Angemeldet bleiben", "Mein Konto" asks for the password first.
  • The app does not start without IM_REMEMBER_ME_KEY of at least 32 characters.

Security

  • A new password ends the sessions of the user in the other browsers. A reset by the admin ends all of them.
  • The audit log is written once: not even the app changes or deletes an entry. Only the import into an empty installation replaces it.
  • An upload over 32 MB ends before the server reads it, unless an admin imports a full export.

Full changelog: v0.1.9...v0.1.10

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 16 Nov 21:53
Immutable release. Only release title and notes can be modified.

Fixed

  • A line of an invoice or template named its service field only for screen readers. It shows the label "Leistung" now, like every other field.
  • "Foto aufnehmen" opened a file chooser instead of the camera on Android. The receipt field takes only images while the camera is open.

Changed

  • The app is reachable from the own VPN too, not only from the home LAN: the hub, the office LAN and the travel LANs. The intranet repository keeps the list of the reverse proxy.
  • No field shows a made-up example any more, such as a bookshop as the vendor of an expense or a device name for a passkey. The label says what goes in.

Full changelog: v0.1.8...v0.1.9

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 16 Nov 20:30
Immutable release. Only release title and notes can be modified.

Added

  • The app installs on a phone as a web app: a manifest, an icon for the home screen and a favicon. Android and desktop Chrome also offer the shortcuts "Neue Rechnung" and "Neue Ausgabe".
  • On a phone, a new expense offers "Foto aufnehmen": the camera takes the receipt. The field still offers the photo library and the files.

Full changelog: v0.1.7...v0.1.8

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 15 Nov 21:07
Immutable release. Only release title and notes can be modified.

Fixed

  • On an iPhone a field with a long value, such as the customer of a new invoice, pushed out of its card. A field now shrinks with its card, and a select cuts its text with an ellipsis.

Full changelog: v0.1.6...v0.1.7

v0.1.6

Choose a tag to compare

@github-actions github-actions released this 15 Nov 19:02
Immutable release. Only release title and notes can be modified.

Added

  • "Ausgaben": business expenses with their receipts, by day of payment, with the amount paid, a kind after the Anlage EÜR, the vendor, a description and the mark "Anlagegut". The receipt is written once and sealed. A wrong expense is cancelled with a reason and stays.
  • "Berichte" sums the expenses of a year by kind for WISO Steuer, lists the assets and offers a CSV. The yearly archive holds the receipts in the folder "Ausgaben".
  • Each PDF, XML, snapshot and business document carries a seal: an HMAC-SHA256 with the key IM_INTEGRITY_KEY, which lives outside the database. Every read checks the SHA-256 and the seal. A changed file shows on its page, with the facts of the XML that differ from the snapshot, and stays out of download, e-mail and the yearly archive.
  • The app checks every document at startup and every night. The overview lists what failed, the audit log records it, and "Datensicherung" checks on request.
  • An import refuses files that do not match their SHA-256 or seal.

Changed

  • The e-mail texts moved from the admin area to "Einstellungen", "E-Mail" (/settings/mail): the owner of the business writes them herself.
  • The app connects to the database as IM_DB_USER, a role that may only read and write rows, and refuses to start as the owner. Flyway migrates as IM_DB_OWNER. Create the role before the update, see the README.

Full changelog: v0.1.5...v0.1.6

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 15 Nov 12:50
Immutable release. Only release title and notes can be modified.

Added

  • Zahlungserinnerung: an issued invoice with money open gets a reminder by e-mail, with the open amount, the due date and the PDF, and a preview; or the user notes a reminder given by phone or letter with its day and a note. Every reminder stays in the history of the invoice and in the log; none changes or goes away. "Übersicht" shows the day of the last reminder of an overdue invoice. The admin sets the reminder text on "E-Mail", with the placeholder {Offener Betrag}.

Changed

  • The name follows "Mit freundlichen Grüßen" on the next line, in the PDF and in the e-mail, without a paragraph between. The HTML e-mail puts the greeting with the name below the box with the facts, the address at its foot.
  • The label of a field stays gray on focus and on a wrong value. Only the frame turns blue or red.
  • The PDF puts the address into the field of DIN 5008, form B, so it shows in a window envelope. The information block starts at 50 mm on the right and also holds the VAT ID of the customer and the buyer reference. A foreign country stands as its German name in capitals.
  • A last line on the PDF names the XML data as the invoice. A ZUGFeRD PDF says that it carries them; the PDF next to an XRechnung calls itself a reading copy, so it does not count as a second invoice.
  • The PDF names the amount in the payment request, as the standard form of DATEV does.
  • The PDF signs below the closing with the contact person, or the name without one, unless the closing ends with it already. The text part of the e-mail ends with the same signature as its HTML part.
  • Profil, Kontakt: "Telefon auf der Rechnung zeigen" puts the phone number into the footer of the PDF. It is off by default; the XML carries the number anyway, as XRechnung needs it. An issued invoice keeps the choice it was issued with.
  • The full export and import stream their data. The export reads one row at a time and writes it into the ZIP at once, the rows of a table first, then its documents; the import keeps the upload on disk and reads it entry by entry and row by row. Memory holds one document at most, so a large export no longer risks the container. An import may have up to 4 GB, and the export stops before it writes more than an import takes. It checks the size of the ZIP directory before it reads it, the CRC of every entry, and that each table is one JSON array and nothing more.

Fixed

  • The intro and the closing of the PDF keep their line breaks; before, a closing of two lines ran into one.

Full changelog: v0.1.4...v0.1.5