I am receiving the error 'DuplicateDocumentError' when invoicing.
- The DuplicateDocumentError is an error similar to DocStatusError
- The difference is that the DuplicateDocumentError occurs of the same DocCode is being within a few seconds
- Any longer and you will receive the DocStatusError
- It is recommended that no doc code be sent until the invoice is committed
- or waiting a few seconds and saving again to ensure the invoice is posted.