logoalt Hacker News

cm2187 • today at 9:35 AM • 4 replies • view on HN

Why not printing the key data from an invoice as a QR code on the invoice instead of this cottage industry of invoice scanning? It seems every company is dealing with the same problem that can be trivially solved at the source (invoice generation).


Replies

sarkarghya • today at 10:33 AM

I have actually tried convincing people to do that. There are a variety of problems.

First of all, everyone is using a different POS system, which makes it difficult for something like a QR code to be integrated, which at times needs to be fetched using an api endpoint. Second of all, where are these invoices being hosted, then? Invoices often have private information like names and digits of card numbers, and we don't want that leaking. A company like Stripe could do it. For others it would create a dependency like a link shortener. There's not a lot of information that can be stored in the qr code itself.

VoidWhisperer • today at 10:35 AM

Most of the usecase for this sort of thing is at the point of the person receiving the invoice. You don't have control over how/in what format/layout the invoice is sent in. This means it would be hard, on the receiving side, to guarantee that every invoice you need to process has this QR code on it.

I think, atleast here in the US, the government doesn't mandate any specific format for invoices, just that it has certain information like those required by IRS recordkeeping rules.

Essentially, the reason this product niche around invoice/receipt scanning exists is because the person receiving it doesn't have control over the format and can't require (within reason anyways) that it has this QR code on it

➕ show 1 reply
akazantsev • today at 3:12 PM

You can go one step further and make banks send you digital invoices.

MrBuddyCasino • today at 1:37 PM

I told them to do exactly that in a project, and they ended up doing that (except it was an ID and the page number, not the data itself). Its pretty trivial to do, just have to get the information density right as there isn’t a lot of space available usually.

QR codes are pretty wasteful, there are better options.