[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112927":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":14,"stars30d":14,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":17,"hasPages":17,"topics":19,"createdAt":9,"pushedAt":20,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":12,"starSnapshotCount":12,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},112927,"im","grigoriev\u002Fim","grigoriev","Invoice Manager",null,"Java",61,0,60,1,40.6,"MIT License",false,"main",[],"2026-11-23 17:13:19","2026-11-19 05:52:17","# im\n\n[![CI](https:\u002F\u002Fgithub.com\u002Fgrigoriev\u002Fim\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fgrigoriev\u002Fim\u002Factions\u002Fworkflows\u002Fci.yml)\n[![OpenSSF Scorecard](https:\u002F\u002Fapi.scorecard.dev\u002Fprojects\u002Fgithub.com\u002Fgrigoriev\u002Fim\u002Fbadge)](https:\u002F\u002Fscorecard.dev\u002Fviewer\u002F?uri=github.com\u002Fgrigoriev\u002Fim)\n[![Java 25+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FJava-25%2B-blue)](pom.xml)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-yellow.svg)](LICENSE)\n\n[![Quality Gate Status](https:\u002F\u002Fsonarcloud.io\u002Fapi\u002Fproject_badges\u002Fmeasure?project=grigoriev_im&metric=alert_status)](https:\u002F\u002Fsonarcloud.io\u002Fsummary\u002Fnew_code?id=grigoriev_im)\n[![Coverage](https:\u002F\u002Fsonarcloud.io\u002Fapi\u002Fproject_badges\u002Fmeasure?project=grigoriev_im&metric=coverage)](https:\u002F\u002Fsonarcloud.io\u002Fsummary\u002Fnew_code?id=grigoriev_im)\n\nInvoice Manager: a small web app that creates German e-invoices (e-Rechnung) for a freelancer.\n\n- ZUGFeRD (PDF\u002FA-3 with embedded XML) and XRechnung, validated with the official KoSIT validator.\n- Kleinunternehmer rules (§19 UStG) with tax-exempt teaching (§4 Nr. 21 UStG), and threshold tracking.\n- Regular VAT at 19 % and 7 % for every other business, for example the sale of goods, with the VAT per rate.\n- Customer templates, immutable issued invoices, sending by e-mail (HTML and text, with a preview) or a manual dispatch\n  record.\n- Cancellation by a Stornorechnung: a validated credit note with its own number that names the cancelled invoice.\n- Payments and refunds by the day the money came in, which the income report and the threshold use.\n- Payment reminders for open invoices: by e-mail with the open amount, or noted by hand, with their history.\n- Issued PDF and XML stay in the database with their SHA-256, so one `pg_dump` backs up everything.\n- A store of business documents: the Verfahrensdokumentation, tax assessments, letters, certificates and contracts.\n  Every file stays, a new version replaces it in the list, and the yearly archive takes them along. The app writes\n  the Verfahrensdokumentation from the profile.\n- Full export and import of all data and documents as one ZIP, to move to a new host.\n- The admin page shows the last nightly backup and restore test of the host, and warns when one is overdue.\n- Login with passkeys (Touch ID, Face ID) and a password fallback.\n- Runs as a container with PostgreSQL in a home network.\n\nThe project is in development; production use starts in 2027. See [docs\u002FPLAN.md](docs\u002FPLAN.md) for\nthe plan and [docs\u002Fmockup](docs\u002Fmockup) for the UI mockup.\n\n## Run\n\nThe image is `ghcr.io\u002Fgrigoriev\u002Fim`. It needs PostgreSQL:\n\n```sh\ndocker run -p 8080:8080 \\\n  -e IM_DB_URL=jdbc:postgresql:\u002F\u002Fdb:5432\u002Fim -e IM_DB_USER=im -e IM_DB_PASSWORD=... \\\n  -e IM_ADMIN_USERNAME=admin -e IM_ADMIN_PASSWORD=... -e IM_REMEMBER_ME_KEY=... \\\n  -e IM_WEBAUTHN_RP_ID=rechnungen.example -e IM_WEBAUTHN_ALLOWED_ORIGINS=https:\u002F\u002Frechnungen.example \\\n  ghcr.io\u002Fgrigoriev\u002Fim:latest\n```\n\n`IM_ADMIN_USERNAME` and `IM_ADMIN_PASSWORD` create the first admin at startup while no admin exists. The\nadmin creates the other users on the page \"Benutzer\" and deletes them there. Once a second admin exists, the first\none can go: it does not come back at the next start. `IM_REMEMBER_ME_KEY` signs the \"Angemeldet bleiben\"\ncookie: set a long random value.\n\nPasskeys need HTTPS, or `http:\u002F\u002Flocalhost`. `IM_WEBAUTHN_RP_ID` is the host name of the app, and\n`IM_WEBAUTHN_ALLOWED_ORIGINS` lists its origins, comma separated. A passkey works only on the host it\nwas created for. Each user adds passkeys on the page \"Mein Konto\". The admin can remove them.\n\nSending invoices by e-mail needs an SMTP server: `IM_SMTP_HOST`, `IM_SMTP_PORT` (587), `IM_SMTP_USERNAME`,\n`IM_SMTP_PASSWORD`, `IM_SMTP_STARTTLS` (`true`), the sender `IM_MAIL_FROM` and an optional blind copy\n`IM_MAIL_BCC`. Without `IM_SMTP_HOST` and `IM_MAIL_FROM` the app sends nothing, and the user records each\ndispatch by hand. The admin sets the default e-mail text and the text of a payment reminder on \"E-Mail\".\n\nThe app takes uploads up to 4 GB for the backup import. A reverse proxy should allow that size for\n`\u002Fadmin\u002Fbackup\u002Fimport` only and about 32 MB for the rest: the largest document has 25 MB.\n\nVerify an image: `gh attestation verify oci:\u002F\u002Fghcr.io\u002Fgrigoriev\u002Fim:\u003Cversion> --owner grigoriev`.\n\n## Build\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\nThis software does not give tax advice. Check the invoice texts and the tax rules with a tax\nprofessional.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md). Report vulnerabilities privately, see [SECURITY.md](SECURITY.md).\n\n## Disclaimer\n\nThis software is provided \"as is\", without warranty of any kind, as the LICENSE states. Use it at\nyour own risk. Sergey Grigoriev is not liable for damage from its use, as far as the law allows. It\nis published free of charge, outside of any commercial offering, with no obligation to support it.\nSecurity reports are welcome, see SECURITY.md.\n\n## License\n\nMIT, see [LICENSE](LICENSE).\n","Invoice Manager（im）是一款面向德国自由职业者的电子发票管理Web应用，专为合规生成德国标准电子发票（e-Rechnung）设计。核心功能包括：支持ZUGFeRD（PDF\u002FA-3+XML）与XRechnung格式并经KoSIT官方验证；自动适配德国小企业免税规则（§19 UStG）及教育服务免税条款（§4 Nr. 21 UStG）；支持多税率（19%\u002F7%）计算、客户模板、不可变发票存档、Stornorechnung（冲销发票）、付款\u002F退款跟踪、邮件发送与提醒、全量数据文档ZIP导出导入，以及基于PostgreSQL的容器化部署。适用于在德执业的自由职业者、个体经营者及小型顾问团队进行日常开票、税务合规与财务归档。",2,"2026-11-24 04:44:37","CREATED_QUERY"]