Skip to content

Commit 4e061c2

Browse files
fix
1 parent 15cc00c commit 4e061c2

File tree

2 files changed

+69
-19
lines changed

2 files changed

+69
-19
lines changed

rules/examples/T035/UseCase_1.xml

Lines changed: 52 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,46 @@
66
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2">
77
<cbc:CustomizationID>urn:fdc:peppol.eu:prac:trns:t035:1</cbc:CustomizationID>
88
<cbc:ProfileID>urn:fdc:peppol.eu:prac:bis:p035</cbc:ProfileID>
9+
910
<cbc:ID>99fdd451-87ba-589b-23fc-5173a0192583</cbc:ID>
1011
<cbc:IssueDate>2023-02-28</cbc:IssueDate>
1112
<cbc:IssueTime>23:00:00.000Z</cbc:IssueTime>
13+
14+
<cac:ValidityPeriod>
15+
<cbc:StartDate>2016-08-01</cbc:StartDate>
16+
<cbc:EndDate>2016-12-31</cbc:EndDate>
17+
</cac:ValidityPeriod>
1218

1319
<cac:ReceiverParty>
1420
<!-- This is the Economic Operator! -->
21+
<cbc:EndpointID schemeID="0088">8075367945271</cbc:EndpointID>
22+
<cac:PartyIdentification>
23+
<cbc:ID schemeID="0088">8075367945271</cbc:ID>
24+
</cac:PartyIdentification>
25+
<cac:PartyName>
26+
<cbc:Name>ABC Supplier Ltd.</cbc:Name>
27+
</cac:PartyName>
28+
<cac:PostalAddress>
29+
<cbc:StreetName>Elm Street No:1</cbc:StreetName>
30+
<cbc:CityName>Gotham</cbc:CityName>
31+
<cbc:PostalZone>06800</cbc:PostalZone>
32+
<cac:Country>
33+
<cbc:IdentificationCode listID="ISO3166-1:Alpha2">DE</cbc:IdentificationCode>
34+
</cac:Country>
35+
</cac:PostalAddress>
36+
<cac:PartyLegalEntity>
37+
<cac:RegistrationAddress>
38+
<cac:Country>
39+
<cbc:IdentificationCode listID="ISO3166">DE</cbc:IdentificationCode>
40+
</cac:Country>
41+
</cac:RegistrationAddress>
42+
</cac:PartyLegalEntity>
1543
</cac:ReceiverParty>
1644

1745
<cac:ProviderParty>
18-
<cbc:EndpointID schemeID="9958">993-12332123-06</cbc:EndpointID>
46+
<cbc:EndpointID schemeID="0088">8075367945271</cbc:EndpointID>
1947
<cac:PartyIdentification>
20-
<cbc:ID schemeID="9958">993-12332123-06</cbc:ID>
48+
<cbc:ID schemeID="0088">8075367945271</cbc:ID>
2149
</cac:PartyIdentification>
2250
<cac:PartyName>
2351
<cbc:Name>UKL Contracting Authority</cbc:Name>
@@ -28,9 +56,16 @@
2856
<cbc:PostalZone>56070</cbc:PostalZone>
2957
<cbc:CountrySubentity>Rheinland-Pfalz</cbc:CountrySubentity>
3058
<cac:Country>
31-
<cbc:IdentificationCode>DE</cbc:IdentificationCode>
59+
<cbc:IdentificationCode listID="ISO3166">DE</cbc:IdentificationCode>
3260
</cac:Country>
3361
</cac:PostalAddress>
62+
<cac:PartyLegalEntity>
63+
<cac:RegistrationAddress>
64+
<cac:Country>
65+
<cbc:IdentificationCode listID="ISO3166">DE</cbc:IdentificationCode>
66+
</cac:Country>
67+
</cac:RegistrationAddress>
68+
</cac:PartyLegalEntity>
3469
<cac:Contact>
3570
<cbc:Name>John Doe</cbc:Name>
3671
<cbc:Telephone>+4915233322111</cbc:Telephone>
@@ -40,17 +75,18 @@
4075

4176
<cac:CatalogueRequestLine>
4277
<cbc:ID>86a5b9ea-a27e-887b-9399-82d9c3482db3</cbc:ID>
78+
4379
<cac:LineValidityPeriod>
4480
<cbc:StartDate>2023-01-01</cbc:StartDate>
4581
<cbc:EndDate>2023-03-31</cbc:EndDate>
4682
</cac:LineValidityPeriod>
83+
4784
<cac:RequiredItemLocationQuantity>
4885
<cbc:MinimumQuantity unitCode="C62">100</cbc:MinimumQuantity>
4986
<cbc:MaximumQuantity unitCode="C62">100</cbc:MaximumQuantity>
5087
<!-- Will be changed in regard to planned Code list! -->
51-
<cbc:TradingRestrictions>
52-
Quarter-yearly as per contractual agreement
53-
</cbc:TradingRestrictions>
88+
<!-- cbc:TradingRestrictions>Quarter-yearly as per contractual agreement</cbc:TradingRestrictions -->
89+
5490
<cac:ApplicableTerritoryAddress>
5591
<cbc:StreetName>Universitätsstraße 1</cbc:StreetName>
5692
<cbc:CityName>Koblenz</cbc:CityName>
@@ -60,52 +96,52 @@
6096
<cbc:IdentificationCode>DE</cbc:IdentificationCode>
6197
</cac:Country>
6298
</cac:ApplicableTerritoryAddress>
99+
63100
<cac:Price>
64101
<cbc:PriceAmount currencyID="EUR">200</cbc:PriceAmount>
65-
<cbc:PriceTypeCode>NE</cbc:PriceTypeCode>
102+
<cbc:PriceTypeCode listID="UNCL5387">NE</cbc:PriceTypeCode>
66103
</cac:Price>
67104
</cac:RequiredItemLocationQuantity>
68105

