Hi community,
I'm configuring the e-Invoicing service in D365FO to automatically export Free Text Invoices and Sales Invoices as XML files to Azure Blob Storage after posting. Here's my current setup:
✅ Azure Key Vault configured with a SAS token secret pointing to the Blob Storage container
✅ e-Invoicing service synchronized successfully
✅ Integration channel configured as Export type
✅ Electronic invoicing feature created in Globalization Studio with:
- Format: UBL Sales e-Invoice FR
- Processing pipeline: Transform document + Save document actions
- Applicability rule: Document type = Customer free text invoice
- Feature deployed
✅ Electronic document parameters set:
- Table name: Customer free text invoice
- Document context: Invoice model - Sales invoice
- Electronic document model mapping: Invoice model - Sales invoice
The problem:
When I run Submit electronic documents (Organization administration → Periodic → Electronic documents → Submit electronic documents) filtered on posted customer free text invoices, I get:
`list is empty at '$SalesInvoiceHeaderFooterTmp/>Relations/CustInvoiceJour'`
Result: 0 documents submitted.
What works:
generating the XML directly via Accounts receivable parameters → Electronic documents using the UBL Sales e-Invoice FR format works fine, the XML is visible in Electronic reporting jobs.
My questions:
1. What is the correct Electronic document model mapping to use for Customer free text invoices with the UBL Sales e-Invoice FR format in the e-Invoicing service?
2. What is the correct pipeline configuration (actions and parameters) to generate and export an XML invoice to Azure Blob Storage via Globalization Studio?
Any guidance would be appreciated. Thanks!