DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇺🇸 English
🇺🇸 English
  • Overview and Basics
    • DocBits
      • Key Features of DocBits
    • Architecture
      • DocBits Infor on Premise Customer
      • Certifications
    • Infor Infrastructure
    • Release Notes
      • Testing Availability on Sandbox
    • FAQ
      • General Information
      • Document Processing
        • Table Extraction Troubleshoot
      • Infor LN (LN Integration)
        • Export Error: "Error Exporting Document to LN. Status Code: 500"
          • not found in direct debit
          • Request validation; Attr. 'ReceiptLine', Value " " : the value must be numeric.
      • Infor M3 (M3 Integration)
        • Costing elements are not properly configured. Please ask your admin to configure it.
      • Mandatory PDP/PPF Channels – PEPPOL as Transport Only for France’s 2026 E-Invoicing
  • End User and Partner Section
    • End User Section
      • Dashboard
        • Dashboard Tools
        • Document Merging
        • Document Status
        • Filtering Documents
        • Overview of Uploaded Documents
        • Task Counter
        • Validated Extracted Fields
        • Document Flow
        • Troubleshooting
        • Keyboard Shortcuts
      • Tasks
      • Advance Shipment Dashboard
      • Purchase Order Dashboard
      • Invoice Dashboard
      • Shipment Order Dashboard
      • User Configuration Options
      • AI Table
        • AI Table Tags
      • Validation Screen
        • Fuzzy Data
        • QR Codes
        • Keyboard Shortcuts
      • Purpose and Use
      • Purchase Order Matching
        • Purchase Order Matching Tools
        • Rules and Calculations
        • Automatic Purchase Order Data Matching
        • Supplier Item Number Map
        • Keyboard Shortcuts
      • Accounting for Cost Invoice and Indirect Sales
      • How to Import Documents
        • FTP
        • Manual Import
        • Webhook
        • Email
          • IMAP
          • OAuth Office365
      • Technical Support in DocBits
        • Create a ticket
        • Help Icons
      • Course
        • Introduction
        • Dashboard
        • Validated Documents
        • AI Table
        • Master PO Matching with DocBits
      • Our Document Priority System
      • Supplier Portal
        • Supplier Registration
        • Supplier Satuts
      • Ressources and Support
        • User Support
    • Partner Section
      • Invoice Automation Testing with DocBits
  • Administration and Setup
    • Settings
      • Global Settings
        • Company Information
          • Defining App Color in Company Settings
        • Groups, Users and Permissions
          • Users
            • Modifying User Details
            • Admin Privileges
          • Sub-Organizations
            • How to create a Sub-Organization
          • Groups and Permissions
            • Purpose and Use
            • Adding/Editing Groups
            • Activating Permissions
            • Access Control
            • Troubleshooting
        • Integration
          • API Key
          • API Calls and Examples
          • API Key Management
          • Configuring Single Sign-On (SSO)
            • Infor SSO Configuration
              • V1
              • V2
              • Azure SSO
          • Identity Service Provider Configuration
          • Best practices
          • Troubleshooting Common Issues
        • Document Types
          • Purpose and Scope
          • Adding/Editing Document Types
          • Activation
          • Customization Options
          • Best Practice
          • Troubleshooting
          • Layout Manager
            • Purpose and Use
            • Navigating the Layout Manager
            • Configuring Field Properties
            • Using the Template Preview
            • Save and apply changes
            • Best practices
            • Troubleshooting
          • Document Sub Types
          • Creating a new Sub Type
          • Configure subtypes
          • Using Actions
          • Best Practices
          • Table Columns
            • Purpose and Use
            • Adding a new Column
            • Editing and deleting columns
            • Best practices
            • Troubleshooting
          • Fields
            • Purpose and Use
            • Adding and Editing Fields
            • Configuring Field Properties
            • Setting Validation and Match Score
            • Best practices
            • Troubleshooting
            • New Fields with Charges
          • Model Training
            • Purpose and Use: Model Training
            • Import Data: Model Training
            • Manage training data
            • Testing the model
            • Best practices
            • Troubleshooting
          • Regex
            • Purpose and use
            • Creating a Regex Pattern
            • Editing and Saving Regex Patterns
            • Best practices
            • Troubleshooting
          • Script
          • Script Activation and Management
          • Testing Scripts
          • Purpose and Use
          • Creating and Editing Scripts
          • Best Practices
          • Troubleshooting
          • e-docs
            • Currently Supported E-Invoice Standards
              • Roadmap
            • E-Invoice examples
              • XRechnung 1.2
              • XRechnung 2.0
              • XRechnung 2.1
              • XRechnung 2.2
              • XRechnung 2.3
              • XRechnung 3.0
              • XRechnung Cross Industry Invoice
              • FacturX
            • EDI
              • Purpose and Use
              • Setting Up EDI Templates
                • EDI Structure descriptor
              • Using the XSLT Editor
                • EDI Videos
              • Previewing EDI Messages
              • Best Practices
              • Troubleshooting
              • EDI 810 (Invoice) Mapping
              • EDI 855 (Purchase Order Acknowledgement) Mapping
              • EDI 850 (Purchase Order) Mapping
              • EDI 856 (Advance Shipment Notice) Mapping
            • XRechnung
              • Standard Preview
              • Mapping XRechnung in DocBits
                • TOML Export
            • Peppol BIS Billing 3.0
              • Transformation file and Mapping
            • Faktura
            • ZUGFeRD 1.0, 2.1 and 2.3
            • eSLOG 1.6 and 2.0
          • More Settings
            • Purpose and use
            • Best practices
            • Troubleshooting
            • Duplicate Detection
            • Approval
              • Approval Stamp
              • Approval History
            • Purchase Order
              • PO Table in Layout Builder
              • Auto check for PO updates
              • Calculate PO unit price
              • Export not matched PO lines
              • Purchase order tolerance settings / Additional purchase order tolerance
              • Purchase order disable statuses
              • Supplier Item Number Map - Admin Documentation
        • Email Notification
          • Configuring Notifications
          • Managing Notifications
          • Best Practice
          • Troubleshooting
        • E-Mail templates
        • Dashboard
          • Customizing Filters
      • Document Processing
        • Documents Expiry
        • Import
          • Test: Multi Email Import and Handling Tests
          • Test: Email Import and Handling Tests
          • Test: FTP Import Connection
          • Test: File Import 1
        • Rule Manager
          • TransactionConfig Pro Template
            • Case 1, 2, 3: Quantity and Unit Price Within Tolerance
            • Case 4, 5: Quantity Within Tolerance, Unit Price Outside Tolerance (Approved)
            • Case 15: Charge Line - Charge Per Unit Outside Tolerance (Rejected)
            • Case 14: Header Charge - Charge Per Unit Outside Tolerance (Approved)
            • Case 12, 13: Header Charge - Charge Per Unit Within Tolerance
            • Charge Per Unit Outside Tolerance (Rejected)
            • Case 14: Charge Line - Charge Per Unit Outside Tolerance (Approved)
            • Charge Per Unit Within Tolerance
            • Case 11b: Quantity Outside Tolerance (Positive Rejected), Unit Price Outside Tolerance (Rejected)
            • Case 10b: Quantity Outside Tolerance (Negative Rejected), Unit Price Outside Tolerance (Rejected)
            • Case 8b, 9b: Quantity Outside Tolerance (Approved), Unit Price Outside Tolerance (Approved)
            • Case 11a: Quantity Outside Tolerance (Positive Rejected), Unit Price Within Tolerance
            • Case 10a: Quantity Outside Tolerance (Negative Rejected), Unit Price Within Tolerance
            • Case 7: Quantity Within Tolerance, Unit Price Outside Tolerance (Positive Rejected)
            • Case 6: Quantity Within Tolerance, Unit Price Outside Negative Tolerance (Rejected)
            • Case 8a, 9a: Quantity Outside Tolerance (Approved), Unit Price Within Tolerance
            • Case 15: Header Charge - Charge Per Unit Outside Tolerance (Rejected)
            • Tax Lines
        • Ocr Settings
        • Classification And Extraction
          • Table extraction for costing element
          • Auto extract tax code
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Annotation Mode
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • IDM ACL Updater
          • Inbound Emails
          • Swiss QR Code
          • Auto Export if PO Matched 100%
          • Export Dashboard Data
          • How to Create Database Access for a Specific Organization User
        • Decision Trees
      • Log Settings
        • Task Management
        • Data Synchronization
      • API Licenses
      • Supplier Setting
        • Supplier General Settings
        • Editing Email Templates
        • Supplier Layout
        • Export Configuration for Supplier Portal for M3
        • Supplier Permissions
      • Cache Management
    • Workflow
      • When
        • Card description
        • Document Type Operation
        • Document Type One of
      • And
        • Compare with Purchase Order
          • Combined Price of Quantity Difference
          • Unit Price Combined with Fields
          • Promised Delivery Date on Purchase Order
          • Order Data in Order Confirmation
          • Confirmed Delivery Date
          • Compare Order Confirmation with Purchase order
          • Tax in document field
          • Any / All Quantity
          • Compare Total Charges
          • Out of Tolerance Unit Price
          • Any / All Unit Price is
          • Item Id on Purchase Order
          • Supplier on Invoice
          • Order Type of Purchase Order
        • Document Field
          • Checkbox is checked
          • Field is
          • Text in Field
          • Compare two Fields with Tolerance
          • Compare two Fields
          • If Country in Field
          • Docfield is
          • Compare Field with tolerances
          • If Country in Field is One of
        • Date & Time
          • Date or Time
          • Today
        • Document
          • Document Type Operation one of
          • Document Operator for Sub-Organizations
          • Document Type
        • Logic
          • Continue with a chance
          • Send HTTPS Request
          • Module active
          • Quoted Item Price
          • Decision Table has Returns
        • Status
          • Single Document Status Condition
          • Document Status Condition List
        • Table
          • Any Value of
          • All Value of
          • Compare values in table
          • Compare In
          • Item Receiving Method
          • Items Have Shelf Life
        • Assignee
          • Assigned User Condition
          • Single Assigned User Condition
          • Assigned Group Condition
          • Single Assigned User Condition
      • Then
        • Document Field
          • Set to
          • Set Checkbox to
          • Invert Checkbox
        • Document
          • Approve the Document
          • Reject the Document
        • Status
          • Change Status to
        • Export
          • Export with Export Configuration
          • Start Export
          • Export with alternate Export
        • Task
          • Create a New Task and assign it to the User
          • Create a New Task and assign it to the Recipient
          • Create a New Task and assign it to the group
          • Create a New Task and assign it to the User in Document Field
          • Assign a Task with Title
          • Create a New Task and assign it to Procurement Group
          • Assign to Procurement Group and Create a Task/Notification
          • Assign Document and Create Task/Notification for Group
          • Assign Document and Create Task/Notification for User
          • Assign Document and Create Task/Notification
        • Table
          • Change Entries with
          • Calculate Columns with
          • Calculate in
        • Assignee
          • Assign user from field
          • Assign document to User
          • Assign document to recipient
          • Assign document to the sub organization
          • Assign document to matching sub organization
          • Assign to group
          • Assign document to procurement group
          • Assign document to
          • Assign Sequentially to User
          • Assign Sequentially to Procurement Group
          • Assign Sequentially to Groups
          • Assign Sequentially to User/Group
        • Action
          • Call Api
          • Run Workflow
          • Send HTTPS request to
          • AI Calculation for Cost Increase Surcharges
      • Workflow Example: Conditional Export Trigger
      • Workflow Documentation
      • Standard Workflow
        • Above Max Amount
        • Cost Invoice - Export
        • Less than Max Amount
        • Purchase Invoice - 2nd Approval Quantity Export
        • Purchase Invoice - 2nd Approval Quantity
        • Purchase Invoice - 2nd Approval Unit Price Export
        • Purchase Invoice - 2nd Approval Unit Price
      • Material Ordering and Processing Workflow
    • Setup
      • Document Types
        • EDI Data Transformation Process
        • Layout Builder
        • Origin Layouts
        • Regex Manager
      • Document Training
        • Training Header Fields
        • Training Line Fields/Table Training
          • Adding New Columns
          • Defining Tables and Columns
          • Advanced Settings
          • Grouping Function
          • Manual Row Selection
          • Mapping Columns
          • Improving Table Extraction with Regex
          • Save and Delete Rules
      • Testing
        • PO Matching
        • Auto Accounting
          • LN
          • M3
      • Supplier Portal
      • WatchDog Installation
    • Report Page
  • Infor Integration and Configuration
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
          • Purchase Order - FAQ
          • Verifying the Logistic Company Setting for Goods Receipt Discrepancies
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • How to import all suppliers
        • Table Extraction for costing Element
      • Custom Master Data
    • Exporting in DocBits
      • Export Module
      • Alternate Export
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Creating an IDM Mapping File
      • Creating an ION API Endpoint
      • Creating an ION API File
      • Export to M3 Mapping (API)
      • Exporting to IDM
      • Stream for Cloud Customers
      • Order Confirmation
      • Document Export Mapping
      • M3
        • Example Export M3
        • Handling Charges with Infor M3
        • M3 Configuration
      • LN
        • Example Export LN
          • Configuring the Default Tax Country for Export LN
        • Export Tax Codes to LN
        • LN Configuration
  • Advanced functions and tools
    • Scripting in DocBits
      • Calculating Total Charges Script for Docbits
      • Calculating Total Charges Script for Docbits
      • Delete lines with empty quantity and amount
      • Formatting Export Certificate Reference Numbers Script for Docbits
      • Functions
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
      • USD as Default Currency
    • Course
      • A Step-by-Step Guide
      • Connect DocBits with Infor SSO
      • Create your Custom App in Infor OS
      • Infor OS with DocBits API Integration
      • M3 Export
      • Sync Flex Dimensions: Infor to DocBits
    • Postman for DocBits
    • Automated Tests Results
      • Email Import
    • SQL Access
    • Importing Supplier and Purchase Order Data into DocBits from CSV Files
    • PowerBI
      • SQL Access
        • Custom classification document
        • Field
        • Document table column
        • Email template
        • Ephesoft PO matching
        • Fellow kv table column rule
        • Group cache
        • Preferences
        • Sales order
        • API credentials
        • public.document_log
        • Auto accounting
        • Document status trigger
        • Document type
        • Documents
        • Document type attributes
        • Document Report
        • Electronic document extraction attributes
        • Lookup field configuration
        • Lookup table
        • Batch instance
        • Document extracted data
        • Document Import log
        • Lookup Configuration
        • Sub document type
        • Document Status alert
        • Inbound Emails
        • Chat Log
        • REST API Lookup Configurations
        • FTP Import Configurations
        • Purchase Order line
        • Receive delivery line
        • Document Script activation status
        • Field validation rules
        • Custom_classification_document_label
        • Training data
        • Tfidf preferences
        • Additional charge costing element
        • PO match tolerance
        • Auto test document
        • Custom classification tag
        • Supplier address
        • Organisation document type
        • Sub Organisation Cache
