web
You’re offline. This is a read only version of the page.
close
Skip to main content
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 44
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
    44 on at
    Invoice Capture - The provided document type is not a File type.
    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
    299,913 Super User 2025 Season 2 on at
    Invoice Capture - The provided document type is not a File type.
    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

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 636

#3
Martin Dráb Profile Picture

Martin Dráb 553 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans