Skip to content

Commit

Permalink
Merge pull request #6 from Skulli/feature_zugferd_2_3_2
Browse files Browse the repository at this point in the history
zugferd 2.3.2
  • Loading branch information
Skulli authored Nov 15, 2024
2 parents 0d37da7 + 6a892f1 commit 378331c
Show file tree
Hide file tree
Showing 19 changed files with 18,540 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/secretariat/validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ module Secretariat
class Validator
SCHEMATRON = [
"../../schemas/zugferd_1/ZUGFeRD1p0.sch",
"../../schemas/zugferd_2/Factur-X_1.0.07_EN16931.sch"
"../../schemas/zugferd_2/Factur-X_1.07.2_EN16931.sch"
]

SCHEMA = [
"../../schemas/zugferd_1/ZUGFeRD1p0.xsd",
"../../schemas/zugferd_2/Factur-X_1.0.07_EN16931.xsd"
"../../schemas/zugferd_2/Factur-X_1.07.2_EN16931.xsd"
]

SCHEMA_DIR = [
Expand Down
2,909 changes: 2,909 additions & 0 deletions schemas/zugferd_2/Factur-X_1.07.2_EN16931.sch

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions schemas/zugferd_2/Factur-X_1.07.2_EN16931.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
targetNamespace="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
elementFormDefault="qualified">
<xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" schemaLocation="Factur-X_1.07.2_EN16931_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd"/>
<xs:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" schemaLocation="Factur-X_1.07.2_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd"/>
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100" schemaLocation="Factur-X_1.07.2_EN16931_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd"/>
<xs:element name="CrossIndustryInvoice" type="rsm:CrossIndustryInvoiceType"/>
<xs:complexType name="CrossIndustryInvoiceType">
<xs:sequence>
<xs:element name="ExchangedDocumentContext" type="ram:ExchangedDocumentContextType"/>
<xs:element name="ExchangedDocument" type="ram:ExchangedDocumentType"/>
<xs:element name="SupplyChainTradeTransaction" type="ram:SupplyChainTradeTransactionType"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Loading

0 comments on commit 378331c

Please sign in to comment.