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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Invoice Capture - The provided document type is not a File type.

(0) ShareShare
ReportReport
Posted on by 50
We tested Invoice Capture in our sandbox environment and have been successfully transferring files from Invoice Capture to D365. We moved it into our production environment and are getting the error: /The provided document type is not a File type/ when selecting /Transfer invoice/.
 
The same files work in Sandbox. So it isn't file corruption. Though strangely the files do not get attached in Sanbox using the Documen type = File as the defaults are set. It grabs the first alphabetical item from the list of document types that is in the File group.
 
The settings are the same in Document types and Document management parameters in both Sandbox and Prod.
 
Any thoughts?
I have the same question (0)
  • Verified answer
    bcbeats Profile Picture
    50 on at
    Found the problem.

    For some reason Invoice Capture ignores the Document management preferences -> Default document types. It grabs the first Document type in the list alphabetically that is in the group File. In our case, it was a dummy setup that mismatched Simple note with File. I flipped it to Simple note and Note, Invoice capture then went to the next Document type in the list which is Attach file and File. 
     
    I can't find out if there is somewhere else where Invoice Capture is pulling its defaults from. If not, this is an issue that MS needs to correct.
  • André Arnaud de Calavon Profile Picture
    303,775 Super User 2026 Season 1 on at
    Hi bcbeats,
     
    I'm glad you found a solution for your environment. I checked the coding. It is trying to find a document type. Here it is indeed selecting the first one where the group has the value 'File'. 
    There is no other setting possible for this. In your scenario, you had a wrong setup on a dummy document type.
    I agree with you that it would be better if Microsoft would pull the document type from a parameter setting or the default document types instead of relying on a group field on the document types. Anyway, Microsoft will most likely initially tell customers to use intended setup data for the document types. Acknowledgment from Microsoft that this is a bug that needs to be solved as soon as possible will be hard. Anyway, you can try submitting a support ticket.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 676

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 462 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 335 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans