odoo-addon-ebill-postfinance 16.0.1.0.0.3__py3-none-any.whl

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.
Files changed (44) hide show
  1. odoo/addons/ebill_postfinance/README.rst +130 -0
  2. odoo/addons/ebill_postfinance/__init__.py +1 -0
  3. odoo/addons/ebill_postfinance/__manifest__.py +35 -0
  4. odoo/addons/ebill_postfinance/data/ir_cron.xml +14 -0
  5. odoo/addons/ebill_postfinance/data/mail_activity_type.xml +10 -0
  6. odoo/addons/ebill_postfinance/data/transmit.method.xml +10 -0
  7. odoo/addons/ebill_postfinance/i18n/ebill_postfinance.pot +533 -0
  8. odoo/addons/ebill_postfinance/messages/invoice-2003A.jinja +238 -0
  9. odoo/addons/ebill_postfinance/messages/invoice-yellowbill.jinja +227 -0
  10. odoo/addons/ebill_postfinance/messages/ybInvoice_V2.0.4.xsd +1395 -0
  11. odoo/addons/ebill_postfinance/models/__init__.py +5 -0
  12. odoo/addons/ebill_postfinance/models/account_move.py +140 -0
  13. odoo/addons/ebill_postfinance/models/ebill_payment_contract.py +73 -0
  14. odoo/addons/ebill_postfinance/models/ebill_postfinance_invoice_message.py +404 -0
  15. odoo/addons/ebill_postfinance/models/ebill_postfinance_service.py +154 -0
  16. odoo/addons/ebill_postfinance/models/sale_order.py +19 -0
  17. odoo/addons/ebill_postfinance/readme/CONFIGURE.rst +13 -0
  18. odoo/addons/ebill_postfinance/readme/CONTRIBUTORS.rst +1 -0
  19. odoo/addons/ebill_postfinance/readme/DESCRIPTION.rst +1 -0
  20. odoo/addons/ebill_postfinance/readme/INSTALL.rst +2 -0
  21. odoo/addons/ebill_postfinance/readme/ROADMAP.rst +10 -0
  22. odoo/addons/ebill_postfinance/readme/USAGE.rst +5 -0
  23. odoo/addons/ebill_postfinance/security/ir.model.access.csv +5 -0
  24. odoo/addons/ebill_postfinance/static/description/icon.png +0 -0
  25. odoo/addons/ebill_postfinance/static/description/index.html +470 -0
  26. odoo/addons/ebill_postfinance/tests/__init__.py +3 -0
  27. odoo/addons/ebill_postfinance/tests/common.py +194 -0
  28. odoo/addons/ebill_postfinance/tests/examples/credit_note_yb.xml +176 -0
  29. odoo/addons/ebill_postfinance/tests/examples/invoice_qr_yb.xml +182 -0
  30. odoo/addons/ebill_postfinance/tests/examples/yellowbill_qr_iban.xml +178 -0
  31. odoo/addons/ebill_postfinance/tests/fixtures/cassettes/test_ping_service.yaml +1057 -0
  32. odoo/addons/ebill_postfinance/tests/fixtures/cassettes/test_search_invoices.yaml +564 -0
  33. odoo/addons/ebill_postfinance/tests/fixtures/cassettes/test_upload_file.yaml +561 -0
  34. odoo/addons/ebill_postfinance/tests/test_ebill_postfinance.py +50 -0
  35. odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb.py +65 -0
  36. odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb_creditnote.py +67 -0
  37. odoo/addons/ebill_postfinance/views/ebill_payment_contract.xml +56 -0
  38. odoo/addons/ebill_postfinance/views/ebill_postfinance_invoice_message.xml +81 -0
  39. odoo/addons/ebill_postfinance/views/ebill_postfinance_service.xml +136 -0
  40. odoo/addons/ebill_postfinance/views/message_template.xml +8 -0
  41. odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/METADATA +149 -0
  42. odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/RECORD +44 -0
  43. odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/WHEEL +5 -0
  44. odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1395 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by SPS (yellowworld AG) -->