Powered by GitBook
On this page
  • Spalten
  • Analyse & Beschreibung

Was this helpful?

Edit on GitHub
Export as PDF
  1. Advanced functions and tools
  2. PowerBI
  3. SQL Access

Documents

Spalten

  • id: internal

  • org_id: ID to organisation

  • batch_id: internal

  • doc_path: internal

  • doc_type: DOC Type

  • status: internal

  • message: text

  • export_attempts: integer

  • last_attempted_on: timestamp with time zone

  • next_attempt_on: timestamp with time zone

  • assigned_to: integer

  • created_by: integer

  • created_on: timestamp with time zone

  • last_modified_on: timestamp with time zone

  • is_deleted: boolean

  • task_id: internal

  • filename: internal

  • assigned_on: timestamp with time zone

  • pages: integer

  • auto_processed: boolean

  • exception_info: text

  • doc_language: Language

  • is_trimmed: boolean

  • doc_origin: Doc Origin

  • doc_locale: Doc Locale

  • is_doc2landing_doc: boolean

  • extraction_time: double precision

  • export_time: double precision

  • po_all_matched: boolean

  • restart_allowed: boolean

  • table_version: internal

  • force_ocr: boolean

  • locked_by: integer

  • locked_on: timestamp with time zone

  • lock_renewed_on: timestamp with time zone

  • lock_key: internal

  • last_saved_by: integer

  • last_saved_on: timestamp with time zone

  • document_version: integer

  • lock_session_key: internal

  • sub_org_id: internal

  • doc_source: internal

  • sub_doc_type: internal

  • assigned_to_group: internal

  • status_changed_on: timestamp with time zone

  • improve_quality: boolean

  • priority: integer

  • metadata_field: json

  • doc_classification_label: internal

  • doc_start_page: integer

  • doc_classification_class: internal

  • celery_task_token: internal

  • celery_task_attempt: integer

  • celery_task_priority: integer

  • has_zugferd: boolean

  • has_peppol: boolean

  • timestamp_for_validation: timestamp with time zone

  • exception_details: text

  • has_annotated_version: boolean

  • po_match_status: internal

  • tr_ocr_extracted_data: text

  • pending_workflow_execution: boolean

  • extracted_document_id: internal

  • extracted_supplier_id: internal

  • classification_manually_corrected: boolean

  • supplier_as_org_id: internal

  • extracted_data_basic: jsonb

  • celery_task_queue: internal

  • extracted_data: jsonb

  • extracted_data_jsonb: jsonb

  • warnings: jsonb

