• Resolved EvD

    (@elkevandrunen)


    Hi all,

    I want to export all my invoices and credit invoices. I use WooCommerce PDF Invoices & Packing Slips Professional.

    All the invoices are correctly exported, but the credit notes aren’t. Is there a way to also export the credit invoices?

    Best.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author algol.plus

    (@algolplus)

    hi

    use code https://docs.algolplus.com/algol_order_export/woocommerce-pdf-invoices-packing-slips/

    read note in section “Overview”!!

    thanks, Alex

    Thread Starter EvD

    (@elkevandrunen)

    Fantastic, Alex. Thanks for your fast help!

    Plugin Author algol.plus

    (@algolplus)

    you’re welcome

    Thread Starter EvD

    (@elkevandrunen)

    I am sorry but I can’t seem to make it work.

    I added the code to my custom functions plugin but when I export I still don’t see the credit invoices. Do I need to add a field for export?

    I am testing it on my staging website for which the Pro version of my invoice plugin isn’t valid. But the credit invoices should already be generated, I was hoping. I will test it toningt on my live website. Keep you posted.

    • This reply was modified 3 years, 4 months ago by EvD.
    Plugin Author algol.plus

    (@algolplus)

    please, open >Setup Fields>Others and drag fields to export

    Thread Starter EvD

    (@elkevandrunen)

    Hi Alex,

    Thanks, that worked. It does show the credit invoices but they are shown on the same lines as the original invoices of which they are a credit invoice of. For example when customer 2 has canceled order #2 and I have credited his order a little while later then it will be exported like this:

    Customer 1: Normal invoice #1
    Customer 2: Normal invoice #2 | Credit invoice #4
    Customer 3: Normal invoice #3
    Customer 4: Normal invoice #5
    Customer 5: Normal invoice #6

    But I would like the credit invoice on a seperate line, because my credit invoices are numbered in the same sequence as the invoices. For example:

    Customer 1: Normal invoice #1
    Customer 2: Normal invoice #2 (customer canceled his order)
    Customer 3: Normal invoice #3
    Customer 2: Credit invoice #4 (original invoice #2)
    Customer 4: Normal invoice #5
    Customer 5: Normal invoice #6

    The invoice numbers (normal invoices and credit invoices) are all sequential. I would like to export it in that fashion.
    Is that possible?

    Plugin Author algol.plus

    (@algolplus)

    Technically it’s refunds, so

    0. Remove previous code and extra columns.
    1. Open “Filter by Order” and mark “Export Refunds”
    2. Open “Setup Fields” and add 3 fields (you must type text below 1st dropdonwn)
    _wcpdf_credit_note_number
    _wcpdf_credit_note_date
    _wcpdf_credit_note_date_formatted
    3. drag fields to export

    They will be filled only for refunds!

    thanks, Alex

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t export credit invoices’ is closed to new replies.