Share via

Request for Guidance on Customizing Customer-Specific Sales Invoice in Dynamics 365

Trương Công Đại 0 Reputation points
2026-04-04T04:37:55.7+00:00

Dear Microsoft Support Team,

I am currently working on a customization requirement in Dynamics 365 Finance & Operations and would appreciate your guidance.

Business Requirement: We need to generate different invoice formats for different customers. Specifically, each customer should have a unique invoice layout/template, not just minor text differences but potentially completely different designs and structures.

Current Situation:

  • We explored the standard invoice report configuration.
  • However, we are facing limitations in extending or customizing the Sales Invoice report.
  • It appears that direct extension of the SalesInvoice report is not supported or restricted in our current setup.
  • The system currently defaults to a single invoice format (Original/Default), and we are unable to configure multiple templates per customer.

Questions / Support Needed:

  1. What is the recommended approach to support multiple invoice formats per customer in Dynamics 365?
  2. Is it possible to achieve this using Electronic Reporting (ER), Print Management, or another standard feature?
  3. If customization is required:
    • What is the correct extension point or pattern to follow?
      • Are there any best practices or limitations we should be aware of?
      1. How can we configure the system so that each customer is automatically assigned their respective invoice template?

Additional Context:

  • We are working in a cloud-hosted environment provided by Microsoft.
  • Currently, we have limited access to certain extension capabilities.

We would greatly appreciate detailed guidance or documentation references to help us implement this requirement correctly.

