# A three-document export that shows what travels with it

Editorial trial protocol. Not a completed test report. Use fictional data.

## Prepare
- Searchable PDF 'Demo invoice 2026-001' with correspondent 'Example Supplier', document type 'Invoice' and tag 'trial-export'.
- Image scan 'Sample receipt.jpg' with tag 'trial-export' and one custom field, for example 'Project: Harbor Demo'.
- Text PDF 'Meeting notes Harbor Demo' with two tags: 'trial-export' and 'notes'.
- A written list of the three titles, tags, correspondent, document type and custom field, plus the Paperless version your instance shows.

## Steps
1. Work only in a disposable test instance that holds nothing but the three fictional documents.
2. Create a new, empty target folder. The exporter updates an earlier export in the same target, so do not reuse an old export folder for this test.
3. Run the exporter as documented for your installation, for Docker Compose for example: docker compose exec -T webserver document_exporter ../export. Add -p if you want separate originals, archive, thumbnails and json folders.
4. Leave out -d (delete) for this test. The docs warn you to be careful when you point it at a folder that already contains other files.
5. Open the export and compare originals, archive copies and manifest.json with your list of titles, tags, correspondent, document type and custom field.
6. Write the handover note: what the export contains, that API tokens are not included, and which version an import test needs.

## Checks
- All three originals are present and open normally.
- You can explain every missing archive copy: you used -na, or Paperless made no archive version for that file.
- manifest.json, or the per-document json files when you used -sm, names the tags and correspondent from your list.
- The Paperless version is recorded next to the export.
- The note says API tokens must be created again after an import.

## Stop rules
- Stop if a real or private document ends up in the test instance or the export.
- Stop before an import test when the target instance is not completely empty or runs a different version.
- Stop when a title, tag or file from your list is missing, and find the cause before you rely on the exporter.

## Your observations

### Paperless version and installation type
Version number and for example Docker Compose or bare metal.

…

### Purpose
Sharing a few documents or recovering the whole instance.

…

### Export command and flags
The exact command, for example with -p or -na.

…

### Expected versus found
Titles, tags, correspondent, document type and custom field per document.

…

### Missing or unexplained items
Files or metadata that did not match your list.

…

### Recreate separately
API tokens and anything else outside the export.

…

## Sources
- Paperless-ngx: administration, document exporter and importer: https://github.com/paperless-ngx/paperless-ngx/blob/dev/docs/administration.md (2026-12-02)
- Paperless-ngx: usage, originals, archive versions and metadata: https://github.com/paperless-ngx/paperless-ngx/blob/dev/docs/usage.md (2026-12-02)
- Paperless-ngx: REST API and authentication tokens: https://github.com/paperless-ngx/paperless-ngx/blob/dev/docs/api.md (2026-12-02)
