Skip to main content

Journals

Journals are the buckets that group related journal entries. Every posted transaction in YGC is assigned to a journal, which determines the default accounts, sequence numbers, and behavior of the entry.

Navigation: Accounting → Configuration → Journals

Journal types

TypePurposeExample codes at YGC
SalesCustomer invoices and credit notesINV, <XX>INV
PurchaseVendor bills and refundsBILL, <XX>BIL
BankBank statements, transfers, check paymentsBNK1, BNK2 (shared)
CashCash transactions, petty cashCSH1, <XX>CSH
GeneralManual entries, accruals, adjustments, forex, inventory valuationMISC, EXCH, STJ, <XX>MSC

Multi-branch model (target state)

Each branch gets its own journal set with a branch-specific code prefix. See Multi-Branch Setup.

Naming patterns

YGC standardizes on the Odoo built-in date-aware pattern:

<CODE>/<YYYY>/<MM>/<NNNN>

Examples:

  • MISC/2026/04/0001
  • PCBIL/2026/04/0023
  • SSINV/2026/04/0042

Codes are capped at 5 characters by Odoo (account.journal.code is varchar(5)) — see Multi-Branch Setup for the prefix convention.

Avoid:

  • JV-YYYY-MM-NN from the deprecated rts-journal-sequence module — produces non-resequenceable entries
  • ❌ Manual numbering — breaks Odoo's date/sequence integrity check

Sequence settings reference

Recommended defaults per journal:

SettingValueReason
use_date_rangetrue (monthly)Enables MISC/YYYY/MM/NNNN pattern; resets each month
padding4Sufficient for ~10K entries/month/journal
implementationstandardAllows gaps; avoid no_gap unless legally required for that journal
refund_sequencetrue for sale/purchase, false otherwiseSeparate credit-note series
restrict_mode_hash_tableunchangedDon't toggle without legal/audit sign-off

See Sequences for the deeper discussion of no_gap vs standard.

Why journals matter

  1. Grouping — all sales invoices in one journal, all bank payments in another, simplifies reporting
  2. Default accounts — each journal has a default debit/credit account
  3. Sequence numbers — auto-numbered per journal short code
  4. Access control — restrict by user group via security rules
  5. BIR reporting — Sales Book / Purchase Book / General Journal are filtered by journal type