69106
<cac:Item>
70107
<cbc:Description>SARS-CoV-2 Rapid Antigen Test for the qualitative detection of specific antigens of SARS-CoV-2 present in the human nasopharynx. This test is intended to detect specific antigens from the SARS-CoV-2 virus in individuals suspected of COVID-19.</cbc:Description>
71108
<cbc:Name>SARS-CoV-2 Rapid Antigen Self-Test</cbc:Name>
109+
72110
<cac:CommodityClassification>
73111
<cbc:ItemClassificationCode listID="STI">LA23-9</cbc:ItemClassificationCode>
74112
</cac:CommodityClassification>
113+
75114
<cac:AdditionalItemProperty>
76115
<cbc:ID>dd26c79d-a78c-8855-c269-2adf4c19c194</cbc:ID>
77116
<cbc:Name>Ag-RDTs WHO Sensitivity Requirements</cbc:Name>
78117
<cbc:Value>The self-test kits should guarantee ≥ 80% sensitivity among symptomatic individuals in accordance to the WHO standards.</cbc:Value>
79118
<cbc:ValueQuantity unitCode="60">80</cbc:ValueQuantity>
80119
<cbc:ValueQualifier>Sensitivity</cbc:ValueQualifier>
81120
</cac:AdditionalItemProperty>
121+
82122
<cac:AdditionalItemProperty>
83123
<cbc:ID>b1426194-436d-1414-2529-d399f20145c5</cbc:ID>
84124
<cbc:Name>Ag-RDTs WHO Specifity Requirements</cbc:Name>
85125
<cbc:Value>The self-test kits should guarantee ≥ 97% specifity among symptomatic individuals in accordance to the WHO standards.</cbc:Value>
86126
<cbc:ValueQuantity unitCode="60">97</cbc:ValueQuantity>
87127
<cbc:ValueQualifier>Specifity</cbc:ValueQualifier>
88128
</cac:AdditionalItemProperty>
129+
89130
<cac:Certificate>
90131
<cbc:ID>c82d5afb-1040-c878-4575-401308559654</cbc:ID>
91-
<cbc:CertificateTypeCode>
92-
Enrollment in a register of commercial partnerships
93-
</cbc:CertificateTypeCode>
94-
<cbc:CertificateType>
95-
Occupation and legal form specific certificate for certain reglemented professions.
96-
</cbc:CertificateType>
132+
<cbc:CertificateTypeCode>Enrollment in a register of commercial partnerships</cbc:CertificateTypeCode>
133+
<cbc:CertificateType>Occupation and legal form specific certificate for certain reglemented professions.</cbc:CertificateType>
97134
<cbc:Remarks>Certificate</cbc:Remarks>
98135
<cac:IssuerParty>
99136
<cac:PartyName>
100137
<cbc:Name>Competent District Court</cbc:Name>
101138
</cac:PartyName>
102139
</cac:IssuerParty>
103140
</cac:Certificate>
141+
104142
<cac:Certificate>
105143
<cbc:ID>428e17c6-fc16-89c1-d2c2-38b94c4dd486</cbc:ID>
106-
<cbc:CertificateTypeCode>
107-
Certificate by independent bodies about quality assurance standards or systems
108-
</cbc:CertificateTypeCode>
144+
<cbc:CertificateTypeCode>Certificate by independent bodies about quality assurance standards or systems </cbc:CertificateTypeCode>
109145
<cbc:CertificateType>It is not possible to generally tell if the needed certificate is free of charge or not or to specify the possible price.</cbc:CertificateType>
110146
<cbc:Remarks>Certificate</cbc:Remarks>
111147
<cac:IssuerParty>

