Reset invoice number

This topic contains 7 replies, has 3 voices, and was last updated by  website soporte 6 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #1286

    website soporte
    Buyer
    Post count: 28

    Hello wpinvoicing team

    Any form of Reset invoice number? Finish making tests.

    I need the same as in this post, but no solution is given.

    https://wpinvoicing.com/support/topic/reset-invoice-number-or-manual-setting/

    In my country I need to restart every year

    #1291

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #1292

    website soporte
    Buyer
    Post count: 28

    ok thanks alex

    I wait for the answers.

    a greeting

    #1293

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #1294

    Patrik
    Moderator
    Post count: 1971

    Hi,

    There is no such functionality currently to reset invoice number but if this is the required thing for you then you can try following first on your staging(strictly recommended) and if it works fine then on live.

    You need to enable WPI>Settings>Misc>Sequential Invoice Numbers first. The setting Sequential Starting Number field value will work only if it is greater than the last invoice number but in your case you want to start from 1 which will be not greater than last invoice number. So just set value 1 there and as we are storing last invoice number value in options table you can either change it directly from the Database or by running the

    update_option( 'wpinv_last_invoice_number', 0 );

    function single time. This will reset the invoice number to 0.

    If you want us to update the things then let me know the admin and Cpanel details in private reply and we will look into this.

    Let me know if you have any questions.

    Regards,
    Patrik

    #1300

    website soporte
    Buyer
    Post count: 28

    Ok thank you very much, it worked and solved our problems.

    cheers and thank you again

    #1301

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #1311

    website soporte
    Buyer
    Post count: 28
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket