GALANTHUS / ABI FUNCTION REFERENCE
gln_get_transaction_booking_date
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const char* GLN_CALL gln_get_transaction_booking_date(const gln_transaction_t* in_transaction);
Purpose
Returns the booking date when available.
Return
Returns the booking 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 booking date is the date on which the provider reports the transaction as booked or entered. CAMT pending rows can omit it.
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.