@stackforge-eu/factur-x 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/LICENSE +287 -0
- package/README.md +264 -0
- package/dist/index.cjs +1320 -0
- package/dist/index.d.cts +1336 -0
- package/dist/index.d.ts +1336 -0
- package/dist/index.js +1285 -0
- package/package.json +81 -0
- package/schema/README.md +39 -0
- package/schema/basic/FACTUR-X_BASIC.xsd +20 -0
- package/schema/basic/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +86 -0
- package/schema/basic/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +249 -0
- package/schema/basic/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +60 -0
- package/schema/basic-wl/FACTUR-X_BASIC-WL.xsd +20 -0
- package/schema/basic-wl/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +86 -0
- package/schema/basic-wl/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +196 -0
- package/schema/basic-wl/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +53 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B.xsd +25 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_EDIFICAS-EU_AccountingAccountType_D11A.xsd +18 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_EDIFICAS-EU_AccountingAmountType_D11A.xsd +17 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd +191 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_ActionCode_D22A.xsd +130 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_AddressType_D22A.xsd +19 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_AdjustmentReasonDescriptionCode_D22A.xsd +116 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_AllowanceChargeIdentificationCode_D22A.xsd +116 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_AllowanceChargeReasonCode_D22A.xsd +116 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_AutomaticDataCaptureMethodCode_D22A.xsd +21 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_CargoOperationalCategoryCode_D22A.xsd +36 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_CargoTypeCode_1996Rev2Final.xsd +20 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_CommodityIdentificationCode_D22A.xsd +12 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_CommunicationMeansTypeCode_D22A.xsd +58 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_ContactFunctionCode_D22A.xsd +114 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DangerousGoodsPackingCode_D22A.xsd +15 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DangerousGoodsRegulationCode_D22A.xsd +35 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DateOnlyFormatCode_D21B.xsd +21 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DeliveryTermsCode_2020.xsd +24 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DeliveryTermsFunctionCode_D22A.xsd +19 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DimensionTypeCode_D22A.xsd +35 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DocumentNameCode_Accounting_D22A.xsd +35 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DocumentNameCode_D22A.xsd +819 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DocumentStatusCode_D22A.xsd +61 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DutyTaxFeeTypeCode_D22A.xsd +67 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_DutyorTaxorFeeCategoryCode_D22A.xsd +33 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_EventTimeReferenceCodePaymentTermsEvent_D22A.xsd +16 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_EventTimeReferenceCode_D22A.xsd +76 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_FreightChargeQuantityUnitBasisCode_D22A.xsd +12 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_FreightChargeTariffCode_D22A.xsd +25 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_GoodsTypeCode_D22A.xsd +12 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_GoodsTypeExtensionCode_D22A.xsd +12 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_LocationFunctionCode_D22A.xsd +326 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_MeasurementUnitCommonCodeLinear_4.xsd +17 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_MeasurementUnitCommonCodeVolume_4.xsd +18 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_MeasurementUnitCommonCodeWeight_4.xsd +15 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_MessageFunctionCode_D22A.xsd +84 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PackageTypeCode_2006.xsd +416 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PackagingMarkingCode_D22A.xsd +63 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PartyRoleCode_ChargePaying_D22A.xsd +32 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PartyRoleCode_D22A.xsd +635 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PaymentGuaranteeMeansCode_D22A.xsd +23 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PaymentMeansChannelCode_D22A.xsd +27 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PaymentMeansCode_D22A.xsd +94 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PaymentTermsTypeCode_D22A.xsd +90 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_PriceTypeCode_D22A.xsd +50 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_ReferenceTypeCode_D22A.xsd +828 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_SealConditionCode_D22A.xsd +16 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_SealingPartyRoleCode_D22A.xsd +18 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_StatusCode_D22A.xsd +527 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_StatusDescriptionCode_AccountingDebitCredit_D22A.xsd +18 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TimeOnlyFormatCode_D21B.xsd +16 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TimePointFormatCode_D21B.xsd +17 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TransportEquipmentCategoryCode_D22A.xsd +107 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TransportEquipmentFullnessCode_D22A.xsd +24 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TransportMeansTypeCode_2007.xsd +145 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TransportModeCode_2.xsd +21 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TransportMovementStageCode_D22A.xsd +41 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_codelist_standard_UNECE_TransportPaymentArrangementCode_D22A.xsd +15 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +818 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +6176 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +144 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_identifierlist_standard_ISO_ISOTwo-letterCountryCode_SecondEdition2006.xsd +260 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_identifierlist_standard_UNECE_FreightCostCode_4.xsd +1722 -0
- package/schema/cii-d22b/CrossIndustryInvoice_100pD22B_urn_un_unece_uncefact_identifierlist_standard_UNECE_PaymentTermsDescriptionIdentifier_D22A.xsd +18 -0
- package/schema/en16931/FACTUR-X_EN16931.xsd +20 -0
- package/schema/en16931/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +94 -0
- package/schema/en16931/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +318 -0
- package/schema/en16931/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +84 -0
- package/schema/extended/FACTUR-X_EXTENDED.xsd +20 -0
- package/schema/extended/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +142 -0
- package/schema/extended/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +475 -0
- package/schema/extended/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +101 -0
- package/schema/minimum/FACTUR-X_MINIMUM.xsd +20 -0
- package/schema/minimum/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +30 -0
- package/schema/minimum/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +86 -0
- package/schema/minimum/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +38 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
targetNamespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
|
|
5
|
+
elementFormDefault="qualified">
|
|
6
|
+
<xs:complexType name="AmountType">
|
|
7
|
+
<xs:simpleContent>
|
|
8
|
+
<xs:extension base="xs:decimal">
|
|
9
|
+
<xs:attribute name="currencyID" type="xs:token"/>
|
|
10
|
+
</xs:extension>
|
|
11
|
+
</xs:simpleContent>
|
|
12
|
+
</xs:complexType>
|
|
13
|
+
<xs:complexType name="BinaryObjectType">
|
|
14
|
+
<xs:simpleContent>
|
|
15
|
+
<xs:extension base="xs:base64Binary">
|
|
16
|
+
<xs:attribute name="mimeCode" type="xs:token" use="required"/>
|
|
17
|
+
<xs:attribute name="filename" type="xs:string" use="required"/>
|
|
18
|
+
</xs:extension>
|
|
19
|
+
</xs:simpleContent>
|
|
20
|
+
</xs:complexType>
|
|
21
|
+
<xs:complexType name="CodeType">
|
|
22
|
+
<xs:simpleContent>
|
|
23
|
+
<xs:extension base="xs:token">
|
|
24
|
+
<xs:attribute name="listID" type="xs:token" use="optional"/>
|
|
25
|
+
<xs:attribute name="listVersionID" type="xs:token"/>
|
|
26
|
+
</xs:extension>
|
|
27
|
+
</xs:simpleContent>
|
|
28
|
+
</xs:complexType>
|
|
29
|
+
<xs:complexType name="DateTimeType">
|
|
30
|
+
<xs:choice>
|
|
31
|
+
<xs:element name="DateTimeString">
|
|
32
|
+
<xs:complexType>
|
|
33
|
+
<xs:simpleContent>
|
|
34
|
+
<xs:extension base="xs:string">
|
|
35
|
+
<xs:attribute name="format" type="xs:string" use="required"/>
|
|
36
|
+
</xs:extension>
|
|
37
|
+
</xs:simpleContent>
|
|
38
|
+
</xs:complexType>
|
|
39
|
+
</xs:element>
|
|
40
|
+
</xs:choice>
|
|
41
|
+
</xs:complexType>
|
|
42
|
+
<xs:complexType name="DateType">
|
|
43
|
+
<xs:choice>
|
|
44
|
+
<xs:element name="DateString">
|
|
45
|
+
<xs:complexType>
|
|
46
|
+
<xs:simpleContent>
|
|
47
|
+
<xs:extension base="xs:string">
|
|
48
|
+
<xs:attribute name="format" type="xs:string" use="required"/>
|
|
49
|
+
</xs:extension>
|
|
50
|
+
</xs:simpleContent>
|
|
51
|
+
</xs:complexType>
|
|
52
|
+
</xs:element>
|
|
53
|
+
</xs:choice>
|
|
54
|
+
</xs:complexType>
|
|
55
|
+
<xs:complexType name="IDType">
|
|
56
|
+
<xs:simpleContent>
|
|
57
|
+
<xs:extension base="xs:token">
|
|
58
|
+
<xs:attribute name="schemeID" type="xs:token"/>
|
|
59
|
+
</xs:extension>
|
|
60
|
+
</xs:simpleContent>
|
|
61
|
+
</xs:complexType>
|
|
62
|
+
<xs:complexType name="IndicatorType">
|
|
63
|
+
<xs:choice>
|
|
64
|
+
<xs:element name="Indicator" type="xs:boolean"/>
|
|
65
|
+
</xs:choice>
|
|
66
|
+
</xs:complexType>
|
|
67
|
+
<xs:complexType name="MeasureType">
|
|
68
|
+
<xs:simpleContent>
|
|
69
|
+
<xs:extension base="xs:decimal">
|
|
70
|
+
<xs:attribute name="unitCode" type="xs:token"/>
|
|
71
|
+
</xs:extension>
|
|
72
|
+
</xs:simpleContent>
|
|
73
|
+
</xs:complexType>
|
|
74
|
+
<xs:complexType name="NumericType">
|
|
75
|
+
<xs:simpleContent>
|
|
76
|
+
<xs:extension base="xs:decimal"/>
|
|
77
|
+
</xs:simpleContent>
|
|
78
|
+
</xs:complexType>
|
|
79
|
+
<xs:complexType name="PercentType">
|
|
80
|
+
<xs:simpleContent>
|
|
81
|
+
<xs:extension base="xs:decimal"/>
|
|
82
|
+
</xs:simpleContent>
|
|
83
|
+
</xs:complexType>
|
|
84
|
+
<xs:complexType name="QuantityType">
|
|
85
|
+
<xs:simpleContent>
|
|
86
|
+
<xs:extension base="xs:decimal">
|
|
87
|
+
<xs:attribute name="unitCode" type="xs:token"/>
|
|
88
|
+
</xs:extension>
|
|
89
|
+
</xs:simpleContent>
|
|
90
|
+
</xs:complexType>
|
|
91
|
+
<xs:complexType name="RateType">
|
|
92
|
+
<xs:simpleContent>
|
|
93
|
+
<xs:extension base="xs:decimal"/>
|
|
94
|
+
</xs:simpleContent>
|
|
95
|
+
</xs:complexType>
|
|
96
|
+
<xs:complexType name="TextType">
|
|
97
|
+
<xs:simpleContent>
|
|
98
|
+
<xs:extension base="xs:string"/>
|
|
99
|
+
</xs:simpleContent>
|
|
100
|
+
</xs:complexType>
|
|
101
|
+
</xs:schema>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"
|
|
5
|
+
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
|
|
6
|
+
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
|
|
7
|
+
targetNamespace="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
|
|
8
|
+
elementFormDefault="qualified">
|
|
9
|
+
<xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" schemaLocation="FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd"/>
|
|
10
|
+
<xs:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" schemaLocation="FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd"/>
|
|
11
|
+
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100" schemaLocation="FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd"/>
|
|
12
|
+
<xs:element name="CrossIndustryInvoice" type="rsm:CrossIndustryInvoiceType"/>
|
|
13
|
+
<xs:complexType name="CrossIndustryInvoiceType">
|
|
14
|
+
<xs:sequence>
|
|
15
|
+
<xs:element name="ExchangedDocumentContext" type="ram:ExchangedDocumentContextType"/>
|
|
16
|
+
<xs:element name="ExchangedDocument" type="ram:ExchangedDocumentType"/>
|
|
17
|
+
<xs:element name="SupplyChainTradeTransaction" type="ram:SupplyChainTradeTransactionType"/>
|
|
18
|
+
</xs:sequence>
|
|
19
|
+
</xs:complexType>
|
|
20
|
+
</xs:schema>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
targetNamespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"
|
|
5
|
+
elementFormDefault="qualified">
|
|
6
|
+
<xs:simpleType name="CountryIDContentType">
|
|
7
|
+
<xs:restriction base="xs:token"/>
|
|
8
|
+
</xs:simpleType>
|
|
9
|
+
<xs:complexType name="CountryIDType">
|
|
10
|
+
<xs:simpleContent>
|
|
11
|
+
<xs:extension base="qdt:CountryIDContentType"/>
|
|
12
|
+
</xs:simpleContent>
|
|
13
|
+
</xs:complexType>
|
|
14
|
+
<xs:simpleType name="CurrencyCodeContentType">
|
|
15
|
+
<xs:restriction base="xs:token"/>
|
|
16
|
+
</xs:simpleType>
|
|
17
|
+
<xs:complexType name="CurrencyCodeType">
|
|
18
|
+
<xs:simpleContent>
|
|
19
|
+
<xs:extension base="qdt:CurrencyCodeContentType"/>
|
|
20
|
+
</xs:simpleContent>
|
|
21
|
+
</xs:complexType>
|
|
22
|
+
<xs:simpleType name="DocumentCodeContentType">
|
|
23
|
+
<xs:restriction base="xs:token"/>
|
|
24
|
+
</xs:simpleType>
|
|
25
|
+
<xs:complexType name="DocumentCodeType">
|
|
26
|
+
<xs:simpleContent>
|
|
27
|
+
<xs:extension base="qdt:DocumentCodeContentType"/>
|
|
28
|
+
</xs:simpleContent>
|
|
29
|
+
</xs:complexType>
|
|
30
|
+
</xs:schema>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"
|
|
5
|
+
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
|
|
6
|
+
targetNamespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
|
|
7
|
+
elementFormDefault="qualified">
|
|
8
|
+
<xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" schemaLocation="FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd"/>
|
|
9
|
+
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100" schemaLocation="FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd"/>
|
|
10
|
+
<xs:complexType name="DocumentContextParameterType">
|
|
11
|
+
<xs:sequence>
|
|
12
|
+
<xs:element name="ID" type="udt:IDType"/>
|
|
13
|
+
</xs:sequence>
|
|
14
|
+
</xs:complexType>
|
|
15
|
+
<xs:complexType name="ExchangedDocumentContextType">
|
|
16
|
+
<xs:sequence>
|
|
17
|
+
<xs:element name="BusinessProcessSpecifiedDocumentContextParameter" type="ram:DocumentContextParameterType" minOccurs="0"/>
|
|
18
|
+
<xs:element name="GuidelineSpecifiedDocumentContextParameter" type="ram:DocumentContextParameterType"/>
|
|
19
|
+
</xs:sequence>
|
|
20
|
+
</xs:complexType>
|
|
21
|
+
<xs:complexType name="ExchangedDocumentType">
|
|
22
|
+
<xs:sequence>
|
|
23
|
+
<xs:element name="ID" type="udt:IDType"/>
|
|
24
|
+
<xs:element name="TypeCode" type="qdt:DocumentCodeType"/>
|
|
25
|
+
<xs:element name="IssueDateTime" type="udt:DateTimeType"/>
|
|
26
|
+
</xs:sequence>
|
|
27
|
+
</xs:complexType>
|
|
28
|
+
<xs:complexType name="HeaderTradeAgreementType">
|
|
29
|
+
<xs:sequence>
|
|
30
|
+
<xs:element name="BuyerReference" type="udt:TextType" minOccurs="0"/>
|
|
31
|
+
<xs:element name="SellerTradeParty" type="ram:TradePartyType"/>
|
|
32
|
+
<xs:element name="BuyerTradeParty" type="ram:TradePartyType"/>
|
|
33
|
+
<xs:element name="BuyerOrderReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0"/>
|
|
34
|
+
</xs:sequence>
|
|
35
|
+
</xs:complexType>
|
|
36
|
+
<xs:complexType name="HeaderTradeDeliveryType"/>
|
|
37
|
+
<xs:complexType name="HeaderTradeSettlementType">
|
|
38
|
+
<xs:sequence>
|
|
39
|
+
<xs:element name="InvoiceCurrencyCode" type="qdt:CurrencyCodeType"/>
|
|
40
|
+
<xs:element name="SpecifiedTradeSettlementHeaderMonetarySummation" type="ram:TradeSettlementHeaderMonetarySummationType"/>
|
|
41
|
+
</xs:sequence>
|
|
42
|
+
</xs:complexType>
|
|
43
|
+
<xs:complexType name="LegalOrganizationType">
|
|
44
|
+
<xs:sequence>
|
|
45
|
+
<xs:element name="ID" type="udt:IDType" minOccurs="0"/>
|
|
46
|
+
</xs:sequence>
|
|
47
|
+
</xs:complexType>
|
|
48
|
+
<xs:complexType name="ReferencedDocumentType">
|
|
49
|
+
<xs:sequence>
|
|
50
|
+
<xs:element name="IssuerAssignedID" type="udt:IDType"/>
|
|
51
|
+
</xs:sequence>
|
|
52
|
+
</xs:complexType>
|
|
53
|
+
<xs:complexType name="SupplyChainTradeTransactionType">
|
|
54
|
+
<xs:sequence>
|
|
55
|
+
<xs:element name="ApplicableHeaderTradeAgreement" type="ram:HeaderTradeAgreementType"/>
|
|
56
|
+
<xs:element name="ApplicableHeaderTradeDelivery" type="ram:HeaderTradeDeliveryType"/>
|
|
57
|
+
<xs:element name="ApplicableHeaderTradeSettlement" type="ram:HeaderTradeSettlementType"/>
|
|
58
|
+
</xs:sequence>
|
|
59
|
+
</xs:complexType>
|
|
60
|
+
<xs:complexType name="TaxRegistrationType">
|
|
61
|
+
<xs:sequence>
|
|
62
|
+
<xs:element name="ID" type="udt:IDType"/>
|
|
63
|
+
</xs:sequence>
|
|
64
|
+
</xs:complexType>
|
|
65
|
+
<xs:complexType name="TradeAddressType">
|
|
66
|
+
<xs:sequence>
|
|
67
|
+
<xs:element name="CountryID" type="qdt:CountryIDType"/>
|
|
68
|
+
</xs:sequence>
|
|
69
|
+
</xs:complexType>
|
|
70
|
+
<xs:complexType name="TradePartyType">
|
|
71
|
+
<xs:sequence>
|
|
72
|
+
<xs:element name="Name" type="udt:TextType"/>
|
|
73
|
+
<xs:element name="SpecifiedLegalOrganization" type="ram:LegalOrganizationType" minOccurs="0"/>
|
|
74
|
+
<xs:element name="PostalTradeAddress" type="ram:TradeAddressType" minOccurs="0"/>
|
|
75
|
+
<xs:element name="SpecifiedTaxRegistration" type="ram:TaxRegistrationType" minOccurs="0" maxOccurs="2"/>
|
|
76
|
+
</xs:sequence>
|
|
77
|
+
</xs:complexType>
|
|
78
|
+
<xs:complexType name="TradeSettlementHeaderMonetarySummationType">
|
|
79
|
+
<xs:sequence>
|
|
80
|
+
<xs:element name="TaxBasisTotalAmount" type="udt:AmountType"/>
|
|
81
|
+
<xs:element name="TaxTotalAmount" type="udt:AmountType" minOccurs="0" maxOccurs="2"/>
|
|
82
|
+
<xs:element name="GrandTotalAmount" type="udt:AmountType"/>
|
|
83
|
+
<xs:element name="DuePayableAmount" type="udt:AmountType"/>
|
|
84
|
+
</xs:sequence>
|
|
85
|
+
</xs:complexType>
|
|
86
|
+
</xs:schema>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
targetNamespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
|
|
5
|
+
elementFormDefault="qualified">
|
|
6
|
+
<xs:complexType name="AmountType">
|
|
7
|
+
<xs:simpleContent>
|
|
8
|
+
<xs:extension base="xs:decimal">
|
|
9
|
+
<xs:attribute name="currencyID" type="xs:token"/>
|
|
10
|
+
</xs:extension>
|
|
11
|
+
</xs:simpleContent>
|
|
12
|
+
</xs:complexType>
|
|
13
|
+
<xs:complexType name="DateTimeType">
|
|
14
|
+
<xs:choice>
|
|
15
|
+
<xs:element name="DateTimeString">
|
|
16
|
+
<xs:complexType>
|
|
17
|
+
<xs:simpleContent>
|
|
18
|
+
<xs:extension base="xs:string">
|
|
19
|
+
<xs:attribute name="format" type="xs:string" use="required"/>
|
|
20
|
+
</xs:extension>
|
|
21
|
+
</xs:simpleContent>
|
|
22
|
+
</xs:complexType>
|
|
23
|
+
</xs:element>
|
|
24
|
+
</xs:choice>
|
|
25
|
+
</xs:complexType>
|
|
26
|
+
<xs:complexType name="IDType">
|
|
27
|
+
<xs:simpleContent>
|
|
28
|
+
<xs:extension base="xs:token">
|
|
29
|
+
<xs:attribute name="schemeID" type="xs:token"/>
|
|
30
|
+
</xs:extension>
|
|
31
|
+
</xs:simpleContent>
|
|
32
|
+
</xs:complexType>
|
|
33
|
+
<xs:complexType name="TextType">
|
|
34
|
+
<xs:simpleContent>
|
|
35
|
+
<xs:extension base="xs:string"/>
|
|
36
|
+
</xs:simpleContent>
|
|
37
|
+
</xs:complexType>
|
|
38
|
+
</xs:schema>
|