Ledger Posting Dual Entry Example

The LedgerPostingDualEntry interface enables you to load a double sided, or offsetting, ledger entry. You can load to both the general ledger credit and debit accounts in a single request. You can post to a specific security by setting the resolveSecurityForPostingFlag to Y.

<EagleML eaglemlVersion="2-0" eaglemlType="AccountingTransactionMessage" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" xsi:type="AccountingTransactionMessage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0"> <accountingTransaction> <header> <objectType>LedgerPostingDualEntry</objectType> </header> <ledgerPostingDualEntry> <entityId>ENTITYID</entityId> <primaryAssetId>ASSET</primaryAssetId> <primaryAssetType>CUSIP</primaryAssetType> <longShortIndicator>L</longShortIndicator> <accountingBasis>USTAX</accountingBasis> <effectiveDate>2018-05-25</effectiveDate> <accountingDate>2018-05-25</accountingDate> <glDebitAccount>1007000500</glDebitAccount> <glCreditAccount>4001000100</glCreditAccount> <units>50.00</units> <localToBaseFXRate>24.234</localToBaseFXRate> <ledgerNoteDescription>NOY</ledgerNoteDescription> </ledgerPostingDualEntry> </accountingTransaction> </EagleML>

Â