Invoice Prepopulations (api)
- URL parameters to pre-populate an invoice
<table><!-- [et_pb_line_break_holder] --><tr><!-- [et_pb_line_break_holder] --><th><strong>url</strong></th><!-- [et_pb_line_break_holder] --><th><strong>php</strong></th><!-- [et_pb_line_break_holder] --><th><strong>invoice</strong></th><!-- [et_pb_line_break_holder] --></tr><!-- [et_pb_line_break_holder] --><tr><td> biller </td><td> $_GET['biller'] </td><td> sets the biller to this ID </td></tr><!-- [et_pb_line_break_holder] --><tr><td>customer </td><td> $_GET['customer'] </td><td> sets the customer field to this customer ID </td></tr><!-- [et_pb_line_break_holder] --><tr><td>quantity[x] </td><td> $_GET['quantity'][x] </td><td> sets the quantity field for line number 'x' - starting at 0 </td></tr><!-- [et_pb_line_break_holder] --><tr><td>product[x] </td><td> $_GET['product'][x] </td><td> sets the product field to this product ID </td></tr><!-- [et_pb_line_break_holder] --><tr><td>tax[x][y] </td><td> $_GET['tax'][x][y] </td><td> sets tax 'y' field for line number 'x'</td></tr><!-- [et_pb_line_break_holder] --><tr><td>unit_price[x] </td><td> $_GET['quantity'][x] </td><td> sets the quantity field for line number 'x' - starting at 0 </td></tr><!-- [et_pb_line_break_holder] --><tr><td>description[x] </td><td> $_GET['description'][x] </td><td> sets the description for line number 'x' - starting at 0 </td></tr><!-- [et_pb_line_break_holder] --><tr><td> note </td><td> $_GET['note'] </td><td> sets the notes field </td></tr><!-- [et_pb_line_break_holder] --><tr><td> date </td><td> $_GET['date'] </td><td> sets the dates field </td></tr><!-- [et_pb_line_break_holder] --><tr><td> preference </td><td> $_GET['preference'][x] </td><td> sets the invocie prefence to invoice preference 'x' </td></tr><!-- [et_pb_line_break_holder] --><tr><td> line_items </td><td> $_GET['line_items'][x] </td><td> sets now many line items will be displayed by default in the invoice </tr><!-- [et_pb_line_break_holder] --></table><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><h3><!-- [et_pb_line_break_holder] --> Example:<!-- [et_pb_line_break_holder] --></h3><!-- [et_pb_line_break_holder] --><p><!-- [et_pb_line_break_holder] --> http://your.simplinvoicesinstall.com/index.php?module=invoices&view=itemised&biller=1&customer=4&product[0]=1&unit_price[0]=88&quantity[0]=7&tax[0][0]=1¬e=testset&preference=2&date=2010-06-05&line_items=10</p>