Skip to content

Commit 4035272

Browse files
authored
Core Format Sample Files - Order (#20)
1 parent 7305ff8 commit 4035272

File tree

12 files changed

+1594
-377
lines changed

12 files changed

+1594
-377
lines changed
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Order xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
3+
<cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order:3:extended:urn:fdc:anskaffelser.no:2019:ehf:spec:3.0</cbc:CustomizationID>
4+
<cbc:ProfileID>urn:fdc:anskaffelser.no:2019:ehf:postaward:g3:02:1.0</cbc:ProfileID>
5+
<cbc:ID>PO123456789</cbc:ID>
6+
<cbc:IssueDate>2023-03-03</cbc:IssueDate>
7+
<cbc:OrderTypeCode>220</cbc:OrderTypeCode>
8+
<cbc:Note>This is a free text on document level 1 This is a free text on document level 2</cbc:Note>
9+
<cbc:DocumentCurrencyCode>NOK</cbc:DocumentCurrencyCode>
10+
<cac:ValidityPeriod>
11+
<cbc:EndDate>2023-03-30</cbc:EndDate>
12+
</cac:ValidityPeriod>
13+
<cac:AdditionalDocumentReference>
14+
<cbc:ID>179295553</cbc:ID>
15+
<cbc:DocumentType>Related document</cbc:DocumentType>
16+
<cac:Attachment>
17+
<cbc:EmbeddedDocumentBinaryObject filename="789112023_179295553.pdf" mimeCode="application/pdf">VGhpcyxpcyxhIHRlc3QsdmFsdWUs</cbc:EmbeddedDocumentBinaryObject>
18+
</cac:Attachment>
19+
</cac:AdditionalDocumentReference>
20+
<cac:BuyerCustomerParty>
21+
<cac:Party>
22+
<cbc:EndpointID schemeID="0192">123456789</cbc:EndpointID>
23+
<cac:PartyIdentification>
24+
<cbc:ID schemeID="0088">8808808000121</cbc:ID>
25+
</cac:PartyIdentification>
26+
<cac:PartyName>
27+
<cbc:Name>Test company</cbc:Name>
28+
</cac:PartyName>
29+
<cac:PostalAddress>
30+
<cbc:StreetName>Street test 1</cbc:StreetName>
31+
<cbc:CityName>Test city</cbc:CityName>
32+
<cbc:PostalZone>111 11</cbc:PostalZone>
33+
<cac:Country>
34+
<cbc:IdentificationCode>NO</cbc:IdentificationCode>
35+
</cac:Country>
36+
</cac:PostalAddress>
37+
<cac:PartyLegalEntity>
38+
<cbc:RegistrationName>Test company</cbc:RegistrationName>
39+
<cbc:CompanyID>8808808-0000</cbc:CompanyID>
40+
<cac:RegistrationAddress>
41+
<cac:Country>
42+
<cbc:IdentificationCode>NO</cbc:IdentificationCode>
43+
</cac:Country>
44+
</cac:RegistrationAddress>
45+
</cac:PartyLegalEntity>
46+
<cac:Contact>
47+
<cbc:Name>Jane Doe</cbc:Name>
48+
<cbc:Telephone>123 121212</cbc:Telephone>
49+
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
50+
</cac:Contact>
51+
</cac:Party>
52+
</cac:BuyerCustomerParty>
53+
<cac:SellerSupplierParty>
54+
<cac:Party>
55+
<cbc:EndpointID schemeID="0192">234567890</cbc:EndpointID>
56+
<cac:PartyIdentification>
57+
<cbc:ID schemeID="0088">32323232320123</cbc:ID>
58+
</cac:PartyIdentification>
59+
<cac:PartyName>
60+
<cbc:Name>Pagero Support</cbc:Name>
61+
</cac:PartyName>
62+
<cac:PostalAddress>
63+
<cbc:StreetName>Street test 2</cbc:StreetName>
64+
<cbc:CityName>Test city</cbc:CityName>
65+
<cbc:PostalZone>222 22</cbc:PostalZone>
66+
<cbc:CountrySubentity>AA</cbc:CountrySubentity>
67+
<cac:Country>
68+
<cbc:IdentificationCode>NO</cbc:IdentificationCode>
69+
</cac:Country>
70+
</cac:PostalAddress>
71+
<cac:PartyLegalEntity>
72+
<cbc:RegistrationName>Pagero Support</cbc:RegistrationName>
73+
<cbc:CompanyID>123456-0000</cbc:CompanyID>
74+
<cac:RegistrationAddress>
75+
<cac:Country>
76+
<cbc:IdentificationCode>NO</cbc:IdentificationCode>
77+
</cac:Country>
78+
</cac:RegistrationAddress>
79+
</cac:PartyLegalEntity>
80+
<cac:Contact>
81+
<cbc:Name>John Doe</cbc:Name>
82+
<cbc:Telephone>222 121212</cbc:Telephone>
83+
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
84+
</cac:Contact>
85+
</cac:Party>
86+
</cac:SellerSupplierParty>
87+
<cac:Delivery>
88+
<cac:DeliveryLocation>
89+
<cac:Address>
90+
<cbc:StreetName>Street test 2</cbc:StreetName>
91+
<cbc:CityName>Test city</cbc:CityName>
92+
<cbc:PostalZone>222 22</cbc:PostalZone>
93+
<cbc:CountrySubentity>AA</cbc:CountrySubentity>
94+
<cac:Country>
95+
<cbc:IdentificationCode>DE</cbc:IdentificationCode>
96+
</cac:Country>
97+
</cac:Address>
98+
</cac:DeliveryLocation>
99+
<cac:RequestedDeliveryPeriod>
100+
<cbc:StartDate>2023-06-06</cbc:StartDate>
101+
</cac:RequestedDeliveryPeriod>
102+
<cac:DeliveryParty>
103+
<cac:PartyIdentification>
104+
<cbc:ID schemeID="0088">2323232320123</cbc:ID>
105+
</cac:PartyIdentification>
106+
<cac:PartyName>
107+
<cbc:Name>Test name 3</cbc:Name>
108+
</cac:PartyName>
109+
</cac:DeliveryParty>
110+
</cac:Delivery>
111+
<cac:OrderLine>
112+
<cbc:Note>This is a free text on line level</cbc:Note>
113+
<cac:LineItem>
114+
<cbc:ID>1</cbc:ID>
115+
<cbc:Quantity unitCode="EA">2</cbc:Quantity>
116+
<cbc:LineExtensionAmount currencyID="NOK">200.00</cbc:LineExtensionAmount>
117+
<cac:Price>
118+
<cbc:PriceAmount currencyID="NOK">100.00</cbc:PriceAmount>
119+
</cac:Price>
120+
<cac:Item>
121+
<cbc:Name>Test product</cbc:Name>
122+
<cac:BuyersItemIdentification>
123+
<cbc:ID>12345</cbc:ID>
124+
</cac:BuyersItemIdentification>
125+
<cac:SellersItemIdentification>
126+
<cbc:ID>234567</cbc:ID>
127+
</cac:SellersItemIdentification>
128+
<cac:CommodityClassification>
129+
<cbc:ItemClassificationCode listID="HS">98-99</cbc:ItemClassificationCode>
130+
</cac:CommodityClassification>
131+
<cac:AdditionalItemProperty>
132+
<cbc:Name>Serial Number</cbc:Name>
133+
<cbc:Value>SN123456</cbc:Value>
134+
</cac:AdditionalItemProperty>
135+
</cac:Item>
136+
</cac:LineItem>
137+
</cac:OrderLine>
138+
<cac:OrderLine>
139+
<cbc:Note>This is a free text on line level</cbc:Note>
140+
<cac:LineItem>
141+
<cbc:ID>2</cbc:ID>
142+
<cbc:Quantity unitCode="EA">1</cbc:Quantity>
143+
<cbc:LineExtensionAmount currencyID="NOK">100.00</cbc:LineExtensionAmount>
144+
<cac:Delivery>
145+
<cac:RequestedDeliveryPeriod>
146+
<cbc:StartDate>2023-06-06</cbc:StartDate>
147+
</cac:RequestedDeliveryPeriod>
148+
</cac:Delivery>
149+
<cac:Price>
150+
<cbc:PriceAmount currencyID="NOK">100.00</cbc:PriceAmount>
151+
</cac:Price>
152+
<cac:Item>
153+
<cbc:Name>Test product</cbc:Name>
154+
<cac:BuyersItemIdentification>
155+
<cbc:ID>656565</cbc:ID>
156+
</cac:BuyersItemIdentification>
157+
<cac:SellersItemIdentification>
158+
<cbc:ID>989898</cbc:ID>
159+
</cac:SellersItemIdentification>
160+
<cac:CommodityClassification>
161+
<cbc:ItemClassificationCode listID="HS">77-99</cbc:ItemClassificationCode>
162+
</cac:CommodityClassification>
163+
<cac:AdditionalItemProperty>
164+
<cbc:Name>Serial Number</cbc:Name>
165+
<cbc:Value>SN6666666</cbc:Value>
166+
</cac:AdditionalItemProperty>
167+
</cac:Item>
168+
</cac:LineItem>
169+
</cac:OrderLine>
170+
</Order>
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Order xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
4+
<cbc:CustomizationID>urn:www.cenbii.eu:transaction:biitrns001:ver2.0:extended:urn:www.peppol.eu:bis:peppol28a:ver1.0:extended:urn:www.difi.no:ehf:ordre:ver1.0</cbc:CustomizationID>
5+
<cbc:ProfileID>urn:www.cenbii.eu:profile:bii28:ver2.0</cbc:ProfileID>
6+
<cbc:ID>PO123456789</cbc:ID>
7+
<cbc:IssueDate>2023-03-03</cbc:IssueDate>
8+
<cbc:Note>This is a free text on document level 1</cbc:Note>
9+
<cbc:DocumentCurrencyCode listID="ISO4217">EUR</cbc:DocumentCurrencyCode>
10+
<cac:ValidityPeriod>
11+
<cbc:EndDate>2023-03-30</cbc:EndDate>
12+
</cac:ValidityPeriod>
13+
<cac:AdditionalDocumentReference>
14+
<cbc:ID>179295553</cbc:ID>
15+
<cbc:DocumentType>Related document</cbc:DocumentType>
16+
<cac:Attachment>
17+
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="789112023_179295553.pdf">VGhpcyxpcyxhIHRlc3QsdmFsdWUs</cbc:EmbeddedDocumentBinaryObject>
18+
</cac:Attachment>
19+
</cac:AdditionalDocumentReference>
20+
<cac:BuyerCustomerParty>
21+
<cac:Party>
22+
<cbc:EndpointID schemeID="NO:ORGNR">123456789</cbc:EndpointID>
23+
<cac:PartyIdentification>
24+
<cbc:ID schemeAgencyID="9" schemeID="GLN">8808808000121</cbc:ID>
25+
</cac:PartyIdentification>
26+
<cac:PartyName>
27+
<cbc:Name>Test company</cbc:Name>
28+
</cac:PartyName>
29+
<cac:PostalAddress>
30+
<cbc:StreetName>Street test 1</cbc:StreetName>
31+
<cbc:CityName>Test city</cbc:CityName>
32+
<cbc:PostalZone>111 11</cbc:PostalZone>
33+
<cac:Country>
34+
<cbc:IdentificationCode listID="ISO3166-1:Alpha2">NO</cbc:IdentificationCode>
35+
</cac:Country>
36+
</cac:PostalAddress>
37+
<cac:PartyTaxScheme>
38+
<cbc:CompanyID schemeID="NO:VAT">NO123456789MVA</cbc:CompanyID>
39+
<cac:TaxScheme>
40+
<cbc:ID>VAT</cbc:ID>
41+
</cac:TaxScheme>
42+
</cac:PartyTaxScheme>
43+
<cac:Contact>
44+
<cbc:ID>Reciver Reference</cbc:ID>
45+
<cbc:Name>Jane Doe</cbc:Name>
46+
<cbc:Telephone>123 121212</cbc:Telephone>
47+
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
48+
</cac:Contact>
49+
</cac:Party>
50+
</cac:BuyerCustomerParty>
51+
<cac:SellerSupplierParty>
52+
<cac:Party>
53+
<cbc:EndpointID schemeID="NO:ORGNR">234567890</cbc:EndpointID>
54+
<cac:PartyIdentification>
55+
<cbc:ID schemeAgencyID="9" schemeID="GLN">32323232320123</cbc:ID>
56+
</cac:PartyIdentification>
57+
<cac:PartyName>
58+
<cbc:Name>Pagero Support</cbc:Name>
59+
</cac:PartyName>
60+
<cac:PostalAddress>
61+
<cbc:StreetName>Street test 2</cbc:StreetName>
62+
<cbc:Department>Support</cbc:Department>
63+
<cbc:CityName>Test city</cbc:CityName>
64+
<cbc:PostalZone>222 22</cbc:PostalZone>
65+
<cbc:CountrySubentity>AA</cbc:CountrySubentity>
66+
<cac:Country>
67+
<cbc:IdentificationCode listID="ISO3166-1:Alpha2">NO</cbc:IdentificationCode>
68+
</cac:Country>
69+
</cac:PostalAddress>
70+
<cac:PartyTaxScheme>
71+
<cbc:CompanyID schemeID="NO:VAT">NO234567890MVA</cbc:CompanyID>
72+
<cac:TaxScheme>
73+
<cbc:ID>VAT</cbc:ID>
74+
</cac:TaxScheme>
75+
</cac:PartyTaxScheme>
76+
<cac:PartyLegalEntity>
77+
<cbc:RegistrationName>Pagero Support</cbc:RegistrationName>
78+
<cbc:CompanyID>123456-0000</cbc:CompanyID>
79+
</cac:PartyLegalEntity>
80+
<cac:Contact>
81+
<cbc:ID>Department 3</cbc:ID>
82+
<cbc:Name>John Doe</cbc:Name>
83+
<cbc:Telephone>222 121212</cbc:Telephone>
84+
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
85+
</cac:Contact>
86+
</cac:Party>
87+
</cac:SellerSupplierParty>
88+
<cac:Delivery>
89+
<cac:DeliveryLocation>
90+
<cac:Address>
91+
<cbc:StreetName>Street test 2</cbc:StreetName>
92+
<cbc:Department>Support</cbc:Department>
93+
<cbc:CityName>Test city</cbc:CityName>
94+
<cbc:PostalZone>222 22</cbc:PostalZone>
95+
<cbc:CountrySubentity>AA</cbc:CountrySubentity>
96+
<cac:Country>
97+
<cbc:IdentificationCode listID="ISO3166-1:Alpha2">NO</cbc:IdentificationCode>
98+
</cac:Country>
99+
</cac:Address>
100+
</cac:DeliveryLocation>
101+
<cac:RequestedDeliveryPeriod>
102+
<cbc:StartDate>2023-06-06</cbc:StartDate>
103+
<cbc:EndDate>2023-06-06</cbc:EndDate>
104+
</cac:RequestedDeliveryPeriod>
105+
<cac:DeliveryParty>
106+
<cac:PartyIdentification>
107+
<cbc:ID schemeAgencyID="9" schemeID="GLN">2323232320123</cbc:ID>
108+
</cac:PartyIdentification>
109+
<cac:PartyName>
110+
<cbc:Name>Test name 3</cbc:Name>
111+
</cac:PartyName>
112+
<cac:PostalAddress>
113+
<cbc:StreetName>Street test 2</cbc:StreetName>
114+
<cbc:Department>Support</cbc:Department>
115+
<cbc:CityName>Test city</cbc:CityName>
116+
<cbc:PostalZone>222 22</cbc:PostalZone>
117+
<cbc:CountrySubentity>AA</cbc:CountrySubentity>
118+
<cac:Country>
119+
<cbc:IdentificationCode listID="ISO3166-1:Alpha2">NO</cbc:IdentificationCode>
120+
</cac:Country>
121+
</cac:PostalAddress>
122+
</cac:DeliveryParty>
123+
</cac:Delivery>
124+
<cac:TaxTotal>
125+
<cbc:TaxAmount currencyID="EUR">0.00</cbc:TaxAmount>
126+
</cac:TaxTotal>
127+
<cac:OrderLine>
128+
<cbc:Note>This is a free text on line level</cbc:Note>
129+
<cac:LineItem>
130+
<cbc:ID>1</cbc:ID>
131+
<cbc:Quantity unitCode="EA" unitCodeListID="UNECERec20">2</cbc:Quantity>
132+
<cbc:LineExtensionAmount currencyID="EUR">200.00</cbc:LineExtensionAmount>
133+
<cac:Price>
134+
<cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
135+
</cac:Price>
136+
<cac:Item>
137+
<cbc:Name>Test product</cbc:Name>
138+
<cac:SellersItemIdentification>
139+
<cbc:ID>234567</cbc:ID>
140+
</cac:SellersItemIdentification>
141+
<cac:CommodityClassification>
142+
<cbc:ItemClassificationCode listID="HS">98-99</cbc:ItemClassificationCode>
143+
</cac:CommodityClassification>
144+
<cac:AdditionalItemProperty>
145+
<cbc:Name>Serial Number</cbc:Name>
146+
<cbc:Value>SN123456</cbc:Value>
147+
</cac:AdditionalItemProperty>
148+
</cac:Item>
149+
</cac:LineItem>
150+
</cac:OrderLine>
151+
<cac:OrderLine>
152+
<cbc:Note>This is a free text on line level</cbc:Note>
153+
<cac:LineItem>
154+
<cbc:ID>2</cbc:ID>
155+
<cbc:Quantity unitCode="EA" unitCodeListID="UNECERec20">1</cbc:Quantity>
156+
<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
157+
<cac:Delivery>
158+
<cac:RequestedDeliveryPeriod>
159+
<cbc:StartDate>2023-06-06</cbc:StartDate>
160+
<cbc:EndDate>2023-06-06</cbc:EndDate>
161+
</cac:RequestedDeliveryPeriod>
162+
</cac:Delivery>
163+
<cac:Price>
164+
<cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
165+
</cac:Price>
166+
<cac:Item>
167+
<cbc:Name>Test product</cbc:Name>
168+
<cac:SellersItemIdentification>
169+
<cbc:ID>989898</cbc:ID>
170+
</cac:SellersItemIdentification>
171+
<cac:CommodityClassification>
172+
<cbc:ItemClassificationCode listID="HS">77-99</cbc:ItemClassificationCode>
173+
</cac:CommodityClassification>
174+
<cac:AdditionalItemProperty>
175+
<cbc:Name>Serial Number</cbc:Name>
176+
<cbc:Value>SN6666666</cbc:Value>
177+
</cac:AdditionalItemProperty>
178+
</cac:Item>
179+
</cac:LineItem>
180+
</cac:OrderLine>
181+
</Order>

0 commit comments

Comments
 (0)