Th

Thelawin – Generate EU e-invoices from JSON

Hacker News

Thelawin – Generate EU e-invoices from JSON

Hi HN, I built Thelawin because EU e-invoicing is one of those boring problems that gets surprisingly deep once you ship it. The basic idea is simple: send invoice JSON, get an EU e-invoice back. It currently supports ZUGFeRD, Factur-X, XRechnung, UBL, CII, Peppol, FatturaPA and plain PDF output. For PDF-based formats it returns PDF/A-3 with embedded XML. There is also a validation endpoint, so you can check the JSON before generating the invoice. The API is stateless by design. Invoice data is processed, returned, and not stored. Usage logs do not contain invoice contents. I also added an MCP endpoint. The goal is that an agent can pass sender, buyer and invoice-line data to a schema-bound tool instead of trying to produce invoice XML itself. There is a public sandbox flow here: https://thelawin.dev/ai I would be interested in feedback from people who have dealt with e-invoicing, ERP integrations, accounting software, Peppol, or PDF/A-3 generation. The hard part is not making a PDF. The hard part is avoiding all the small format mistakes that only show up when a real customer tries to submit the invoice somewhere.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: supports, mistakes · Missing: reddit linkedin, podcasting, created
76%76% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
47%47% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
45%45% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: agent, mcp, plain · Missing: mac, agents, macos
29%29% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
27%27% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
25%25% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

I
I built an API to generate PDF invoices from JSON44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built an API to generate PDF invoices from JSON

Hacker News1
JSON2Invoice
JSON2Invoice37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Generate beautiful invoices from json

Product Hunt+7
Ne
NewAlbums.eu - A mashup between leaksallday and FilesTube48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

NewAlbums.eu - A mashup between leaksallday and FilesTube

Hacker News1
No
Nohtml.felixs.eu40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nohtml.felixs.eu

Hacker News2
Pd
Pdfcpu – Generate PDF from JSON46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pdfcpu – Generate PDF from JSON

Hacker News2
JS
JSON.stringify (without circular deps) for AngularJS 1.x41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JSON.stringify (without circular deps) for AngularJS 1.x

Hacker News3
JS
JSON.is47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JSON.is

Hacker News100
Pa
Parse JSON with Flex, Bison, and Ruby38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Parse JSON with Flex, Bison, and Ruby

Hacker News3
Ho
Homogenius – JSON packer/unpacker47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Homogenius – JSON packer/unpacker

Hacker News1
js
json.is47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

json.is

Hacker News10