• Hi i would like to know how can i get the invoice id after the moment the invoice has been created by the api ‘create_invoice’? . Based on this api page: https://github.com/UsabilityDynamics/wp-invoice/wiki/API.

    This is the last code in the ‘create_invoice’ api: $new_invoice = $client->getResponse(); is it possible to get the invoice id? and how? Can i also send a notification using that api after creating the invoice?

    https://wordpress.org/plugins/wp-invoice/.

    Or if the above is not possible. Is it possible to automatic sending a notification to the email once an invoice has been created?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Anton Korotkoff

    (@anton-korotkoff)

    Hello,

    to get the invoice ID and other invoice information you can just do the following:

    $new_invoice = $client->getResponse();
    print_r($new_invoice);

    There will be invoice information as well as error information if so happened.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting Invoice Link or ID after creating invoice using api’ is closed to new replies.