genkgo/camt

[FEATURE] Camt 053.001.* Ntry.CdtDbtInd not available in object structure

Closed this issue · 0 comments

sbuerk commented

The camt.053.001.* format provides an CdtDbtInd value for Ntry.
This value is used internal during decoding phase to represent values
in specific ways, e.g. for amounts representation. That value is not
provided directly in the build object structure, but consumer are
most likely could need or rely on this information, which is not
restructable from other values.

<Ntry>
  <CdtDbtInd>CRDT</CdtDbtInd>
</Ntry>

This information should be made available. The Entry class does not
contain any of the the direct Ntry information and build instead a
EntryTransactionDetail object.

Generally it would be more obvious to have it on the Entry object, but
following the current way the CreditDebitIdentifier should be added at
least in the EntryTransactionDetail.