• Resolved basvandijkk

    (@basvandijkk)


    One of our clients has the wish to have a new invoice once the payback option(which is standard in WooCommerce) is being used. They want to KEEP the old invoice but generate a new one.

    I was wondering if it’s possible with this plugin. I can find my way around PHP meaning that I’m planning on making this myself. But every piece of code within the plugin indicates that it’s not easy to adjust the plugin to our wishes.

    Are there other people that also request this feature? Would it even be possible to create this with the current plugin?

    I would really like some suggestions. A big no would also be appreciated.

    • This topic was modified 6 years, 8 months ago by basvandijkk.
    • This topic was modified 6 years, 8 months ago by basvandijkk.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Bas,
    The Document class is abstracted so you can create your own documents pretty easily by extending it in the same way the Invoice class is created. But if I understand correctly you want to create credit notes, which is exactly what our Professional extension provides.

    Thread Starter basvandijkk

    (@basvandijkk)

    @pomegranate Yes that is exactly what I need. Does this plugin allow you to save the original invoice? And only send the Credit nota upon toggeling the payback function?

    Plugin Contributor Ewout

    (@pomegranate)

    Yes, the original invoice is unaffected by the refund (as it should be), and once an order has been fully or partially refunded, you will be able to create this additional document. Note that internally, the refund is actually a separate order. If you want line items and taxes in the refund too, make sure to enter those when creating the refund – if you only enter a total for the refund, WooCommerce only saves a total in the refund order too. See: Creating a refund/credit note

    Thread Starter basvandijkk

    (@basvandijkk)

    @pomegranate Thanks for the link. To be clear, the credit nota is not being send upon paying back the order right.

    Because you are describing it as if the credit nota can only be made AFTER the payback of the order. My goal is to attach it to the email that’s being send upon paying back the order.

    • This reply was modified 6 years, 8 months ago by basvandijkk.
    Plugin Contributor Ewout

    (@pomegranate)

    Both are possible:

    • If you set the credit note to attach to the refunded order email, it will be automatically created once the refund is created, and included with the email
    • If you don’t attach it to any email, you will only be able to create the Credit note after the refund is created. Creating it before the order is refunded would be magic ??
    Thread Starter basvandijkk

    (@basvandijkk)

    @pomegranate Haha yes, okay than its exactly what I need right now.

    Since:
    “If you set the credit note to attach to the refunded order email, it will be automatically created once the refund is created, and included with the email”

    is the situation that I need.

    Thanks for the quick responses Ewout!

    • This reply was modified 6 years, 8 months ago by basvandijkk.
    • This reply was modified 6 years, 8 months ago by basvandijkk.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple Invoices’ is closed to new replies.