format xsd & xml

This commit is contained in:
Andre Kemper
2019-04-07 13:27:06 +02:00
parent 9404ac5852
commit 55867bf518
8 changed files with 629 additions and 578 deletions

View File

@@ -4,7 +4,8 @@
xmlns:qdt="urn:un:unece:uncefact:data:Standard:QualifiedDataType:100" xmlns:qdt="urn:un:unece:uncefact:data:Standard:QualifiedDataType:100"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"><!-- xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"><!--
Migrated by Mustangproject XSLT Migrated by Mustangproject XSLT
--><rsm:ExchangedDocumentContext> -->
<rsm:ExchangedDocumentContext>
<ram:TestIndicator> <ram:TestIndicator>
<udt:Indicator>false</udt:Indicator> <udt:Indicator>false</udt:Indicator>
</ram:TestIndicator> </ram:TestIndicator>
@@ -12,7 +13,7 @@ Migrated by Mustangproject XSLT
<ram:ID>urn:ferd:CrossIndustryDocument:invoice:1p0:extended</ram:ID> <ram:ID>urn:ferd:CrossIndustryDocument:invoice:1p0:extended</ram:ID>
</ram:GuidelineSpecifiedDocumentContextParameter> </ram:GuidelineSpecifiedDocumentContextParameter>
</rsm:ExchangedDocumentContext> </rsm:ExchangedDocumentContext>
<rsm:ExchangedDocument xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"> <rsm:ExchangedDocument xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100">
<ram:ID>RE-20170509/505</ram:ID> <ram:ID>RE-20170509/505</ram:ID>
<ram:Name>RECHNUNG</ram:Name> <ram:Name>RECHNUNG</ram:Name>
<ram:TypeCode>380</ram:TypeCode> <ram:TypeCode>380</ram:TypeCode>
@@ -20,16 +21,16 @@ Migrated by Mustangproject XSLT
<udt:DateTimeString format="102">20170509</udt:DateTimeString> <udt:DateTimeString format="102">20170509</udt:DateTimeString>
</ram:IssueDateTime> </ram:IssueDateTime>
</rsm:ExchangedDocument> </rsm:ExchangedDocument>
<rsm:SupplyChainTradeTransaction xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"> <rsm:SupplyChainTradeTransaction xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100">
<ram:IncludedSupplyChainTradeLineItem> <ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument> <ram:AssociatedDocumentLineDocument>
<ram:LineID>1</ram:LineID> <ram:LineID>1</ram:LineID>
</ram:AssociatedDocumentLineDocument> </ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct> <ram:SpecifiedTradeProduct>
<ram:Name>Künstlerische Gestaltung (Stunde): Einer Beispielrechnung</ram:Name> <ram:Name>Künstlerische Gestaltung (Stunde): Einer Beispielrechnung</ram:Name>
<ram:Description/> <ram:Description/>
</ram:SpecifiedTradeProduct> </ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement> <ram:SpecifiedLineTradeAgreement>
<ram:GrossPriceProductTradePrice> <ram:GrossPriceProductTradePrice>
<ram:ChargeAmount currencyID="EUR">160.0000</ram:ChargeAmount> <ram:ChargeAmount currencyID="EUR">160.0000</ram:ChargeAmount>
<ram:BasisQuantity unitCode="HUR">1.0000</ram:BasisQuantity> <ram:BasisQuantity unitCode="HUR">1.0000</ram:BasisQuantity>
@@ -39,10 +40,10 @@ Migrated by Mustangproject XSLT
<ram:BasisQuantity unitCode="HUR">1.0000</ram:BasisQuantity> <ram:BasisQuantity unitCode="HUR">1.0000</ram:BasisQuantity>
</ram:NetPriceProductTradePrice> </ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement> </ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery> <ram:SpecifiedLineTradeDelivery>
<ram:BilledQuantity unitCode="HUR">1.0000</ram:BilledQuantity> <ram:BilledQuantity unitCode="HUR">1.0000</ram:BilledQuantity>
</ram:SpecifiedLineTradeDelivery> </ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement> <ram:SpecifiedLineTradeSettlement>
<ram:ApplicableTradeTax> <ram:ApplicableTradeTax>
<ram:TypeCode>VAT</ram:TypeCode> <ram:TypeCode>VAT</ram:TypeCode>
<ram:CategoryCode>S</ram:CategoryCode> <ram:CategoryCode>S</ram:CategoryCode>
@@ -52,16 +53,16 @@ Migrated by Mustangproject XSLT
<ram:LineTotalAmount currencyID="EUR">160.00</ram:LineTotalAmount> <ram:LineTotalAmount currencyID="EUR">160.00</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementLineMonetarySummation> </ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement> </ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem> </ram:IncludedSupplyChainTradeLineItem>
<ram:IncludedSupplyChainTradeLineItem> <ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument> <ram:AssociatedDocumentLineDocument>
<ram:LineID>2</ram:LineID> <ram:LineID>2</ram:LineID>
</ram:AssociatedDocumentLineDocument> </ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct> <ram:SpecifiedTradeProduct>
<ram:Name>Luftballon: Bunt, ca. 500ml</ram:Name> <ram:Name>Luftballon: Bunt, ca. 500ml</ram:Name>
<ram:Description/> <ram:Description/>
</ram:SpecifiedTradeProduct> </ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement> <ram:SpecifiedLineTradeAgreement>
<ram:GrossPriceProductTradePrice> <ram:GrossPriceProductTradePrice>
<ram:ChargeAmount currencyID="EUR">0.7900</ram:ChargeAmount> <ram:ChargeAmount currencyID="EUR">0.7900</ram:ChargeAmount>
<ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity>
@@ -71,10 +72,10 @@ Migrated by Mustangproject XSLT
<ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity>
</ram:NetPriceProductTradePrice> </ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement> </ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery> <ram:SpecifiedLineTradeDelivery>
<ram:BilledQuantity unitCode="C62">400.0000</ram:BilledQuantity> <ram:BilledQuantity unitCode="C62">400.0000</ram:BilledQuantity>
</ram:SpecifiedLineTradeDelivery> </ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement> <ram:SpecifiedLineTradeSettlement>
<ram:ApplicableTradeTax> <ram:ApplicableTradeTax>
<ram:TypeCode>VAT</ram:TypeCode> <ram:TypeCode>VAT</ram:TypeCode>
<ram:CategoryCode>S</ram:CategoryCode> <ram:CategoryCode>S</ram:CategoryCode>
@@ -84,16 +85,16 @@ Migrated by Mustangproject XSLT
<ram:LineTotalAmount currencyID="EUR">316.00</ram:LineTotalAmount> <ram:LineTotalAmount currencyID="EUR">316.00</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementLineMonetarySummation> </ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement> </ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem> </ram:IncludedSupplyChainTradeLineItem>
<ram:IncludedSupplyChainTradeLineItem> <ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument> <ram:AssociatedDocumentLineDocument>
<ram:LineID>3</ram:LineID> <ram:LineID>3</ram:LineID>
</ram:AssociatedDocumentLineDocument> </ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct> <ram:SpecifiedTradeProduct>
<ram:Name>Heiße Luft pro Liter</ram:Name> <ram:Name>Heiße Luft pro Liter</ram:Name>
<ram:Description/> <ram:Description/>
</ram:SpecifiedTradeProduct> </ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement> <ram:SpecifiedLineTradeAgreement>
<ram:GrossPriceProductTradePrice> <ram:GrossPriceProductTradePrice>
<ram:ChargeAmount currencyID="EUR">0.1000</ram:ChargeAmount> <ram:ChargeAmount currencyID="EUR">0.1000</ram:ChargeAmount>
<ram:BasisQuantity unitCode="LTR">1.0000</ram:BasisQuantity> <ram:BasisQuantity unitCode="LTR">1.0000</ram:BasisQuantity>
@@ -103,10 +104,10 @@ Migrated by Mustangproject XSLT
<ram:BasisQuantity unitCode="LTR">1.0000</ram:BasisQuantity> <ram:BasisQuantity unitCode="LTR">1.0000</ram:BasisQuantity>
</ram:NetPriceProductTradePrice> </ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement> </ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery> <ram:SpecifiedLineTradeDelivery>
<ram:BilledQuantity unitCode="LTR">200.0000</ram:BilledQuantity> <ram:BilledQuantity unitCode="LTR">200.0000</ram:BilledQuantity>
</ram:SpecifiedLineTradeDelivery> </ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement> <ram:SpecifiedLineTradeSettlement>
<ram:ApplicableTradeTax> <ram:ApplicableTradeTax>
<ram:TypeCode>VAT</ram:TypeCode> <ram:TypeCode>VAT</ram:TypeCode>
<ram:CategoryCode>S</ram:CategoryCode> <ram:CategoryCode>S</ram:CategoryCode>
@@ -116,8 +117,8 @@ Migrated by Mustangproject XSLT
<ram:LineTotalAmount currencyID="EUR">20.00</ram:LineTotalAmount> <ram:LineTotalAmount currencyID="EUR">20.00</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementLineMonetarySummation> </ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement> </ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem> </ram:IncludedSupplyChainTradeLineItem>
<ram:ApplicableHeaderTradeAgreement> <ram:ApplicableHeaderTradeAgreement>
<ram:SellerTradeParty> <ram:SellerTradeParty>
<ram:Name>Bei Spiel GmbH</ram:Name> <ram:Name>Bei Spiel GmbH</ram:Name>
<ram:PostalTradeAddress> <ram:PostalTradeAddress>
@@ -146,14 +147,14 @@ Migrated by Mustangproject XSLT
</ram:SpecifiedTaxRegistration> </ram:SpecifiedTaxRegistration>
</ram:BuyerTradeParty> </ram:BuyerTradeParty>
</ram:ApplicableHeaderTradeAgreement> </ram:ApplicableHeaderTradeAgreement>
<ram:ApplicableHeaderTradeDelivery> <ram:ApplicableHeaderTradeDelivery>
<ram:ActualDeliverySupplyChainEvent> <ram:ActualDeliverySupplyChainEvent>
<ram:OccurrenceDateTime> <ram:OccurrenceDateTime>
<udt:DateTimeString format="102">20170507</udt:DateTimeString> <udt:DateTimeString format="102">20170507</udt:DateTimeString>
</ram:OccurrenceDateTime> </ram:OccurrenceDateTime>
</ram:ActualDeliverySupplyChainEvent> </ram:ActualDeliverySupplyChainEvent>
</ram:ApplicableHeaderTradeDelivery> </ram:ApplicableHeaderTradeDelivery>
<ram:ApplicableHeaderTradeSettlement> <ram:ApplicableHeaderTradeSettlement>
<ram:PaymentReference>RE-20170509/505</ram:PaymentReference> <ram:PaymentReference>RE-20170509/505</ram:PaymentReference>
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode> <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:SpecifiedTradeSettlementPaymentMeans>
@@ -199,6 +200,6 @@ Migrated by Mustangproject XSLT
<ram:DuePayableAmount currencyID="EUR">571.04</ram:DuePayableAmount> <ram:DuePayableAmount currencyID="EUR">571.04</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
</ram:ApplicableHeaderTradeSettlement> </ram:ApplicableHeaderTradeSettlement>
</rsm:SupplyChainTradeTransaction> </rsm:SupplyChainTradeTransaction>
</rsm:CrossIndustryInvoice> </rsm:CrossIndustryInvoice>

