> ## Documentation Index
> Fetch the complete documentation index at: https://nextgen-docs.enfuce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ledger's Actions

The following section explains the actions that you must take when you receive a `FINANCIAL` message in the Clearing File (or via the the Transaction Event Webhook interface) with their corresponding conditions:

| Conditions                                                                                                                                                         | Actions                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ul><li>`transaction.clearingStatus`: `CLEARED`</li><li>`transactionType`: any value, except `CREDIT`</li><li>`partialClearingApplied`: `FALSE`</li></ul>          | <ul><li>Post a debit transaction of the `billingAmount`.</li><li>Identify the associated authorisation messages.</li></ul>                                                                                  |
| <ul><li>`transaction.clearingStatus`: `CLEARED`</li><li>`transactionType`: any value, except `CREDIT`</li><li>`partialClearingApplied`: `TRUE`</li></ul>           | <ul><li>Post a debit transaction of the `billingAmount`.</li><li>Identify the associated authorisation messages.</li></ul>                                                                                  |
| <ul><li>`transaction.clearingStatus`: `PARTIALLY_CLEARED`</li><li>`transactionType`: any value, except `CREDIT`</li><li>`partialClearingApplied`: `TRUE`</li></ul> | <ul><li>Post a debit transaction of the `billingAmount`.</li><li>Identify the associated authorisation messages, and subtract the `billingAmount` from the amount previously put on account hold.</li></ul> |
| <ul><li>`transaction.clearingStatus`: `CLEARED`</li><li>`transactionType`: `CREDIT`</li><li>`partialClearingApplied`: `FALSE`</li></ul>                            | <ul><li>Post a credit transaction of the `billingAmount`.</li></ul>                                                                                                                                         |
| <ul><li>`transaction.clearingStatus`: `CLEARED`</li><li>`transactionType`: `REVERSAL`</li><li>`partialClearingApplied`: `FALSE`</li></ul>                          | <ul><li>Post a credit transaction of the `billingAmount`.</li></ul>                                                                                                                                         |
