> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# General Preferences: Dates, Numbering, and Record Locks

> Reference for the General Preferences tab: posting dates, future dating, account numbers, record locks, discounts, classifications, and adjusting entries.

The **General Preferences** tab of Organization Settings controls core accounting behaviors including date handling, account numbering, record editing rules, discount handling, default classifications, and adjusting entries. Most of these settings apply across the entire organization. Two settings can apply to all companies or only to the companies you select: **Lock posted accounting records** and adjusting entries. Only users with the **Administrator** role can edit these settings.

To reach this tab, navigate to **Settings → General Preferences**, accessible from your organization's name in the top left corner of the screen.

## Separate posting and transaction dates

When enabled, the **posting date** and the **transaction date** on a record can differ. The transaction date represents when the economic event occurred; the posting date determines which accounting period the transaction affects.

Disabling this setting locks both dates to the same value, simplifying data entry but removing the flexibility to manage period cutoffs.

## Allow future-dated transactions

When enabled, users can create and post transactions with a date beyond today. This is useful for pre-booking accruals, scheduling recurring entries, or recording events before they are formally processed.

**Maximum Days in the Future**: Sets how many calendar days ahead of today a posting date may be. Valid range: 1–3,650 days. For example, a value of `60` allows posting dates up to 60 days from today.

## Date format

The **Locale** section sets how dates are written on PDFs and other downloadable documents for any company or customer that doesn't have its own setting. It has no effect on the dates you or your coworkers see inside DualEntry, which follow each user's personal settings.

| Setting | Type | Default | What it does |
| - | - | - | - |
| **Default Locale** | Drop-down | **United States (English)** | Sets the date order, separators, and month names that **Short**, **Medium**, and **Long** dates follow on documents. |
| **Date Format** | Drop-down: **Short**, **Medium**, **Long**, or **Custom** | **Short** | Sets how much detail document dates show. **Custom** uses the pattern in **Custom Date Format Pattern**. |
| **Custom Date Format Pattern** | Text, up to 16 characters | None | Shown only when **Date Format** is **Custom**. Uses tokens such as `DD`, `MM`, and `YYYY`, separated by `/`, `.`, `-`, `,`, or a space. |

