Documents
In this article we cover the Documents module: what a document is, where documents come from, and why a document can't be changed once it exists.
What a document is
A document is a stored file in Cubrel: a PDF generated from one of your PDF templates, or a file someone uploaded, such as a signed contract or a supplier's offer. Documents live in their own Documents module, with a list view and a record page like any other module.
Documents are activities, like tasks and notes. A document linked to a deal, an account, or a quote shows up on that record's activity timeline. See Activities.
Where documents come from
| Origin | How it's made |
|---|---|
| Uploaded | Someone creates a document and picks a file, or uploads a file while writing an email |
| Generated | Cubrel renders a PDF template for a record, for example through a conversion rule or as an email attachment |
Uploading a file
Create a document from the Documents list, or with Add on a record's activity timeline, and pick the file. Allowed are PDFs, Office and OpenDocument files, text and CSV files, common images, and ZIP archives, up to 10 MB. Files are private: only signed-in users of your organization can download them.
Generating a PDF as a document
Two features store generated PDFs as documents:
- Conversion rules can target the Documents module. Running such a rule renders the chosen PDF template for the record and stores the result as a new document, by hand or automatically. See Conversion Rules.
- Email attachments generated from a template are stored as documents when the email is sent. See Emails.
A generated document is named after the template and the record, for example "Quote · QUO-2026-0042". Its record page links back to the record and the template it came from.
Print As PDF on a record page is different: it creates the PDF for you to download or print, without storing it.
A document never changes
Once a document exists, its file, its origin, its template, and the record it came from can't be changed, neither in the app nor through the API. That way, a quote you sent always stays exactly as it was sent, even if someone edits the quote record or its template later. To send a corrected version, generate a new document.
You can still edit the document's other fields, such as its name or description, and link it to more records.
Documents as email attachments
Every email attachment is a document. When you attach files while writing an email, you can pick documents already on the record, generate one from a PDF template, or upload a file, which is stored as a document on the record. The email then lists its documents, and the record's timeline shows a paperclip with the number of attachments. See Emails.
In short
| Question | Answer |
|---|---|
| What is a document? | A stored file: a generated PDF or an uploaded file |
| Where do generated documents come from? | Conversion rules that target Documents, and PDF email attachments |
| Does Print As PDF create a document? | No, it only creates the PDF for download |
| Can I change a document's file later? | No, a document's file and origin never change |
| Which files can I upload? | PDF, Office and OpenDocument files, text, CSV, common images, ZIP, up to 10 MB |
| Where do documents show up? | In the Documents module and on the timeline of the records they're linked to |