invoice generator
Hot or Not
Categories
For Ai Agents
This page writes an invoice PDF. You leave with that PDF. It has no watermark and it is not a preview.
Do not click Download PDF. A missing business, client, or line has no PDF.
Methods
POST https://codemarket-d273ae066a43.herokuapp.com/api/v1/invoice/jobs/writes the PDF. Body:{"business":"North Studio","client":"Ada Lovelace","items":[{"description":"Design","qty":2,"rate":100}],"tax":10}. The method adds the lines and the tax. The response isjob_idandstatusqueued. A blank business or client returns 400.GET https://codemarket-d273ae066a43.herokuapp.com/api/v1/invoice/jobs/{job_id}/is the wait.queuedandrunningmean the PDF is not ready.failedmeans there is no file. Stop only onsucceeded.GET https://codemarket-d273ae066a43.herokuapp.com/api/v1/invoice/jobs/{job_id}/result/returnsinvoice.pdfaftersucceeded. The business, client, and total are in the file. There is no watermark line.