Results of type: `Transfer Inbound / Outbound` not as expected

I used the file below as import:

Transfer_example.csv (364 Bytes)

I am getting the following output in PP:

Scherm 2026-05-27 om 14.22.47

The net effect is I still have the original 20000 shares, while in real life the end position is only 2 shares. The process counter-booked the outbound and inbound transactions making them disappear.
Where does this go wrong?

I’ll add the portfolio file also:

Transfer.xml (144,7 KB)

On the first picture, ‘Type of data’ is ‘Account Transaction’. So the ‘transfert’ are understood as cash transfer, not shares transfert. Can you try with ‘Portfolio Transactions’ instead if this works better ?

Good point. I took the right import type, see results below:
Input file:

Transfer_example.csv (364 Bytes)

Start import portfolio transactions:

Result of import:

The Transfer (Outbound) and Transfer (Inbound) both changed to Transfer (Portfolio) and did not change the sign for the Outbound transaction.

Creating the new security:

Overview of all transactions:
Quote is not filled in for both the Buy and the outbound transfer of the 20.000 shares, but it did for the inbound transfer of the 2 shares.

The transaction in the Reference account:

The transactions in the Security account:
Copies of the portfolio transactions Transfer (Outbound) are added in green and named Transfer (Inbound).
The Volume of security deposits has an insane number.