Synchronise transaction information
Each time Smile closes or changes a transaction, it emits a message on the SmileTransaction. Listening for these transaction messages lets you synchronise the transaction events in Smile with your general ledger accounts. For example, your accounts system can listen for the messages raised when Smile creates an invoice, or your reports system can listen for transactions to generate real-time reports.
Smile emits SmileTransaction messages when:
- TransactionAllocated—a transaction is allocated to another transaction.
- TransactionClosed—a transaction is closed and the transaction value is added to the account balance.
- TransactionDeleted—a transaction is deleted and the transaction value is removed from the account balance.
- TransactionReopened—a transaction and any items it contains are reopened and the transaction value is removed from the account balance.
- TransactionReversed—a new transaction is raised to reverse an existing transaction.
- TransactionUpdated—a reopened transaction is closed or the due date or comment is changed.