Dear community,
I'm working in Dynamics 365 Finance and Operations and currently using Electronic Reporting (ER) to generate an XML credit transfer file based on the ISO 20022 pain.001.001.09 format.
However, I’ve noticed that the generated XML file uses CRLF (Carriage Return + Line Feed) as the line breaker per default, which is not accepted by some receiving banks. They require the file to use only LF (Line Feed) line endings.
CRLF
LF.
I'm looking for a pure ER solution, ideally by changing the output settings or applying transformation inside the ER format definition.
Any suggestions or workarounds are highly appreciated! 🙏
Thanks in advance, Klara
ased on my investigation, CRLF (showing end-of-line characters) should not pose an issue for the pain.001 files sent to the bank. While some banks return pain.002 and camt files without pretty print formatting (when viewed in Notepad), there is no functional difference in the XML structure. As long as the files are sent in valid XML format, the bank will parse them based on the XML elements, not line breaks or formatting.
pain.001
pain.002
camt
I have not identified any better solution in Electronic Reporting (ER) than the one suggested by Adis—evaluating the use of a transformation rule. However, it is important to test whether the transformation works as expected in plain text (e.g., Notepad), since the XML view may appear correct even if formatting differs.
Kind regards, Adis
If this helped, please mark it as "Verified" for others facing the same issue
Keep in mind that it is possible to mark more than one answer as verified
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 785 User Group Leader
André Arnaud de Cal... 626 Super User 2025 Season 2
Martin Dráb 621 Most Valuable Professional