A heat exchanger comprising a stack of heat exchanger plates stacked one on top of the other along a stacking direction, a first set of channels formed in every first second interspace between the heat exchanger plates, a second set of channels formed in every second second interspace between the heat exchanger plates, wherein, in each of the channels in the first and second set of channels (401, 402) fin structures formed of sheets being folded back and forth are positioned between the heat exchanger plates such that the respective fin structure abuts the heat exchanger plates along a plurality of contact lines having a main extension extending in parallel with a longitudinally extending fin direction thereby defining plurality of fluid channels forming said first and second set of channels (401, 402), wherein each heat exchanger plate comprises four through-going openings (201, 202, 211, 212) formed at a respective corner portion of the respective heat exchanger plate and configured to form a first inlet port extending through the stack along the stacking direction, a first outlet port extending through the stack along the stacking direction, a second inlet port extending through the stack along the stacking direction, and a second outlet port extending through the stack along the stacking direction, the first inlet port and first outlet port being in fluid connection with each other via the first set of channels and the second inlet port and second outlet port being in fluid connection with each other via the second set of channels, wherein the heat exchanger further comprises, in each interspace between the heat exchanger plates, a distribution structure at the respective inlet port (201, 202) and a collection structure at the respective outlet port (211, 212), wherein the respective distribution structure, respectively the respective collection structure is positioned between the respective port (201, 202, 211, 212) and the respective fin structure in the respective first and second set of channels (401, 402), characterized in that a port interface between the respective inlet port (201, 202) and the respective distribution structure, respectively a port interface between the respective outlet port (211, 212) and the collection structure is inclined relative to the fin direction such that a distance between the port interface (227, 235) and the fin structure, as measured along the fin direction, increases with increasing distance, as seen along an imaginary line extending transversally across the fin direction, from an edge (121, 122) of the respective heat exchanger plate which is closest to the respective port (201, 202, 211, 212) and which extends along the longitudinally extending fin direction. a first set of channels formed in every first second interspace between the heat exchanger plates, a second set of channels formed in every second second interspace between the heat exchanger plates, wherein, in each of the channels in the first and second set of channels (401, 402) fin structures formed of sheets being folded back and forth are positioned between the heat exchanger plates such that the respective fin structure abuts the heat exchanger plates along a plurality of contact lines having a main extension extending in parallel with a longitudinally extending fin direction thereby defining plurality of fluid channels forming said first and second set of channels (401, 402), wherein each heat exchanger plate comprises four through-going openings (201, 202, 211, 212) formed at a respective corner portion of the respective heat exchanger plate and configured to form a first inlet port extending through the stack along the stacking direction, a first outlet port extending through the stack along the stacking direction, a second inlet port extending through the stack along the stacking direction, and a second outlet port extending through the stack along the stacking direction, the first inlet port and first outlet port being in fluid connection with each other via the first set of channels and the second inlet port and second outlet port being in fluid connection with each other via the second set of channels, wherein the heat exchanger further comprises, in each interspace between the heat exchanger plates, a distribution structure at the respective inlet port (201, 202) and a collection structure at the respective outlet port (211, 212), wherein the respective distribution structure, respectively the respective collection structure is positioned between the respective port (201, 202, 211, 212) and the respective fin structure in the respective first and second set of channels (401, 402), characterized in that a port interface between the respective inlet port (201, 202) and the respective distribution structure, respectively a port interface between the respective outlet port (211, 212) and the collection structure is inclined relative to the fin direction such that a distance between the port interface (227, 235) and the fin structure, as measured along the fin direction, increases with increasing distance, as seen along an imaginary line extending transversally across the fin direction, from an edge (121, 122) of the respective heat exchanger plate which is closest to the respective port (201, 202, 211, 212) and which extends along the longitudinally extending fin direction.