Hello,
I am developing an extension that imports one or more Italian e-invoicing XML files (fatture elettroniche in the SDI format) and automatically generates all the tabular data required for Sales Invoices → Batch Create. The workflow is simple: the extension reads the XML, builds the TSV with all fields (including custom fields), and the user pastes the TSV directly into the batch creation screen.
Everything works correctly for the data import.
However, I am trying to understand whether Manager supports attaching files during a Batch Create operation.
More specifically, when importing a Sales Invoice from an XML file, I would like to automatically add the original XML file as an attachment to the invoice being created. The current Batch Create interface accepts only textual/tabular content.
Is there any mechanism, format or special column that allows attaching a file (more specifically embedding a base64 version) during a Batch Create for Sales Invoices, Purchase Invoices, Credit Notes, or Debit Notes?
Any clarification or guidance on whether this is possible, or on recommended approaches, would be extremely helpful.
Thank you.