Analyse & Beschreibung

# Technical Documentation for `public.documents` Table

## Introduction

The `public.documents` table is designed to store and manage metadata and processing information related to document handling within an organization. This includes tracking document status, processing attempts, language, and other administrative details. The table is structured to support document classification, processing workflow, and user assignments, making it integral to the document management system.

## Column Descriptions

### id
- **Meaning**: Unique identifier for each document.
- **Role**: Primary key.
- **Typical Contents**: A UUID string representing the document.

### org_id
- **Meaning**: Identifier for the organization associated with the document.
- **Role**: Foreign key.
- **Typical Contents**: A UUID string representing the organization.

### batch_id
- **Meaning**: Identifier for the batch in which the document was processed.
- **Role**: Foreign key.
- **Typical Contents**: A UUID string representing the batch.

### doc_path
- **Meaning**: File path where the document is stored.
- **Role**: Technical field.
- **Typical Contents**: Path to the document file, e.g., `documents/{id}/{id}.pdf`.

### doc_type
- **Meaning**: Type of document being stored (e.g., invoice).
- **Role**: Document classification.
- **Typical Contents**: A string such as `INVOICE`.

### status
- **Meaning**: Current processing status of the document.
- **Role**: Workflow indicator.
- **Typical Contents**: A string indicating status, e.g., `ready_for_validation`.