Microsoft 365 and Office | Development | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Vergil-V 11,230 Reputation points Microsoft External Staff Moderator
    2026-04-04T07:17:00.4+00:00

    Hi @Trương Công Đại   

    Based on my research, the most suitable approach for your situation is to combine generating an Electronic Reporting template with using Print Management to automatically route the output to the appropriate customer. You can also check the Q&A Assist response for some additional details around this.

    For additional insight, you can also refer to the following documentation:

    If you are looking to further customize the design using X++, you may find additional guidance in https://dori-uw-1.kuma-moon.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/custom-designs-busin… 

    undefined

    As this forum is primarily a user‑to‑user space focused on sharing ideas and referencing official documentation, the guidance provided here is generally at a conceptual level. If you find that more targeted or environment‑specific assistance is required, you may consider reaching out to the Microsoft Support team through the Power Platform admin center Support requests | Power Platform admin center for further support. 

    undefined

    I hope this provides additional insight. 


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Q&A Assist
    2026-04-04T04:38:23.3433333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Dynamics 365 Finance supports multiple invoice formats and customer-specific layouts by combining Electronic Reporting (ER) configurations with Print management and customer setup.

    1. Recommended approach for multiple invoice formats per customer

    Use ER-based invoice formats and Print management together:

    • Use ER configurations (Customer invoice model / Sales invoice / Free text invoice / Excel layouts) as the technical vehicle for different layouts.
    • Derive multiple custom ER formats from the standard invoice formats (for example, different Excel or XML layouts) and complete them so they are usable.
    • Use Print management to assign the appropriate ER format per customer or per customer group.

    This pattern is demonstrated for free text invoices and e-invoices in the ER quick-start and Excel examples, and the same principles apply to sales invoices.

    1. Using Electronic Reporting (ER) and Print management

    a. Create/derive separate ER formats per layout

    • Go to Organization administration > Electronic reporting > Configurations.
    • For free text invoices in Excel, the pattern is:
      • Expand Invoice model and select Free text invoice (Excel).
      • Select Create configuration and choose Derive from Name: Free text invoice (Excel), Microsoft.
      • Name the new configuration (for example, Free text invoice (Excel) custom).
      • A new version is created in Draft status that can be edited and customized (different design, structure, logo, etc.).
      This same “derive from Microsoft format” pattern is used in the e‑invoice example:
      • Expand Customer invoice model > UBL Sales invoice > Peppol Sales Invoice.
      • Create a configuration Derive from Name: Peppol Sales Invoice, Microsoft (for example, Peppol Sales Invoice (Litware)).
    • When design is complete, change the version status to Complete so it can be used:
      • On Versions FastTab, select Change status > Complete.

    b. Configure ER mappings if additional data is needed

    • If customer-specific data (e.g., extra tax ID, custom fields) is required, extend the model mapping:
      • Create a custom model mapping configuration (for example, Invoice model mapping (Litware)), bind new fields (such as FederalTaxID_Litware) in the Format designer > Mapping tab, and then complete the mapping version.
      This pattern is shown in the e‑invoice example where a custom FederalTaxID attribute is added and bound, then used in the generated XML.

    c. Assign formats via Print management

    • For country-specific layouts (example: Saudi Arabia), Print management is used to select the report format:
      • Go to Accounts receivable > Setup > Forms > Form setup.
      • Select Print management.
      • For Customer invoice and Free text invoice, choose the desired report format (for example, SalesInvoice.Report_SA, FreeTextInvoice.Report_SA).
    • The same mechanism is used to point to ER-based formats. Multiple formats can be configured and then selected per:
      • Legal entity
      • Customer account
      • Customer group
      This allows different customers to use different invoice layouts.
    1. Extension/customization pattern and best practices

    If standard ER + Print management is not sufficient and code customization is required, follow these patterns from the ER examples:

    • Use ER for layout changes instead of extending the SSRS SalesInvoice report where possible.
    • Derive from Microsoft-provided ER configurations rather than modifying them directly. This ensures:
      • Upgradability: new Microsoft versions can be imported and merged into custom formats.
      • Separation of custom logic from standard logic.
    • Complete each custom configuration version when ready:
      • Model mapping: complete version (for example, 50.19.1 of Invoice model mapping (Litware)) so it becomes read-only and a new draft version is created for future changes.
      • Format: complete version (for example, 11.2.2.1 of Peppol Sales Invoice (Litware)).
    • Be aware of metadata dependencies:
      • If a custom database field (for example, FederalTaxID_Custom on CustTable) is used in ER mappings, that field must exist in every environment where the ER configuration is imported; otherwise, an exception occurs stating the configuration is incompatible with the target metadata.
    1. Automatically assigning invoice templates per customer

    There are two complementary mechanisms:

    a. Customer-level defaults (invoice type / layout)

    • For Saudi Arabia, the invoice type is set at customer level and drives layout and title (Tax invoice vs Simplified invoice):
      • Go to Accounts receivable > Customers > All customers.
      • Select a customer.
      • On Invoice and delivery FastTab, in the Invoice group, set Invoice type.
      • If no type is set, Tax invoice is used by default.
    • When invoices are printed, the title and QR code behavior follow the type, and Print management uses the configured layout (SalesInvoice.Report_SA, FreeTextInvoice.Report_SA).

    b. Print management per customer

    • Use Print management overrides to assign specific formats per customer:
      • In Accounts receivable > Customers > All customers, open a customer.
      • Use Print management (from the customer record) to override the default invoice report and select the appropriate ER-based format for that customer.
    • Once configured, when a customer invoice is posted and printed/sent (for example, via Accounts receivable > Invoices > All free text invoices > Send > Original), the system uses the customer’s Print management settings to select the correct template.
    1. End-to-end usage pattern (illustrated by ER examples)

    The ER quick-start scenario outlines a full lifecycle that can be adapted to this requirement:

    1. Configure ER parameters and import standard configurations.
    2. Configure Accounts receivable parameters to use standard ER configurations.
    3. Prepare customer records for electronic invoicing.
    4. Add, post, and send invoices using standard configurations.
    5. Add custom fields and refresh ER metadata if needed.
    6. Design custom ER model mappings and formats (per customer layout).
    7. Configure Accounts receivable parameters and Print management to use custom configurations.
    8. Add, post, and send invoices using custom configurations.
    9. When Microsoft releases new versions of standard configurations, import them and merge changes into custom formats.

    This pattern supports multiple, customer-specific invoice layouts in a cloud-hosted environment without directly extending the core SalesInvoice SSRS report.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.