Invoicing software is mostly about money handling, not invoices: six .NET lessons
A developer who built a full invoicing app in ASP.NET Core with .NET 10, EF Core, SQLite and QuestPDF found that the hard parts go well beyond basic CRUD work. The first major bug came from line totals that did not match stored values, because full-precision calculations were rounded differently when persisted. The fix was to normalise inputs to their stored scales before computing totals. The author also describes a PDF design approach that uses a single structure with style variants across nine templates, and a test rule that covers page breaks on long invoices. The AI assistant was limited to read-only query tools, with its tool results treated as untrusted input to resist prompt injection. Finally, the app's client portal uses a token-based URL to share an invoice without requiring an account.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in