I'd like to help you with your concern. When you say post a unique document no. are you referring to the custom transaction numbers? If so, you can enable the option by following these steps:
Go to the Gear > Account and settings.
On the left panel, click Sales.
In the Sales form content section, click the toggle icon to turn on Customer Transaction Numbers.