Support » Plugin: Flexible Invoices for WordPress » Programmatically add invoice

  • Hello,

    Thank you for this plugin.

    I was wondering if it is possible to add an invoice programmatically at this moment?

    For example something like:

    
    <?php
    $invoice = flexible_invoices_add_invoice( array(
       'products' => array(
          'description' => '',
          'quantity' => '',
          'price' => '',
       ),
       'customer' => array(
          'id' => '', // optional
          'name' => '',
          'address' => ''
       )
    ) );
    

    Thanks again and I look forward to your reply.

Viewing 1 replies (of 1 total)
  • Hi @jeffreyvr,

    Right now this is not possible, but we think it is a brilliant idea and we are adding it to our backlog. When we prepare a bigger update we will consider this feature.

    I will let you know if and when it’s ready.

Viewing 1 replies (of 1 total)
  • The topic ‘Programmatically add invoice’ is closed to new replies.