View File

@@ -17,15 +17,15 @@ import org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromA1Factory;
public class MustangWriter implements IZUGFeRDExportableTransaction { public class MustangWriter implements IZUGFeRDExportableTransaction {
public static void main(String[] args) { public static void main(String[] args) {
MustangWriter m1=new MustangWriter(); MustangWriter m1 = new MustangWriter();
m1.apply(); m1.apply();
} }
private void apply() { private void apply() {
try { try {
System.out.println("Reading Blanko-PDF"); System.out.println("Reading Blanko-PDF");
ZUGFeRDExporter ze= ZUGFeRDExporter ze =
new ZUGFeRDExporterFromA1Factory().setProducer("My Application").setCreator(System.getProperty("user.name")).load("./MustangGnuaccountingBeispielRE-20171118_506blanko.pdf"); new ZUGFeRDExporterFromA1Factory().setProducer("My Application").setCreator(System.getProperty("user.name")).load("./MustangGnuaccountingBeispielRE-20171118_506blanko.pdf");
System.out.println("Generating and attaching ZUGFeRD-Data"); System.out.println("Generating and attaching ZUGFeRD-Data");
ze.PDFattachZugferdFile(this); ze.PDFattachZugferdFile(this);
System.out.println("Writing ZUGFeRD-PDF"); System.out.println("Writing ZUGFeRD-PDF");
@@ -36,6 +36,7 @@ public class MustangWriter implements IZUGFeRDExportableTransaction {
e.printStackTrace(); e.printStackTrace();
} }
} }
@Override @Override
public String getCurrency() { public String getCurrency() {
// TODO Auto-generated method stub // TODO Auto-generated method stub
@@ -44,18 +45,18 @@ public class MustangWriter implements IZUGFeRDExportableTransaction {
@Override @Override
public Date getDeliveryDate() { public Date getDeliveryDate() {
return new GregorianCalendar(2017,Calendar.NOVEMBER,17).getTime(); return new GregorianCalendar(2017, Calendar.NOVEMBER, 17).getTime();
} }
@Override @Override
public Date getDueDate() { public Date getDueDate() {
return new GregorianCalendar(2017,Calendar.DECEMBER,9).getTime(); return new GregorianCalendar(2017, Calendar.DECEMBER, 9).getTime();
} }
@Override @Override
public Date getIssueDate() { public Date getIssueDate() {
return new GregorianCalendar(2017,Calendar.NOVEMBER,18).getTime(); return new GregorianCalendar(2017, Calendar.NOVEMBER, 18).getTime();
} }
@Override @Override
@@ -90,10 +91,10 @@ public class MustangWriter implements IZUGFeRDExportableTransaction {
@Override @Override
public String getOwnOrganisationFullPlaintextInfo() { public String getOwnOrganisationFullPlaintextInfo() {
return "Bei Spiel GmbH\n"+ return "Bei Spiel GmbH\n" +
"Ecke 12\n"+ "Ecke 12\n" +
"12345 Stadthausen\n"+ "12345 Stadthausen\n" +
"Geschäftsführer: Max Mustermann"; "Geschäftsführer: Max Mustermann";
} }
@Override @Override
@@ -160,15 +161,15 @@ public class MustangWriter implements IZUGFeRDExportableTransaction {
@Override @Override
public IZUGFeRDExportableItem[] getZFItems() { public IZUGFeRDExportableItem[] getZFItems() {
Item[] allItems=new Item[3]; Item[] allItems = new Item[3];
Product designProduct=new Product("", "Künstlerische Gestaltung (Stunde): Einer Beispielrechnung", "HUR", new BigDecimal("7.000000")); Product designProduct = new Product("", "Künstlerische Gestaltung (Stunde): Einer Beispielrechnung", "HUR", new BigDecimal("7.000000"));
Product balloonProduct=new Product("", "Luftballon: Bunt, ca. 500ml", "C62", new BigDecimal("19.000000")); Product balloonProduct = new Product("", "Luftballon: Bunt, ca. 500ml", "C62", new BigDecimal("19.000000"));
Product airProduct=new Product("", "Heiße Luft pro Liter", "LTR", new BigDecimal("19.000000")); Product airProduct = new Product("", "Heiße Luft pro Liter", "LTR", new BigDecimal("19.000000"));
allItems[0]=new Item(new BigDecimal("160"), new BigDecimal("1"), designProduct); allItems[0] = new Item(new BigDecimal("160"), new BigDecimal("1"), designProduct);
allItems[1]=new Item(new BigDecimal("0.79"), new BigDecimal("400"), balloonProduct); allItems[1] = new Item(new BigDecimal("0.79"), new BigDecimal("400"), balloonProduct);
allItems[2]=new Item(new BigDecimal("0.10"), new BigDecimal("200"), airProduct); allItems[2] = new Item(new BigDecimal("0.10"), new BigDecimal("200"), airProduct);
return allItems; return allItems;
} }
@Override @Override

View File

@@ -1,20 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:rsm="urn:ferd:CrossIndustryDocument:invoice:1p0" <xs:schema xmlns:rsm="urn:ferd:CrossIndustryDocument:invoice:1p0"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12"
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
targetNamespace="urn:ferd:CrossIndustryDocument:invoice:1p0" targetNamespace="urn:ferd:CrossIndustryDocument:invoice:1p0"
elementFormDefault="qualified"> elementFormDefault="qualified">
<xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd"/> <xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12"
<xs:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_12.xsd"/> schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd"/>
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/> <xs:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12"
<xs:element name="CrossIndustryDocument" type="rsm:CrossIndustryDocumentType"/> schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_12.xsd"/>
<xs:complexType name="CrossIndustryDocumentType"> <xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
<xs:sequence> schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/>
<xs:element name="SpecifiedExchangedDocumentContext" type="ram:ExchangedDocumentContextType"/> <xs:element name="CrossIndustryDocument" type="rsm:CrossIndustryDocumentType"/>
<xs:element name="HeaderExchangedDocument" type="ram:ExchangedDocumentType"/> <xs:complexType name="CrossIndustryDocumentType">
<xs:element name="SpecifiedSupplyChainTradeTransaction" type="ram:SupplyChainTradeTransactionType"/> <xs:sequence>
</xs:sequence> <xs:element name="SpecifiedExchangedDocumentContext" type="ram:ExchangedDocumentContextType"/>
</xs:complexType> <xs:element name="HeaderExchangedDocument" type="ram:ExchangedDocumentType"/>
<xs:element name="SpecifiedSupplyChainTradeTransaction" type="ram:SupplyChainTradeTransactionType"/>
</xs:sequence>
</xs:complexType>
</xs:schema> </xs:schema>

View File

@@ -1,76 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" <xs:schema xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
targetNamespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" targetNamespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12"
elementFormDefault="qualified" elementFormDefault="qualified"
version="12.0"> version="12.0">
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/> <xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
<xs:simpleType name="AllowanceChargeReasonCodeContentType"> schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/>
<xs:restriction base="xs:token"/> <xs:simpleType name="AllowanceChargeReasonCodeContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="AllowanceChargeReasonCodeType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="AllowanceChargeReasonCodeType">
<xs:extension base="qdt:AllowanceChargeReasonCodeContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:AllowanceChargeReasonCodeContentType"/>
</xs:complexType> </xs:simpleContent>
<xs:simpleType name="CountryIDContentType"> </xs:complexType>
<xs:restriction base="xs:token"/> <xs:simpleType name="CountryIDContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="CountryIDType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="CountryIDType">
<xs:extension base="qdt:CountryIDContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:CountryIDContentType"/>
</xs:complexType> </xs:simpleContent>
<xs:simpleType name="DateMandatoryDateTimeType"> </xs:complexType>
<xs:union memberTypes="xs:dateTime xs:date"/> <xs:simpleType name="DateMandatoryDateTimeType">
</xs:simpleType> <xs:union memberTypes="xs:dateTime xs:date"/>
<xs:simpleType name="DeliveryTermsCodeContentType"> </xs:simpleType>
<xs:restriction base="xs:token"/> <xs:simpleType name="DeliveryTermsCodeContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="DeliveryTermsCodeType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="DeliveryTermsCodeType">
<xs:extension base="qdt:DeliveryTermsCodeContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:DeliveryTermsCodeContentType"/>
</xs:complexType> </xs:simpleContent>
<xs:simpleType name="DocumentCodeContentType"> </xs:complexType>
<xs:restriction base="xs:token"/> <xs:simpleType name="DocumentCodeContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="DocumentCodeType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="DocumentCodeType">
<xs:extension base="qdt:DocumentCodeContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:DocumentCodeContentType"/>
</xs:complexType> </xs:simpleContent>
<xs:simpleType name="PaymentMeansCodeContentType"> </xs:complexType>
<xs:restriction base="xs:token"/> <xs:simpleType name="PaymentMeansCodeContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="PaymentMeansCodeType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="PaymentMeansCodeType">
<xs:extension base="qdt:PaymentMeansCodeContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:PaymentMeansCodeContentType"/>
</xs:complexType> </xs:simpleContent>
<xs:simpleType name="ReferenceCodeContentType"> </xs:complexType>
<xs:restriction base="xs:token"/> <xs:simpleType name="ReferenceCodeContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="ReferenceCodeType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="ReferenceCodeType">
<xs:extension base="qdt:ReferenceCodeContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:ReferenceCodeContentType"/>
</xs:complexType> </xs:simpleContent>
<xs:simpleType name="TaxCategoryCodeContentType"> </xs:complexType>
<xs:restriction base="xs:token"/> <xs:simpleType name="TaxCategoryCodeContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="TaxCategoryCodeType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="TaxCategoryCodeType">
<xs:extension base="qdt:TaxCategoryCodeContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:TaxCategoryCodeContentType"/>
</xs:complexType> </xs:simpleContent>
<xs:simpleType name="TaxTypeCodeContentType"> </xs:complexType>
<xs:restriction base="xs:token"/> <xs:simpleType name="TaxTypeCodeContentType">
</xs:simpleType> <xs:restriction base="xs:token"/>
<xs:complexType name="TaxTypeCodeType"> </xs:simpleType>
<xs:simpleContent> <xs:complexType name="TaxTypeCodeType">
<xs:extension base="qdt:TaxTypeCodeContentType"/> <xs:simpleContent>
</xs:simpleContent> <xs:extension base="qdt:TaxTypeCodeContentType"/>
</xs:complexType> </xs:simpleContent>
</xs:complexType>
</xs:schema> </xs:schema>

View File

@@ -1,352 +1,391 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" <xs:schema xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
targetNamespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" targetNamespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12"
elementFormDefault="qualified" elementFormDefault="qualified"
version="12.0"> version="12.0">
<xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd"/> <xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12"
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/> schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd"/>
<xs:complexType name="CreditorFinancialAccountType"> <xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
<xs:sequence> schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/>
<xs:element name="IBANID" type="udt:IDType" minOccurs="0"/> <xs:complexType name="CreditorFinancialAccountType">
<xs:element name="AccountName" type="udt:TextType" minOccurs="0"/> <xs:sequence>
<xs:element name="ProprietaryID" type="udt:IDType" minOccurs="0"/> <xs:element name="IBANID" type="udt:IDType" minOccurs="0"/>
</xs:sequence> <xs:element name="AccountName" type="udt:TextType" minOccurs="0"/>
</xs:complexType> <xs:element name="ProprietaryID" type="udt:IDType" minOccurs="0"/>
<xs:complexType name="CreditorFinancialInstitutionType"> </xs:sequence>
<xs:sequence> </xs:complexType>
<xs:element name="BICID" type="udt:IDType" minOccurs="0"/> <xs:complexType name="CreditorFinancialInstitutionType">
<xs:element name="GermanBankleitzahlID" type="udt:IDType" minOccurs="0"/> <xs:sequence>
<xs:element name="Name" type="udt:TextType" minOccurs="0"/> <xs:element name="BICID" type="udt:IDType" minOccurs="0"/>
</xs:sequence> <xs:element name="GermanBankleitzahlID" type="udt:IDType" minOccurs="0"/>
</xs:complexType> <xs:element name="Name" type="udt:TextType" minOccurs="0"/>
<xs:complexType name="DebtorFinancialAccountType"> </xs:sequence>
<xs:sequence> </xs:complexType>
<xs:element name="IBANID" type="udt:IDType" minOccurs="0"/> <xs:complexType name="DebtorFinancialAccountType">
<xs:element name="ProprietaryID" type="udt:IDType" minOccurs="0"/> <xs:sequence>
</xs:sequence> <xs:element name="IBANID" type="udt:IDType" minOccurs="0"/>
</xs:complexType> <xs:element name="ProprietaryID" type="udt:IDType" minOccurs="0"/>
<xs:complexType name="DebtorFinancialInstitutionType"> </xs:sequence>
<xs:sequence> </xs:complexType>
<xs:element name="BICID" type="udt:IDType" minOccurs="0"/> <xs:complexType name="DebtorFinancialInstitutionType">
<xs:element name="GermanBankleitzahlID" type="udt:IDType" minOccurs="0"/> <xs:sequence>
<xs:element name="Name" type="udt:TextType" minOccurs="0"/> <xs:element name="BICID" type="udt:IDType" minOccurs="0"/>
</xs:sequence> <xs:element name="GermanBankleitzahlID" type="udt:IDType" minOccurs="0"/>
</xs:complexType> <xs:element name="Name" type="udt:TextType" minOccurs="0"/>
<xs:complexType name="DocumentContextParameterType"> </xs:sequence>
<xs:sequence> </xs:complexType>
<xs:element name="ID" type="udt:IDType" minOccurs="0"/> <xs:complexType name="DocumentContextParameterType">
</xs:sequence> <xs:sequence>
</xs:complexType> <xs:element name="ID" type="udt:IDType" minOccurs="0"/>
<xs:complexType name="DocumentLineDocumentType"> </xs:sequence>
<xs:sequence> </xs:complexType>
<xs:element name="LineID" type="udt:IDType" minOccurs="0"/> <xs:complexType name="DocumentLineDocumentType">
<xs:element name="IncludedNote" type="ram:NoteType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
</xs:sequence> <xs:element name="LineID" type="udt:IDType" minOccurs="0"/>
</xs:complexType> <xs:element name="IncludedNote" type="ram:NoteType" minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="ExchangedDocumentContextType"> </xs:sequence>
<xs:sequence> </xs:complexType>
<xs:element name="TestIndicator" type="udt:IndicatorType" minOccurs="0"/> <xs:complexType name="ExchangedDocumentContextType">
<xs:element name="BusinessProcessSpecifiedDocumentContextParameter" type="ram:DocumentContextParameterType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="GuidelineSpecifiedDocumentContextParameter" type="ram:DocumentContextParameterType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="TestIndicator" type="udt:IndicatorType" minOccurs="0"/>
</xs:sequence> <xs:element name="BusinessProcessSpecifiedDocumentContextParameter" type="ram:DocumentContextParameterType"
</xs:complexType> minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="ExchangedDocumentType"> <xs:element name="GuidelineSpecifiedDocumentContextParameter" type="ram:DocumentContextParameterType"
<xs:sequence> minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ID" type="udt:IDType" minOccurs="0"/> </xs:sequence>
<xs:element name="Name" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="TypeCode" type="qdt:DocumentCodeType" minOccurs="0"/> <xs:complexType name="ExchangedDocumentType">
<xs:element name="IssueDateTime" type="udt:DateTimeType" minOccurs="0"/> <xs:sequence>
<xs:element name="CopyIndicator" type="udt:IndicatorType" minOccurs="0"/> <xs:element name="ID" type="udt:IDType" minOccurs="0"/>
<xs:element name="LanguageID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="Name" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="IncludedNote" type="ram:NoteType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="TypeCode" type="qdt:DocumentCodeType" minOccurs="0"/>
<xs:element name="EffectiveSpecifiedPeriod" type="ram:SpecifiedPeriodType" minOccurs="0"/> <xs:element name="IssueDateTime" type="udt:DateTimeType" minOccurs="0"/>
</xs:sequence> <xs:element name="CopyIndicator" type="udt:IndicatorType" minOccurs="0"/>
</xs:complexType> <xs:element name="LanguageID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="LogisticsServiceChargeType"> <xs:element name="IncludedNote" type="ram:NoteType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="EffectiveSpecifiedPeriod" type="ram:SpecifiedPeriodType" minOccurs="0"/>
<xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
<xs:element name="AppliedAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="AppliedTradeTax" type="ram:TradeTaxType" minOccurs="0" maxOccurs="unbounded"/> <xs:complexType name="LogisticsServiceChargeType">
</xs:sequence> <xs:sequence>
</xs:complexType> <xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="LogisticsTransportMovementType"> <xs:element name="AppliedAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="AppliedTradeTax" type="ram:TradeTaxType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ModeCode" type="udt:CodeType" minOccurs="0"/> </xs:sequence>
<xs:element name="ID" type="udt:IDType" minOccurs="0"/> </xs:complexType>
</xs:sequence> <xs:complexType name="LogisticsTransportMovementType">
</xs:complexType> <xs:sequence>
<xs:complexType name="NoteType"> <xs:element name="ModeCode" type="udt:CodeType" minOccurs="0"/>
<xs:sequence> <xs:element name="ID" type="udt:IDType" minOccurs="0"/>
<xs:element name="ContentCode" type="udt:CodeType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
<xs:element name="Content" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="SubjectCode" type="udt:CodeType" minOccurs="0"/> <xs:complexType name="NoteType">
</xs:sequence> <xs:sequence>
</xs:complexType> <xs:element name="ContentCode" type="udt:CodeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="ProductCharacteristicType"> <xs:element name="Content" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="SubjectCode" type="udt:CodeType" minOccurs="0"/>
<xs:element name="TypeCode" type="udt:CodeType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
<xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="ValueMeasure" type="udt:MeasureType" minOccurs="0" maxOccurs="unbounded"/> <xs:complexType name="ProductCharacteristicType">
<xs:element name="Value" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
</xs:sequence> <xs:element name="TypeCode" type="udt:CodeType" minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType> <xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="ProductClassificationType"> <xs:element name="ValueMeasure" type="udt:MeasureType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="Value" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ClassCode" type="udt:CodeType" minOccurs="0"/> </xs:sequence>
<xs:element name="ClassName" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
</xs:sequence> <xs:complexType name="ProductClassificationType">
</xs:complexType> <xs:sequence>
<xs:complexType name="ReferencedDocumentType"> <xs:element name="ClassCode" type="udt:CodeType" minOccurs="0"/>
<xs:sequence> <xs:element name="ClassName" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="IssueDateTime" type="qdt:DateMandatoryDateTimeType" minOccurs="0"/> </xs:sequence>
<xs:element name="LineID" type="udt:IDType" minOccurs="0"/> </xs:complexType>
<xs:element name="TypeCode" type="qdt:DocumentCodeType" minOccurs="0"/> <xs:complexType name="ReferencedDocumentType">
<xs:element name="ID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="ReferenceTypeCode" type="qdt:ReferenceCodeType" minOccurs="0"/> <xs:element name="IssueDateTime" type="qdt:DateMandatoryDateTimeType" minOccurs="0"/>
</xs:sequence> <xs:element name="LineID" type="udt:IDType" minOccurs="0"/>
</xs:complexType> <xs:element name="TypeCode" type="qdt:DocumentCodeType" minOccurs="0"/>
<xs:complexType name="ReferencedProductType"> <xs:element name="ID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="ReferenceTypeCode" type="qdt:ReferenceCodeType" minOccurs="0"/>
<xs:element name="GlobalID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
<xs:element name="SellerAssignedID" type="udt:IDType" minOccurs="0"/> </xs:complexType>
<xs:element name="BuyerAssignedID" type="udt:IDType" minOccurs="0"/> <xs:complexType name="ReferencedProductType">
<xs:element name="Name" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="GlobalID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="UnitQuantity" type="udt:QuantityType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="SellerAssignedID" type="udt:IDType" minOccurs="0"/>
</xs:sequence> <xs:element name="BuyerAssignedID" type="udt:IDType" minOccurs="0"/>
</xs:complexType> <xs:element name="Name" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="SpecifiedPeriodType"> <xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="UnitQuantity" type="udt:QuantityType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="StartDateTime" type="udt:DateTimeType" minOccurs="0"/> </xs:sequence>
<xs:element name="EndDateTime" type="udt:DateTimeType" minOccurs="0"/> </xs:complexType>
<xs:element name="CompleteDateTime" type="udt:DateTimeType" minOccurs="0"/> <xs:complexType name="SpecifiedPeriodType">
</xs:sequence> <xs:sequence>
</xs:complexType> <xs:element name="StartDateTime" type="udt:DateTimeType" minOccurs="0"/>
<xs:complexType name="SupplyChainConsignmentType"> <xs:element name="EndDateTime" type="udt:DateTimeType" minOccurs="0"/>
<xs:sequence> <xs:element name="CompleteDateTime" type="udt:DateTimeType" minOccurs="0"/>
<xs:element name="SpecifiedLogisticsTransportMovement" type="ram:LogisticsTransportMovementType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
</xs:sequence> </xs:complexType>
</xs:complexType> <xs:complexType name="SupplyChainConsignmentType">
<xs:complexType name="SupplyChainEventType"> <xs:sequence>
<xs:sequence> <xs:element name="SpecifiedLogisticsTransportMovement" type="ram:LogisticsTransportMovementType"
<xs:element name="OccurrenceDateTime" type="udt:DateTimeType" minOccurs="0" maxOccurs="unbounded"/> minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="SupplyChainTradeAgreementType"> <xs:complexType name="SupplyChainEventType">
<xs:sequence> <xs:sequence>
<xs:element name="BuyerReference" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="OccurrenceDateTime" type="udt:DateTimeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="SellerTradeParty" type="ram:TradePartyType" minOccurs="0"/> </xs:sequence>
<xs:element name="BuyerTradeParty" type="ram:TradePartyType" minOccurs="0"/> </xs:complexType>
<xs:element name="ProductEndUserTradeParty" type="ram:TradePartyType" minOccurs="0"/> <xs:complexType name="SupplyChainTradeAgreementType">
<xs:element name="ApplicableTradeDeliveryTerms" type="ram:TradeDeliveryTermsType" minOccurs="0"/> <xs:sequence>
<xs:element name="BuyerOrderReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="BuyerReference" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ContractReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="SellerTradeParty" type="ram:TradePartyType" minOccurs="0"/>
<xs:element name="AdditionalReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="BuyerTradeParty" type="ram:TradePartyType" minOccurs="0"/>
<xs:element name="GrossPriceProductTradePrice" type="ram:TradePriceType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ProductEndUserTradeParty" type="ram:TradePartyType" minOccurs="0"/>
<xs:element name="NetPriceProductTradePrice" type="ram:TradePriceType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ApplicableTradeDeliveryTerms" type="ram:TradeDeliveryTermsType" minOccurs="0"/>
<xs:element name="CustomerOrderReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="BuyerOrderReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"
</xs:sequence> maxOccurs="unbounded"/>
</xs:complexType> <xs:element name="ContractReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"
<xs:complexType name="SupplyChainTradeDeliveryType"> maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="AdditionalReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"
<xs:element name="BilledQuantity" type="udt:QuantityType" minOccurs="0"/> maxOccurs="unbounded"/>
<xs:element name="ChargeFreeQuantity" type="udt:QuantityType" minOccurs="0"/> <xs:element name="GrossPriceProductTradePrice" type="ram:TradePriceType" minOccurs="0"
<xs:element name="PackageQuantity" type="udt:QuantityType" minOccurs="0"/> maxOccurs="unbounded"/>
<xs:element name="RelatedSupplyChainConsignment" type="ram:SupplyChainConsignmentType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="NetPriceProductTradePrice" type="ram:TradePriceType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ShipToTradeParty" type="ram:TradePartyType" minOccurs="0"/> <xs:element name="CustomerOrderReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"
<xs:element name="UltimateShipToTradeParty" type="ram:TradePartyType" minOccurs="0"/> maxOccurs="unbounded"/>
<xs:element name="ShipFromTradeParty" type="ram:TradePartyType" minOccurs="0"/> </xs:sequence>
<xs:element name="ActualDeliverySupplyChainEvent" type="ram:SupplyChainEventType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="DespatchAdviceReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"/> <xs:complexType name="SupplyChainTradeDeliveryType">
<xs:element name="ReceivingAdviceReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="DeliveryNoteReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"/> <xs:element name="BilledQuantity" type="udt:QuantityType" minOccurs="0"/>
</xs:sequence> <xs:element name="ChargeFreeQuantity" type="udt:QuantityType" minOccurs="0"/>
</xs:complexType> <xs:element name="PackageQuantity" type="udt:QuantityType" minOccurs="0"/>
<xs:complexType name="SupplyChainTradeLineItemType"> <xs:element name="RelatedSupplyChainConsignment" type="ram:SupplyChainConsignmentType" minOccurs="0"
<xs:sequence> maxOccurs="unbounded"/>
<xs:element name="AssociatedDocumentLineDocument" type="ram:DocumentLineDocumentType" minOccurs="0"/> <xs:element name="ShipToTradeParty" type="ram:TradePartyType" minOccurs="0"/>
<xs:element name="SpecifiedSupplyChainTradeAgreement" type="ram:SupplyChainTradeAgreementType" minOccurs="0"/> <xs:element name="UltimateShipToTradeParty" type="ram:TradePartyType" minOccurs="0"/>
<xs:element name="SpecifiedSupplyChainTradeDelivery" type="ram:SupplyChainTradeDeliveryType" minOccurs="0"/> <xs:element name="ShipFromTradeParty" type="ram:TradePartyType" minOccurs="0"/>
<xs:element name="SpecifiedSupplyChainTradeSettlement" type="ram:SupplyChainTradeSettlementType" minOccurs="0"/> <xs:element name="ActualDeliverySupplyChainEvent" type="ram:SupplyChainEventType" minOccurs="0"
<xs:element name="SpecifiedTradeProduct" type="ram:TradeProductType" minOccurs="0"/> maxOccurs="unbounded"/>
</xs:sequence> <xs:element name="DespatchAdviceReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"/>
</xs:complexType> <xs:element name="ReceivingAdviceReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"
<xs:complexType name="SupplyChainTradeSettlementType"> maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="DeliveryNoteReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"/>
<xs:element name="PaymentReference" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
<xs:element name="InvoiceCurrencyCode" type="udt:CodeType" minOccurs="0"/> </xs:complexType>
<xs:element name="InvoiceeTradeParty" type="ram:TradePartyType" minOccurs="0"/> <xs:complexType name="SupplyChainTradeLineItemType">
<xs:element name="PayeeTradeParty" type="ram:TradePartyType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="SpecifiedTradeSettlementPaymentMeans" type="ram:TradeSettlementPaymentMeansType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="AssociatedDocumentLineDocument" type="ram:DocumentLineDocumentType" minOccurs="0"/>
<xs:element name="ApplicableTradeTax" type="ram:TradeTaxType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="SpecifiedSupplyChainTradeAgreement" type="ram:SupplyChainTradeAgreementType"
<xs:element name="BillingSpecifiedPeriod" type="ram:SpecifiedPeriodType" minOccurs="0" maxOccurs="unbounded"/> minOccurs="0"/>
<xs:element name="SpecifiedTradeAllowanceCharge" type="ram:TradeAllowanceChargeType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="SpecifiedSupplyChainTradeDelivery" type="ram:SupplyChainTradeDeliveryType" minOccurs="0"/>
<xs:element name="SpecifiedLogisticsServiceCharge" type="ram:LogisticsServiceChargeType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="SpecifiedSupplyChainTradeSettlement" type="ram:SupplyChainTradeSettlementType"
<xs:element name="SpecifiedTradePaymentTerms" type="ram:TradePaymentTermsType" minOccurs="0" maxOccurs="unbounded"/> minOccurs="0"/>
<xs:element name="SpecifiedTradeAccountingAccount" type="ram:TradeAccountingAccountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="SpecifiedTradeProduct" type="ram:TradeProductType" minOccurs="0"/>
<xs:element name="SpecifiedTradeSettlementMonetarySummation" type="ram:TradeSettlementMonetarySummationType" minOccurs="0"/> </xs:sequence>
<xs:element name="ReceivableSpecifiedTradeAccountingAccount" type="ram:TradeAccountingAccountType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
</xs:sequence> <xs:complexType name="SupplyChainTradeSettlementType">
</xs:complexType> <xs:sequence>
<xs:complexType name="SupplyChainTradeTransactionType"> <xs:element name="PaymentReference" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="InvoiceCurrencyCode" type="udt:CodeType" minOccurs="0"/>
<xs:element name="ApplicableSupplyChainTradeAgreement" type="ram:SupplyChainTradeAgreementType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="InvoiceeTradeParty" type="ram:TradePartyType" minOccurs="0"/>
<xs:element name="ApplicableSupplyChainTradeDelivery" type="ram:SupplyChainTradeDeliveryType" minOccurs="0"/> <xs:element name="PayeeTradeParty" type="ram:TradePartyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ApplicableSupplyChainTradeSettlement" type="ram:SupplyChainTradeSettlementType" minOccurs="0"/> <xs:element name="SpecifiedTradeSettlementPaymentMeans" type="ram:TradeSettlementPaymentMeansType"
<xs:element name="IncludedSupplyChainTradeLineItem" type="ram:SupplyChainTradeLineItemType" minOccurs="0" maxOccurs="unbounded"/> minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence> <xs:element name="ApplicableTradeTax" type="ram:TradeTaxType" minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType> <xs:element name="BillingSpecifiedPeriod" type="ram:SpecifiedPeriodType" minOccurs="0"
<xs:complexType name="TaxRegistrationType"> maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="SpecifiedTradeAllowanceCharge" type="ram:TradeAllowanceChargeType" minOccurs="0"
<xs:element name="ID" type="udt:IDType" minOccurs="0"/> maxOccurs="unbounded"/>
</xs:sequence> <xs:element name="SpecifiedLogisticsServiceCharge" type="ram:LogisticsServiceChargeType" minOccurs="0"
</xs:complexType> maxOccurs="unbounded"/>
<xs:complexType name="TradeAccountingAccountType"> <xs:element name="SpecifiedTradePaymentTerms" type="ram:TradePaymentTermsType" minOccurs="0"
<xs:sequence> maxOccurs="unbounded"/>
<xs:element name="ID" type="udt:IDType" minOccurs="0"/> <xs:element name="SpecifiedTradeAccountingAccount" type="ram:TradeAccountingAccountType" minOccurs="0"
</xs:sequence> maxOccurs="unbounded"/>
</xs:complexType> <xs:element name="SpecifiedTradeSettlementMonetarySummation" type="ram:TradeSettlementMonetarySummationType"
<xs:complexType name="TradeAddressType"> minOccurs="0"/>
<xs:sequence> <xs:element name="ReceivableSpecifiedTradeAccountingAccount" type="ram:TradeAccountingAccountType"
<xs:element name="PostcodeCode" type="udt:CodeType" minOccurs="0" maxOccurs="unbounded"/> minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="LineOne" type="udt:TextType" minOccurs="0"/> </xs:sequence>
<xs:element name="LineTwo" type="udt:TextType" minOccurs="0"/> </xs:complexType>
<xs:element name="CityName" type="udt:TextType" minOccurs="0"/> <xs:complexType name="SupplyChainTradeTransactionType">
<xs:element name="CountryID" type="qdt:CountryIDType" minOccurs="0"/> <xs:sequence>
</xs:sequence> <xs:element name="ApplicableSupplyChainTradeAgreement" type="ram:SupplyChainTradeAgreementType"
</xs:complexType> minOccurs="0" maxOccurs="unbounded"/>
<xs:complexType name="TradeAllowanceChargeType"> <xs:element name="ApplicableSupplyChainTradeDelivery" type="ram:SupplyChainTradeDeliveryType"
<xs:sequence> minOccurs="0"/>
<xs:element name="ChargeIndicator" type="udt:IndicatorType" minOccurs="0"/> <xs:element name="ApplicableSupplyChainTradeSettlement" type="ram:SupplyChainTradeSettlementType"
<xs:element name="SequenceNumeric" type="udt:NumericType" minOccurs="0"/> minOccurs="0"/>
<xs:element name="CalculationPercent" type="udt:PercentType" minOccurs="0"/> <xs:element name="IncludedSupplyChainTradeLineItem" type="ram:SupplyChainTradeLineItemType" minOccurs="0"
<xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0"/> maxOccurs="unbounded"/>
<xs:element name="BasisQuantity" type="udt:QuantityType" minOccurs="0"/> </xs:sequence>
<xs:element name="ActualAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="ReasonCode" type="qdt:AllowanceChargeReasonCodeType" minOccurs="0"/> <xs:complexType name="TaxRegistrationType">
<xs:element name="Reason" type="udt:TextType" minOccurs="0"/> <xs:sequence>
<xs:element name="CategoryTradeTax" type="ram:TradeTaxType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ID" type="udt:IDType" minOccurs="0"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="TradeContactType"> <xs:complexType name="TradeAccountingAccountType">
<xs:sequence> <xs:sequence>
<xs:element name="PersonName" type="udt:TextType" minOccurs="0"/> <xs:element name="ID" type="udt:IDType" minOccurs="0"/>
<xs:element name="DepartmentName" type="udt:TextType" minOccurs="0"/> </xs:sequence>
<xs:element name="TelephoneUniversalCommunication" type="ram:UniversalCommunicationType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="FaxUniversalCommunication" type="ram:UniversalCommunicationType" minOccurs="0" maxOccurs="unbounded"/> <xs:complexType name="TradeAddressType">
<xs:element name="EmailURIUniversalCommunication" type="ram:UniversalCommunicationType" minOccurs="0"/> <xs:sequence>
</xs:sequence> <xs:element name="PostcodeCode" type="udt:CodeType" minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType> <xs:element name="LineOne" type="udt:TextType" minOccurs="0"/>
<xs:complexType name="TradeCountryType"> <xs:element name="LineTwo" type="udt:TextType" minOccurs="0"/>
<xs:sequence> <xs:element name="CityName" type="udt:TextType" minOccurs="0"/>
<xs:element name="ID" type="qdt:CountryIDType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="CountryID" type="qdt:CountryIDType" minOccurs="0"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="TradeDeliveryTermsType"> <xs:complexType name="TradeAllowanceChargeType">
<xs:sequence> <xs:sequence>
<xs:element name="DeliveryTypeCode" type="qdt:DeliveryTermsCodeType" minOccurs="0"/> <xs:element name="ChargeIndicator" type="udt:IndicatorType" minOccurs="0"/>
</xs:sequence> <xs:element name="SequenceNumeric" type="udt:NumericType" minOccurs="0"/>
</xs:complexType> <xs:element name="CalculationPercent" type="udt:PercentType" minOccurs="0"/>
<xs:complexType name="TradePartyType"> <xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0"/>
<xs:sequence> <xs:element name="BasisQuantity" type="udt:QuantityType" minOccurs="0"/>
<xs:element name="ID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ActualAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="GlobalID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ReasonCode" type="qdt:AllowanceChargeReasonCodeType" minOccurs="0"/>
<xs:element name="Name" type="udt:TextType" minOccurs="0"/> <xs:element name="Reason" type="udt:TextType" minOccurs="0"/>
<xs:element name="DefinedTradeContact" type="ram:TradeContactType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="CategoryTradeTax" type="ram:TradeTaxType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PostalTradeAddress" type="ram:TradeAddressType" minOccurs="0"/> </xs:sequence>
<xs:element name="SpecifiedTaxRegistration" type="ram:TaxRegistrationType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
</xs:sequence> <xs:complexType name="TradeContactType">
</xs:complexType> <xs:sequence>
<xs:complexType name="TradePaymentDiscountTermsType"> <xs:element name="PersonName" type="udt:TextType" minOccurs="0"/>
<xs:sequence> <xs:element name="DepartmentName" type="udt:TextType" minOccurs="0"/>
<xs:element name="BasisDateTime" type="udt:DateTimeType" minOccurs="0"/> <xs:element name="TelephoneUniversalCommunication" type="ram:UniversalCommunicationType" minOccurs="0"
<xs:element name="BasisPeriodMeasure" type="udt:MeasureType" minOccurs="0"/> maxOccurs="unbounded"/>
<xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="FaxUniversalCommunication" type="ram:UniversalCommunicationType" minOccurs="0"
<xs:element name="CalculationPercent" type="udt:PercentType" minOccurs="0"/> maxOccurs="unbounded"/>
<xs:element name="ActualDiscountAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="EmailURIUniversalCommunication" type="ram:UniversalCommunicationType" minOccurs="0"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="TradePaymentPenaltyTermsType"> <xs:complexType name="TradeCountryType">
<xs:sequence> <xs:sequence>
<xs:element name="BasisDateTime" type="udt:DateTimeType" minOccurs="0"/> <xs:element name="ID" type="qdt:CountryIDType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="BasisPeriodMeasure" type="udt:MeasureType" minOccurs="0"/> </xs:sequence>
<xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="CalculationPercent" type="udt:PercentType" minOccurs="0"/> <xs:complexType name="TradeDeliveryTermsType">
<xs:element name="ActualPenaltyAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
</xs:sequence> <xs:element name="DeliveryTypeCode" type="qdt:DeliveryTermsCodeType" minOccurs="0"/>
</xs:complexType> </xs:sequence>
<xs:complexType name="TradePaymentTermsType"> </xs:complexType>
<xs:sequence> <xs:complexType name="TradePartyType">
<xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="DueDateDateTime" type="udt:DateTimeType" minOccurs="0"/> <xs:element name="ID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PartialPaymentAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="GlobalID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ApplicableTradePaymentPenaltyTerms" type="ram:TradePaymentPenaltyTermsType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="Name" type="udt:TextType" minOccurs="0"/>
<xs:element name="ApplicableTradePaymentDiscountTerms" type="ram:TradePaymentDiscountTermsType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="DefinedTradeContact" type="ram:TradeContactType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence> <xs:element name="PostalTradeAddress" type="ram:TradeAddressType" minOccurs="0"/>
</xs:complexType> <xs:element name="SpecifiedTaxRegistration" type="ram:TaxRegistrationType" minOccurs="0"
<xs:complexType name="TradePriceType"> maxOccurs="unbounded"/>
<xs:sequence> </xs:sequence>
<xs:element name="ChargeAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> </xs:complexType>
<xs:element name="BasisQuantity" type="udt:QuantityType" minOccurs="0"/> <xs:complexType name="TradePaymentDiscountTermsType">
<xs:element name="AppliedTradeAllowanceCharge" type="ram:TradeAllowanceChargeType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
</xs:sequence> <xs:element name="BasisDateTime" type="udt:DateTimeType" minOccurs="0"/>
</xs:complexType> <xs:element name="BasisPeriodMeasure" type="udt:MeasureType" minOccurs="0"/>
<xs:complexType name="TradeProductType"> <xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:sequence> <xs:element name="CalculationPercent" type="udt:PercentType" minOccurs="0"/>
<xs:element name="GlobalID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ActualDiscountAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="SellerAssignedID" type="udt:IDType" minOccurs="0"/> </xs:sequence>
<xs:element name="BuyerAssignedID" type="udt:IDType" minOccurs="0"/> </xs:complexType>
<xs:element name="Name" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:complexType name="TradePaymentPenaltyTermsType">
<xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="ApplicableProductCharacteristic" type="ram:ProductCharacteristicType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="BasisDateTime" type="udt:DateTimeType" minOccurs="0"/>
<xs:element name="DesignatedProductClassification" type="ram:ProductClassificationType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="BasisPeriodMeasure" type="udt:MeasureType" minOccurs="0"/>
<xs:element name="OriginTradeCountry" type="ram:TradeCountryType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="IncludedReferencedProduct" type="ram:ReferencedProductType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="CalculationPercent" type="udt:PercentType" minOccurs="0"/>
</xs:sequence> <xs:element name="ActualPenaltyAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType> </xs:sequence>
<xs:complexType name="TradeSettlementMonetarySummationType"> </xs:complexType>
<xs:sequence> <xs:complexType name="TradePaymentTermsType">
<xs:element name="LineTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence>
<xs:element name="ChargeTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AllowanceTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="DueDateDateTime" type="udt:DateTimeType" minOccurs="0"/>
<xs:element name="TaxBasisTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="PartialPaymentAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TaxTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ApplicableTradePaymentPenaltyTerms" type="ram:TradePaymentPenaltyTermsType" minOccurs="0"
<xs:element name="GrandTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> maxOccurs="unbounded"/>
<xs:element name="TotalPrepaidAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ApplicableTradePaymentDiscountTerms" type="ram:TradePaymentDiscountTermsType"
<xs:element name="TotalAllowanceChargeAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DuePayableAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
</xs:sequence> </xs:complexType>
</xs:complexType> <xs:complexType name="TradePriceType">
<xs:complexType name="TradeSettlementPaymentMeansType"> <xs:sequence>
<xs:sequence> <xs:element name="ChargeAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TypeCode" type="qdt:PaymentMeansCodeType" minOccurs="0"/> <xs:element name="BasisQuantity" type="udt:QuantityType" minOccurs="0"/>
<xs:element name="Information" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="AppliedTradeAllowanceCharge" type="ram:TradeAllowanceChargeType" minOccurs="0"
<xs:element name="ID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/> maxOccurs="unbounded"/>
<xs:element name="PayerPartyDebtorFinancialAccount" type="ram:DebtorFinancialAccountType" minOccurs="0"/> </xs:sequence>
<xs:element name="PayeePartyCreditorFinancialAccount" type="ram:CreditorFinancialAccountType" minOccurs="0"/> </xs:complexType>
<xs:element name="PayerSpecifiedDebtorFinancialInstitution" type="ram:DebtorFinancialInstitutionType" minOccurs="0"/> <xs:complexType name="TradeProductType">
<xs:element name="PayeeSpecifiedCreditorFinancialInstitution" type="ram:CreditorFinancialInstitutionType" minOccurs="0"/> <xs:sequence>
</xs:sequence> <xs:element name="GlobalID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType> <xs:element name="SellerAssignedID" type="udt:IDType" minOccurs="0"/>
<xs:complexType name="TradeTaxType"> <xs:element name="BuyerAssignedID" type="udt:IDType" minOccurs="0"/>
<xs:sequence> <xs:element name="Name" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CalculatedAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="Description" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TypeCode" type="qdt:TaxTypeCodeType" minOccurs="0"/> <xs:element name="ApplicableProductCharacteristic" type="ram:ProductCharacteristicType" minOccurs="0"
<xs:element name="ExemptionReason" type="udt:TextType" minOccurs="0"/> maxOccurs="unbounded"/>
<xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="DesignatedProductClassification" type="ram:ProductClassificationType" minOccurs="0"
<xs:element name="LineTotalBasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> maxOccurs="unbounded"/>
<xs:element name="AllowanceChargeBasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="OriginTradeCountry" type="ram:TradeCountryType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CategoryCode" type="qdt:TaxCategoryCodeType" minOccurs="0"/> <xs:element name="IncludedReferencedProduct" type="ram:ReferencedProductType" minOccurs="0"
<xs:element name="ApplicablePercent" type="udt:PercentType" minOccurs="0"/> maxOccurs="unbounded"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="UniversalCommunicationType"> <xs:complexType name="TradeSettlementMonetarySummationType">
<xs:sequence> <xs:sequence>
<xs:element name="URIID" type="udt:IDType" minOccurs="0"/> <xs:element name="LineTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CompleteNumber" type="udt:TextType" minOccurs="0"/> <xs:element name="ChargeTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence> <xs:element name="AllowanceTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
</xs:complexType> <xs:element name="TaxBasisTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TaxTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="GrandTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TotalPrepaidAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TotalAllowanceChargeAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DuePayableAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TradeSettlementPaymentMeansType">
<xs:sequence>
<xs:element name="TypeCode" type="qdt:PaymentMeansCodeType" minOccurs="0"/>
<xs:element name="Information" type="udt:TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ID" type="udt:IDType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PayerPartyDebtorFinancialAccount" type="ram:DebtorFinancialAccountType" minOccurs="0"/>
<xs:element name="PayeePartyCreditorFinancialAccount" type="ram:CreditorFinancialAccountType"
minOccurs="0"/>
<xs:element name="PayerSpecifiedDebtorFinancialInstitution" type="ram:DebtorFinancialInstitutionType"
minOccurs="0"/>
<xs:element name="PayeeSpecifiedCreditorFinancialInstitution" type="ram:CreditorFinancialInstitutionType"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TradeTaxType">
<xs:sequence>
<xs:element name="CalculatedAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TypeCode" type="qdt:TaxTypeCodeType" minOccurs="0"/>
<xs:element name="ExemptionReason" type="udt:TextType" minOccurs="0"/>
<xs:element name="BasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="LineTotalBasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AllowanceChargeBasisAmount" type="udt:AmountType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CategoryCode" type="qdt:TaxCategoryCodeType" minOccurs="0"/>
<xs:element name="ApplicablePercent" type="udt:PercentType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="UniversalCommunicationType">
<xs:sequence>
<xs:element name="URIID" type="udt:IDType" minOccurs="0"/>
<xs:element name="CompleteNumber" type="udt:TextType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema> </xs:schema>

View File

@@ -1,95 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" <xs:schema xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" targetNamespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
elementFormDefault="qualified" elementFormDefault="qualified"
version="15.0"> version="15.0">
<xs:complexType name="AmountType"> <xs:complexType name="AmountType">
<xs:simpleContent> <xs:simpleContent>
<xs:extension base="xs:decimal"> <xs:extension base="xs:decimal">
<xs:attribute name="currencyID" type="udt:AmountTypeCurrencyIDContentType"/> <xs:attribute name="currencyID" type="udt:AmountTypeCurrencyIDContentType"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="AmountTypeCurrencyIDContentType">
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:complexType name="CodeType">
<xs:simpleContent>
<xs:extension base="xs:token">
<xs:attribute name="listID" type="xs:token"/>
<xs:attribute name="listVersionID" type="xs:token"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="DateTimeType">
<xs:choice>
<xs:element name="DateTimeString">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="format" type="xs:string"/>
</xs:extension> </xs:extension>
</xs:simpleContent> </xs:simpleContent>
</xs:complexType> </xs:complexType>
</xs:element> <xs:simpleType name="AmountTypeCurrencyIDContentType">
</xs:choice> <xs:restriction base="xs:token"/>
</xs:complexType> </xs:simpleType>
<xs:complexType name="IDType"> <xs:complexType name="CodeType">
<xs:simpleContent> <xs:simpleContent>
<xs:extension base="xs:token"> <xs:extension base="xs:token">
<xs:attribute name="schemeID" type="xs:token"/> <xs:attribute name="listID" type="xs:token"/>
<xs:attribute name="schemeAgencyID" type="udt:IDTypeSchemeAgencyIDContentType"/> <xs:attribute name="listVersionID" type="xs:token"/>
</xs:extension> </xs:extension>
</xs:simpleContent> </xs:simpleContent>
</xs:complexType> </xs:complexType>
<xs:simpleType name="IDTypeSchemeAgencyIDContentType"> <xs:complexType name="DateTimeType">
<xs:restriction base="xs:token"/> <xs:choice>
</xs:simpleType> <xs:element name="DateTimeString">
<xs:complexType name="IndicatorType"> <xs:complexType>
<xs:choice> <xs:simpleContent>
<xs:element name="Indicator" type="xs:boolean"/> <xs:extension base="xs:string">
</xs:choice> <xs:attribute name="format" type="xs:string"/>
</xs:complexType> </xs:extension>
<xs:complexType name="MeasureType"> </xs:simpleContent>
<xs:simpleContent> </xs:complexType>
<xs:extension base="xs:decimal"> </xs:element>
<xs:attribute name="unitCode" type="udt:MeasureTypeUnitCodeContentType"/> </xs:choice>
</xs:extension> </xs:complexType>
</xs:simpleContent> <xs:complexType name="IDType">
</xs:complexType> <xs:simpleContent>
<xs:simpleType name="MeasureTypeUnitCodeContentType"> <xs:extension base="xs:token">
<xs:restriction base="xs:token"> <xs:attribute name="schemeID" type="xs:token"/>
<xs:minLength value="1"/> <xs:attribute name="schemeAgencyID" type="udt:IDTypeSchemeAgencyIDContentType"/>
<xs:maxLength value="3"/> </xs:extension>
</xs:restriction> </xs:simpleContent>
</xs:simpleType> </xs:complexType>
<xs:complexType name="NumericType"> <xs:simpleType name="IDTypeSchemeAgencyIDContentType">
<xs:simpleContent> <xs:restriction base="xs:token"/>
<xs:extension base="xs:decimal"/> </xs:simpleType>
</xs:simpleContent> <xs:complexType name="IndicatorType">
</xs:complexType> <xs:choice>
<xs:complexType name="PercentType"> <xs:element name="Indicator" type="xs:boolean"/>
<xs:simpleContent> </xs:choice>
<xs:extension base="xs:decimal"/> </xs:complexType>
</xs:simpleContent> <xs:complexType name="MeasureType">
</xs:complexType> <xs:simpleContent>
<xs:complexType name="QuantityType"> <xs:extension base="xs:decimal">
<xs:simpleContent> <xs:attribute name="unitCode" type="udt:MeasureTypeUnitCodeContentType"/>
<xs:extension base="xs:decimal"> </xs:extension>
<xs:attribute name="unitCode" type="udt:QuantityTypeUnitCodeContentType"/> </xs:simpleContent>
</xs:extension> </xs:complexType>
</xs:simpleContent> <xs:simpleType name="MeasureTypeUnitCodeContentType">
</xs:complexType> <xs:restriction base="xs:token">
<xs:simpleType name="QuantityTypeUnitCodeContentType"> <xs:minLength value="1"/>
<xs:restriction base="xs:token"> <xs:maxLength value="3"/>
<xs:minLength value="1"/> </xs:restriction>
<xs:maxLength value="3"/> </xs:simpleType>
</xs:restriction> <xs:complexType name="NumericType">
</xs:simpleType> <xs:simpleContent>
<xs:complexType name="TextType"> <xs:extension base="xs:decimal"/>
<xs:simpleContent> </xs:simpleContent>
<xs:extension base="xs:string"/> </xs:complexType>
</xs:simpleContent> <xs:complexType name="PercentType">
</xs:complexType> <xs:simpleContent>
<xs:extension base="xs:decimal"/>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="QuantityType">
<xs:simpleContent>
<xs:extension base="xs:decimal">
<xs:attribute name="unitCode" type="udt:QuantityTypeUnitCodeContentType"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="QuantityTypeUnitCodeContentType">
<xs:restriction base="xs:token">
<xs:minLength value="1"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="TextType">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
</xs:schema> </xs:schema>

View File

@@ -15,7 +15,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<rsm:CrossIndustryDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" xmlns:rsm="urn:ferd:CrossIndustryDocument:invoice:1p0"> <rsm:CrossIndustryDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
xmlns:rsm="urn:ferd:CrossIndustryDocument:invoice:1p0">
<rsm:SpecifiedExchangedDocumentContext> <rsm:SpecifiedExchangedDocumentContext>
<ram:TestIndicator> <ram:TestIndicator>
<udt:Indicator>false</udt:Indicator> <udt:Indicator>false</udt:Indicator>

View File

@@ -15,7 +15,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<rsm:CrossIndustryDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" xmlns:rsm="urn:ferd:CrossIndustryDocument:invoice:1p0"> <rsm:CrossIndustryDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15"
xmlns:rsm="urn:ferd:CrossIndustryDocument:invoice:1p0">
<rsm:SpecifiedExchangedDocumentContext> <rsm:SpecifiedExchangedDocumentContext>
<ram:TestIndicator> <ram:TestIndicator>
<udt:Indicator>false</udt:Indicator> <udt:Indicator>false</udt:Indicator>