Magidoc

Journal
Object

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

documentNumber

Non-null

date

Non-null

postingDate

Non-null

sourceType

sourceId

glCompanyId

The GL company whose books this journal belongs to — the document header's half of the scope its lines already carry. Stamped on every write even though nothing reads it yet.

status

Non-null

memo

adjustment

linkedTransactions

recurringDataExternalId

taxDetail

totalCredit

totalDebit

lineCount

currencyConversion

periodId

approvedAt

approvedBy

postedAt

postedBy

postingBatchId

The posting batch that posted this journal; null when it was posted individually.

reversedAt

reversedBy

reversedJournalId

reversalJournalId

reversalReason

autoReversing

Accrual flag: this entry owes a reversal on the first of the month after it posts.

autoReversalDate

The date the owed reversal posts. Stamped when the entry posts; null until then.

autoReversalJournalId

The reversal the sweep generated — set only when the system reversed the entry, not a person.

autoReversalError

The last refusal the sweep recorded, retried on the next tick. A closed target period lands here.

autoReversalErrorAt

approvalChain

lineSnapshot

createdAt

Non-null

modifiedAt

Non-null

createdBy

ID !
Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#