3
+ <!-- edited with XMLSpy v2019 rel. 3 sp1 (x64) (http://www.altova.com) by Post CH AG (Post CH AG) -->
4
+ <!--Version 2.0.1 created by Swiss Post Solutons AG, October.2011. Replace version 2.0 -->
5
+ <!--semantics descriptions: www.swissdigin.ch-->
6
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
7
+ <xs:complexType name="DeliveryType">
8
+ <xs:annotation>
9
+ <xs:documentation>complextype delivery</xs:documentation>
10
+ </xs:annotation>
11
+ <xs:sequence>
12
+ <xs:element name="BillerID">
13
+ <xs:annotation>
14
+ <xs:documentation>N [17], modulo-checked sender ID, assigned by yellowbill (e.g.: "41100000000002256")</xs:documentation>
15
+ </xs:annotation>
16
+ <xs:simpleType>
17
+ <xs:restriction base="xs:long">
18
+ <xs:pattern value="\d{17}"/>
19
+ </xs:restriction>
20
+ </xs:simpleType>
21
+ </xs:element>
22
+ <xs:choice>
23
+ <xs:annotation>
24
+ <xs:documentation>ReceiverID</xs:documentation>
25
+ </xs:annotation>
26
+ <xs:element name="eBillAccountID">
27
+ <xs:annotation>
28
+ <xs:documentation>N [17], modulo-checked receiver ID</xs:documentation>
29
+ </xs:annotation>
30
+ <xs:simpleType>
31
+ <xs:restriction base="xs:long">
32
+ <xs:totalDigits value="17"/>
33
+ <xs:pattern value="\d{17}"/>
34
+ </xs:restriction>
35
+ </xs:simpleType>
36
+ </xs:element>
37
+ <xs:element name="AlternativeRecipientID">
38
+ <xs:simpleType>
39
+ <xs:restriction base="xs:string">
40
+ <xs:maxLength value="255"/>
41
+ </xs:restriction>
42
+ </xs:simpleType>
43
+ </xs:element>
44
+ </xs:choice>
45
+ <xs:element name="DeliveryID" minOccurs="0">
46
+ <xs:annotation>
47
+ <xs:documentation>AN [15], Number of bill run, if more than one bill run per period. Length is maximum 15 characters.</xs:documentation>
48
+ </xs:annotation>
49
+ <xs:simpleType>
50
+ <xs:restriction base="xs:string"/>
51
+ </xs:simpleType>
52
+ </xs:element>
53
+ <xs:element name="DeliveryDate" type="xs:date">
54
+ <xs:annotation>
55
+ <xs:documentation>Date [yyyy-mm-dd] must be equal to DocumentDate in node bill.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="TransactionID">
59
+ <xs:annotation>
60
+ <xs:documentation>AN [50] unique transaction identification assigned by sender. This ID is being used in the PDF- and XML-bill filename. Length is maximum 50 characters.</xs:documentation>
61
+ </xs:annotation>
62
+ <xs:simpleType>
63
+ <xs:restriction base="xs:string">
64
+ <xs:maxLength value="50"/>
65
+ </xs:restriction>
66
+ </xs:simpleType>
67
+ </xs:element>
68
+ <xs:element name="BillDetailsType">
69
+ <xs:annotation>
70
+ <xs:documentation>[PDF;PDFSystem;PDFAppendix] type of bill detail, usualy PDF = PDF-Format; PDFSystem = PDF generated by yellowbil; PDFAppendix = PDF delivered by sender embedded in Appendix node</xs:documentation>
71
+ </xs:annotation>
72
+ <xs:simpleType>
73
+ <xs:restriction base="xs:string">
74
+ <xs:enumeration value="PDF"/>
75
+ <xs:enumeration value="PDFSystem"/>
76
+ <xs:enumeration value="PDFAppendix"/>
77
+ </xs:restriction>
78
+ </xs:simpleType>
79
+ </xs:element>
80
+ <xs:element name="URLBillDetails" nillable="true" minOccurs="0">
81
+ <xs:annotation>
82
+ <xs:documentation>deprecated</xs:documentation>
83
+ </xs:annotation>
84
+ <xs:simpleType>
85
+ <xs:restriction base="xs:string">
86
+ <xs:maxLength value="255"/>
87
+ </xs:restriction>
88
+ </xs:simpleType>
89
+ </xs:element>
90
+ </xs:sequence>
91
+ </xs:complexType>
92
+ <xs:complexType name="ybInvoiceType">
93
+ <xs:annotation>
94
+ <xs:documentation>complextype ybinvoice</xs:documentation>
95
+ </xs:annotation>
96
+ <xs:sequence>
97
+ <xs:element name="DeliveryInfo" type="DeliveryType">
98
+ <xs:annotation>
99
+ <xs:documentation>node delivery info</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:element>
102
+ <xs:element name="Bill" type="BillType">
103
+ <xs:annotation>
104
+ <xs:documentation>node bill</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:element>
107
+ <xs:element name="Appendix" type="AppendixType" minOccurs="0">
108
+ <xs:annotation>
109
+ <xs:documentation>node appendix data</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:element>
112
+ </xs:sequence>
113
+ </xs:complexType>
114
+ <xs:complexType name="BillHeaderType">
115
+ <xs:annotation>
116
+ <xs:documentation>complextype BillHeader</xs:documentation>
117
+ </xs:annotation>
118
+ <xs:sequence>
119
+ <xs:element name="DocumentType">
120
+ <xs:annotation>
121
+ <xs:documentation>[BILL; CREDITADVICE; REMINDER] type of document</xs:documentation>
122
+ </xs:annotation>
123
+ <xs:simpleType>
124
+ <xs:restriction base="xs:string">
125
+ <xs:enumeration value="BILL"/>
126
+ <xs:enumeration value="REMINDER"/>
127
+ <xs:enumeration value="CREDITADVICE"/>
128
+ <xs:enumeration value=""/>
129
+ </xs:restriction>
130
+ </xs:simpleType>
131
+ </xs:element>
132
+ <xs:element name="DocumentSubType" minOccurs="0">
133
+ <xs:annotation>
134
+ <xs:documentation>[partial, final] subtype of document</xs:documentation>
135
+ </xs:annotation>
136
+ <xs:simpleType>
137
+ <xs:restriction base="xs:string">
138
+ <xs:enumeration value="final"/>
139
+ <xs:enumeration value="partial"/>
140
+ <xs:enumeration value="cancellation"/>
141
+ </xs:restriction>
142
+ </xs:simpleType>
143
+ </xs:element>
144
+ <xs:element name="DocumentID">
145
+ <xs:annotation>
146
+ <xs:documentation>AN [70] document identification by sender (e.g. bill no. 527-45-678-78)</xs:documentation>
147
+ </xs:annotation>
148
+ <xs:simpleType>
149
+ <xs:restriction base="xs:string">
150
+ <xs:maxLength value="70"/>
151
+ </xs:restriction>
152
+ </xs:simpleType>
153
+ </xs:element>
154
+ <xs:element name="DocumentReference" type="Reference" minOccurs="0" maxOccurs="unbounded">
155
+ <xs:annotation>
156
+ <xs:documentation>additional document reference defined by sender.</xs:documentation>
157
+ </xs:annotation>
158
+ </xs:element>
159
+ <xs:element name="DocumentDate" type="xs:date">
160
+ <xs:annotation>
161
+ <xs:documentation>[yyyy-mm-dd] Date of document. Must be equal to DeliveryDate in node DeliveryInfo</xs:documentation>
162
+ </xs:annotation>
163
+ </xs:element>
164
+ <xs:element name="SenderParty">
165
+ <xs:annotation>
166
+ <xs:documentation>Identification and information about sender</xs:documentation>
167
+ </xs:annotation>
168
+ <xs:complexType>
169
+ <xs:sequence>
170
+ <xs:element name="Network" type="NetworkType" minOccurs="0">
171
+ <xs:annotation>
172
+ <xs:documentation>EBPP network identification</xs:documentation>
173
+ </xs:annotation>
174
+ </xs:element>
175
+ <xs:element name="TaxLiability" block="restriction" form="qualified">
176
+ <xs:annotation>
177
+ <xs:documentation>Flag to show, if biller has to declare VAT information or not.</xs:documentation>
178
+ </xs:annotation>
179
+ <xs:simpleType>
180
+ <xs:restriction base="xs:string">
181
+ <xs:enumeration value="FRE"/>
182
+ <xs:enumeration value="VAT"/>
183
+ </xs:restriction>
184
+ </xs:simpleType>
185
+ </xs:element>
186
+ <xs:element name="PartyType" type="PartyType"/>
187
+ </xs:sequence>
188
+ </xs:complexType>
189
+ </xs:element>
190
+ <xs:element name="ReceiverParty">
191
+ <xs:annotation>
192
+ <xs:documentation>Identification and information about receiver</xs:documentation>
193
+ </xs:annotation>
194
+ <xs:complexType>
195
+ <xs:sequence>
196
+ <xs:element name="Network" type="NetworkType" minOccurs="0">
197
+ <xs:annotation>
198
+ <xs:documentation>EBPP network identification</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:element>
201
+ <xs:element name="PartyType" type="PartyType"/>
202
+ </xs:sequence>
203
+ </xs:complexType>
204
+ </xs:element>
205
+ <xs:element name="InvoiceReceivingParty" type="PartyType" minOccurs="0">
206
+ <xs:annotation>
207
+ <xs:documentation>Indications of receiver party</xs:documentation>
208
+ </xs:annotation>
209
+ </xs:element>
210
+ <xs:element name="DeliveryPlace" type="PartyType" minOccurs="0">
211
+ <xs:annotation>
212
+ <xs:documentation>Information about delivery</xs:documentation>
213
+ </xs:annotation>
214
+ </xs:element>
215
+ <xs:element name="AchievementDate" type="AchievementDateType" minOccurs="0">
216
+ <xs:annotation>
217
+ <xs:documentation>This value is mandatory, if there is no entry in lineitem of node billlineitem</xs:documentation>
218
+ </xs:annotation>
219
+ </xs:element>
220
+ <xs:element name="Currency">
221
+ <xs:annotation>
222
+ <xs:documentation>AN [3] currency code ISO 4217; Permitted: CHF, EUR, AUD, CAD, DKK, GBP, JPY, NOK, SEK, USD</xs:documentation>
223
+ </xs:annotation>
224
+ <xs:simpleType>
225
+ <xs:restriction base="xs:string">
226
+ <xs:length value="3"/>
227
+ <xs:pattern value="[A-Z]{3}"/>
228
+ <xs:enumeration value="CHF"/>
229
+ <xs:enumeration value="EUR"/>
230
+ <xs:enumeration value="AUD"/>
231
+ <xs:enumeration value="CAD"/>
232
+ <xs:enumeration value="DKK"/>
233
+ <xs:enumeration value="GBP"/>
234
+ <xs:enumeration value="JPY"/>
235
+ <xs:enumeration value="NOK"/>
236
+ <xs:enumeration value="SEK"/>
237
+ <xs:enumeration value="USD"/>
238
+ </xs:restriction>
239
+ </xs:simpleType>
240
+ </xs:element>
241
+ <xs:element name="AccountAssignment" type="AccountAssignmentType" minOccurs="0">
242
+ <xs:annotation>
243
+ <xs:documentation>order- and account references </xs:documentation>
244
+ </xs:annotation>
245
+ </xs:element>
246
+ <xs:element name="FixedReference" type="FixedReference" minOccurs="0" maxOccurs="unbounded">
247
+ <xs:annotation>
248
+ <xs:documentation>enumerated references has to use a ReferenceType according to manual e-bill</xs:documentation>
249
+ </xs:annotation>
250
+ </xs:element>
251
+ <xs:element name="Language">
252
+ <xs:annotation>
253
+ <xs:documentation>[de, fr, it, en] Standard 2-letter language code ISO 639 (e.g.: German=de, French=fr, Italian=it, English=en)</xs:documentation>
254
+ </xs:annotation>
255
+ <xs:simpleType>
256
+ <xs:restriction base="xs:string">
257
+ <xs:enumeration value="de"/>
258
+ <xs:enumeration value="fr"/>
259
+ <xs:enumeration value="it"/>
260
+ <xs:enumeration value="en"/>
261
+ </xs:restriction>
262
+ </xs:simpleType>
263
+ </xs:element>
264
+ <xs:element name="PaymentInformation">
265
+ <xs:annotation>
266
+ <xs:documentation>payment information</xs:documentation>
267
+ </xs:annotation>
268
+ <xs:complexType>
269
+ <xs:sequence>
270
+ <xs:element name="PaymentDueDate" type="xs:date">
271
+ <xs:annotation>
272
+ <xs:documentation>[yyyy-mm-dd] Due date for payment (e.g.:"2004-07-25")</xs:documentation>
273
+ </xs:annotation>
274
+ </xs:element>
275
+ <xs:element name="PaymentType">
276
+ <xs:annotation>
277
+ <xs:documentation>[ESR;DD;CREDIT;OTHER;IBAN] method of payment</xs:documentation>
278
+ </xs:annotation>
279
+ <xs:simpleType>
280
+ <xs:restriction base="xs:string">
281
+ <xs:enumeration value="ESR"/>
282
+ <xs:enumeration value="DD"/>
283
+ <xs:enumeration value="CREDIT"/>
284
+ <xs:enumeration value="OTHER"/>
285
+ <xs:enumeration value="IBAN"/>
286
+ </xs:restriction>
287
+ </xs:simpleType>
288
+ </xs:element>
289
+ <xs:element name="fixAmount">
290
+ <xs:annotation>
291
+ <xs:documentation>[Yes;No] case-sensitive. Indication wether amount is changeable upon payment or not (default:"Yes")</xs:documentation>
292
+ </xs:annotation>
293
+ <xs:simpleType>
294
+ <xs:restriction base="xs:string">
295
+ <xs:enumeration value="Yes"/>
296
+ <xs:enumeration value="No"/>
297
+ </xs:restriction>
298
+ </xs:simpleType>
299
+ </xs:element>
300
+ <xs:element name="ESR" minOccurs="0">
301
+ <xs:annotation>
302
+ <xs:documentation>Orange inpayment slip (ESR)</xs:documentation>
303
+ </xs:annotation>
304
+ <xs:complexType>
305
+ <xs:sequence>
306
+ <xs:element name="ESRCustomerNumber">
307
+ <xs:annotation>
308
+ <xs:documentation>N [2]-[6]-[1] or [9] Orange inpayment slip (ESR) customer number of sender (e.g. "01-123456-1" or "011234561"). First two positions must be "01" for CHF or "03" for EUR</xs:documentation>
309
+ </xs:annotation>
310
+ <xs:simpleType>
311
+ <xs:restriction base="xs:string">
312
+ <xs:maxLength value="11"/>
313
+ </xs:restriction>
314
+ </xs:simpleType>
315
+ </xs:element>
316
+ <xs:element name="ESRReferenceNumber">
317
+ <xs:annotation>
318
+ <xs:documentation>N [27] Reference number of orange inpayment slip (ESR) </xs:documentation>
319
+ </xs:annotation>
320
+ <xs:simpleType>
321
+ <xs:restriction base="xs:string">
322
+ <xs:maxLength value="27"/>
323
+ </xs:restriction>
324
+ </xs:simpleType>
325
+ </xs:element>
326
+ </xs:sequence>
327
+ </xs:complexType>
328
+ </xs:element>
329
+ <xs:element name="IBAN" minOccurs="0">
330
+ <xs:annotation>
331
+ <xs:documentation>International payment instruction </xs:documentation>
332
+ </xs:annotation>
333
+ <xs:complexType>
334
+ <xs:sequence>
335
+ <xs:element name="BIC" minOccurs="0">
336
+ <xs:annotation>
337
+ <xs:documentation>AN [11] bank identifier code</xs:documentation>
338
+ </xs:annotation>
339
+ <xs:simpleType>
340
+ <xs:restriction base="xs:string">
341
+ <xs:maxLength value="11"/>
342
+ </xs:restriction>
343
+ </xs:simpleType>
344
+ </xs:element>
345
+ <xs:element name="BankName" minOccurs="0">
346
+ <xs:annotation>
347
+ <xs:documentation>AN [50] name of the bank</xs:documentation>
348
+ </xs:annotation>
349
+ <xs:simpleType>
350
+ <xs:restriction base="xs:string">
351
+ <xs:maxLength value="50"/>
352
+ </xs:restriction>
353
+ </xs:simpleType>
354
+ </xs:element>
355
+ <xs:element name="IBAN">
356
+ <xs:annotation>
357
+ <xs:documentation>AN [34] internatinoal bank account number</xs:documentation>
358
+ </xs:annotation>
359
+ <xs:simpleType>
360
+ <xs:restriction base="xs:string">
361
+ <xs:maxLength value="34"/>
362
+ </xs:restriction>
363
+ </xs:simpleType>
364
+ </xs:element>
365
+ <xs:element name="CreditorName" minOccurs="0">
366
+ <xs:annotation>
367
+ <xs:documentation>AN [50] name of the creditor</xs:documentation>
368
+ </xs:annotation>
369
+ <xs:simpleType>
370
+ <xs:restriction base="xs:string">
371
+ <xs:maxLength value="50"/>
372
+ </xs:restriction>
373
+ </xs:simpleType>
374
+ </xs:element>
375
+ <xs:element name="CreditorReference" minOccurs="0">
376
+ <xs:annotation>
377
+ <xs:documentation>AN [140] reference</xs:documentation>
378
+ </xs:annotation>
379
+ <xs:simpleType>
380
+ <xs:restriction base="xs:string">
381
+ <xs:maxLength value="140"/>
382
+ </xs:restriction>
383
+ </xs:simpleType>
384
+ </xs:element>
385
+ <xs:element name="ChargingOption" block="restriction" minOccurs="0">
386
+ <xs:annotation>
387
+ <xs:documentation>[BEN;OUR;SHA] case-sensitive. Indication by whom the bank charges has to be paid.</xs:documentation>
388
+ </xs:annotation>
389
+ <xs:simpleType>
390
+ <xs:restriction base="xs:string">
391
+ <xs:enumeration value="BEN"/>
392
+ <xs:enumeration value="OUR"/>
393
+ <xs:enumeration value="SHA"/>
394
+ </xs:restriction>
395
+ </xs:simpleType>
396
+ </xs:element>
397
+ </xs:sequence>
398
+ </xs:complexType>
399
+ </xs:element>
400
+ <xs:element name="Instalments" minOccurs="0" maxOccurs="99">
401
+ <xs:annotation>
402
+ <xs:documentation>node instalments</xs:documentation>
403
+ </xs:annotation>
404
+ <xs:complexType>
405
+ <xs:complexContent>
406
+ <xs:extension base="Instalments"/>
407
+ </xs:complexContent>
408
+ </xs:complexType>
409
+ </xs:element>
410
+ </xs:sequence>
411
+ </xs:complexType>
412
+ </xs:element>
413
+ <xs:element name="FreeText" minOccurs="0" maxOccurs="unbounded">
414
+ <xs:annotation>
415
+ <xs:documentation>AN [255] bill header freetext</xs:documentation>
416
+ </xs:annotation>
417
+ <xs:simpleType>
418
+ <xs:restriction base="xs:string"/>
419
+ </xs:simpleType>
420
+ </xs:element>
421
+ </xs:sequence>
422
+ </xs:complexType>
423
+ <xs:complexType name="NetworkType">
424
+ <xs:annotation>
425
+ <xs:documentation>complextype Network</xs:documentation>
426
+ </xs:annotation>
427
+ <xs:sequence>
428
+ <xs:element name="NetworkName">
429
+ <xs:annotation>
430
+ <xs:documentation>AN [30] network identification</xs:documentation>
431
+ </xs:annotation>
432
+ <xs:simpleType>
433
+ <xs:restriction base="xs:string"/>
434
+ </xs:simpleType>
435
+ </xs:element>
436
+ <xs:element name="NetworkID">
437
+ <xs:annotation>
438
+ <xs:documentation>AN [30] unique network identification. If sender = BillerID; if receiver = EBPP network ID (eBill-account-ID) </xs:documentation>
439
+ </xs:annotation>
440
+ <xs:simpleType>
441
+ <xs:restriction base="xs:string"/>
442
+ </xs:simpleType>
443
+ </xs:element>
444
+ </xs:sequence>
445
+ </xs:complexType>
446
+ <xs:complexType name="AddressType">
447
+ <xs:annotation>
448
+ <xs:documentation>complextype Address</xs:documentation>
449
+ </xs:annotation>
450
+ <xs:sequence>
451
+ <xs:element name="CompanyName" minOccurs="0">
452
+ <xs:annotation>
453
+ <xs:documentation>AN [50] companyname, must correspond to Tax register entry. Mandatory for VAT validity.</xs:documentation>
454
+ </xs:annotation>
455
+ <xs:simpleType>
456
+ <xs:restriction base="xs:string"/>
457
+ </xs:simpleType>
458
+ </xs:element>
459
+ <xs:element name="CompanyDivision" minOccurs="0">
460
+ <xs:annotation>
461
+ <xs:documentation>AN [70] Name of company division </xs:documentation>
462
+ </xs:annotation>
463
+ <xs:simpleType>
464
+ <xs:restriction base="xs:string"/>
465
+ </xs:simpleType>
466
+ </xs:element>
467
+ <xs:element name="Title" minOccurs="0">
468
+ <xs:annotation>
469
+ <xs:documentation>AN [10] Mr. / Mrs. / Title</xs:documentation>
470
+ </xs:annotation>
471
+ <xs:simpleType>
472
+ <xs:restriction base="xs:string"/>
473
+ </xs:simpleType>
474
+ </xs:element>
475
+ <xs:element name="FamilyName" minOccurs="0">
476
+ <xs:annotation>
477
+ <xs:documentation>AN [50] familyname</xs:documentation>
478
+ </xs:annotation>
479
+ <xs:simpleType>
480
+ <xs:restriction base="xs:string"/>
481
+ </xs:simpleType>
482
+ </xs:element>
483
+ <xs:element name="GivenName" minOccurs="0">
484
+ <xs:annotation>
485
+ <xs:documentation>AN [50] givenname </xs:documentation>
486
+ </xs:annotation>
487
+ <xs:simpleType>
488
+ <xs:restriction base="xs:string"/>
489
+ </xs:simpleType>
490
+ </xs:element>
491
+ <xs:element name="Address1" minOccurs="0">
492
+ <xs:annotation>
493
+ <xs:documentation>AN [50] Address 1. Address1 or POBox has to be filled out.</xs:documentation>
494
+ </xs:annotation>
495
+ <xs:simpleType>
496
+ <xs:restriction base="xs:string"/>
497
+ </xs:simpleType>
498
+ </xs:element>
499
+ <xs:element name="Address2" minOccurs="0">
500
+ <xs:annotation>
501
+ <xs:documentation>AN [50] Address 2 </xs:documentation>
502
+ </xs:annotation>
503
+ <xs:simpleType>
504
+ <xs:restriction base="xs:string"/>
505
+ </xs:simpleType>
506
+ </xs:element>
507
+ <xs:element name="POBox" minOccurs="0">
508
+ <xs:annotation>
509
+ <xs:documentation>AN [50] PoBox, Address1 or POBox has to be filled out.</xs:documentation>
510
+ </xs:annotation>
511
+ <xs:simpleType>
512
+ <xs:restriction base="xs:string"/>
513
+ </xs:simpleType>
514
+ </xs:element>
515
+ <xs:element name="ZIP">
516
+ <xs:annotation>
517
+ <xs:documentation>AN [10] Postal code</xs:documentation>
518
+ </xs:annotation>
519
+ <xs:simpleType>
520
+ <xs:restriction base="xs:string"/>
521
+ </xs:simpleType>
522
+ </xs:element>
523
+ <xs:element name="City">
524
+ <xs:annotation>
525
+ <xs:documentation>AN [50] city</xs:documentation>
526
+ </xs:annotation>
527
+ <xs:simpleType>
528
+ <xs:restriction base="xs:string"/>
529
+ </xs:simpleType>
530
+ </xs:element>
531
+ <xs:element name="Country">
532
+ <xs:annotation>
533
+ <xs:documentation>A [2] ISO Standard 3166-1 (CH, DE, etc.)</xs:documentation>
534
+ </xs:annotation>
535
+ <xs:simpleType>
536
+ <xs:restriction base="xs:string">
537
+ <xs:length value="2"/>
538
+ </xs:restriction>
539
+ </xs:simpleType>
540
+ </xs:element>
541
+ <xs:element name="Email" minOccurs="0">
542
+ <xs:annotation>
543
+ <xs:documentation>AN [255] e-mail</xs:documentation>
544
+ </xs:annotation>
545
+ <xs:simpleType>
546
+ <xs:restriction base="xs:string"/>
547
+ </xs:simpleType>
548
+ </xs:element>
549
+ <xs:element name="Contact1" minOccurs="0">
550
+ <xs:annotation>
551
+ <xs:documentation>AN [70] contact information</xs:documentation>
552
+ </xs:annotation>
553
+ <xs:simpleType>
554
+ <xs:restriction base="xs:string"/>
555
+ </xs:simpleType>
556
+ </xs:element>
557
+ <xs:element name="Contact2" minOccurs="0">
558
+ <xs:annotation>
559
+ <xs:documentation>AN [70] contact information</xs:documentation>
560
+ </xs:annotation>
561
+ <xs:simpleType>
562
+ <xs:restriction base="xs:string"/>
563
+ </xs:simpleType>
564
+ </xs:element>
565
+ </xs:sequence>
566
+ </xs:complexType>
567
+ <xs:complexType name="PartyType">
568
+ <xs:annotation>
569
+ <xs:documentation>complextype Party</xs:documentation>
570
+ </xs:annotation>
571
+ <xs:sequence>
572
+ <xs:element name="CustomerID" minOccurs="0">
573
+ <xs:annotation>
574
+ <xs:documentation>AN [50] senders or receivers customer identification</xs:documentation>
575
+ </xs:annotation>
576
+ <xs:simpleType>
577
+ <xs:restriction base="xs:string"/>
578
+ </xs:simpleType>
579
+ </xs:element>
580
+ <xs:element name="Address" type="AddressType"/>
581
+ <xs:element name="TaxID" minOccurs="0">
582
+ <xs:annotation>
583
+ <xs:documentation>AN [50] VAT number of sender or receiver. Mandatory for sender if attribute TaxLiability is VAT. </xs:documentation>
584
+ </xs:annotation>
585
+ <xs:simpleType>
586
+ <xs:restriction base="xs:string"/>
587
+ </xs:simpleType>
588
+ </xs:element>
589
+ <xs:element name="AdditionalReference" type="Reference" minOccurs="0" maxOccurs="unbounded">
590
+ <xs:annotation>
591
+ <xs:documentation>additional reference, e.g. delivery number</xs:documentation>
592
+ </xs:annotation>
593
+ </xs:element>
594
+ </xs:sequence>
595
+ </xs:complexType>
596
+ <xs:complexType name="AchievementDateType">
597
+ <xs:annotation>
598
+ <xs:documentation>complextype AchievementDate</xs:documentation>
599
+ </xs:annotation>
600
+ <xs:sequence>
601
+ <xs:element name="StartDateAchievement" type="xs:date">
602
+ <xs:annotation>
603
+ <xs:documentation>[yyyy-mm-dd] Startdate of achievement range</xs:documentation>
604
+ </xs:annotation>
605
+ </xs:element>
606
+ <xs:element name="EndDateAchievement" type="xs:date">
607
+ <xs:annotation>
608
+ <xs:documentation>[yyyy-mm-dd] enddate of achievement range. End date can be equal, but not earlier to start date</xs:documentation>
609
+ </xs:annotation>
610
+ </xs:element>
611
+ </xs:sequence>
612
+ </xs:complexType>
613
+ <xs:complexType name="LineItemType">
614
+ <xs:annotation>
615
+ <xs:documentation>complextype LineItem</xs:documentation>
616
+ </xs:annotation>
617
+ <xs:sequence>
618
+ <xs:element name="LineItemType">
619
+ <xs:annotation>
620
+ <xs:documentation>[NORMAL, LINEITEMALLOWANCEANDCHARGE, GLOBALALLOWANCEANDCHARGE, SHIPPINGANDHANDLING, ROUNDING] type of lineitem</xs:documentation>
621
+ </xs:annotation>
622
+ <xs:simpleType>
623
+ <xs:restriction base="xs:string">
624
+ <xs:enumeration value="NORMAL"/>
625
+ <xs:enumeration value="LINEITEMALLOWANCEANDCHARGE"/>
626
+ <xs:enumeration value="GLOBALALLOWANCEANDCHARGE"/>
627
+ <xs:enumeration value="SHIPPINGANDHANDLING"/>
628
+ <xs:enumeration value="ROUNDING"/>
629
+ </xs:restriction>
630
+ </xs:simpleType>
631
+ </xs:element>
632
+ <xs:element name="LineItemID">
633
+ <xs:annotation>
634
+ <xs:documentation>AN [70] position of lineitem </xs:documentation>
635
+ </xs:annotation>
636
+ <xs:simpleType>
637
+ <xs:restriction base="xs:string"/>
638
+ </xs:simpleType>
639
+ </xs:element>
640
+ <xs:element name="ProductGroup" minOccurs="0">
641
+ <xs:annotation>
642
+ <xs:documentation>AN [50] description of product group as title</xs:documentation>
643
+ </xs:annotation>
644
+ <xs:simpleType>
645
+ <xs:restriction base="xs:string"/>
646
+ </xs:simpleType>
647
+ </xs:element>
648
+ <xs:element name="ProductSubGroup" minOccurs="0">
649
+ <xs:annotation>
650
+ <xs:documentation>AN [50] description of product subgroup as title</xs:documentation>
651
+ </xs:annotation>
652
+ <xs:simpleType>
653
+ <xs:restriction base="xs:string"/>
654
+ </xs:simpleType>
655
+ </xs:element>
656
+ <xs:element name="AchievementDate" type="AchievementDateType" minOccurs="0">
657
+ <xs:annotation>
658
+ <xs:documentation>This value is mandatory, if there is no entry in node AchievementDate of node billheader</xs:documentation>
659
+ </xs:annotation>
660
+ </xs:element>
661
+ <xs:element name="ProductDescription">
662
+ <xs:annotation>
663
+ <xs:documentation>AN [255] description of product or service</xs:documentation>
664
+ </xs:annotation>
665
+ <xs:simpleType>
666
+ <xs:restriction base="xs:string"/>
667
+ </xs:simpleType>
668
+ </xs:element>
669
+ <xs:element name="ProductID" minOccurs="0">
670
+ <xs:annotation>
671
+ <xs:documentation>AN [70] product-, article or achievementnumber, assigned by sender</xs:documentation>
672
+ </xs:annotation>
673
+ <xs:simpleType>
674
+ <xs:restriction base="xs:string"/>
675
+ </xs:simpleType>
676
+ </xs:element>
677
+ <xs:element name="EAN" minOccurs="0">
678
+ <xs:annotation>
679
+ <xs:documentation>N [18] European/International Article Number </xs:documentation>
680
+ </xs:annotation>
681
+ <xs:simpleType>
682
+ <xs:restriction base="xs:string">
683
+ <xs:pattern value="\d{0,18}"/>
684
+ </xs:restriction>
685
+ </xs:simpleType>
686
+ </xs:element>
687
+ <xs:element name="Quantity">
688
+ <xs:annotation>
689
+ <xs:documentation>N [13].[6] quantity</xs:documentation>
690
+ </xs:annotation>
691
+ <xs:simpleType>
692
+ <xs:restriction base="xs:decimal"/>
693
+ </xs:simpleType>
694
+ </xs:element>
695
+ <xs:element name="QuantityDescription">
696
+ <xs:annotation>
697
+ <xs:documentation>AN[20]
698
+ must be agreed with the billRecipient</xs:documentation>
699
+ </xs:annotation>
700
+ <xs:simpleType>
701
+ <xs:restriction base="xs:string">
702
+ <xs:minLength value="1"/>
703
+ <xs:maxLength value="20"/>
704
+ </xs:restriction>
705
+ </xs:simpleType>
706
+ </xs:element>
707
+ <xs:element name="PriceUnit">
708
+ <xs:annotation>
709
+ <xs:documentation>N [17].[2] quantity delivered per price (default = 1) </xs:documentation>
710
+ </xs:annotation>
711
+ <xs:simpleType>
712
+ <xs:restriction base="xs:decimal"/>
713
+ </xs:simpleType>
714
+ </xs:element>
715
+ <xs:element name="PriceInclusiveTax" type="xs:decimal" minOccurs="0">
716
+ <xs:annotation>
717
+ <xs:documentation>N [17].[6] price incl. VAT per price unit </xs:documentation>
718
+ </xs:annotation>
719
+ </xs:element>
720
+ <xs:element name="PriceExclusiveTax" type="xs:decimal" minOccurs="0">
721
+ <xs:annotation>
722
+ <xs:documentation>N [17].[6] price excl. VAT per price unit</xs:documentation>
723
+ </xs:annotation>
724
+ </xs:element>
725
+ <xs:element name="Tax" type="TaxLineItemType" minOccurs="0">
726
+ <xs:annotation>
727
+ <xs:documentation>tax detail per line item</xs:documentation>
728
+ </xs:annotation>
729
+ </xs:element>
730
+ <xs:element name="AmountInclusiveTax" minOccurs="0">
731
+ <xs:annotation>
732
+ <xs:documentation>N [17].[6] sum of BaseAmountInclusiveTax values (node TaxDetail)</xs:documentation>
733
+ </xs:annotation>
734
+ <xs:simpleType>
735
+ <xs:restriction base="xs:decimal"/>
736
+ </xs:simpleType>
737
+ </xs:element>
738
+ <xs:element name="AmountExclusiveTax">
739
+ <xs:annotation>
740
+ <xs:documentation>N [17].[6] sum of all BaseAmountExclusiveTax values (node TaxDetail)</xs:documentation>
741
+ </xs:annotation>
742
+ <xs:simpleType>
743
+ <xs:restriction base="xs:decimal"/>
744
+ </xs:simpleType>
745
+ </xs:element>
746
+ <xs:element name="AccountAssignment" type="AccountAssignmentType" minOccurs="0">
747
+ <xs:annotation>
748
+ <xs:documentation>order- and account references </xs:documentation>
749
+ </xs:annotation>
750
+ </xs:element>
751
+ <xs:element name="FixedReference" type="FixedReference" minOccurs="0" maxOccurs="unbounded">
752
+ <xs:annotation>
753
+ <xs:documentation>enumerated references </xs:documentation>
754
+ </xs:annotation>
755
+ </xs:element>
756
+ <xs:element name="LineItemReference" type="Reference" minOccurs="0" maxOccurs="unbounded">
757
+ <xs:annotation>
758
+ <xs:documentation>additional Lineitem reference defined by sender.</xs:documentation>
759
+ </xs:annotation>
760
+ </xs:element>
761
+ <xs:element name="AllowanceAndCharge" minOccurs="0">
762
+ <xs:annotation>
763
+ <xs:documentation>informations about allowance and charges, only allowed if LineItemType is "GLOBALALLOWANCEANDCHARGE" oder "LINEITEMALLOWANCEANDCHARGE"</xs:documentation>
764
+ </xs:annotation>
765
+ <xs:complexType>
766
+ <xs:sequence>
767
+ <xs:element name="BaseAmount" minOccurs="0">
768
+ <xs:annotation>
769
+ <xs:documentation>N [17].[6] indication as amount</xs:documentation>
770
+ </xs:annotation>
771
+ <xs:simpleType>
772
+ <xs:restriction base="xs:decimal"/>
773
+ </xs:simpleType>
774
+ </xs:element>
775
+ <xs:element name="Rate" minOccurs="0">
776
+ <xs:annotation>
777
+ <xs:documentation>N [2].[2] indication in %</xs:documentation>
778
+ </xs:annotation>
779
+ <xs:simpleType>
780
+ <xs:restriction base="xs:decimal"/>
781
+ </xs:simpleType>
782
+ </xs:element>
783
+ <xs:element name="AllowanceAndChargeCode" minOccurs="0">
784
+ <xs:annotation>
785
+ <xs:documentation>Qualifiers the kind of allowance or charge</xs:documentation>
786
+ </xs:annotation>
787
+ <xs:simpleType>
788
+ <xs:restriction base="xs:string">
789
+ <xs:enumeration value="A"/>
790
+ <xs:enumeration value="B"/>
791
+ <xs:enumeration value="C"/>
792
+ <xs:enumeration value="D"/>
793
+ <xs:enumeration value="E"/>
794
+ <xs:enumeration value="F"/>
795
+ <xs:enumeration value="G"/>
796
+ <xs:enumeration value="H"/>
797
+ <xs:enumeration value="J"/>
798
+ <xs:enumeration value="K"/>
799
+ <xs:enumeration value="L"/>
800
+ <xs:enumeration value="M"/>
801
+ <xs:enumeration value="N"/>
802
+ <xs:enumeration value="O"/>
803
+ <xs:enumeration value="P"/>
804
+ <xs:enumeration value="Q"/>
805
+ <xs:enumeration value="R"/>
806
+ <xs:enumeration value="S"/>
807
+ <xs:enumeration value="T"/>
808
+ <xs:enumeration value="U"/>
809
+ <xs:enumeration value="V"/>
810
+ <xs:enumeration value="W"/>
811
+ <xs:enumeration value="X"/>
812
+ <xs:enumeration value="Y"/>
813
+ </xs:restriction>
814
+ </xs:simpleType>
815
+ </xs:element>
816
+ </xs:sequence>
817
+ </xs:complexType>
818
+ </xs:element>
819
+ <xs:element name="FreeText" minOccurs="0" maxOccurs="unbounded">
820
+ <xs:annotation>
821
+ <xs:documentation>AN [255] free text per line item</xs:documentation>
822
+ </xs:annotation>
823
+ <xs:simpleType>
824
+ <xs:restriction base="xs:string"/>
825
+ </xs:simpleType>
826
+ </xs:element>
827
+ </xs:sequence>
828
+ </xs:complexType>
829
+ <xs:complexType name="TaxDetailType">
830
+ <xs:annotation>
831
+ <xs:documentation>complextype TaxDetail</xs:documentation>
832
+ </xs:annotation>
833
+ <xs:sequence>
834
+ <xs:element name="Rate">
835
+ <xs:annotation>
836
+ <xs:documentation>N [2].[2] percantage of tax rate (e.g. 7.60)</xs:documentation>
837
+ </xs:annotation>
838
+ <xs:simpleType>
839
+ <xs:restriction base="xs:decimal"/>
840
+ </xs:simpleType>
841
+ </xs:element>
842
+ <xs:element name="Amount">
843
+ <xs:annotation>
844
+ <xs:documentation>N [17].[6] effective tax amount per tax rate</xs:documentation>
845
+ </xs:annotation>
846
+ <xs:simpleType>
847
+ <xs:restriction base="xs:decimal"/>
848
+ </xs:simpleType>
849
+ </xs:element>
850
+ <xs:element name="BaseAmountExclusiveTax">
851
+ <xs:annotation>
852
+ <xs:documentation>N [17].[6] baseamount exclusive tax per tax rate</xs:documentation>
853
+ </xs:annotation>
854
+ <xs:simpleType>
855
+ <xs:restriction base="xs:decimal"/>
856
+ </xs:simpleType>
857
+ </xs:element>
858
+ <xs:element name="BaseAmountInclusiveTax" minOccurs="0">
859
+ <xs:annotation>
860
+ <xs:documentation>N [17].[6] baseamount inclusive tax per tax rate</xs:documentation>
861
+ </xs:annotation>
862
+ <xs:simpleType>
863
+ <xs:restriction base="xs:decimal"/>
864
+ </xs:simpleType>
865
+ </xs:element>
866
+ </xs:sequence>
867
+ </xs:complexType>
868
+ <xs:complexType name="TaxType">
869
+ <xs:annotation>
870
+ <xs:documentation>complextype Tax</xs:documentation>
871
+ </xs:annotation>
872
+ <xs:sequence>
873
+ <xs:element name="TaxDetail" type="TaxDetailType" maxOccurs="unbounded">
874
+ <xs:annotation>
875
+ <xs:documentation>taxdetails per tax rate</xs:documentation>
876
+ </xs:annotation>
877
+ </xs:element>
878
+ <xs:element name="TotalTax">
879
+ <xs:annotation>
880
+ <xs:documentation>N [17].[2] sum of tax amounts</xs:documentation>
881
+ </xs:annotation>
882
+ <xs:simpleType>
883
+ <xs:restriction base="xs:decimal"/>
884
+ </xs:simpleType>
885
+ </xs:element>
886
+ </xs:sequence>
887
+ </xs:complexType>
888
+ <xs:complexType name="TaxLineItemType">
889
+ <xs:annotation>
890
+ <xs:documentation>complextype Tax</xs:documentation>
891
+ </xs:annotation>
892
+ <xs:sequence>
893
+ <xs:element name="TaxDetail" type="TaxDetailType">
894
+ <xs:annotation>
895
+ <xs:documentation>taxdetails per tax rate</xs:documentation>
896
+ </xs:annotation>
897
+ </xs:element>
898
+ <xs:element name="TotalTax">
899
+ <xs:annotation>
900
+ <xs:documentation>N [17].[6] sum of tax amounts</xs:documentation>
901
+ </xs:annotation>
902
+ <xs:simpleType>
903
+ <xs:restriction base="xs:decimal"/>
904
+ </xs:simpleType>
905
+ </xs:element>
906
+ </xs:sequence>
907
+ </xs:complexType>
908
+ <xs:complexType name="SummaryType">
909
+ <xs:annotation>
910
+ <xs:documentation>complextype Summary</xs:documentation>
911
+ </xs:annotation>
912
+ <xs:sequence>
913
+ <xs:element name="Tax" type="TaxType" minOccurs="0"/>
914
+ <xs:element name="Discount" minOccurs="0" maxOccurs="unbounded">
915
+ <xs:annotation>
916
+ <xs:documentation>Discount on payment (Skonto)</xs:documentation>
917
+ </xs:annotation>
918
+ <xs:complexType>
919
+ <xs:sequence>
920
+ <xs:choice>
921
+ <xs:element name="Days">
922
+ <xs:annotation>
923
+ <xs:documentation>N [2] number of days when discount rate is allowed</xs:documentation>
924
+ </xs:annotation>
925
+ <xs:simpleType>
926
+ <xs:restriction base="xs:int"/>
927
+ </xs:simpleType>
928
+ </xs:element>
929
+ <xs:element name="DiscountDate" type="xs:date">
930
+ <xs:annotation>
931
+ <xs:documentation>[yyyy-mm-dd]</xs:documentation>
932
+ </xs:annotation>
933
+ </xs:element>
934
+ </xs:choice>
935
+ <xs:element name="Rate">
936
+ <xs:annotation>
937
+ <xs:documentation>N [2].[2] Discount rate in % (Skontosatz in %)</xs:documentation>
938
+ </xs:annotation>
939
+ <xs:simpleType>
940
+ <xs:restriction base="xs:decimal"/>
941
+ </xs:simpleType>
942
+ </xs:element>
943
+ </xs:sequence>
944
+ </xs:complexType>
945
+ </xs:element>
946
+ <xs:element name="TotalAmountExclusiveTax">
947
+ <xs:annotation>
948
+ <xs:documentation>N [17].[2] overall total amount excl. tax</xs:documentation>
949
+ </xs:annotation>
950
+ <xs:simpleType>
951
+ <xs:restriction base="xs:decimal"/>
952
+ </xs:simpleType>
953
+ </xs:element>
954
+ <xs:element name="TotalAmountInclusiveTax">
955
+ <xs:annotation>
956
+ <xs:documentation>N [17].[2] overall total amount incl. tax. Must correspond to TotalAmount in PaymentData</xs:documentation>
957
+ </xs:annotation>
958
+ <xs:simpleType>
959
+ <xs:restriction base="xs:decimal"/>
960
+ </xs:simpleType>
961
+ </xs:element>
962
+ <xs:element name="Rounding" minOccurs="0">
963
+ <xs:annotation>
964
+ <xs:documentation>N [17].[6] amount of rounding</xs:documentation>
965
+ </xs:annotation>
966
+ <xs:simpleType>
967
+ <xs:restriction base="xs:decimal"/>
968
+ </xs:simpleType>
969
+ </xs:element>
970
+ <xs:element name="FreeText" type="xs:string" minOccurs="0" maxOccurs="unbounded">
971
+ <xs:annotation>
972
+ <xs:documentation>bill summary freetext</xs:documentation>
973
+ </xs:annotation>
974
+ </xs:element>
975
+ <xs:element name="TotalAmountPaid" minOccurs="0">
976
+ <xs:annotation>
977
+ <xs:documentation>N [17].[2] total of prepaid amount</xs:documentation>
978
+ </xs:annotation>
979
+ <xs:simpleType>
980
+ <xs:restriction base="xs:decimal"/>
981
+ </xs:simpleType>
982
+ </xs:element>
983
+ <xs:element name="TotalAmountDue" minOccurs="0">
984
+ <xs:annotation>
985
+ <xs:documentation>N [17].[2] total amount incl. tax with subtraction of prepaid amount. </xs:documentation>
986
+ </xs:annotation>
987
+ <xs:simpleType>
988
+ <xs:restriction base="xs:decimal"/>
989
+ </xs:simpleType>
990
+ </xs:element>
991
+ </xs:sequence>
992
+ </xs:complexType>
993
+ <xs:complexType name="BillType">
994
+ <xs:annotation>
995
+ <xs:documentation>complextype Bill</xs:documentation>
996
+ </xs:annotation>
997
+ <xs:sequence>
998
+ <xs:element name="Header">
999
+ <xs:annotation>
1000
+ <xs:documentation>node bill header</xs:documentation>
1001
+ </xs:annotation>
1002
+ <xs:complexType>
1003
+ <xs:complexContent>
1004
+ <xs:extension base="BillHeaderType"/>
1005
+ </xs:complexContent>
1006
+ </xs:complexType>
1007
+ </xs:element>
1008
+ <xs:element name="LineItems">
1009
+ <xs:annotation>
1010
+ <xs:documentation>node bill line items</xs:documentation>
1011
+ </xs:annotation>
1012
+ <xs:complexType>
1013
+ <xs:sequence>
1014
+ <xs:element name="LineItem" type="LineItemType" maxOccurs="unbounded">
1015
+ <xs:annotation>
1016
+ <xs:documentation>detail information per position</xs:documentation>
1017
+ </xs:annotation>
1018
+ </xs:element>
1019
+ </xs:sequence>
1020
+ </xs:complexType>
1021
+ </xs:element>
1022
+ <xs:element name="Summary" type="SummaryType">
1023
+ <xs:annotation>
1024
+ <xs:documentation>node bill summary</xs:documentation>
1025
+ </xs:annotation>
1026
+ </xs:element>
1027
+ </xs:sequence>
1028
+ </xs:complexType>
1029
+ <xs:element name="Envelope">
1030
+ <xs:annotation>
1031
+ <xs:documentation>systemnode</xs:documentation>
1032
+ </xs:annotation>
1033
+ <xs:complexType>
1034
+ <xs:sequence>
1035
+ <xs:element name="Header" type="HeaderType">
1036
+ <xs:annotation>
1037
+ <xs:documentation>node envelope header</xs:documentation>
1038
+ </xs:annotation>
1039
+ </xs:element>
1040
+ <xs:element name="Body" type="ybInvoiceType">
1041
+ <xs:annotation>
1042
+ <xs:documentation>node envelope body</xs:documentation>
1043
+ </xs:annotation>
1044
+ </xs:element>
1045
+ </xs:sequence>
1046
+ <xs:attribute name="type" type="xs:string" use="required"/>
1047
+ </xs:complexType>
1048
+ </xs:element>
1049
+ <xs:complexType name="AccountAssignmentType">
1050
+ <xs:annotation>
1051
+ <xs:documentation>complextype AccountAssignment</xs:documentation>
1052
+ </xs:annotation>
1053
+ <xs:sequence>
1054
+ <xs:element name="OrderReference" type="Reference" minOccurs="0">
1055
+ <xs:annotation>
1056
+ <xs:documentation>order reference has to use "OrderReference" as ReferenceType</xs:documentation>
1057
+ </xs:annotation>
1058
+ </xs:element>
1059
+ <xs:element name="OrderPosition" minOccurs="0">
1060
+ <xs:annotation>
1061
+ <xs:documentation>AN [20] order position number</xs:documentation>
1062
+ </xs:annotation>
1063
+ <xs:simpleType>
1064
+ <xs:restriction base="xs:string"/>
1065
+ </xs:simpleType>
1066
+ </xs:element>
1067
+ <xs:element name="OrderDate" type="xs:date" minOccurs="0">
1068
+ <xs:annotation>
1069
+ <xs:documentation>[yyyy-mm-dd] date of based order</xs:documentation>
1070
+ </xs:annotation>
1071
+ </xs:element>
1072
+ <xs:element name="ProductIDReceiver" minOccurs="0">
1073
+ <xs:annotation>
1074
+ <xs:documentation>AN [70] article, achievement or product number, assigned by receiver</xs:documentation>
1075
+ </xs:annotation>
1076
+ <xs:simpleType>
1077
+ <xs:restriction base="xs:string"/>
1078
+ </xs:simpleType>
1079
+ </xs:element>
1080
+ <xs:element name="CostType" minOccurs="0">
1081
+ <xs:annotation>
1082
+ <xs:documentation>AN [70] description of cost type</xs:documentation>
1083
+ </xs:annotation>
1084
+ <xs:simpleType>
1085
+ <xs:restriction base="xs:string"/>
1086
+ </xs:simpleType>
1087
+ </xs:element>
1088
+ <xs:element name="AccountType" minOccurs="0">
1089
+ <xs:annotation>
1090
+ <xs:documentation>AN [70] description of account type</xs:documentation>
1091
+ </xs:annotation>
1092
+ <xs:simpleType>
1093
+ <xs:restriction base="xs:string"/>
1094
+ </xs:simpleType>
1095
+ </xs:element>
1096
+ <xs:element name="AccountValue" minOccurs="0">
1097
+ <xs:annotation>
1098
+ <xs:documentation>AN [70] account number</xs:documentation>
1099
+ </xs:annotation>
1100
+ <xs:simpleType>
1101
+ <xs:restriction base="xs:string"/>
1102
+ </xs:simpleType>
1103
+ </xs:element>
1104
+ <xs:element name="Division" minOccurs="0">
1105
+ <xs:annotation>
1106
+ <xs:documentation>AN [70] name or identification of company division</xs:documentation>
1107
+ </xs:annotation>
1108
+ <xs:simpleType>
1109
+ <xs:restriction base="xs:string"/>
1110
+ </xs:simpleType>
1111
+ </xs:element>
1112
+ <xs:element name="BuildingNumber" minOccurs="0">
1113
+ <xs:annotation>
1114
+ <xs:documentation>AN[70] name or identification of the building</xs:documentation>
1115
+ </xs:annotation>
1116
+ <xs:simpleType>
1117
+ <xs:restriction base="xs:string"/>
1118
+ </xs:simpleType>
1119
+ </xs:element>
1120
+ <xs:element name="MachineNumber" minOccurs="0">
1121
+ <xs:annotation>
1122
+ <xs:documentation>AN[70] name or identification of the machine</xs:documentation>
1123
+ </xs:annotation>
1124
+ <xs:simpleType>
1125
+ <xs:restriction base="xs:string"/>
1126
+ </xs:simpleType>
1127
+ </xs:element>
1128
+ <xs:element name="JobNumber" minOccurs="0">
1129
+ <xs:annotation>
1130
+ <xs:documentation>AN [70] name or identification of the job</xs:documentation>
1131
+ </xs:annotation>
1132
+ <xs:simpleType>
1133
+ <xs:restriction base="xs:string"/>
1134
+ </xs:simpleType>
1135
+ </xs:element>
1136
+ <xs:element name="ProjectNumber" minOccurs="0">
1137
+ <xs:annotation>
1138
+ <xs:documentation>AN [70] name or identification of the project</xs:documentation>
1139
+ </xs:annotation>
1140
+ <xs:simpleType>
1141
+ <xs:restriction base="xs:string"/>
1142
+ </xs:simpleType>
1143
+ </xs:element>
1144
+ </xs:sequence>
1145
+ </xs:complexType>
1146
+ <xs:complexType name="HeaderType">
1147
+ <xs:annotation>
1148
+ <xs:documentation>complextype Header</xs:documentation>
1149
+ </xs:annotation>
1150
+ <xs:sequence>
1151
+ <xs:element name="From">
1152
+ <xs:annotation>
1153
+ <xs:documentation>AN [70] sender companyname (e.g.: "Muster AG")</xs:documentation>
1154
+ </xs:annotation>
1155
+ <xs:simpleType>
1156
+ <xs:restriction base="xs:string"/>
1157
+ </xs:simpleType>
1158
+ </xs:element>
1159
+ <xs:element name="To">
1160
+ <xs:annotation>
1161
+ <xs:documentation>AN targetsystemname (value: "IPECeBILLServer")</xs:documentation>
1162
+ </xs:annotation>
1163
+ <xs:simpleType>
1164
+ <xs:restriction base="xs:string">
1165
+ <xs:enumeration value="IPECeBILLServer"/>
1166
+ </xs:restriction>
1167
+ </xs:simpleType>
1168
+ </xs:element>
1169
+ <xs:element name="UseCase">
1170
+ <xs:annotation>
1171
+ <xs:documentation>AN usecasename (value: "CreateybInvoice")</xs:documentation>
1172
+ </xs:annotation>
1173
+ <xs:simpleType>
1174
+ <xs:restriction base="xs:string">
1175
+ <xs:maxLength value="20"/>
1176
+ <xs:enumeration value="CreateybInvoice"/>
1177
+ </xs:restriction>
1178
+ </xs:simpleType>
1179
+ </xs:element>
1180
+ <xs:element name="SessionID">
1181
+ <xs:annotation>
1182
+ <xs:documentation>N IPEC systemID (value: "1")</xs:documentation>
1183
+ </xs:annotation>
1184
+ <xs:simpleType>
1185
+ <xs:restriction base="xs:string">
1186
+ <xs:enumeration value="1"/>
1187
+ </xs:restriction>
1188
+ </xs:simpleType>
1189
+ </xs:element>
1190
+ <xs:element name="Version">
1191
+ <xs:annotation>
1192
+ <xs:documentation>N ybInvoice-version (value: "2.0")</xs:documentation>
1193
+ </xs:annotation>
1194
+ <xs:simpleType>
1195
+ <xs:restriction base="xs:decimal">
1196
+ <xs:enumeration value="2.0"/>
1197
+ <xs:enumeration value="2"/>
1198
+ </xs:restriction>
1199
+ </xs:simpleType>
1200
+ </xs:element>
1201
+ <xs:element name="Status">
1202
+ <xs:annotation>
1203
+ <xs:documentation>N IPEC systemID (value: "0")</xs:documentation>
1204
+ </xs:annotation>
1205
+ <xs:simpleType>
1206
+ <xs:restriction base="xs:short">
1207
+ <xs:enumeration value="0"/>
1208
+ </xs:restriction>
1209
+ </xs:simpleType>
1210
+ </xs:element>
1211
+ <xs:element name="SoftwareName" minOccurs="0">
1212
+ <xs:simpleType>
1213
+ <xs:restriction base="xs:string">
1214
+ <xs:maxLength value="70"/>
1215
+ </xs:restriction>
1216
+ </xs:simpleType>
1217
+ </xs:element>
1218
+ <xs:element name="SoftwareVersion" minOccurs="0">
1219
+ <xs:simpleType>
1220
+ <xs:restriction base="xs:string">
1221
+ <xs:maxLength value="70"/>
1222
+ </xs:restriction>
1223
+ </xs:simpleType>
1224
+ </xs:element>
1225
+ </xs:sequence>
1226
+ </xs:complexType>
1227
+ <xs:complexType name="Reference">
1228
+ <xs:annotation>
1229
+ <xs:documentation>complextype Reference</xs:documentation>
1230
+ </xs:annotation>
1231
+ <xs:sequence>
1232
+ <xs:element name="ReferencePosition">
1233
+ <xs:annotation>
1234
+ <xs:documentation>AN [50] position (number) of reference </xs:documentation>
1235
+ </xs:annotation>
1236
+ <xs:simpleType>
1237
+ <xs:restriction base="xs:string"/>
1238
+ </xs:simpleType>
1239
+ </xs:element>
1240
+ <xs:element name="ReferenceType">
1241
+ <xs:annotation>
1242
+ <xs:documentation>AN [50] type of reference</xs:documentation>
1243
+ </xs:annotation>
1244
+ <xs:simpleType>
1245
+ <xs:restriction base="xs:string"/>
1246
+ </xs:simpleType>
1247
+ </xs:element>
1248
+ <xs:element name="ReferenceValue">
1249
+ <xs:annotation>
1250
+ <xs:documentation>AN [70] value of reference</xs:documentation>
1251
+ </xs:annotation>
1252
+ <xs:simpleType>
1253
+ <xs:restriction base="xs:string"/>
1254
+ </xs:simpleType>
1255
+ </xs:element>
1256
+ </xs:sequence>
1257
+ </xs:complexType>
1258
+ <xs:complexType name="FixedReference">
1259
+ <xs:annotation>
1260
+ <xs:documentation>complextype Reference</xs:documentation>
1261
+ </xs:annotation>
1262
+ <xs:sequence>
1263
+ <xs:element name="ReferencePosition">
1264
+ <xs:annotation>
1265
+ <xs:documentation>AN [50] position (number) of reference </xs:documentation>
1266
+ </xs:annotation>
1267
+ <xs:simpleType>
1268
+ <xs:restriction base="xs:string"/>
1269
+ </xs:simpleType>
1270
+ </xs:element>
1271
+ <xs:element name="ReferenceType">
1272
+ <xs:annotation>
1273
+ <xs:documentation>AN [50] type of reference</xs:documentation>
1274
+ </xs:annotation>
1275
+ <xs:simpleType>
1276
+ <xs:restriction base="xs:string">
1277
+ <xs:enumeration value="OrderNumberByBuyer"/>
1278
+ <xs:enumeration value="OrderNumberBySupplier"/>
1279
+ <xs:enumeration value="CreditAdviceNumber"/>
1280
+ <xs:enumeration value="BillNumber"/>
1281
+ <xs:enumeration value="DispatchNotificationNumber"/>
1282
+ <xs:enumeration value="DeliveryNoteNumber"/>
1283
+ <xs:enumeration value="OrderReplyNumber"/>
1284
+ <xs:enumeration value="BidNumber"/>
1285
+ <xs:enumeration value="ContractNumber"/>
1286
+ <xs:enumeration value="ReceiptNumber"/>
1287
+ <xs:enumeration value="OurSign"/>
1288
+ <xs:enumeration value="YourSign"/>
1289
+ </xs:restriction>
1290
+ </xs:simpleType>
1291
+ </xs:element>
1292
+ <xs:element name="ReferenceValue">
1293
+ <xs:annotation>
1294
+ <xs:documentation>AN [70] value of reference</xs:documentation>
1295
+ </xs:annotation>
1296
+ <xs:simpleType>
1297
+ <xs:restriction base="xs:string"/>
1298
+ </xs:simpleType>
1299
+ </xs:element>
1300
+ </xs:sequence>
1301
+ </xs:complexType>
1302
+ <xs:complexType name="AppendixType">
1303
+ <xs:annotation>
1304
+ <xs:documentation>complextype Appendix</xs:documentation>
1305
+ </xs:annotation>
1306
+ <xs:sequence maxOccurs="unbounded">
1307
+ <xs:element name="Document">
1308
+ <xs:annotation>
1309
+ <xs:documentation>Any attachment as Base64 String. In case of BillDetailsType= PDFAppendix, the PDF bill detail has to be placed here with MimeType=x-application/pdfappendix. </xs:documentation>
1310
+ </xs:annotation>
1311
+ <xs:complexType>
1312
+ <xs:simpleContent>
1313
+ <xs:extension base="xs:string">
1314
+ <xs:attribute name="MimeType" type="xs:string" use="required"/>
1315
+ <xs:attribute name="FileName">
1316
+ <xs:simpleType>
1317
+ <xs:restriction base="xs:string">
1318
+ <xs:maxLength value="255"/>
1319
+ </xs:restriction>
1320
+ </xs:simpleType>
1321
+ </xs:attribute>
1322
+ </xs:extension>
1323
+ </xs:simpleContent>
1324
+ </xs:complexType>
1325
+ </xs:element>
1326
+ </xs:sequence>
1327
+ </xs:complexType>
1328
+ <xs:complexType name="Instalments">
1329
+ <xs:sequence>
1330
+ <xs:element name="Description" minOccurs="0">
1331
+ <xs:simpleType>
1332
+ <xs:restriction base="xs:string">
1333
+ <xs:maxLength value="255"/>
1334
+ </xs:restriction>
1335
+ </xs:simpleType>
1336
+ </xs:element>
1337
+ <xs:element name="Instalment" type="InstalmentType" maxOccurs="99">
1338
+ <xs:annotation>
1339
+ <xs:documentation>Einzelrate, die der Rechnungsempfänger zur Zahlung freigeben kann. Die maximale Anzahl der Raten pro Ratengruppe ist auf 99 eingeschränkt. </xs:documentation>
1340
+ </xs:annotation>
1341
+ </xs:element>
1342
+ </xs:sequence>
1343
+ </xs:complexType>
1344
+ <xs:complexType name="InstalmentType">
1345
+ <xs:annotation>
1346
+ <xs:documentation>complextype Instalment</xs:documentation>
1347
+ </xs:annotation>
1348
+ <xs:sequence>
1349
+ <xs:element name="Description" minOccurs="0">
1350
+ <xs:simpleType>
1351
+ <xs:restriction base="xs:string">
1352
+ <xs:maxLength value="255"/>
1353
+ </xs:restriction>
1354
+ </xs:simpleType>
1355
+ </xs:element>
1356
+ <xs:element name="Amount">
1357
+ <xs:annotation>
1358
+ <xs:documentation>N [17].[2] amount of instalment inclusive tax</xs:documentation>
1359
+ </xs:annotation>
1360
+ <xs:simpleType>
1361
+ <xs:restriction base="xs:decimal"/>
1362
+ </xs:simpleType>
1363
+ </xs:element>
1364
+ <xs:element name="PaymentDueDate" type="xs:date">
1365
+ <xs:annotation>
1366
+ <xs:documentation>[yyyy-mm-dd] Due date for payment (e.g.:"2004-07-25")</xs:documentation>
1367
+ </xs:annotation>
1368
+ </xs:element>
1369
+ <xs:choice>
1370
+ <xs:element name="ESRReferenceNr" minOccurs="0">
1371
+ <xs:annotation>
1372
+ <xs:documentation>N [27] Reference number of orange inpayment slip (ESR) </xs:documentation>
1373
+ </xs:annotation>
1374
+ <xs:simpleType>
1375
+ <xs:restriction base="xs:string">
1376
+ <xs:maxLength value="27"/>
1377
+ <xs:minLength value="16"/>
1378
+ <xs:pattern value="([0-9])*"/>
1379
+ </xs:restriction>
1380
+ </xs:simpleType>
1381
+ </xs:element>
1382
+ <xs:element name="CreditorReference" minOccurs="0">
1383
+ <xs:annotation>
1384
+ <xs:documentation>AN [140] reference</xs:documentation>
1385
+ </xs:annotation>
1386
+ <xs:simpleType>
1387
+ <xs:restriction base="xs:string">
1388
+ <xs:maxLength value="140"/>
1389
+ </xs:restriction>
1390
+ </xs:simpleType>
1391
+ </xs:element>
1392
+ </xs:choice>
1393
+ </xs:sequence>
1394
+ </xs:complexType>
1395
+ </xs:schema>