Friday, September 5, 2025
1 change · 18.0
Enhancements to existing features
HDFC batch payment files now use the bank’s required transaction codes, date format, and file layout. This reduces the risk of rejected payment uploads while preserving existing header behavior and configuration flexibility for other banks.
Original PR description
- Updated the HDFC bank template to match the required file structure. The transaction type is now based on the payment method code instead of its display name, with explicit mappings to HDFC codes
(RTGS → R, NEFT → N, Fund Transfer → I, Demand Draft → D).
- Relabel the `date` field and export it using the format `%d/%m/%Y` for HDFC Bank Template.
- During CSV export, the header row is skipped when generating files for HDFC, while other banks continue to include it.
- Improve CSV export behavior:
- For HDFC, the header row is skipped.
- For other banks, headers remain included.
- Apply field-level mappings and date formatting defined in the bank configuration.
These changes ensure that batch payment exports comply with bank’s file specifications while keeping the solution flexible for other templates.