Automatic Document Numbering
If the company gets the necessary authorization from the tax authority (SENIAT), it can generate and print its own official document numbers on the invoices, credit memo and debit memo documents.
In this case the tax authority assigns one or more number ranges to the sales office of the company. The sales office can use a unique number range for each document, or can use different number ranges for different document classes.
You have made the settings described in Customizing for Automatic Document Numbering.
If the accounting document is generated after the creation of the billing document, the system automatically generates the official document number at the time of invoice creation. The numbers are generated consecutively.
When you create the accounting document, the system automatically
records the official document number in the Reference
field
of the accounting document header.
After the accounting documents have been generated, check in the Reference
field
of the accounting document header that the official document numbers have
been assigned correctly and that the Reference Key
field
contains the billing document number as required.