- Unified document properties: Essential document details, such as file name, file type, file size, and platform ID, are standardized across different accounting platforms
- Document type association: Documents can be linked to specific document types (e.g., bills, invoices, expenses) using the
document_type_idanddocument_typeproperties, facilitating easy retrieval and organisation of documents - File metadata: The model includes file type (MIME Type) and file size properties, enabling developers to handle documents appropriately and ensure compatibility with their applications
Attributes
Documents Attributes
| Property | Type | Description |
|---|---|---|
rootfi_id | integer | Unique identifier assigned by Commenda for this document |
rootfi_created_at | string | Timestamp when this record was created in Commenda’s system (ISO 8601) |
rootfi_updated_at | string | Timestamp when this record was last updated in Commenda’s system (ISO 8601) |
rootfi_integration_type | enum | |
platform_id | string | Unique identifier for this document in the source accounting platform |
file_name | string | The file name of the document |
file_type | string | The file type of the document (MIME Type) |
file_size | double | The file size of the document in bytes |
document_type_id | string | The document type ID of the document |
document_type | enum | The document type of the document |
document_uploaded | boolean | Whether RootFi has uploaded the document to its servers |
updated_at | string | The date and time the document was last updated |
Document Type Enum Values
| Value | Description |
|---|---|
BILL | Document is associated with a bill |
INVOICE | Document is associated with an invoice |
EXPENSE | Document is associated with an expense |
BILL_CREDIT_NOTE | Document is associated with a bill credit note |
INVOICE_CREDIT_NOTE | Document is associated with an invoice credit note |
PURCHASE_ORDER | Document is associated with a purchase order |
SALES_ORDER | Document is associated with a sales order |
JOURNAL_ENTRY | Document is associated with a journal entry |