### message
- **Meaning**: Information about the document's processing state or errors.
- **Role**: Descriptive field.
- **Typical Contents**: Text describing errors or messages related to document processing.

### export_attempts
- **Meaning**: Number of times an export attempt has been made for the document.
- **Role**: Processing tracking.
- **Typical Contents**: Integer count of export attempts.

### last_attempted_on
- **Meaning**: Timestamp of the last attempt to process or export the document.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### next_attempt_on
- **Meaning**: Scheduled timestamp for the next attempt to process or export the document.
- **Role**: Scheduling field.
- **Typical Contents**: Date and time with time zone.

### assigned_to
- **Meaning**: Identifier for the user assigned to this document.
- **Role**: Foreign key.
- **Typical Contents**: Integer representing the user ID.

### created_by
- **Meaning**: Identifier for the user who created or uploaded the document.
- **Role**: Foreign key.
- **Typical Contents**: Integer representing the user ID.

### created_on
- **Meaning**: Timestamp of when the document was created or uploaded.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### last_modified_on
- **Meaning**: Timestamp of the last modification made to the document record.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### is_deleted
- **Meaning**: Indicates whether the document is marked as deleted.
- **Role**: Logical deletion flag.
- **Typical Contents**: Boolean value (True or False).

### task_id
- **Meaning**: Identifier for the task associated with document processing.
- **Role**: Foreign key.
- **Typical Contents**: A UUID string representing the task.

