> **Source:** https://knowledge.leegality.com/document-execution/workflows/v4/understanding-v4/packs-and-documents > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # Packs and documents v4 workflows organize documents in a three-level hierarchy. This guide explains the structure. ## Document hierarchy ```mermaid graph TD A[Document Pack] --> B[Primary Document 1] A --> C[Primary Document 2] A --> D[Primary Document 3] B --> E[Sub-document A] B --> F[Sub-document B] C --> G[Sub-document A] D --> H[Sub-document A] D --> I[Sub-document B] style A fill:#e1f5ff style B fill:#fff4e6 style C fill:#fff4e6 style D fill:#fff4e6 style E fill:#f0f0f0 style F fill:#f0f0f0 style G fill:#f0f0f0 style H fill:#f0f0f0 style I fill:#f0f0f0 ``` ### Sub-documents **Individual PDF files** you upload when running a workflow. - The basic building blocks - Can be any PDF document - Combined to form primary documents **Example:** loan_terms.pdf, repayment_schedule.pdf, property_details.pdf ### Primary documents **One or more sub-documents** that function as a single document. - Each primary document is signed independently - Has its own audit trail - Generates its own signed copy - Can be assigned selectively to invitees **Example:** Loan Agreement (primary document) = loan_terms.pdf + repayment_schedule.pdf ### Document pack **Collection of all primary documents** sent together in one workflow run. - Contains one or more primary documents - Sent to invitees in a single action - Enables unified signing journey - Tracked as one pack with individual document status ## How it works ### Each primary document signed independently Invitees sign each primary document separately: - Loan Agreement → Signed once (covers all sub-documents) - Property Documents → Signed once - Insurance Policy → Signed once Each primary document has: - Own audit trail - Own signature coordinates - Own completion status - Own signed PDF ### One signing session for all While primary documents are signed separately, invitees complete everything **in one session**. ## Key points > **Info — Important concepts** > > **Sub-documents:** > - You upload these PDF files > - Multiple sub-documents can form one primary document > - Signers don't see sub-document boundaries—they see one combined primary document > > **Primary documents:** > - This is what gets signed > - Each has independent audit trail > - You can assign different primary documents to different invitees > > **Document pack:** > - All primary documents together > - One sending action > - Unified tracking ## Next steps - [Learn about document assignment](https://knowledge.leegality.com/document-execution/workflows/v4/understanding-v4/document-assignment) - [Understand distributed stamping](https://knowledge.leegality.com/document-execution/workflows/v4/understanding-v4/distributed-stamping) - [Learn how to run a workflow](https://knowledge.leegality.com/document-execution/workflows/v4/run-workflow/run-a-pack)