Closed DannyvdSluijs closed 3 months ago
I would merge a PR that adds support for the missing balance types
On Thu, 25 Jul 2024, 18:03 Danny van der Sluijs, @.***> wrote:
As per specification of the external code set (which can be downloaded from https://www.iso20022.org/sites/default/files/media/file/ExternalCodeSets_JSON.zip) the Balance types (ExternalBalanceType1Code) you can read the following:
Specifies the balance type, as published in an external balance type code set. External code sets can be downloaded from www.iso20022.org.
- CLAV-Closing balance of amount of money that is at the disposal of the account owner on the date specified.
- CLBD-Balance of the account at the end of the pre-agreed account reporting period. It is the sum of the opening booked balance at the beginning of the period and all entries booked to the account during the pre-agreed account reporting period.
- FWAV-Forward available balance of money that is at the disposal of the account owner on the date specified.
- INFO-Balance for informational purposes.
- ITAV-Available balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.
- ITBD-Balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.
- OPAV-Opening balance of amount of money that is at the disposal of the account owner on the date specified.
- OPBD-Book balance of the account at the beginning of the account reporting period. It always equals the closing book balance from the previous report.
- PRCD-Balance of the account at the previously closed account reporting period. The opening booked balance for the new period has to be equal to this balance. Usage: the previously booked closing balance should equal (inclusive date) the booked closing balance of the date it references and equal the actual booked opening balance of the current date.
- XPCD-Balance, composed of booked entries and pending items known at the time of calculation, which projects the end of day balance if everything is booked on the account and no other entry is posted.
This library only supports: OPBD, PRCD, OPAV, CLBD and CLAV. Leaving no support for FWAV, INFO, ITAV, ITBD and XPCD.
— Reply to this email directly, view it on GitHub https://github.com/genkgo/camt/issues/156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARXG44GU4EDGAFY5SQYR3ZOC5PZAVCNFSM6AAAAABLODCBA2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDSNBTGE2DEOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Cool, I will work an a PR to add those. At first I was curious if the repository was tulle active before putting in the time.
As per specification of the external code set (which can be downloaded from https://www.iso20022.org/sites/default/files/media/file/ExternalCodeSets_JSON.zip) the Balance types (
ExternalBalanceType1Code
) you can read the following:This library only supports:
OPBD
,PRCD
,OPAV
,CLBD
andCLAV
. Leaving no support forFWAV
,INFO
,ITAV
,ITBD
andXPCD
.