### filename
- **Meaning**: Original filename of the document.
- **Role**: Descriptive field.
- **Typical Contents**: Name of the file, e.g., `document.pdf`.

### assigned_on
- **Meaning**: Timestamp when the document was assigned to a user.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### pages
- **Meaning**: Number of pages in the document.
- **Role**: Descriptive field.
- **Typical Contents**: Integer indicating the page count.

### auto_processed
- **Meaning**: Indicates if the document was automatically processed.
- **Role**: Processing status flag.
- **Typical Contents**: Boolean value (True or False).

### exception_info
- **Meaning**: Information on any exceptions encountered during processing.
- **Role**: Descriptive field.
- **Typical Contents**: Text describing processing exceptions.

### doc_language
- **Meaning**: Language of the document content.
- **Role**: Language classification.
- **Typical Contents**: ISO language code, e.g., `en`, `de`.

### is_trimmed
- **Meaning**: Indicates if the document has been trimmed or cropped.
- **Role**: Document modification flag.
- **Typical Contents**: Boolean value (True or False).

### doc_origin
- **Meaning**: Origin of the document, possibly indicating the country or source system.
- **Role**: Descriptive field.
- **Typical Contents**: Country code or origin identifier, e.g., `DE`.

### doc_locale
- **Meaning**: Locale settings of the document, indicating language and region.
- **Role**: Locale classification.
- **Typical Contents**: Locale string, e.g., `de_DE.ISO8859-1`.

