GALANTHUS / ABI FUNCTION REFERENCE
gln_get_transaction_value_date
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const char* GLN_CALL gln_get_transaction_value_date(const gln_transaction_t* in_transaction);
Purpose
Returns the value date when available.
Return
Returns the value date from the transaction row, or NULL when it is not available.
| Type | Nullability | Ownership |
|---|---|---|
const char* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_transaction | input | const gln_transaction_t* | nullable | borrowed |
Date Semantics
The value date is the provider's effective value date for the transaction. It is separate from the booking date and can differ from it when the source reports both.
MT940, CAMT Dt/DtTm, Revolut, and Wise paths materialize YYYY-MM-DD date text. FinTS 4.1 transaction parsing preserves the response date element text.
Notes
Passing NULL for in_transaction is allowed and returns NULL.
NULL means the provider did not supply this optional field for the row.
The returned pointer is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.