rules/examples/T036/UseCase_1.xml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,24 @@
55
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
66
<cbc:CustomizationID>urn:fdc:peppol.eu:prac:trns:t036:1</cbc:CustomizationID>
77
<cbc:ProfileID>urn:fdc:peppol.eu:prac:bis:p035</cbc:ProfileID>
8+
89
<cbc:ID>1387</cbc:ID>
910
<cbc:Name>A pre-award catalogue</cbc:Name>
1011
<cbc:IssueDate>2014-08-01</cbc:IssueDate>
1112
<cbc:VersionID>1</cbc:VersionID>
13+
1214
<cac:ValidityPeriod>
1315
<cbc:StartDate>2016-08-01</cbc:StartDate>
1416
<cbc:EndDate>2016-12-31</cbc:EndDate>
1517
</cac:ValidityPeriod>
18+
1619
<cac:ReferencedContract>
1720
<cbc:ContractTypeCode listID="UNCL1001">311</cbc:ContractTypeCode>
1821
<cac:ContractDocumentReference>
1922
<cbc:ID>CRT1387</cbc:ID>
2023
</cac:ContractDocumentReference>
2124
</cac:ReferencedContract>
25+
2226
<cac:ProviderParty>
2327
<cac:PartyIdentification>
2428
<cbc:ID schemeID="GLN">8075367945271</cbc:ID>
@@ -52,21 +56,23 @@
5256
</cac:Country>
5357
</cac:PostalAddress>
5458
</cac:ReceiverParty>
59+
5560
<cac:CatalogueLine>
5661
<cbc:ID>1</cbc:ID>
5762
<cbc:ContractSubdivision>32</cbc:ContractSubdivision>
58-
5963
<cbc:OrderableIndicator>true</cbc:OrderableIndicator>
6064
<cbc:OrderableUnit>LTR</cbc:OrderableUnit>
6165
<cbc:ContentUnitQuantity unitCode="LTR" unitCodeListID="UNECERec20">1</cbc:ContentUnitQuantity>
6266
<cbc:OrderQuantityIncrementNumeric>10</cbc:OrderQuantityIncrementNumeric>
6367
<cbc:MinimumOrderQuantity unitCode="LTR" unitCodeListID="UNECERec20">100</cbc:MinimumOrderQuantity>
6468
<cbc:MaximumOrderQuantity unitCode="LTR" unitCodeListID="UNECERec20">1000</cbc:MaximumOrderQuantity>
6569
<cbc:PackLevelCode listID="GS17009:PEPPOL">HN</cbc:PackLevelCode>
70+
6671
<cac:ItemComparison>
6772
<cbc:PriceAmount currencyID="EUR">1.5</cbc:PriceAmount>
6873
<cbc:Quantity unitCode="LTR" unitCodeListID="UNECERec20">1</cbc:Quantity>
6974
</cac:ItemComparison>
75+
7076
<cac:RequiredItemLocationQuantity>
7177
<cac:ApplicableTerritoryAddress>
7278
<cac:Country>
@@ -77,44 +83,52 @@
7783
<cbc:PriceAmount currencyID="EUR">1.5</cbc:PriceAmount>
7884
</cac:Price>
7985
</cac:RequiredItemLocationQuantity>
86+
8087
<cac:Item>
8188
<cbc:Description>Milk standard 3%</cbc:Description>
8289
<cbc:PackQuantity unitCode="LTR" unitCodeListID="UNECERec20">10</cbc:PackQuantity>
8390
<cbc:PackSizeNumeric>10</cbc:PackSizeNumeric>
8491
<cbc:Name>Milk standard 3%</cbc:Name>
8592
<cbc:Keyword>Milk</cbc:Keyword>
8693
<cbc:BrandName>Branded Milk</cbc:BrandName>
94+
8795
<cac:SellersItemIdentification>
8896
<cbc:ID>89388789930</cbc:ID>
8997
</cac:SellersItemIdentification>
98+
9099
<cac:StandardItemIdentification>
91100
<cbc:ID schemeID="GTIN">99023409093843</cbc:ID>
92101
</cac:StandardItemIdentification>
102+
93103
<cac:ItemSpecificationDocumentReference>
94104
<cbc:ID>2384-34232-342-34-2333</cbc:ID>
95105
<cac:Attachment>
96-
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf"
97-
>ZGVmYXVsdA==</cbc:EmbeddedDocumentBinaryObject>
106+
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf">ZGVmYXVsdA==</cbc:EmbeddedDocumentBinaryObject>
98107
</cac:Attachment>
99108
</cac:ItemSpecificationDocumentReference>
109+
100110
<cac:OriginCountry>
101111
<cbc:IdentificationCode listID="ISO3166-1:Alpha2">FR</cbc:IdentificationCode>
102112
</cac:OriginCountry>
113+
103114
<cac:CommodityClassification>
104115
<cbc:ItemClassificationCode listID="CPV">783xxxxxxxx</cbc:ItemClassificationCode>
105116
</cac:CommodityClassification>
117+
106118
<cac:ClassifiedTaxCategory>
107119
<cbc:ID schemeID="UNCL5305">S</cbc:ID>
108120
<cbc:Percent>25</cbc:Percent>
109121
<cac:TaxScheme>
110122
<cbc:ID>VAT</cbc:ID>
111123
</cac:TaxScheme>
112124
</cac:ClassifiedTaxCategory>
125+
113126
<cac:AdditionalItemProperty>
114127
<cbc:Name>Fat % for milk</cbc:Name>
115128
<cbc:Value>3%</cbc:Value>
116129
</cac:AdditionalItemProperty>
117130
</cac:Item>
131+
118132
<cac:CallForTendersLineReference>
119133
<cbc:LineID>1</cbc:LineID>
120134
</cac:CallForTendersLineReference>

0 commit comments

Comments
 (0)