### is_doc2landing_doc
- **Meaning**: Indicates if the document is related to a specific processing workflow (Doc2Landing).
- **Role**: Workflow flag.
- **Typical Contents**: Boolean value (True or False).

### extraction_time
- **Meaning**: Time taken to extract data from the document.
- **Role**: Performance metric.
- **Typical Contents**: Double precision value representing extraction time.

### export_time
- **Meaning**: Time taken to export the document.
- **Role**: Performance metric.
- **Typical Contents**: Double precision value representing export time.

### po_all_matched
- **Meaning**: Indicates if all purchase orders related to the document have been matched.
- **Role**: Matching status flag.
- **Typical Contents**: Boolean value (True or False).

### restart_allowed
- **Meaning**: Indicates if the document processing can be restarted.
- **Role**: Workflow control flag.
- **Typical Contents**: Boolean value (True or False).

### table_version
- **Meaning**: Version of the table structure used for the document.
- **Role**: Version control.
- **Typical Contents**: String indicating version, e.g., `v3`.

### force_ocr
- **Meaning**: Indicates if OCR processing is forced for the document.
- **Role**: Processing control flag.
- **Typical Contents**: Boolean value (True or False).

### locked_by
- **Meaning**: Identifier for the user who has locked the document for editing.
- **Role**: Foreign key.
- **Typical Contents**: Integer representing the user ID.

### locked_on
- **Meaning**: Timestamp when the document was locked for editing.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### lock_renewed_on
- **Meaning**: Timestamp when the document lock was last renewed.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### lock_key
- **Meaning**: Key associated with the document lock.
- **Role**: Lock control.
- **Typical Contents**: String representing the lock key.

### last_saved_by
- **Meaning**: Identifier for the user who last saved the document.
- **Role**: Foreign key.
- **Typical Contents**: Integer representing the user ID.

### last_saved_on
- **Meaning**: Timestamp when the document was last saved.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### document_version
- **Meaning**: Version number of the document.
- **Role**: Version tracking.
- **Typical Contents**: Integer representing the document version.

### lock_session_key
- **Meaning**: Session key associated with the document lock.
- **Role**: Lock control.
- **Typical Contents**: String representing the session key.

### sub_org_id
- **Meaning**: Identifier for a sub-organization associated with the document.
- **Role**: Foreign key.
- **Typical Contents**: A UUID string representing the sub-organization.

### doc_source
- **Meaning**: Source system or origin of the document.
- **Role**: Descriptive field.
- **Typical Contents**: String indicating the source, e.g., `doc2app`.

### sub_doc_type
- **Meaning**: Sub-type classification of the document.
- **Role**: Document classification.
- **Typical Contents**: String indicating the sub-type.

### assigned_to_group
- **Meaning**: Identifier for the group to which the document is assigned.
- **Role**: Assignment tracking.
- **Typical Contents**: A UUID string representing the group.

### status_changed_on
- **Meaning**: Timestamp when the document's status was last changed.
- **Role**: Timestamp field.
- **Typical Contents**: Date and time with time zone.

### improve_quality
- **Meaning**: Indicates if quality improvement processes are applied to the document.
- **Role**: Quality control flag.
- **Typical Contents**: Boolean value (True or False).