See [How to Configure Date Formats](https://docs.dualentry.com/accountants/platform-configuration/date-formats.md) for examples of each style, the full list of pattern tokens, and how company, customer, and personal settings interact with these.

## Account numbers length

Defines the number of digits used for chart of accounts (COA) account numbers. Valid range: 4–10 digits. The preview updates dynamically as you adjust the length (e.g., a length of `6` shows `100000 · Account Name`).

Changing this setting after accounts have been created does not retroactively reformat existing account numbers.

## Lock posted accounting records

**Lock posted accounting records** stops posted records that affect the general ledger from being edited or archived, either in every company or only in the companies you select. Use it to keep posted records permanent in audited or regulated companies while the rest of the organization stays editable. The setting sits in the **Edit** section of the **General Preferences** tab, above **Allow modifications to paid or reconciled records**. For the steps to turn it on and correct a locked record, see [How to Lock Posted Records by Company](https://docs.dualentry.com/accountants/platform-configuration/organization-settings/lock-posted-records-by-company.md).

The lock is controlled by the two settings below:

| Setting | Type | Default | What it does |
| - | - | - | - |
| **Lock posted accounting records** | Toggle | Off | Stops posted records that affect the general ledger from being edited or archived in the companies it covers. Turning it off restores editing. |
| **Apply To** | **All companies** or **Specific companies** | **All companies** when you turn the toggle on | **All companies** locks every company, including companies added in the future. **Specific companies** locks only the companies selected in the company list. |

**All companies** works differently here than it does for adjusting entries: it covers companies created later. With **Specific companies**, a new company starts unlocked until you add it to the list.

### Choosing specific companies

When **Apply To** is set to **Specific companies**, the **Lock posted accounting records** company list shows your companies grouped under their parent companies. Selected companies also appear as tags above the list, and the description under **Specific companies** shows how many are selected.

* **Search companies**: Filters the list by company name.
* **Company checkbox**: Selects or clears one company.
* **Include** and **Exclude**: Appear on a parent company. They select or clear the parent and every company under it.
* **Expand one level** and **Collapse one level**: Open or close one level of the company tree.
* **Hide company list** and **Show company list**: Collapse or reopen the list. It is open when you first choose **Specific companies**.

The selection is a fixed list of companies. Selecting a parent doesn't lock a child company created after you save, so add each new company to the list. Switching **Apply To** between **All companies** and **Specific companies** clears the selection.

While no company is selected, the page shows **Select the companies whose posted records should be locked, or switch to All companies.** Saving in that state turns the lock off.

Inactive companies keep their lock status. They appear in the list, but you can't select or clear them while they're inactive.

### What the lock covers

The lock applies to posted records only, and to every way of changing them. The rules below apply in every company the lock covers:

* **Posted records only**: Draft records can still be edited and archived.
* **Existing records too**: Locking a company immediately locks every record it has already posted, not only records posted afterward. Unlocking it restores editing on all of them.
* **Every field**: The lock blocks all edits, including the memo, reference, classification, and attachment changes that **Allow modifications to paid or reconciled records** otherwise permits.
* **Every channel**: The lock applies in the app, to the bulk **Edit classification** action, to Accounting Intelligence bulk updates and reclassification, and to the public API, CLI, and MCP server. An API request that edits or archives a locked record fails with `422` and the error code `posted_record_immutable`; see [Errors](https://docs.dualentry.com/developers/guides/api/core-concepts/errors.md).
* **Intercompany journal entries**: If any company on an intercompany journal entry is locked, the whole entry is locked.
* **Elimination companies**: An elimination company can be locked like any other company. When it is, a journal entry that posts an elimination to it can't be edited, even if the entry's own company isn't locked.

The lock covers journal entries, intercompany journal entries, bank transfers, bills, direct expenses, vendor payments, vendor credits, vendor refunds, vendor prepayments, vendor prepayment applications, withholding tax remittances, invoices, cash sales, customer payments, customer credits, customer refunds, customer prepayments, customer prepayment applications, customer deposits, currency revaluations, allocation journals, item receipts, item fulfillments, inventory transfers, inventory adjustments, transfer shipments, and transfer receipts. Purchase orders, sales orders, and contracts don't post to the general ledger, so the lock doesn't apply to them.

[Period locking](https://docs.dualentry.com/accountants/core-financials/close-management/period-locking.md) works separately: a record dated in a locked period can't be edited even if its company isn't locked.

### What users see on a locked record

On a posted record in a locked company, **Edit** and **Archive** are inactive on the record page and in the list view's row menu. The bulk **Edit classification** and **Archive** actions on a list are also inactive when any selected record is locked. Hovering over an inactive action shows **Posted records in this company are locked and can't be edited. An admin can change this in Org Settings.** This message takes priority when a record is also in a locked period.

Actions that don't change the posted record stay available: **Create Duplicate** and **Create new** on the record page, **Duplicate** and **Make recurring** in the row menu, and **Reverse** on journal entries.

### Who can change the lock and how changes are logged

Only users with the **Administrator** role can change **Lock posted accounting records** or its company list. Every change is recorded in the [Settings Activity Log](https://docs.dualentry.com/accountants/platform-configuration/organization-settings/activity.md). Turning the lock on or off for a company is also recorded in the [audit trail](https://docs.dualentry.com/accountants/platform-configuration/audit-trail-and-compliance.md) as an update to that company.

If **Lock posted accounting records** was on for your organization before company selection was available, it now shows **All companies** and works as it did before. Nothing changes until an Administrator switches it to **Specific companies**.

## Allow modifications to paid or reconciled records

By default, once a record has been paid (invoices, bills, vendor and customer payments) or reconciled against a bank statement, DualEntry locks it against further edits to protect the ledger and preserve the audit trail. Enabling **Allow modifications to paid or reconciled records** relaxes that lock so users with an authorized role can update selected non-financial fields on those records without voiding and reissuing them.

**Fields you can edit when this setting is enabled:**

* Memo and internal notes
* External reference numbers (PO number, vendor reference, customer reference)
* Tags, classifications, and other reporting dimensions that do not drive GL posting
* Attachments (adding new files; existing attachments remain immutable)

**Fields that stay locked regardless of this setting:**

* Amount, quantity, unit price, and any field that changes the record's GL impact
* Transaction and posting dates
* GL account, entity, and currency
* Line items on a record whose payment or reconciliation has cleared

To change a locked field on a paid or reconciled record, you still need to reverse the payment or reopen the reconciliation, then void and reissue the record. See [Correcting and archiving bills](https://docs.dualentry.com/accountants/core-financials/accounts-payable/bill-management.md#correcting-and-archiving-bills) and [Reconciliation history](https://docs.dualentry.com/accountants/core-financials/close-management/reconciliation.md#reconciliation-history).

This setting has no effect in companies covered by [Lock posted accounting records](#lock-posted-accounting-records). Posted records there can't be edited at all, including the fields listed above.

**Authorized Roles**: Specifies which roles are permitted to make these edits. Choose **+** to add roles. By default, only the **Admin** role is authorized. If the setting is disabled, the authorized roles list is ignored and no user (including Admin) can edit paid or reconciled records.

DualEntry captures every edit made under this setting in the [audit trail](https://docs.dualentry.com/accountants/platform-configuration/audit-trail-and-compliance.md) with the user, timestamp, field name, and before/after values. Downstream reviewers and auditors can still see what changed after payment or reconciliation.

> [!WARNING]
>
> Enabling broad role access here can reduce the integrity of your audit trail. Limit this to roles that genuinely need it, and prefer voiding and reissuing records when the correction affects financial values.

## Default early payment discount accounts

The **Default Early Payment Discount Accounts** section sets the accounts that new [early payment discount](https://docs.dualentry.com/accountants/core-financials/accounts-receivable/early-payment-discounts.md) terms start with. Each term stores its own accounts when you save it, so these defaults pre-fill new terms and don't change existing ones.

| Setting | Type | Default | What it does |
| - | - | - | - |
| **Money in** | Account | None | The sales discount account that new early payment discount terms pre-fill as their **A/R Sales Discount Account**. Customer payments that take a discount debit the term's account. |
| **Money out** | Account | None | The account that new early payment discount terms pre-fill as their **A/P Purchase Discount Account**. Bills and vendor payments don't take early payment discounts, so nothing posts to it. |

Neither account can be a bank or credit card account. When either setting is empty, the matching account field is required on every early payment discount term you create or edit. A term can override either default; see [How to Offer Early Payment Discounts](https://docs.dualentry.com/accountants/core-financials/accounts-receivable/early-payment-discounts.md).

## Order level discounts

Controls how order-level (header) discounts are recorded in the general ledger when applied to invoices or sales orders.

Order-level discount posting options:

| Option | Behavior |
| - | - |
| **Spread Discount Across Lines** | The discount is distributed proportionally across all line items. No separate discount line appears on the record. |
| **Separate Discount Line** | The discount is posted as a dedicated line item to a specified **Discount Account**, making it visible as its own line on the invoice and in reporting. |

**Discount Account**: The GL account used to record the discount when **Separate Discount Line** is selected.

## Default classifications

The **Defaults** section controls whether DualEntry fills new transaction lines with the default classifications set on customers, vendors, items, and accounts, and which source wins when they conflict. Both settings below apply to the whole organization.

| Setting | Type | Default | What it does |
| - | - | - | - |
| **Apply default classifications** | Toggle | On | Turns default classifications on or off for every source: customer, vendor, item, and account. When it's off, the app fills nothing and the public API applies no defaults on create. |
| **Prioritization** | Ordered list | 1. Customer/Vendor, 2. Item, 3. Account | Decides which source wins when two sources default the same classification type. The top source wins. Reorder by dragging, or with the up and down arrows on each source. Shown only while **Apply default classifications** is on. |

Each source appears in the **Prioritization** list exactly once, and the list always contains all three. Turning off **Apply default classifications** stops item and account defaults as well, not only customer and vendor defaults.

Changes to either setting affect new lines only. Existing transactions keep their classifications. See [How Default Classifications Work](https://docs.dualentry.com/accountants/platform-configuration/default-classifications.md) for how the sources combine and where defaults don't apply.

## Adjusting entries

The **Adjusting Entries** section turns on [adjusting entries](https://docs.dualentry.com/accountants/core-financials/general-ledger/adjusting-entries.md) per company. While the setting is on, users with the Adjusting Entry permission can flag a GL journal entry as adjusting. Reports can then exclude it, include it, or show it in a separate column. It is off for every company by default.

| Setting | Type | Default | Description |
| - | - | - | - |
| **Enable Adjusting Entries** | Toggle | Off | Allows journal entries in the selected companies to be flagged as adjusting. |
| **Apply To** | **All companies** or **Specific companies** | N/A | **All companies** covers every company that exists when you save; a company created later starts with the setting off. **Specific companies** covers the companies you select after choosing **Show company list**. |

Turning the setting off for a company asks you to confirm **Disable Adjusting Entries**. Entries already flagged keep the flag, but reports treat them as regular journal entries until the setting is turned back on. For the full workflow, see [How to Post Adjusting Entries](https://docs.dualentry.com/accountants/core-financials/general-ledger/post-adjusting-entries.md).

## Books

The **Books** section appears for organizations with [Multi-Book](../multi-book/index). It decides which records let you choose the Books they post to.

| Setting | Type | Default | What it does |
| - | - | - | - |
| **Allow Book selection on all records** | Toggle | Off | When off, only journal entries have a **Books** field, and every other record posts to all active Books. When on, invoices, bills, payments, credits, contracts, and most other transactions also show a **Books** field. Fixed assets and inventory transactions always post to all active Books. |

Turning the setting off doesn't change the Books on existing records. For the full list of record types and rules, see [How to Assign Books to Records](https://docs.dualentry.com/accountants/platform-configuration/multi-book/assign-books-to-records.md).

## Related

* [Organization Settings](./index): the other configuration areas on this settings page
* [How to Lock Posted Records by Company](https://docs.dualentry.com/accountants/platform-configuration/organization-settings/lock-posted-records-by-company.md): turn on the lock, choose companies, and correct a locked record
* [Period Locking](https://docs.dualentry.com/accountants/core-financials/close-management/period-locking.md): close accounting periods, which blocks edits by date regardless of the company lock
* [How Default Classifications Work](https://docs.dualentry.com/accountants/platform-configuration/default-classifications.md): what the default classification settings control
* [User Roles and Permissions](https://docs.dualentry.com/accountants/platform-configuration/user-roles-and-permissions.md): define the roles you authorize for edits to paid or reconciled records
* [Settings Activity Log](https://docs.dualentry.com/accountants/platform-configuration/organization-settings/activity.md): review who changed a preference on this tab and when
* [How to Set Up Record Numbering](https://docs.dualentry.com/accountants/platform-configuration/organization-settings/record-numbering.md): set the record codes transactions receive, which are configured on the **Record Numbering** tab rather than here
* [Adjusting Entries Reference](https://docs.dualentry.com/accountants/core-financials/general-ledger/adjusting-entries.md): the rules and report modes the adjusting entries setting controls
* [Early Payment Discounts Reference](https://docs.dualentry.com/accountants/core-financials/accounts-receivable/early-payment-discounts-reference.md): how terms use the default discount accounts


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.