• Resolved loeilrot

    (@loeilrot)


    Hi folks.

    One invoice number is missing in the sequential numbering system and my accountant is complaining about it.

    I though about some canceled – delete orders but it doesn’t seem to be the case.

    I also thought about a backup – restore sequence what would have generated an error but i didn’t backup – restore anything lately.

    Anyone experiences the same issue ?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @loeilrot,

    Please note that, by default, our PDF invoices plugin generate sequential numbers, without gaps. However, the invoice numbers are assigned based on when the document is generated, and this does not always match the sequence in which orders arrive (unless you generate an invoice at order creation, regardless of whether you have received payment or not, e.g. by sending the document to the administrator).

    For instance, let’s say that your next invoice number is I-101 and you only generate an invoice when the order changes to Completed status (that in fact appear to be your case). If you receive three orders in a row, with the order numbers 100101 and 102, but the order status changes to Completed in a difference sequence: 102100101, the invoice numbers would look like this:

    Order: 100 = Invoice: I-102 (second to change to Completed)
    Order: 101 = Invoice: I-103 (third to change to Completed)
    Order: 102 = Invoice: I-101 (first to change to Completed)

    That said, you could take advantage of the Numbers tracking tool, that you will find under WooCommerce > PDF Invoices > Advaced > Numbers, that allows you to track the document numbers (invoices, packing slips, etc.), including the creation date, related order, and order status:

    Please note that if you set manually the Next invoice number, within the document settings, the numbering log is restarted, so you’ll only see the new numbers created afterward.

    Hope it helps to understand what happened!

    Thread Starter loeilrot

    (@loeilrot)

    Hi Yoardan.

    Thank you for this explantation. I understand there can be “errors” in the sequence in some rare cases du to the time to paiement validation.

    Hope accounting won’t bother to much 🙂

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Incremental invoice number missing’ is closed to new replies.