[{"data":1,"prerenderedAt":97},["ShallowReactive",2],{"glossary-xsd":3},{"id":4,"title":5,"body":6,"description":86,"extension":87,"lastUpdatedAt":88,"letter":89,"meta":90,"navigation":91,"path":92,"seo":93,"stem":94,"summary":95,"term":16,"__hash__":96},"glossary\u002Fglossary\u002Fxsd.md","Xsd",{"type":7,"value":8,"toc":80},"minimark",[9,22,25,46,51],[10,11,12,13,17,18,21],"p",{},"An ",[14,15,16],"strong",{},"XSD"," (XML Schema Definition) is a W3C standard for describing the structure, content, and data types of an XML document. In e-invoicing, XSD validation is the first of two validation passes — it verifies that the XML is well-formed and structurally correct before ",[14,19,20],{},"Schematron"," checks are applied for business rule compliance.",[10,23,24],{},"XSD validation catches errors such as:",[26,27,28,32,35,38],"ul",{},[29,30,31],"li",{},"Missing mandatory elements",[29,33,34],{},"Elements in the wrong order or namespace",[29,36,37],{},"Wrong data types (e.g. a date field containing free text)",[29,39,40,41,45],{},"Invalid cardinality (e.g. two ",[42,43,44],"code",{},"\u003CID>"," elements where only one is allowed)",[47,48,50],"h3",{"id":49},"key-facts","Key facts",[26,52,53,59,65,68,74],{},[29,54,55,56],{},"Standard: ",[14,57,58],{},"W3C XML Schema 1.0 \u002F 1.1",[29,60,61,62],{},"File extension: ",[42,63,64],{},".xsd",[29,66,67],{},"Used in: UBL 2.1 (OASIS publishes official XSDs), UN\u002FCEFACT CII, XRechnung",[29,69,70,71],{},"Validation order: ",[14,72,73],{},"XSD first → Schematron second",[29,75,76,77],{},"Tools: Saxon, Xerces, libxml2, ",[42,78,79],{},"xmllint --schema",{"title":81,"searchDepth":82,"depth":82,"links":83},"",2,[84],{"id":49,"depth":85,"text":50},3,"An XSD (XML Schema Definition) is a W3C standard for describing the structure, content, and data types of an XML document. In e-invoicing, XSD validation is the first of two validation passes — it verifies that the XML is well-formed and structurally correct before Schematron checks are applied for business rule compliance.","md","2026-04-21","X",{},true,"\u002Fglossary\u002Fxsd",{"description":86},"glossary\u002Fxsd","XML Schema Definition — the structural validation layer for e-invoice XML files, checked before Schematron business rules.","shlj1GHD9GshyAzfUb7UXWm68u1FQE2FKA-rdna79dY",1776765748945]