• Resolved Antonio Gallo

    (@antoniogallo)


    I need to send to my fiscal consultant all the invoices once a month.
    Is there a way to export them all togheter?
    Otherwise if i loop through all the invoice data
    then witch function can i call
    to generate programmatically the invoice?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Antonio Gallo

    (@antoniogallo)

    OK cool if i multiselect them i can export all as PDF.

    Anyway i need to programmatically generate the invoice number when order is completed (without sending an email).

    Is it correct to use it to generate the invoice number?
    $res = wcpdf_get_document( ‘invoice’, $order_id, true );

    Hi,

    You can export invoice from orders page in backend by selecting corresponding orders.

    If you need to run custom codes please check the functions of ‘APIFW_Invoice’ class in the plugin includes folder.

    Thread Starter Antonio Gallo

    (@antoniogallo)

    SOLVED

    using:
    $res = wcpdf_get_document( ‘invoice’, $order_id, true );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Export all the invoice every month’ is closed to new replies.