Disabling document types can be useful for users when they need to generate the right documents hassle-free. This article describes how to disable document types within the plugin in two ways:
- Using the Documents tab
- Using the Debug module
Method 1: Disable a Document from the Documents Tab
- Navigate to Invoice/Packing > General Settings > Documents.
- Head to the document you want to disable (e.g., Invoice).
- Turn off the toggle switch next to that document. This action disables that document type.

Method 2: Disable Documents Using the Debug Module
To disable a particular document type:
- Activate the debug module.
- Disable document types.
Step 1: Activate the Debug module
To activate the debug module:
- Navigate to Invoices/Packing > General Settings
- Append ‘&debug‘ to the general settings URL as shown below.

- Refresh the page.
The debug module will appear as a new tab as shown below:

Step 2: Disable document types
To disable document types:
- Navigate to the newly created Debug tab.
- Under the Debug tab, head to Common modules. The checkbox against each document type shows if the document is enabled or disabled. By default, all used document types will be enabled.

- Locate the checkbox next to the preferred document type.

- Uncheck the checkbox.

- Click on Save.

The image below shows the menu where the document type “invoice” is excluded.

Avoid altering the Admin modules, as this may result in a site crash.
