Interface: JournalEntryData
Input data for creating a journal entry (FI-GL).
Sap Module
FI
Business Context
General-ledger journal entry posting.
Example
import type { JournalEntryData } from '#intents/types.js';
const entry: JournalEntryData = {
documentDate: '2026-02-20',
postingDate: '2026-02-20',
lineItems: [{ glAccount: '400000', debitCredit: 'S', amount: 1000 }],
};
Properties
documentDate
readonlydocumentDate:string
Document date in ISO 8601 format (YYYY-MM-DD).
lineItems
readonlylineItems:object[]
Line items to include in the journal entry.
amount
readonlyamount:number
costCenter?
readonlyoptionalcostCenter?:string
debitCredit
readonlydebitCredit:"S"|"H"
glAccount
readonlyglAccount:string
postingDate
readonlypostingDate:string
Posting date in ISO 8601 format (YYYY-MM-DD).