For Simple Invoice
Before starting get a FREE API Key at
https://invoice-generator.com/1.- Use the Plugin Action "Invoice/Quote Generator-Simple Invoice" and fill the required inputs.
2.- Save your PDF or XML File
For Advanced Document
1.- Create a Database Table for the Items of the Invoice or use one that already represents them.
2.- Add a "text" attribute to that table to store a JSON
3.- When ever you Create or Modify your Items, create or edit a JSON like this on the attribute created on step 2: { "name": "<PRODUCTNAME>", "quantity": <PRODUCTQUANTITY>, "unit_cost": <UNITCOST>, "description": "<DESCRIPTION>" }
Optionaly: Use the element Row Creator to create the needed JSON for each row. Save the rowjson result on your database as a list of texts.
NOTE: Substitute all the <TEXT> for your Item Values, erase the <> but always respect the " ", leve without " " the value of the numeric parameters "unit_cost" and "quantity".
4.- Use the plugin action "Invoice/Quote Generator - Advanced Document"
5.- Fill the required inputs
6.- On the JSON input pass the list texts created on each Item of the attribute created on Step 2.
7.- You may add as much items as you want, the total of each item and the subtotal and total amounts of the Document are calculated in automatic.
Editor -
https://bubble.io/page?name=index&id=demoinvoicequotegenerator&test_plugin=1638742676199x508701015385571300_current&tab=tabs-1