### priority
- **Meaning**: Processing priority of the document.
- **Role**: Workflow control.
- **Typical Contents**: Integer indicating priority level.

### metadata_field
- **Meaning**: JSON field containing metadata related to the document.
- **Role**: Metadata storage.
- **Typical Contents**: JSON structure with various metadata fields.

### doc_classification_label
- **Meaning**: Label indicating the classification of the document.
- **Role**: Classification label.
- **Typical Contents**: String indicating classification, e.g., `INVOICE`.

### doc_start_page
- **Meaning**: Page number where the document content starts.
- **Role**: Descriptive field.
- **Typical Contents**: Integer indicating the start page.

### doc_classification_class
- **Meaning**: Class indicating the detailed classification of the document.
- **Role**: Classification detail.
- **Typical Contents**: String indicating classification class.

### celery_task_token
- **Meaning**: Token for tracking Celery task associated with the document.
- **Role**: Task tracking.
- **Typical Contents**: String representing the task token.

### celery_task_attempt
- **Meaning**: Number of attempts made for the Celery task.
- **Role**: Task tracking.
- **Typical Contents**: Integer count of task attempts.

### celery_task_priority
- **Meaning**: Priority level of the Celery task.
- **Role**: Task control.
- **Typical Contents**: Integer indicating task priority.

### has_zugferd
- **Meaning**: Indicates if the document is in ZUGFeRD format.
- **Role**: Format indicator.
- **Typical Contents**: Boolean value (True or False).

### has_peppol
- **Meaning**: Indicates if the document is in PEPPOL format.
- **Role**: Format indicator.
- **Typical Contents**: Boolean value (True or False).

### timestamp_for_validation
- **Meaning**: Timestamp for when the document was validated.
- **Role**: Validation tracking.
- **Typical Contents**: Date and time with time zone.

### exception_details
- **Meaning**: Detailed information about exceptions during processing.
- **Role**: Descriptive field.
- **Typical Contents**: Text with exception details.

### has_annotated_version
- **Meaning**: Indicates if there is an annotated version of the document.
- **Role**: Version indicator.
- **Typical Contents**: Boolean value (True or False).

### po_match_status
- **Meaning**: Status of purchase order matching.
- **Role**: Matching status indicator.
- **Typical Contents**: String indicating match status.

### tr_ocr_extracted_data
- **Meaning**: OCR extracted data from the document.
- **Role**: Data storage.
- **Typical Contents**: Text containing extracted data.

### pending_workflow_execution
- **Meaning**: Indicates if there are pending workflow executions.
- **Role**: Workflow status flag.
- **Typical Contents**: Boolean value (True or False).

### extracted_document_id
- **Meaning**: Identifier for the extracted document.
- **Role**: Extraction tracking.
- **Typical Contents**: A UUID string representing the extracted document.

### extracted_supplier_id
- **Meaning**: Identifier for the extracted supplier.
- **Role**: Extraction tracking.
- **Typical Contents**: A UUID string representing the extracted supplier.

### classification_manually_corrected
- **Meaning**: Indicates if the document classification was manually corrected.
- **Role**: Classification status flag.
- **Typical Contents**: Boolean value (True or False).

### supplier_as_org_id
- **Meaning**: Identifier for the supplier treated as an organization.
- **Role**: Foreign key.
- **Typical Contents**: A UUID string representing the supplier organization.

### extracted_data_basic
- **Meaning**: Basic extracted data in JSONB format.
- **Role**: Data storage.
- **Typical Contents**: JSONB structure with extracted data fields.

### celery_task_queue
- **Meaning**: Name of the Celery task queue.
- **Role**: Task management.
- **Typical Contents**: String indicating the queue name.

### extracted_data
- **Meaning**: Extracted data from the document in JSONB format.
- **Role**: Data storage.
- **Typical Contents**: JSONB structure with extracted data fields.

### extracted_data_jsonb
- **Meaning**: JSONB field containing detailed extracted data.
- **Role**: Data storage.
- **Typical Contents**: JSONB structure with extracted data fields.

### warnings
- **Meaning**: Warnings related to document processing stored in JSONB format.
- **Role**: Warning storage.
- **Typical Contents**: JSONB structure with warning messages.
PreviousDocument typeNextDocument type attributes

Was this helpful?