Automating Invoice Processing in 10 Lines of TypeScript