Interface: JournalEntryData
Defined in: src/intents/types.ts:103
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:105
Document date in ISO 8601 format (YYYY-MM-DD).
lineItems
readonlylineItems:object[]
Defined in: src/intents/types.ts:109
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:107
Posting date in ISO 8601 format (YYYY-MM-DD).