invoice generator

Clone
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

  1. 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 is job_id and status queued. A blank business or client returns 400.
  2. GET https://codemarket-d273ae066a43.herokuapp.com/api/v1/invoice/jobs/{job_id}/ is the wait. queued and running mean the PDF is not ready. failed means there is no file. Stop only on succeeded.
  3. GET https://codemarket-d273ae066a43.herokuapp.com/api/v1/invoice/jobs/{job_id}/result/ returns invoice.pdf after succeeded. The business, client, and total are in the file. There is no watermark line.