Interface: JournalEntryData
Defined in: src/intents/types.ts:94
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
Defined in: src/intents/types.ts:96
Document date in ISO 8601 format (YYYY-MM-DD).
lineItems​
readonlylineItems:object[]
Defined in: src/intents/types.ts:100
Line items to include in the journal entry.
amount​
readonlyamount:number
costCenter?​
readonlyoptionalcostCenter:string
debitCredit​
readonlydebitCredit:"S"|"H"
glAccount​
readonlyglAccount:string
postingDate​
readonlypostingDate:string
Defined in: src/intents/types.ts:98
Posting date in ISO 8601 format (YYYY-MM-DD).