web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Mass Upload free text invoices headers and lines

(1) ShareShare
ReportReport
Posted on by 7
I need to import a large number of Free Text Invoices along with their lines. Since the posted customer invoice number is generated only during posting, I can’t use it as the key to link header and lines during the import.
What is the correct field or method to use to link invoice headers and lines in the Data Management import process? 
Categories:
I have the same question (0)
  • Suggested answer
    Giorgio Bonacorsi Profile Picture
    903 on at
    Hello,
    Yes, use data management for massive imports. You have two alternative ways:
    • Migrate open transactions: Use the data entity "General Journal" and ensure that the field "Approved" is marked as "Yes". In this way, you import the customer's open balance, and you can even insert the invoice number. This solution is typically followed if you invoice your documents in a third-party system (es. Legacy ERP).
    • Import free text invoices: If you need to invoice in D365FO. The data entities is "Customer free text invoice". You can import the header and lines on the sames file.
     
    Thank you,
    Giorgio
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    300,936 Super User 2025 Season 2 on at
    Hi vishvaid77,
     
    Can you tell us what exact technology you are using for the mass import? Are you using data management, OData or a custom service? Are the free text invoices already posted in another system with an invoice ID or is it up to Dynamics 365 Finance to post them?
     
    In case you are using standard data entities, then there is an InvoiceIdentifier field used as primary key which is mapped with the RecId of the free text invoice header.
  • vishvaid77 Profile Picture
    7 on at

    Hi @André Arnaud de Calavon,

    I’m using Data Management to import both Free Text Invoice headers and the corresponding single invoice line for each invoice.

     

    The data comes from an Excel file generated by an external system. These values are not posted anywhere else — we apply our own multiplier and then calculate the final invoice amount per customer. This final result needs to be imported into D365 as a Free Text Invoice (one header and one line per invoice). Posting through batch is already working with standard functionality.

     

    My issue is that I’m currently unable to import the values into the Free Text Invoice header and line entities.

  • vishvaid77 Profile Picture
    7 on at
    @Giorgio Bonacorsi Let me try your approach. So far i was using the below mentioned entities to do the import but it failed everytime. I did try with the third entity that you recommended befoer, but there was another issue with that. Let me try this tomorrow and share my error with the mentioned entity ("Customer free text invoice"._.


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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 291 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans