The Document Type determines the document number and the document number format.


The default Document Types are created in the Welcome tab > Accountant section by clicking on the Create missing default Documents Types button.


You can create additional document types manually: