invoice-generator-api icon indicating copy to clipboard operation
invoice-generator-api copied to clipboard

Add API to pre-populate fields

Open cdman opened this issue 7 years ago • 2 comments

The use-case would be to pre-populate an invoice but still allow the user update/edit the information before generating/sending the final invoice. Something like:

If you go to https://invoice-generator.com/?from=foo&to=bar then the "From" and "To" fields should be pre-populated with "foo" and "bar" respectively.

cdman avatar Jun 07 '18 07:06 cdman

This is an interesting request. Do you mind sharing more about why you want to do this?

jaredk2g avatar Jun 07 '18 20:06 jaredk2g

@jaredtking - I would like to provide a button to my colleagues to create an invoice for a set of orders from our clients. However sometimes clients ask for customizations and I want to give my colleagues the option to edit the different fields before creating the PDF and sending it to the client.

I imagine in 99% of the cases they will just click the "Download Invoice" link, but for the 1% of the cases it would be great to be able to edit some fields before generating the invoice.

cdman avatar Jun 17 '18 06:06 cdman