If the voucher series is not picking up the leading zeros, you need to follow the below steps:
Step 1: Go to administration and then click on configuration.
Step 2: After clicking on configuration, click on the voucher series configuration and select voucher type and series under voucher type.
Step 3: After clicking on series, click on the voucher numbering option, then select the renumbering frequency, embed the year in the VCH number, prefix or suffix, etc.
Step 5: You have to specify the fixed length of the numeric part as Yes, the total length of the numberic part as you require (maximum of 9) and the pading character as Zero, and put the relevant information.
Step 6: After that, save voucher numbering.
Step 7: And then you will get the prompt for renumbering. If you are required to renumber, then click on the Yes option; if you are not required to renumber, then click on the NO option.
Step 8: Note: Kindly take a backup before changing the voucher number.