Skip to main content

Define posting rules for currency account profit and loss

If you have security transactions with settlements towards foreign currency accounts, you need a separate posting rule to capture the profit and loss on the account. Define the posting rule in PreferenceBookkeepingPosting rule as <Transaction type> + CURRENCY (security base type). Example: Buy + CURRENCY.

You need to define posting rules for all transaction types involved in security transactions that can have settlements to foreign currency accounts. Typically, the following transaction types are affected:

  • Buy

  • Sell

  • Dividend

  • Coupon

  • Expiration

  • Expiration short

  • Cash flow in (FX Contracts)

  • Cash flow out (FX Contracts)

Example: Buy USD stock

In this example, you have a portfolio in the currency NOK and you have deposited 1 000 000 USD into your USD account at a rate of 9,50. You define the following posting rule for transactions when buying stocks (Buy + STOCK):

bookkeeping_currencyaccount_2.png

You buy 3000 Apple stocks with 1 000 000 USD at an exchange rate of 9,70.

bookkeeping_currencyaccount_1.png

As a result, the system generates the following postings:

bookkeeping_currencyaccount_3.png

This does not capture the loss on the settlement side. There is no profit or loss on the stock, but the currency account has a loss: (9,50 NOK/USD - 9,70 NOK/USD) * 1 000 000 USD = 200 000 NOK. You need to define another posting rule as Buy + CURRENCY:

bookkeeping_currencyaccount_4.png

As a result, the postings now capture the 200 000 NOK loss:

bookkeeping_currencyaccount_5.png