XSD Schemas
Version: 2.0 — June 2026
All EDIconnect XML messages are validated against XSD schemas. Use these schemas to validate messages before sending and to generate code bindings in your integration layer.
Available Schemas
| Message | Schema File | Version |
|---|---|---|
| ORDERS | `Azuvio-CRMconnect-EDIconnect-ORDERS-v2.0.xsd` | 2.0 |
| DESADV | `Azuvio-CRMconnect-EDIconnect-DESADV-v2.0.xsd` | 2.0 |
| RECADV | `Azuvio-CRMconnect-EDIconnect-RECADV-v2.0.xsd` | 2.0 |
| INVOIC | `Azuvio-CRMconnect-EDIconnect-INVOIC-v2.0.xsd` | 2.0 |
Validation
Tip
Always validate your message against the XSD schema before sending. XSD validation errors are faster to debug locally than errors returned by the partner system after transmission.
Command Line (xmllint)
# ORDERS
xmllint --schema Azuvio-CRMconnect-EDIconnect-ORDERS-v2.0.xsd mesaj-orders.xml --noout
# DESADV
xmllint --schema Azuvio-CRMconnect-EDIconnect-DESADV-v2.0.xsd aviz-livrare.xml --noout
# RECADV
xmllint --schema Azuvio-CRMconnect-EDIconnect-RECADV-v2.0.xsd aviz-receptie.xml --noout
# INVOIC
xmllint --schema Azuvio-CRMconnect-EDIconnect-INVOIC-v2.0.xsd factura.xml --noout
Valid file → no output. Invalid file → error with line number.
Java (javax.xml.validation)
SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
Schema schema = factory.newSchema(new File("Azuvio-CRMconnect-EDIconnect-ORDERS-v2.0.xsd"));
Validator validator = schema.newValidator();
validator.validate(new StreamSource(new File("mesaj-orders.xml")));
Python (lxml)
from lxml import etree
schema_doc = etree.parse("Azuvio-CRMconnect-EDIconnect-ORDERS-v2.0.xsd")
schema = etree.XMLSchema(schema_doc)
doc = etree.parse("mesaj-orders.xml")
schema.assertValid(doc)
.NET (System.Xml.Schema)
XmlReaderSettings settings = new XmlReaderSettings();
settings.Schemas.Add(null, "Azuvio-CRMconnect-EDIconnect-ORDERS-v2.0.xsd");
settings.ValidationType = ValidationType.Schema;
XmlReader reader = XmlReader.Create("mesaj-orders.xml", settings);
while (reader.Read()) { }
Common Validation Errors
| Error | Cause | Fix |
|---|---|---|
cvc-pattern-valid on GLN |
GLN does not have 13 digits | Pad with leading zeros |
cvc-pattern-valid on EAN |
EAN does not have 13 digits | Check GTIN-13 format |
cvc-datatype-valid on date |
Wrong format | Use YYYY-MM-DD |
cvc-minInclusive on quantity |
Quantity ≤ 0 | Must be positive |
| Missing mandatory element | Field with M=Yes is absent |
Refer to the field table on the message page |