@Calvin Goh We've seen similar experiences with VBA and AI-generated code. AI is often very good at understanding the desired outcome and creating sample outputs, but real-world VBA projects usually require handling many edge cases, data variations, and file-specific logic. A more reliable approach is to use AI-powered solution to consolidate and validate eCommerce orders, then generate Xero-ready imports automatically. This reduces maintenance and is generally easier to scale than complex VBA macros. We have done similar solutions for our clients. Interested we could share the details