Learn how to create custom document types and add custom fields
A custom document type is a document schema that you create to define the structure of specific types of financial documents. While 1Flow comes with built-in document types (like Invoice, Receipt, Bank Statement), you can create custom document types for documents that aren't covered by the defaults.
Custom document types allow you to:
Custom fields are data fields that you add or modify in document types. Importantly, all document types and fields are customizable - there's no difference between system (built-in) document types and custom document types in terms of customization capabilities.
System document types (like Invoice, Receipt, Bank Statement) are simply pre-created for convenience, but they're meant to be customized to your organization's specific needs. You can:
Every field, whether it came with a system document type or you created it yourself, can be fully customized per organization. System document types are just starting points - they're not locked or special in any way.

UTILITY_BILL)Utility Bill)Header fields are extracted from the document header and apply to the entire document:
Common header fields:
Line item fields apply to individual items within collections:
items, charges, transactions)Common line item fields:
For each field, configure how AI should extract it:
See AI Custom Fields for detailed information.
Each field has several configuration options:
See Non-AI Fields for information about when to disable AI extraction.
See Formula Fields for detailed information.
Free-form text fields for names, descriptions, notes, etc.
Use cases:
Numeric values without currency formatting.
Use cases:
Monetary amounts with currency support.
Use cases:
Configuration:
Date values in YYYY-MM-DD format.
Use cases:
True/false values.
Use cases:
Predefined list of allowed values.
Use cases:
Configuration:
invoiceNumber, totalAmount)Invoice Number, Total Amount)Header Fields:
providerName (text) - Utility provider nameaccountNumber (text) - Customer account numberbillDate (date) - Bill datedueDate (date) - Payment due datetotalAmount (currency) - Total bill amountcurrency (text) - Currency codeLine Item Collection: "charges"
description (text) - Charge descriptionamount (currency) - Charge amountcategory (enum) - Charge category (ELECTRICITY, WATER, GAS, etc.)Header Fields:
vendorName (text) - Vendor namepoNumber (text) - Purchase order numberorderDate (date) - Order datetotalAmount (currency) - Total order amountLine Item Collection: "items"
sku (text) - Product SKUdescription (text) - Product descriptionquantity (number) - Ordered quantityunitPrice (currency) - Unit priceamount (currency) - Line total (formula: quantity × unitPrice)Custom document types are organization-specific. Each organization can create and customize their own document types independently.
On This Page
Custom Document Types OverviewCustom FieldsCreating a Custom Document TypeStep 1: Create the Document TypeStep 2: Define Header SchemaStep 3: Define Line Item SchemasStep 4: Configure ExtractionStep 5: Test Your SchemaField ConfigurationCore PropertiesFlagsSearch and DisplayFormulasField TypesTextNumberCurrencyDateBooleanEnumBest PracticesNaming ConventionsField OrganizationAI ExtractionPerformanceExamplesExample: Utility Bill Document TypeExample: Purchase Order Document TypeNext Steps