To remove Supplier invoice number mandatory, please follow the steps mentioned below.
Step 1 : Go to Settings.
Step 2 : Under General settings, Select Preferences.
Step 3 : And then under Document >> Click on Purchases.
Step 4 : Disable the toggle of Mandatory Supplier Invoice Number.
Step 5 : Click on Save & Update.