Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Interface JournalEntryData

    Input data for creating a journal entry (FI-GL).

    FI

    General-ledger journal entry posting.

    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 }],
    };
    interface JournalEntryData {
        documentDate: string;
        lineItems: {
            amount: number;
            costCenter?: string;
            debitCredit: "S" | "H";
            glAccount: string;
        }[];
        postingDate: string;
    }
    Index

    Properties

    documentDate: string

    Document date in ISO 8601 format (YYYY-MM-DD).

    lineItems: {
        amount: number;
        costCenter?: string;
        debitCredit: "S" | "H";
        glAccount: string;
    }[]

    Line items to include in the journal entry.

    postingDate: string

    Posting date in ISO 8601 format (YYYY-MM-DD).