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, ...
Suggested Answer

Error Invalid document schema, List of possible elements expected in aif AX 2012

(0) ShareShare
ReportReport
Posted on by 3,020

Hi Team,

I am importing data using AIF inbound ports - AIF document services.

Getting below error:  

Invalid document schema. The following error was returned:  The element 'BufferReceiptLine' in namespace 'schemas.microsoft.com/.../IDSInventTransferTable' has invalid child element 'InventTransId' in namespace 'schemas.microsoft.com/.../IDSInventTransferTable'. List of possible elements expected: 'Location, Qty' in namespace 'http://schemas.microsoft.com/dynamics/2008/01/documents/IDSInventTransferTable'.

I see couple of blogs/posts, made fields not mandatory but still getting same error.

noticed finally, This error coming only when data in xml  not in alphabetical order. consider field "InventTransId" as reference. 

Please refer below screenshot. Please guide on this issue, highly appreciable.

AIFError_5F00_InvlidDocSchema.png

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    The XML schema dictates the required sequence of elements. So your message must contain the fields in the same sequence (in this case alphabetical) than what you see in the schema file.

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 April Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 660

#3
Subra Profile Picture

Subra 489

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans