--- title: "XML Schema Validator activity" slug: "bc-xml-schema-validator-activity" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Concept", "Walkthrough"] updated: 2026-06-25T09:59:07Z published: 2026-06-25T09:59:07Z canonical: "docs.staedean.com/bc-xml-schema-validator-activity" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # XML Schema Validator activity In Business Integration Solutions, use the **XML Schema Validator** activity to validate an incoming message against a document structure. ## Set up the XMLSchemaValidator ![XmlSchemaValidator](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/bis_SchemaValidatorSetup.png) | Field | Description | | --- | --- | | Document Type | Specifies whether the linked document is **External** or **Internal**. | | Document No. | Specifies the linked document. | ## Example If the incoming message does not match the expected document schema structure, the validator fails the message with a description of the issue. ![XmlSchemaValidatorError](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/bis_SchemaValidatorError.png) ## Related - [Setting up activities](/bc-setting-up-activities.md)