Changes for page 01. Cusin

Last modified by David Persson on 2023/04/19 08:23
From empty
To version 68.1
edited by Jens Kral
on 2021/12/02 09:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +1. Cusin
Parent
... ... @@ -1,0 +1,1 @@
1 +developer:Main.Invoicing.invoice-service.Implementation guide.Technical reference.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.XWikiGuest
1 +xwiki:XWiki.jkr
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Tags
... ... @@ -1,0 +1,1 @@
1 +px-custom-page-content
Content
... ... @@ -1,0 +1,158 @@
1 +(% class="jumbotron" %)
2 +(((
3 +(% class="container" %)
4 +(((
5 +PayEx CUSIN (CustomerInvoice) is a file format for customers to send customer and invoice information to PayEx. Used in "PayEx Invoice Service". This is a technical overview of the fileformat, its elements and related material. This section should be seen as a companion to the standard setup scenario.
6 +)))
7 +)))
8 +
9 +{{warning}}
10 +Please note that your CUSIN file, depending on package type and file version, might only utilize and/or contain a subset of all elements described below. See the XSD for your CUSIN file version to learn more.
11 +{{/warning}}
12 +
13 +== [[image:Cusin_[2.0].xsd.png||height="1660" width="660"]] ==
14 +
15 +== Encoding ==
16 +
17 +The file must use [[(% style="color:#0066cc" %)__UTF-8 encoding__>>url:https://en.wikipedia.org/wiki/UTF-8]](%%).
18 +
19 +(% id="HNameconvention" %)
20 +== Name convention ==
21 +
22 +CUSIN_<CompanyNumber>_<DateTime>_<SerialNumber>.xml
23 +
24 +(% class="table-bordered table-striped" %)
25 +|=Name components|=Description
26 +|CompanyNumber|The company number in our ledger system
27 +|DateTime|Date created, Should be in the format ISO 8601 format, YYYYMMDDhhmmdd
28 +|SerialNumber|Should follow an uninterrupted number series, 1, 2, 3 and so on.
29 +
30 +(% id="HXSDValidation" %)
31 +== Limitations ==
32 +
33 +(% class="table-bordered table-striped" %)
34 +|=Limitations|=Description
35 +|Maximum size limit|100 MB
36 +|Maximum number of lines|50.000 items
37 +
38 +== Important to note! ==
39 +
40 +* You cannot use the same serial number more than once. In case something goes wrong during CUSIN processing, you need to supply a new serial number - the next number in the number series you are using - when transferring the rectified file to PayEx.
41 +* To avoid most file errors, always validate the cusin-file toward an up-to-date XML schema before transferring the file to PayEx.
42 +* Standard length of CustomerNo in Norway is 7 characters (numeric only).
43 +* Only use numeric characters for CustomerNo in Sweden, in order to use AutoGiro (Direct Debit).
44 +
45 +== Receipt and errors ==
46 +
47 +You can find an overview of the Cusin receipt file [[here >>doc:Main.Invoicing.invoice-service.Implementation guide.Technical reference.Receipt.WebHome]]and the Cusin errorlog file [[here>>doc:Main.Invoicing.invoice-service.Implementation guide.Technical reference.Errorlog.WebHome]].
48 +
49 +== Current XML schema description ==
50 +
51 +A detailed description of the elements in the current version of the XML schema definition file (XSD) can be found [[here>>doc:Main.Invoicing.invoice-service.Implementation guide.Technical reference.Cusin.XML Schema specification.WebHome]]
52 +
53 +The Cusin file must be validated toward an up-to-date XML schema file!
54 +
55 +== Download current XML schema file ==
56 +
57 +(% class="row" %)
58 +(((
59 +(% class="col-xs-12" %)
60 +(((
61 +(% border="0" style="width:1023px" %)
62 +|=(% style="width: 208px; background-color: rgb(237, 237, 237);" %)Fileversion|=(% style="width: 213px; background-color: rgb(237, 237, 237);" %)Version|=(% style="width: 288px; background-color: rgb(237, 237, 237);" %)Releasedate|=(% style="width: 585px; background-color: rgb(237, 237, 237);" %)Comment
63 +|(% style="width:208px" %)[[(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" %)__Cusin[2.X].xsd__>>attach:CUSIN_[2.X].xsd]]|(% style="width:213px" %)2.3|(% style="width:288px" %)2020-11-24|(% style="width:585px" %)(((
64 +(% data-pm-slice="1 1 []" %)
65 +DistributionAddressInfo, added new field ProtectedIdentity
66 +)))
67 +|(% style="width:208px" %)(((
68 +[[(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" %)__Cusin[2.2].xsd__>>attach:CUSIN_[2.2].xsd]]
69 +)))|(% style="width:213px" %)2.2|(% style="width:288px" %)2020-10-06|(% style="width:585px" %)(((
70 +EdiInfo.EDIOrderRows.Quantity decimal support,
71 +
72 +EDIInfo.ExternalreferenceURL, added new field
73 +
74 +Added support for more characters in EdiInfo.EDIOrderRow.ContractType
75 +)))
76 +|(% style="width:208px" %)[[(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" %)__Cusin[2.1].xsd__>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CUSIN_[2.1].xsd]]|(% style="width:213px" %)2.1|(% style="width:288px" %) June 2020|(% style="width:585px" %)Order rows under SubOrderBlocks, no longer mandatory
77 +|(% style="width:208px" %)Cusin[2.01].xsd|(% style="width:213px" %)2.01|(% style="width:288px" %)February 2020|(% style="width:585px" %)
78 +|(% style="width:208px" %)Cusin[2.0].xsd|(% style="width:213px" %)2.0|(% style="width:288px" %)2016|(% style="width:585px" %)
79 +
80 +== Change Log ==
81 +
82 +(% id="HVersion1.1" %)
83 +==== **Version 2.3{{id name="3"/}}** ====
84 +
85 +(% id="HJanuary2C2016" %)
86 +===== November, 2020 =====
87 +
88 +[[(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" style="color:#2980b9" %)__Cusin[2.X].xsd__>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CUSIN_[2.X].xsd]]
89 +
90 +(% class="box" %)
91 +(((
92 +DistributionAddressInfo, added new field ProtectedIdentity
93 +)))
94 +
95 +(% id="HVersion1.1" %)
96 +==== **Version 2.2{{id name="3"/}}** ====
97 +
98 +(% id="HJanuary2C2016" %)
99 +===== October, 2020 =====
100 +
101 +[[(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" style="color:#2980b9" %)__Cusin[2.2].xsd__>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CUSIN_[2.2].xsd]]
102 +
103 +(% class="box" %)
104 +(((
105 +EdiInfo.EDIOrderRows.Quantity decimal support,
106 +
107 +EDIInfo.ExternalreferenceURL, added new field
108 +
109 +Added support for more characters in EdiInfo.EDIOrderRow.ContractType
110 +)))
111 +
112 +(% style="color:inherit; font-family:inherit; font-size:20px" %)**Version 2.1**
113 +
114 +(% id="HVersion1.1" %)
115 +==== **{{id name="3"/}}** ====
116 +
117 +(% id="HJanuary2C2016" %)
118 +===== June, 2020 =====
119 +
120 +[[(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" style="color:#2980b9" %)__Cusin[2.1].xsd__>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CUSIN_[2.1].xsd]]
121 +
122 +(% class="box" %)
123 +(((
124 +Order rows under SubOrderBlocks, no longer mandatory
125 +)))
126 +
127 +
128 +(% id="HVersion1.1" %)
129 +==== **Version 2.1{{id name="3"/}}** ====
130 +
131 +(% id="HJanuary2C2016" %)
132 +===== February, 2020 =====
133 +
134 +(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" style="color:#2980b9" %)__Cusin[2.01].xsd__
135 +
136 +(% class="box" %)
137 +(((
138 +Added new DistributionRule UseEInvoiceB2CFI, and two new properties for accounting InterCompanyCode and VatType
139 +)))
140 +
141 +(% id="HVersion1.1" %)
142 +==== **Version 2.0{{id name="3"/}}** ====
143 +
144 +(% id="HJanuary2C2016" %)
145 +===== September, 2016 =====
146 +
147 +Cusin[2.0].xsd
148 +
149 +(% class="box" %)
150 +(((
151 + Initial version (latest documented version)
152 +)))
153 +
154 +== Download sample file ==
155 +
156 +[[CUSIN_367_20190911090045_93>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CUSIN_367_20190911090045_93.xml]]
157 +)))
158 +)))
CUSIN_[2.2].xsd
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.aha
Size
... ... @@ -1,0 +1,1 @@
1 +0 bytes
Content
... ... @@ -1,0 +1,1634 @@
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3 + <xs:element name="CUSIN">
4 + <xs:complexType>
5 + <xs:sequence>
6 + <xs:element name="DistributionDate" minOccurs="0" maxOccurs="1">
7 + <xs:annotation>
8 + <xs:documentation>Mandatory for services with distribution.</xs:documentation>
9 + </xs:annotation>
10 + <xs:complexType>
11 + <xs:choice>
12 + <xs:element name="Date" type="xs:date">
13 + <xs:annotation>
14 + <xs:documentation>Only used if distribution of invoices are part of a contracted production planning. Distribution date has to be in the future. Distribution date has to be a bank day</xs:documentation>
15 + </xs:annotation>
16 + </xs:element>
17 + <xs:element name="AsSoonAsPossible">
18 + <xs:annotation>
19 + <xs:documentation>Used to distribute invoices as soon as possible. The element supposed to be empty.</xs:documentation>
20 + </xs:annotation>
21 + <xs:complexType>
22 + <xs:complexContent>
23 + <xs:restriction base="xs:anyType" />
24 + </xs:complexContent>
25 + </xs:complexType>
26 + </xs:element>
27 + </xs:choice>
28 + </xs:complexType>
29 + </xs:element>
30 + <xs:element name="CUSINInfo" minOccurs="1" maxOccurs="unbounded">
31 + <xs:annotation>
32 + <xs:documentation>Containing one customer (payer) and that customers invoice(s)</xs:documentation>
33 + </xs:annotation>
34 + <xs:complexType>
35 + <xs:sequence>
36 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="0" maxOccurs="1" nillable="false" >
37 + <xs:annotation>
38 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable and should always be used. CustomerNo is mandatory by default. If you do not have unique identifiers of your customers, please contact PayEx.</xs:documentation>
39 + </xs:annotation>
40 + </xs:element>
41 + <xs:element minOccurs="0" maxOccurs="1" name="CustomerInfo">
42 + <xs:annotation>
43 + <xs:documentation>Must be used for new och changed customers. CustomerInfo is mandatory if customer info for this customer (CustomerNo) has not been transferred to PayEx earlier.</xs:documentation>
44 + </xs:annotation>
45 + <xs:complexType>
46 + <xs:sequence>
47 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1" >
48 + <xs:annotation>
49 + <xs:documentation>Full name for the customer in the accounts receivable system. Used as display name</xs:documentation>
50 + </xs:annotation>
51 + </xs:element>
52 + <xs:element name="RegNo" type="RegNo" minOccurs="0" maxOccurs="1" >
53 + <xs:annotation>
54 + <xs:documentation>Customer social security number/corporate identity number. Has to conform to country specific algorithms</xs:documentation>
55 + </xs:annotation>
56 + </xs:element>
57 + <xs:element name="Category" type="String10" minOccurs="0" maxOccurs="1" >
58 + <xs:annotation>
59 + <xs:documentation>Can only be used if contracted with PayEx. Category has to be preconfigured in the accounts receivable system</xs:documentation>
60 + </xs:annotation>
61 + </xs:element>
62 + <xs:element name="InterCompanyCode" type="String15" minOccurs="0" maxOccurs="1" >
63 + <xs:annotation>
64 + <xs:documentation>Relating to interactions between two or more internal companies</xs:documentation>
65 + </xs:annotation>
66 + </xs:element>
67 + <xs:element name="VatType" type="VatType" minOccurs="0" maxOccurs="1" >
68 + <xs:annotation>
69 + <xs:documentation>Specifies if/where the customer liable to pay VAT</xs:documentation>
70 + </xs:annotation>
71 + </xs:element>
72 + <xs:element name="LanguageCode" type="ISO639" minOccurs="0" maxOccurs="1" >
73 + <xs:annotation>
74 + <xs:documentation>Only used if preferred invoice language is other than accounts receivable default</xs:documentation>
75 + </xs:annotation>
76 + </xs:element>
77 + <xs:element name="VatNo" type="VatNumber" minOccurs="0" maxOccurs="1" >
78 + <xs:annotation>
79 + <xs:documentation>Customer VAT registration number. Mandatory if reverse tax is used. Must conform to country specific algorithm</xs:documentation>
80 + </xs:annotation>
81 + </xs:element>
82 + <xs:element name="DistributionAddressInfo" minOccurs="1" maxOccurs="1">
83 + <xs:annotation>
84 + <xs:documentation>Contains customer distribution address information</xs:documentation>
85 + </xs:annotation>
86 + <xs:complexType>
87 + <xs:sequence>
88 + <xs:element name="Addresses" minOccurs="1" maxOccurs="1">
89 + <xs:annotation>
90 + <xs:documentation>Contains customer addresses. If billing address is used and country code differs from legal address countrycode, a warning is created and the billingadress is not saved. Zipcode must meet the requirements for the specific country, if not an ERROR is created and the customer and its invoices will be rejected.</xs:documentation>
91 + </xs:annotation>
92 + <xs:complexType>
93 + <xs:sequence>
94 + <xs:element name="Address" type="Address" minOccurs="1" maxOccurs="2">
95 + <xs:annotation>
96 + <xs:documentation>Legal address is mandatory. Only supply billing address i different from legal address</xs:documentation>
97 + </xs:annotation>
98 + </xs:element>
99 + </xs:sequence>
100 + </xs:complexType>
101 + </xs:element>
102 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1" >
103 + <xs:annotation>
104 + <xs:documentation>Customers E-mail address. Mandatory if delivery is set to EMail or E-notification is active.</xs:documentation>
105 + </xs:annotation>
106 + </xs:element>
107 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1" >
108 + <xs:annotation>
109 + <xs:documentation>Customers mobile number msisdn</xs:documentation>
110 + </xs:annotation>
111 + </xs:element>
112 + </xs:sequence>
113 + </xs:complexType>
114 + </xs:element>
115 + <xs:element name="PaymentInfo" minOccurs="0" maxOccurs="1">
116 + <xs:annotation>
117 + <xs:documentation>Contains differing customer payment info from accounts receivable default</xs:documentation>
118 + </xs:annotation>
119 + <xs:complexType>
120 + <xs:choice>
121 + <xs:element name="Clear" minOccurs="1" maxOccurs="1" >
122 + <xs:annotation>
123 + <xs:documentation>Erases previously set payment info on customer</xs:documentation>
124 + </xs:annotation>
125 + </xs:element>
126 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
127 + <xs:annotation>
128 + <xs:documentation>Sets differing payment info on customer, fully replaces earlier settings</xs:documentation>
129 + </xs:annotation>
130 + <xs:complexType>
131 + <xs:sequence>
132 + <xs:element name="PaymentType" type="ePaymentType" minOccurs="0" maxOccurs="1" >
133 + <xs:annotation>
134 + <xs:documentation>Only used if customer payment type differs from account sreceivable default. Payment type must be possible in accountsreceivable, if not a warning is returned and the payment type is not configured.</xs:documentation>
135 + </xs:annotation>
136 + </xs:element>
137 + <xs:element name="PaymentRules" minOccurs="0" maxOccurs="1">
138 + <xs:annotation>
139 + <xs:documentation>Containing differing customer payment rules.</xs:documentation>
140 + </xs:annotation>
141 + <xs:complexType>
142 + <xs:sequence>
143 + <xs:element name="PaymentRule" minOccurs="1" maxOccurs="unbounded">
144 + <xs:annotation>
145 + <xs:documentation>Customer differing payment rule.</xs:documentation>
146 + </xs:annotation>
147 + <xs:complexType>
148 + <xs:sequence>
149 + <xs:element name="Value" type="xs:string" maxOccurs="1" minOccurs="1">
150 + <xs:annotation>
151 + <xs:documentation>Valid value of rule</xs:documentation>
152 + </xs:annotation>
153 + </xs:element>
154 + </xs:sequence>
155 + <xs:attribute name="Rule" type="ePaymentRule" >
156 + <xs:annotation>
157 + <xs:documentation>Valid payment rule from enumeration ePaymentRule</xs:documentation>
158 + </xs:annotation>
159 + </xs:attribute>
160 + </xs:complexType>
161 + </xs:element>
162 + </xs:sequence>
163 + </xs:complexType>
164 + </xs:element>
165 + </xs:sequence>
166 + </xs:complexType>
167 + </xs:element>
168 + </xs:choice>
169 + </xs:complexType>
170 + </xs:element>
171 + <xs:element name="DunningInfo" minOccurs="0" maxOccurs="1">
172 + <xs:annotation>
173 + <xs:documentation>Contains differing customer dunning info from accounts receivable default</xs:documentation>
174 + </xs:annotation>
175 + <xs:complexType>
176 + <xs:choice>
177 + <xs:element name="Clear" >
178 + <xs:annotation>
179 + <xs:documentation>Erases previously set dunning info on customer</xs:documentation>
180 + </xs:annotation>
181 + </xs:element>
182 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
183 + <xs:annotation>
184 + <xs:documentation>Sets differing dunning info on customer. Fully replaces previously set dunning info</xs:documentation>
185 + </xs:annotation>
186 + <xs:complexType>
187 + <xs:sequence minOccurs="1" maxOccurs="3">
188 + <xs:element name="DunningRules" minOccurs="0" maxOccurs="1">
189 + <xs:annotation>
190 + <xs:documentation>Containing differing dunning rules</xs:documentation>
191 + </xs:annotation>
192 + <xs:complexType>
193 + <xs:sequence>
194 + <xs:element name="DunningRule" minOccurs="1" maxOccurs="unbounded">
195 + <xs:annotation>
196 + <xs:documentation>Contains a dunning rule and its value</xs:documentation>
197 + </xs:annotation>
198 + <xs:complexType>
199 + <xs:sequence>
200 + <xs:element name="Value" type="xs:string" maxOccurs="1" minOccurs="1">
201 + <xs:annotation>
202 + <xs:documentation>Valid value of rule</xs:documentation>
203 + </xs:annotation>
204 + </xs:element>
205 + </xs:sequence>
206 + <xs:attribute name="Rule" type="eDunningRule">
207 + <xs:annotation>
208 + <xs:documentation>Valid dunning rule from enumeration eDunningRule</xs:documentation>
209 + </xs:annotation>
210 + </xs:attribute>
211 + </xs:complexType>
212 + </xs:element>
213 + </xs:sequence>
214 + </xs:complexType>
215 + </xs:element>
216 + <xs:element name="DunningEnclosures" minOccurs="0" maxOccurs="1">
217 + <xs:annotation>
218 + <xs:documentation>Contains dunning enclosures</xs:documentation>
219 + </xs:annotation>
220 + <xs:complexType>
221 + <xs:sequence>
222 + <xs:element name="BillType" minOccurs="1" maxOccurs="unbounded">
223 + <xs:annotation>
224 + <xs:documentation>Contains a dunning bill type and a predefined enclosure</xs:documentation>
225 + </xs:annotation>
226 + <xs:complexType>
227 + <xs:sequence>
228 + <xs:element name="EnclosureName" type="xs:string" maxOccurs="1" minOccurs="1">
229 + <xs:annotation>
230 + <xs:documentation>Predefined enclosure name in PayEx distribution system</xs:documentation>
231 + </xs:annotation>
232 + </xs:element>
233 + </xs:sequence>
234 + <xs:attribute name="DunningBillType" type="eDunningBillType">
235 + <xs:annotation>
236 + <xs:documentation>The bill type from enumeration eDunningBillType which to enclose the predefined enclosure</xs:documentation>
237 + </xs:annotation>
238 + </xs:attribute>
239 + </xs:complexType>
240 + </xs:element>
241 + </xs:sequence>
242 + </xs:complexType>
243 + </xs:element>
244 + </xs:sequence>
245 + </xs:complexType>
246 + </xs:element>
247 + </xs:choice>
248 + </xs:complexType>
249 + </xs:element>
250 + <xs:element name="DistributionInfo" minOccurs="0" maxOccurs="1">
251 + <xs:annotation>
252 + <xs:documentation>Contains differing customer distribution info from accounts receivable default</xs:documentation>
253 + </xs:annotation>
254 + <xs:complexType>
255 + <xs:choice>
256 + <xs:element name="Clear" minOccurs="1" maxOccurs="1" >
257 + <xs:annotation>
258 + <xs:documentation>Erases earlier set values</xs:documentation>
259 + </xs:annotation>
260 + </xs:element>
261 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
262 + <xs:annotation>
263 + <xs:documentation>Sets differing distribution info on customer. Fully replaces previously set distribution info</xs:documentation>
264 + </xs:annotation>
265 + <xs:complexType>
266 + <xs:sequence>
267 + <xs:element name="BillTypes" minOccurs="1" maxOccurs="1">
268 + <xs:annotation>
269 + <xs:documentation>Containing bill types with differing distribution from accounts receivable default</xs:documentation>
270 + </xs:annotation>
271 + <xs:complexType>
272 + <xs:sequence>
273 + <xs:element name="BillType" minOccurs="1" maxOccurs="unbounded">
274 + <xs:annotation>
275 + <xs:documentation>Containing bill type with differing distribution</xs:documentation>
276 + </xs:annotation>
277 + <xs:complexType>
278 + <xs:sequence>
279 + <xs:element name="DistributionType" type="eDistributionType" maxOccurs="1" minOccurs="0">
280 + <xs:annotation>
281 + <xs:documentation>If distribution type is set to 'EMail' and the customer has not a e-mail address, a warning is created and DistributionType is set to 'Postal'</xs:documentation>
282 + </xs:annotation>
283 + </xs:element>
284 + <xs:element name="DistributionRules" minOccurs="0" maxOccurs="1">
285 + <xs:annotation>
286 + <xs:documentation>Contains distribution rules for bill type</xs:documentation>
287 + </xs:annotation>
288 + <xs:complexType>
289 + <xs:sequence>
290 + <xs:element name="DistributionRule" minOccurs="1" maxOccurs="unbounded">
291 + <xs:annotation>
292 + <xs:documentation>Contains a distribution rule and its value</xs:documentation>
293 + </xs:annotation>
294 + <xs:complexType>
295 + <xs:sequence>
296 + <xs:element name="Value" type="xs:string" maxOccurs="1" minOccurs="1">
297 + <xs:annotation>
298 + <xs:documentation>Valid value of distribution rule</xs:documentation>
299 + </xs:annotation>
300 + </xs:element>
301 + </xs:sequence>
302 + <xs:attribute name="Rule" type="eDistributionRule">
303 + <xs:annotation>
304 + <xs:documentation>Valid rule from enumeration eDistributionRule</xs:documentation>
305 + </xs:annotation>
306 + </xs:attribute>
307 + </xs:complexType>
308 + </xs:element>
309 + </xs:sequence>
310 + </xs:complexType>
311 + </xs:element>
312 + </xs:sequence>
313 + <xs:attribute name="DistributionBillType" type="eDistributionBillType">
314 + <xs:annotation>
315 + <xs:documentation>The bill type from enumeration eDistributionBillType for which distribution settings apply</xs:documentation>
316 + </xs:annotation>
317 + </xs:attribute>
318 + </xs:complexType>
319 + </xs:element>
320 + </xs:sequence>
321 + </xs:complexType>
322 + </xs:element>
323 + </xs:sequence>
324 + </xs:complexType>
325 + </xs:element>
326 + </xs:choice>
327 + </xs:complexType>
328 + </xs:element>
329 + <xs:element name="NotificationInfo" minOccurs="0" maxOccurs="1">
330 + <xs:annotation>
331 + <xs:documentation>Contains differing notification settings from accounts receivable default</xs:documentation>
332 + </xs:annotation>
333 + <xs:complexType>
334 + <xs:choice>
335 + <xs:element name="Clear" minOccurs="1" maxOccurs="1" >
336 + <xs:annotation>
337 + <xs:documentation>Erases earlier set values</xs:documentation>
338 + </xs:annotation>
339 + </xs:element>
340 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
341 + <xs:annotation>
342 + <xs:documentation>Sets differing notification info on customer. Fully replaces previously set notification info</xs:documentation>
343 + </xs:annotation>
344 + <xs:complexType>
345 + <xs:sequence>
346 + <xs:element name="BillTypes" minOccurs="1" maxOccurs="1">
347 + <xs:annotation>
348 + <xs:documentation>Contains bill types with differing notification settings from accounts receivable default</xs:documentation>
349 + </xs:annotation>
350 + <xs:complexType>
351 + <xs:sequence>
352 + <xs:element name="BillType" minOccurs="1" maxOccurs="unbounded">
353 + <xs:annotation>
354 + <xs:documentation>Contains bill type with differing notification settings</xs:documentation>
355 + </xs:annotation>
356 + <xs:complexType>
357 + <xs:sequence>
358 + <xs:element name="NotificationTextCode" type="xs:string" maxOccurs="1" minOccurs="1">
359 + <xs:annotation>
360 + <xs:documentation>Preconfigured notification text code in PayEx distribution system</xs:documentation>
361 + </xs:annotation>
362 + </xs:element>
363 + <xs:element name="NotificationDistributionType" type="eNotificationDistributionType" maxOccurs="1" minOccurs="1" >
364 + <xs:annotation>
365 + <xs:documentation>Valid notification distribution type from enumeration eNotificationDistributionType</xs:documentation>
366 + </xs:annotation>
367 + </xs:element>
368 + </xs:sequence>
369 + <xs:attribute name="NotificationBillType" type="eNotificationBillType">
370 + <xs:annotation>
371 + <xs:documentation>The bill type from enumeration eNotificationBillType for which notification setting apply</xs:documentation>
372 + </xs:annotation>
373 + </xs:attribute>
374 + </xs:complexType>
375 + </xs:element>
376 + </xs:sequence>
377 + </xs:complexType>
378 + </xs:element>
379 + </xs:sequence>
380 + </xs:complexType>
381 + </xs:element>
382 + </xs:choice>
383 + </xs:complexType>
384 + </xs:element>
385 + </xs:sequence>
386 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional" >
387 + <xs:annotation>
388 + <xs:documentation>States the legal entity of the customer</xs:documentation>
389 + </xs:annotation>
390 + </xs:attribute>
391 + </xs:complexType>
392 + </xs:element>
393 + <xs:element minOccurs="0" maxOccurs="1" name="Invoices">
394 + <xs:annotation>
395 + <xs:documentation>Contains 1-n invoices for the customer. Contracted service with PayEx determines if element structure InvoiceWithDistribution or InvoiceWithoutDistribution should be used</xs:documentation>
396 + </xs:annotation>
397 + <xs:complexType>
398 + <xs:sequence>
399 + <xs:element minOccurs="0" maxOccurs="unbounded" name="InvoiceWithDistribution">
400 + <xs:annotation>
401 + <xs:documentation>Contains invoice information if your contracted service is with distribution of invoices</xs:documentation>
402 + </xs:annotation>
403 + <xs:complexType>
404 + <xs:sequence>
405 + <xs:element name="InvoiceNo" type="fInvoiceNo" minOccurs="0" maxOccurs="1" >
406 + <xs:annotation>
407 + <xs:documentation>Your unique identifier/invoice number of the invoice. Mandatory/Prohibited depending on contracted service with PayEx</xs:documentation>
408 + </xs:annotation>
409 + </xs:element>
410 + <xs:element name="ReferenceInfo" type="ReferenceInfo" minOccurs="0" maxOccurs="1" >
411 + <xs:annotation>
412 + <xs:documentation>Containing additional invoice reference information</xs:documentation>
413 + </xs:annotation>
414 + </xs:element>
415 + <xs:element name="InvoiceDate" type="xs:date" minOccurs="0" maxOccurs="1" >
416 + <xs:annotation>
417 + <xs:documentation>Invoice date from invoicing/billing system. Mandatory/Prohibited depending on contracted service with PayEx</xs:documentation>
418 + </xs:annotation>
419 + </xs:element>
420 + <xs:element name="PreferredDueDate" type="xs:date" minOccurs="0" maxOccurs="1" >
421 + <xs:annotation>
422 + <xs:documentation>Used if a specific DueDate is preferred. Number of days between distribution date, which it set by PayEx based on invoicedate and processingdate, and preferred due date, must exceed minimum payment terms for the specific country else minimum paymentterms for the country will be used. Number of days between distributiondate, wich it set by PayEx based on invoicedate and processingdate, and preferred due date, can not exceed maximum paymentterms (default 60 days), if true an ERROR is created and the customer and its invoices will be rejected.</xs:documentation>
423 + </xs:annotation>
424 + </xs:element>
425 + <xs:element name="Amount" type="Amount" maxOccurs="1" minOccurs="1" >
426 + <xs:annotation>
427 + <xs:documentation>Contains amounts and currency of the invoice. Positive amount is used for debit invoice. Negative amount is used for credit invoice</xs:documentation>
428 + </xs:annotation>
429 + </xs:element>
430 + <xs:element name="DistributionInfo" minOccurs="1" maxOccurs="1">
431 + <xs:annotation>
432 + <xs:documentation>Contains distribution and printing details for invoice</xs:documentation>
433 + </xs:annotation>
434 + <xs:complexType>
435 + <xs:sequence>
436 + <xs:element name="DCCode" type="String15" minOccurs="0" maxOccurs="1" >
437 + <xs:annotation>
438 + <xs:documentation>Differing invoice layout from accounts receivable default. Possible layouts must be preconfigured an contracted with PayEx</xs:documentation>
439 + </xs:annotation>
440 + </xs:element>
441 + <xs:element name="DistributionType" type="eDistributionType" minOccurs="0" maxOccurs="1" >
442 + <xs:annotation>
443 + <xs:documentation>If desired distribution type is different from set distribution type on customer or accounts receivable default</xs:documentation>
444 + </xs:annotation>
445 + </xs:element>
446 + <xs:element name="InvoicePrintInfo" minOccurs="1" maxOccurs="1">
447 + <xs:annotation>
448 + <xs:documentation>Contains printing info for one invoice document</xs:documentation>
449 + </xs:annotation>
450 + <xs:complexType>
451 + <xs:sequence>
452 + <xs:element name="InvoicePrintBlocks" type="StandardPrintBlocks" maxOccurs="1" minOccurs="1">
453 + <xs:annotation>
454 + <xs:documentation>Containing print blocks printed in the main/standard area of the invoice layout</xs:documentation>
455 + </xs:annotation>
456 + </xs:element>
457 + <xs:element name="ExtraPrintBlocks" type="ExtraPrintBlocks" minOccurs="0" maxOccurs="1">
458 + <xs:annotation>
459 + <xs:documentation>Can only be used if specially contracted with PayEx. Containing print blocks printed in specified predefined areas of the invoice layout</xs:documentation>
460 + </xs:annotation>
461 + </xs:element>
462 + <xs:element name="PredefinedPrintBlocks" type="PredefinedPrintBlocks" minOccurs="0" maxOccurs="1">
463 + <xs:annotation>
464 + <xs:documentation>Can only be used if specially contracted with PayEx. Containing references to predefined print blocks in specified predefined areas of the invoice layout</xs:documentation>
465 + </xs:annotation>
466 + </xs:element>
467 + </xs:sequence>
468 + </xs:complexType>
469 + </xs:element>
470 + <xs:element name="SummaryPrintInfos" minOccurs="0" maxOccurs="1">
471 + <xs:annotation>
472 + <xs:documentation>Can only be used if specially contracted with PayEx. Containing print info for summary documents</xs:documentation>
473 + </xs:annotation>
474 + <xs:complexType>
475 + <xs:sequence>
476 + <xs:element name="SummaryPrintInfo" minOccurs="0" maxOccurs="2">
477 + <xs:annotation>
478 + <xs:documentation>Contains print info for a summary document</xs:documentation>
479 + </xs:annotation>
480 + <xs:complexType>
481 + <xs:sequence>
482 + <xs:element name="SummaryPrintBlocks" type="StandardPrintBlocks" maxOccurs="1" minOccurs="1">
483 + <xs:annotation>
484 + <xs:documentation>Containing print blocks printed in the main/standard area of the summary layout</xs:documentation>
485 + </xs:annotation>
486 + </xs:element>
487 + <xs:element name="ExtraPrintBlocks" type="ExtraPrintBlocks" minOccurs="0" maxOccurs="1">
488 + <xs:annotation>
489 + <xs:documentation>Containing print blocks printed in specified predefined areas of the summary layout</xs:documentation>
490 + </xs:annotation>
491 + </xs:element>
492 + <xs:element name="PredefinedPrintBlocks" type="PredefinedPrintBlocks" minOccurs="0" maxOccurs="1">
493 + <xs:annotation>
494 + <xs:documentation>Containing references to predefined print blocks in specified predefined areas of the summary layout</xs:documentation>
495 + </xs:annotation>
496 + </xs:element>
497 + </xs:sequence>
498 + <xs:attribute name="Distribute" type="xs:boolean" use="required">
499 + <xs:annotation>
500 + <xs:documentation>Instruction to distribute the summary with the invoice or only be archived</xs:documentation>
501 + </xs:annotation>
502 + </xs:attribute>
503 + <xs:attribute name="SummaryType" type="eSummaryType">
504 + <xs:annotation>
505 + <xs:documentation>Valid summary type from enumeration eSummaryType</xs:documentation>
506 + </xs:annotation>
507 + </xs:attribute>
508 + </xs:complexType>
509 + </xs:element>
510 + </xs:sequence>
511 + </xs:complexType>
512 + </xs:element>
513 + <xs:element name="SpecificationPrintInfo" minOccurs="0" maxOccurs="1">
514 + <xs:annotation>
515 + <xs:documentation>Contains print info for a specification. Can only be used if specially contracted with PayEx</xs:documentation>
516 + </xs:annotation>
517 + <xs:complexType>
518 + <xs:sequence>
519 + <xs:element name="SpecificationPrintBlocks" type="SpecificationPrintBlocks" minOccurs="1" maxOccurs="1">
520 + <xs:annotation>
521 + <xs:documentation>Containing print blocks printed in the main/standard area of the specification layout</xs:documentation>
522 + </xs:annotation>
523 + </xs:element>
524 + <xs:element name="ExtraPrintBlocks" type="ExtraPrintBlocks" minOccurs="0" maxOccurs="1">
525 + <xs:annotation>
526 + <xs:documentation>Containing print blocks printed in specified predefined areas of the specification layout</xs:documentation>
527 + </xs:annotation>
528 + </xs:element>
529 + <xs:element name="PredefinedPrintBlocks" type="PredefinedPrintBlocks" minOccurs="0" maxOccurs="1">
530 + <xs:annotation>
531 + <xs:documentation>Containing references to predefined print blocks in specified predefined areas of the specification layout</xs:documentation>
532 + </xs:annotation>
533 + </xs:element>
534 + </xs:sequence>
535 + <xs:attribute name="Distribute" type="xs:boolean" use="required">
536 + <xs:annotation>
537 + <xs:documentation>Instruction to distribute the specification with the invoice or only be archived</xs:documentation>
538 + </xs:annotation>
539 + </xs:attribute>
540 + </xs:complexType>
541 + </xs:element>
542 + <xs:element name="Enclosures" maxOccurs="1" minOccurs="0">
543 + <xs:annotation>
544 + <xs:documentation>Contains predefined/preconfigured enclosures to be enclosed with invoice. Can only be used if specially contracted with PayEx</xs:documentation>
545 + </xs:annotation>
546 + <xs:complexType>
547 + <xs:sequence>
548 + <xs:element minOccurs="1" maxOccurs="4" name="Enclosure" type="String30">
549 + <xs:annotation>
550 + <xs:documentation>Reference to the predefined/preconfigured enclosure in PayEx printing and distribution system</xs:documentation>
551 + </xs:annotation>
552 + </xs:element>
553 + </xs:sequence>
554 + </xs:complexType>
555 + </xs:element>
556 + <xs:element name="EDIInfo" minOccurs="0" maxOccurs="1">
557 + <xs:annotation>
558 + <xs:documentation>Only relevant if distribution is EInvoiceB2B. Can only be used if specially contracted with PayEx</xs:documentation>
559 + </xs:annotation>
560 + <xs:complexType>
561 + <xs:sequence>
562 + <xs:element name="VAN" type="xs:string" minOccurs="0" maxOccurs="1">
563 + <xs:annotation>
564 + <xs:documentation>Customer VAN identifier (OperatorId)</xs:documentation>
565 + </xs:annotation>
566 + </xs:element>
567 + <xs:element name="InterChangeRecipient" type="xs:string" minOccurs="0" maxOccurs="1">
568 + <xs:annotation>
569 + <xs:documentation>Routing address. EAN</xs:documentation>
570 + </xs:annotation>
571 + </xs:element>
572 + <xs:element name="SellerId" type="xs:string" minOccurs="1" maxOccurs="1">
573 + <xs:annotation>
574 + <xs:documentation>NAD_SU/SellerParty. EAN/Corporate identity number</xs:documentation>
575 + </xs:annotation>
576 + </xs:element>
577 + <xs:element name="BuyerId" type="xs:string" minOccurs="1" maxOccurs="1">
578 + <xs:annotation>
579 + <xs:documentation>NAD_BY/BuyerParty. EAN/Corporate identity number</xs:documentation>
580 + </xs:annotation>
581 + </xs:element>
582 + <xs:element name="InvoiceAddressee" type="xs:string" minOccurs="0" maxOccurs="1">
583 + <xs:annotation>
584 + <xs:documentation>NAD_ITO/InvoiceNote. EAN/Corporate identity number</xs:documentation>
585 + </xs:annotation>
586 + </xs:element>
587 + <xs:element name="InvoiceRecipient" type="xs:string" minOccurs="0" maxOccurs="1">
588 + <xs:annotation>
589 + <xs:documentation>NAD_IV/InvoiceNote. EAN/Corporate identity number</xs:documentation>
590 + </xs:annotation>
591 + </xs:element>
592 + <xs:element name="DeliveryAddressee" type="xs:string" minOccurs="0" maxOccurs="1">
593 + <xs:annotation>
594 + <xs:documentation>NAD_DP/DeliveryAddress. EAN/Corporate identity number/Name</xs:documentation>
595 + </xs:annotation>
596 + </xs:element>
597 + <xs:element name="DeliveryRecipient" type="xs:string" minOccurs="0" maxOccurs="1">
598 + <xs:annotation>
599 + <xs:documentation>NAD_CN/InvoiceNote. EAN/Corporate identity number/Name</xs:documentation>
600 + </xs:annotation>
601 + </xs:element>
602 + <xs:element name="InvoiceReference" type="xs:string" minOccurs="0" maxOccurs="1">
603 + <xs:annotation>
604 + <xs:documentation>RFF_IV/InitialInvoiceDocumentReference. Reference to invoice</xs:documentation>
605 + </xs:annotation>
606 + </xs:element>
607 + <xs:element name="AgreementReference" type="xs:string" minOccurs="0" maxOccurs="1">
608 + <xs:annotation>
609 + <xs:documentation>RFF_CT/AdditionalDocumentReference. Reference to agreement</xs:documentation>
610 + </xs:annotation>
611 + </xs:element>
612 + <xs:element name="BuyerReference" type="xs:string" minOccurs="0" maxOccurs="2">
613 + <xs:annotation>
614 + <xs:documentation>RFF_CR/RequisitionistDocumentReference. Reference to buyer department and or individual</xs:documentation>
615 + </xs:annotation>
616 + </xs:element>
617 + <xs:element name="ExternalReferenceURL" type="xs:string" minOccurs="0" maxOccurs="1">
618 + <xs:annotation>
619 + <xs:documentation>URL for example to invoiceground</xs:documentation>
620 + </xs:annotation>
621 + </xs:element>
622 + <xs:element name="EDIOrderRows" maxOccurs="1" minOccurs="1">
623 + <xs:annotation>
624 + <xs:documentation>Containing invoice info specified in edi invoice</xs:documentation>
625 + </xs:annotation>
626 + <xs:complexType>
627 + <xs:sequence>
628 + <xs:element name="EDIVatGroup" minOccurs="1" maxOccurs="unbounded">
629 + <xs:annotation>
630 + <xs:documentation>Containing one VAT group and associated invoice rows</xs:documentation>
631 + </xs:annotation>
632 + <xs:complexType>
633 + <xs:sequence>
634 + <xs:element name="VatInfo" type="VatInfo" maxOccurs="1" minOccurs="1">
635 + </xs:element>
636 + <xs:element minOccurs="1" name="EDIOrderRow" maxOccurs="unbounded">
637 + <xs:annotation>
638 + <xs:documentation>Containing information about one edi invoice row</xs:documentation>
639 + </xs:annotation>
640 + <xs:complexType>
641 + <xs:sequence>
642 + <xs:element name="ArticleId" type="String35" minOccurs="0" maxOccurs="1">
643 + <xs:annotation>
644 + <xs:documentation>Optional article id associated to product/service</xs:documentation>
645 + </xs:annotation>
646 + </xs:element>
647 + <xs:element name="ProductGroup" type="String35" minOccurs="0" maxOccurs="1">
648 + <xs:annotation>
649 + <xs:documentation>Optional product group associated to product/service</xs:documentation>
650 + </xs:annotation>
651 + </xs:element>
652 + <xs:element name="ProductDate" type="xs:date" minOccurs="0" maxOccurs="1">
653 + <xs:annotation>
654 + <xs:documentation>Optional date of product/service</xs:documentation>
655 + </xs:annotation>
656 + </xs:element>
657 + <xs:element name="Text" type="String300" maxOccurs="1" minOccurs="1">
658 + <xs:annotation>
659 + <xs:documentation>Mandatory description of product/service</xs:documentation>
660 + </xs:annotation>
661 + </xs:element>
662 + <xs:element name="Quantity" type="Decimal5" maxOccurs="1" minOccurs="1">
663 + <xs:annotation>
664 + <xs:documentation>Mandatory quantity of the invoice product/service</xs:documentation>
665 + </xs:annotation>
666 + </xs:element>
667 + <xs:element name="Unit" type="String10" maxOccurs="1" minOccurs="1">
668 + <xs:annotation>
669 + <xs:documentation>Mandatory unit of quantity</xs:documentation>
670 + </xs:annotation>
671 + </xs:element>
672 + <xs:element name="UnitPriceExclVat" type="Money" maxOccurs="1" minOccurs="1">
673 + <xs:annotation>
674 + <xs:documentation>Mandatory unit price exclusive of VAT</xs:documentation>
675 + </xs:annotation>
676 + </xs:element>
677 + <xs:element name="AmountExclVat" type="Money" maxOccurs="1" minOccurs="1">
678 + <xs:annotation>
679 + <xs:documentation>Total order row amount exclusive of VAT</xs:documentation>
680 + </xs:annotation>
681 + </xs:element>
682 + <xs:element name="ContractDef" type="String35" minOccurs="0" maxOccurs="1">
683 + <xs:annotation>
684 + <xs:documentation>Optional definition of agreement</xs:documentation>
685 + </xs:annotation>
686 + </xs:element>
687 + <xs:element name="ContractType" type="String35" maxOccurs="1" minOccurs="1">
688 + <xs:annotation>
689 + <xs:documentation>Mandatory type of agreement</xs:documentation>
690 + </xs:annotation>
691 + </xs:element>
692 + </xs:sequence>
693 + </xs:complexType>
694 + </xs:element>
695 + </xs:sequence>
696 + </xs:complexType>
697 + </xs:element>
698 + </xs:sequence>
699 + </xs:complexType>
700 + </xs:element>
701 + </xs:sequence>
702 + </xs:complexType>
703 + </xs:element>
704 + <xs:element name="Notification" minOccurs="0" maxOccurs="1">
705 + <xs:annotation>
706 + <xs:documentation>Containing differing notification than customer setting or accounts receivable default</xs:documentation>
707 + </xs:annotation>
708 + <xs:complexType>
709 + <xs:sequence>
710 + <xs:element name="NotificationTextCode" type="xs:string" maxOccurs="1" minOccurs="1">
711 + <xs:annotation>
712 + <xs:documentation>Preconfigured notification text code in PayEx distribution system</xs:documentation>
713 + </xs:annotation>
714 + </xs:element>
715 + <xs:element name="NotificationDistributionType" type="eNotificationDistributionType" maxOccurs="1" minOccurs="1">
716 + <xs:annotation>
717 + <xs:documentation>Valid notification distribution type from enumeration eNotificationDistributionType</xs:documentation>
718 + </xs:annotation>
719 + </xs:element>
720 + </xs:sequence>
721 + </xs:complexType>
722 + </xs:element>
723 + </xs:sequence>
724 + </xs:complexType>
725 + </xs:element>
726 + <xs:element name="CreditInstructions" type="CreditInstructions" minOccurs="0" maxOccurs="1" >
727 + <xs:annotation>
728 + <xs:documentation>Containing instructions to settle the credit invoice against specific debit invoices</xs:documentation>
729 + </xs:annotation>
730 + </xs:element>
731 + </xs:sequence>
732 + </xs:complexType>
733 + </xs:element>
734 + <xs:element minOccurs="0" maxOccurs="unbounded" name="InvoiceWithoutDistribution">
735 + <xs:annotation>
736 + <xs:documentation>Contains invoice information if your contracted service is with distribution of invoices</xs:documentation>
737 + </xs:annotation>
738 + <xs:complexType>
739 + <xs:sequence>
740 + <xs:element name="InvoiceNo" type="fInvoiceNo" minOccurs="1" maxOccurs="1" >
741 + <xs:annotation>
742 + <xs:documentation>Your unique identifier/invoice number from the invoicing/billing system</xs:documentation>
743 + </xs:annotation>
744 + </xs:element>
745 + <xs:element name="ReferenceInfo" type="ReferenceInfo" minOccurs="0" maxOccurs="1" >
746 + <xs:annotation>
747 + <xs:documentation>Containing additional invoice reference information</xs:documentation>
748 + </xs:annotation>
749 + </xs:element>
750 + <xs:element name="InvoiceDate" type="xs:date" maxOccurs="1" minOccurs="1" >
751 + <xs:annotation>
752 + <xs:documentation>Invoice date from invoicing system</xs:documentation>
753 + </xs:annotation>
754 + </xs:element>
755 + <xs:element name="DueDate" type="xs:date" minOccurs="0" maxOccurs="1" >
756 + <xs:annotation>
757 + <xs:documentation>Due date for the invoice. If the invoice has a positive amount (debit invoice) a duedate must be supplied, otherwise an ERROR is created and customer and its invoices will be rejected. Duedate must be equal or greater than the invoice date, otherwise an ERROR is created and customer and its invoices will be rejected.</xs:documentation>
758 + </xs:annotation>
759 + </xs:element>
760 + <xs:element name="DistributionDate" type="xs:date" minOccurs="1" maxOccurs="1" >
761 + <xs:annotation>
762 + <xs:documentation>Date of distribution for the invoice</xs:documentation>
763 + </xs:annotation>
764 + </xs:element>
765 + <xs:element name="PaymentRefNo" type="String25" minOccurs="1" maxOccurs="1" >
766 + <xs:annotation>
767 + <xs:documentation>Unique payment reference (OCR) identifying invoice. Algorithm for creating payment references has to be approved by PayEx</xs:documentation>
768 + </xs:annotation>
769 + </xs:element>
770 + <xs:element name="Amount" type="Amount" minOccurs="1" maxOccurs="1" >
771 + <xs:annotation>
772 + <xs:documentation>Specifies the amount and currency of the invoice. Positive amount is used for debit invoice. Negative amount is used for credit invoice. Must exist a bank account for the specified currency, otherwise an ERROR is created and customer and its invoices will be rejected.</xs:documentation>
773 + </xs:annotation>
774 + </xs:element>
775 + <xs:element name="CreditInstructions" type="CreditInstructions" minOccurs="0" maxOccurs="1">
776 + <xs:annotation>
777 + <xs:documentation>Containing instructions to settle the credit invoice against specific debit invoices. Only possible to use for credit invoice</xs:documentation>
778 + </xs:annotation>
779 + </xs:element>
780 + </xs:sequence>
781 + </xs:complexType>
782 + </xs:element>
783 + </xs:sequence>
784 + </xs:complexType>
785 + </xs:element>
786 + </xs:sequence>
787 + </xs:complexType>
788 + </xs:element>
789 + </xs:sequence>
790 + <xs:attribute name="Version" type="Version" use="required">
791 + <xs:annotation>
792 + <xs:documentation>Describes which version of the xsd the xml is validated against. XSD validation should be done before sending xml file to PayEx</xs:documentation>
793 + </xs:annotation>
794 + </xs:attribute>
795 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required" >
796 + <xs:annotation>
797 + <xs:documentation>Date and time when the file was created</xs:documentation>
798 + </xs:annotation>
799 + </xs:attribute>
800 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" >
801 + <xs:annotation>
802 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation>
803 + </xs:annotation>
804 + </xs:attribute>
805 + <xs:attribute name="CompanyName" type="xs:string" use="required" >
806 + <xs:annotation>
807 + <xs:documentation>The name of your company/accounts receivable</xs:documentation>
808 + </xs:annotation>
809 + </xs:attribute>
810 + </xs:complexType>
811 + </xs:element>
812 + <xs:simpleType name="Money">
813 + <xs:restriction base="xs:decimal">
814 + <xs:fractionDigits value="2" />
815 + <xs:minInclusive value="-500000000" />
816 + <xs:maxInclusive value="500000000" />
817 + </xs:restriction>
818 + </xs:simpleType>
819 + <xs:simpleType name="CreditMoney">
820 + <xs:restriction base="xs:decimal">
821 + <xs:fractionDigits value="2" />
822 + <xs:minInclusive value="0.01" />
823 + <xs:maxInclusive value="100000000" />
824 + </xs:restriction>
825 + </xs:simpleType>
826 + <xs:simpleType name="Decimal5">
827 + <xs:restriction base="xs:decimal">
828 + <xs:fractionDigits value="5" />
829 + </xs:restriction>
830 + </xs:simpleType>
831 + <xs:simpleType name="Identifier15">
832 + <xs:restriction base="xs:string">
833 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&amp;/_ -.]*" />
834 + <xs:minLength value="1" />
835 + <xs:maxLength value="15" />
836 + </xs:restriction>
837 + </xs:simpleType>
838 + <xs:simpleType name="ISO3166">
839 + <xs:restriction base="xs:string">
840 + <xs:pattern value="[A-Z]*" />
841 + <xs:minLength value="2" />
842 + <xs:maxLength value="2" />
843 + </xs:restriction>
844 + </xs:simpleType>
845 + <xs:simpleType name="CompanyNumber">
846 + <xs:restriction base="xs:string">
847 + <xs:pattern value="[0-9]*" />
848 + <xs:minLength value="1" />
849 + <xs:maxLength value="15" />
850 + </xs:restriction>
851 + </xs:simpleType>
852 + <xs:simpleType name="ISO639">
853 + <xs:restriction base="PXString">
854 + <xs:enumeration value="SV" />
855 + <xs:enumeration value="NO" />
856 + <xs:enumeration value="DA" />
857 + <xs:enumeration value="FI" />
858 + <xs:enumeration value="EN" />
859 + </xs:restriction>
860 + </xs:simpleType>
861 + <xs:simpleType name="VatType">
862 + <xs:restriction base="PXString">
863 + <xs:enumeration value="Normal" >
864 + <xs:annotation>
865 + <xs:documentation>Customer is liable to pay taxes in the same country as the Company</xs:documentation>
866 + </xs:annotation>
867 + </xs:enumeration>
868 + <xs:enumeration value="ReverseVatLiability_Eu">
869 + <xs:annotation>
870 + <xs:documentation>Customer operates in another EU country and is obliged to pay VAT in that country</xs:documentation>
871 + </xs:annotation>
872 + </xs:enumeration>
873 + <xs:enumeration value="NotSubjectToVat_Eu">
874 + <xs:annotation>
875 + <xs:documentation>Customer operates in another EU country and is not subject to VAT</xs:documentation>
876 + </xs:annotation>
877 + </xs:enumeration>
878 + <xs:enumeration value="NotSubjectToVat_NonEu">
879 + <xs:annotation>
880 + <xs:documentation>Customer operates in another country outside the EU and is not subject to VAT</xs:documentation>
881 + </xs:annotation>
882 + </xs:enumeration>
883 + </xs:restriction>
884 + </xs:simpleType>
885 + <xs:simpleType name="String35">
886 + <xs:restriction base="PXString">
887 + <xs:maxLength value="35" />
888 + </xs:restriction>
889 + </xs:simpleType>
890 + <xs:simpleType name="Email">
891 + <xs:restriction base="PXString">
892 + <xs:maxLength value="254" />
893 + </xs:restriction>
894 + </xs:simpleType>
895 + <xs:simpleType name="String15">
896 + <xs:restriction base="PXString">
897 + <xs:maxLength value="15" />
898 + </xs:restriction>
899 + </xs:simpleType>
900 + <xs:simpleType name="ZipCode">
901 + <xs:restriction base="xs:string">
902 + <xs:pattern value="[A-Z0-9\-]+" />
903 + <xs:maxLength value="9" />
904 + </xs:restriction>
905 + </xs:simpleType>
906 + <xs:simpleType name="ePaymentType">
907 + <xs:restriction base="xs:string">
908 + <xs:enumeration value="PGSE">
909 + <xs:annotation>
910 + <xs:documentation>Refers to a Swedish Plusgiro account</xs:documentation>
911 + </xs:annotation>
912 + </xs:enumeration>
913 + <xs:enumeration value="BGSE">
914 + <xs:annotation>
915 + <xs:documentation>Refers to a Swedish Bankgiro account</xs:documentation>
916 + </xs:annotation>
917 + </xs:enumeration>
918 + <xs:enumeration value="BKNO">
919 + <xs:annotation>
920 + <xs:documentation>Refers to a Norwegian bank account</xs:documentation>
921 + </xs:annotation>
922 + </xs:enumeration>
923 + </xs:restriction>
924 + </xs:simpleType>
925 + <xs:simpleType name="VatNumber">
926 + <xs:restriction base="xs:string">
927 + <xs:pattern value="[A-Z]{2}.*" />
928 + <xs:minLength value="7" />
929 + <xs:maxLength value="14" />
930 + </xs:restriction>
931 + </xs:simpleType>
932 + <xs:simpleType name="eDistributionType">
933 + <xs:restriction base="xs:string">
934 + <xs:enumeration value="PostalService">
935 + <xs:annotation>
936 + <xs:documentation>Distribution is made by postal service</xs:documentation>
937 + </xs:annotation>
938 + </xs:enumeration>
939 + <xs:enumeration value="EMail">
940 + <xs:annotation>
941 + <xs:documentation>Distribution is made by E-mail</xs:documentation>
942 + </xs:annotation>
943 + </xs:enumeration>
944 + <xs:enumeration value="EInvoiceB2B">
945 + <xs:annotation>
946 + <xs:documentation>Distribution is made by B2B EDI</xs:documentation>
947 + </xs:annotation>
948 + </xs:enumeration>
949 + <xs:enumeration value="Archive">
950 + <xs:annotation>
951 + <xs:documentation>No distribution, only archiving</xs:documentation>
952 + </xs:annotation>
953 + </xs:enumeration>
954 + </xs:restriction>
955 + </xs:simpleType>
956 + <xs:simpleType name="String50">
957 + <xs:restriction base="xs:string">
958 + <xs:maxLength value="50" />
959 + </xs:restriction>
960 + </xs:simpleType>
961 + <xs:simpleType name="String100">
962 + <xs:restriction base="xs:string">
963 + <xs:maxLength value="100" />
964 + </xs:restriction>
965 + </xs:simpleType>
966 + <xs:simpleType name="String200">
967 + <xs:restriction base="xs:string">
968 + <xs:maxLength value="200" />
969 + </xs:restriction>
970 + </xs:simpleType>
971 + <xs:simpleType name="String300">
972 + <xs:restriction base="PXString">
973 + <xs:maxLength value="300" />
974 + </xs:restriction>
975 + </xs:simpleType>
976 + <xs:complexType name="Address">
977 + <xs:sequence>
978 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee">
979 + <xs:annotation>
980 + <xs:documentation>Full name of addressee</xs:documentation>
981 + </xs:annotation>
982 + </xs:element>
983 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false">
984 + <xs:annotation>
985 + <xs:documentation>Street address</xs:documentation>
986 + </xs:annotation>
987 + </xs:element>
988 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false">
989 + <xs:annotation>
990 + <xs:documentation>Zipcode conforming to country standard</xs:documentation>
991 + </xs:annotation>
992 + </xs:element>
993 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false">
994 + <xs:annotation>
995 + <xs:documentation>City</xs:documentation>
996 + </xs:annotation>
997 + </xs:element>
998 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false">
999 + <xs:annotation>
1000 + <xs:documentation>Care of address</xs:documentation>
1001 + </xs:annotation>
1002 + </xs:element>
1003 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1">
1004 + <xs:annotation>
1005 + <xs:documentation>Country code according to ISO 3166</xs:documentation>
1006 + </xs:annotation>
1007 + </xs:element>
1008 + </xs:sequence>
1009 + <xs:attribute name="AddressType" type="AddressType" use="required">
1010 + <xs:annotation>
1011 + <xs:documentation>Valid address type from enumeration AddressType</xs:documentation>
1012 + </xs:annotation>
1013 + </xs:attribute>
1014 + </xs:complexType>
1015 + <xs:simpleType name="AddressType">
1016 + <xs:restriction base="xs:string">
1017 + <xs:enumeration value="LegalAddress">
1018 + <xs:annotation>
1019 + <xs:documentation>Legal address. Mandatory</xs:documentation>
1020 + </xs:annotation>
1021 + </xs:enumeration>
1022 + <xs:enumeration value="BillingAddress">
1023 + <xs:annotation>
1024 + <xs:documentation>Billing address. Should only be supplied if it differs from legal address</xs:documentation>
1025 + </xs:annotation>
1026 + </xs:enumeration>
1027 + </xs:restriction>
1028 + </xs:simpleType>
1029 + <xs:complexType name="Amount">
1030 + <xs:annotation>
1031 + <xs:documentation>Containing amount excl vat and vat amount</xs:documentation>
1032 + </xs:annotation>
1033 + <xs:sequence>
1034 + <xs:element minOccurs="1" maxOccurs="1" name="AmountExclVat" type="Money" nillable="false">
1035 + <xs:annotation>
1036 + <xs:documentation>Amount exclusive of VAT</xs:documentation>
1037 + </xs:annotation>
1038 + </xs:element>
1039 + <xs:element minOccurs="1" maxOccurs="1" name="VatAmount" type="Money" nillable="false">
1040 + <xs:annotation>
1041 + <xs:documentation>VAT amount</xs:documentation>
1042 + </xs:annotation>
1043 + </xs:element>
1044 + </xs:sequence>
1045 + <xs:attribute name="Currency" type="eCurrencyType" use="required">
1046 + <xs:annotation>
1047 + <xs:documentation>Valid currency from enumeration eCurrencyType</xs:documentation>
1048 + </xs:annotation>
1049 + </xs:attribute>
1050 + </xs:complexType>
1051 + <xs:simpleType name="PXFactoringServiceCode">
1052 + <xs:restriction base="xs:string">
1053 + <xs:enumeration value="K">
1054 + <xs:annotation>
1055 + <xs:documentation>Only valid for contracted factoring service. Indication to the contracted factoring company to buy the invoice</xs:documentation>
1056 + </xs:annotation>
1057 + </xs:enumeration>
1058 + </xs:restriction>
1059 + </xs:simpleType>
1060 + <xs:simpleType name="VatRate">
1061 + <xs:annotation>
1062 + <xs:documentation>Supported VAT rates</xs:documentation>
1063 + </xs:annotation>
1064 + <xs:restriction base="xs:decimal">
1065 + <xs:enumeration value="0.00" />
1066 + <xs:enumeration value="6.00" />
1067 + <xs:enumeration value="12.00" />
1068 + <xs:enumeration value="25.00" />
1069 + <xs:enumeration value="14.00" />
1070 + <xs:enumeration value="8.00" />
1071 + <xs:enumeration value="22.0" />
1072 + </xs:restriction>
1073 + </xs:simpleType>
1074 + <xs:simpleType name="String10">
1075 + <xs:restriction base="PXString">
1076 + <xs:maxLength value="10" />
1077 + </xs:restriction>
1078 + </xs:simpleType>
1079 + <xs:simpleType name="String30">
1080 + <xs:restriction base="PXString">
1081 + <xs:maxLength value="30" />
1082 + </xs:restriction>
1083 + </xs:simpleType>
1084 + <xs:simpleType name="String25">
1085 + <xs:restriction base="PXString">
1086 + <xs:maxLength value="25" />
1087 + </xs:restriction>
1088 + </xs:simpleType>
1089 + <xs:simpleType name="NameAddressString35">
1090 + <xs:restriction base="PXNameAddressString">
1091 + <xs:maxLength value="35" />
1092 + </xs:restriction>
1093 + </xs:simpleType>
1094 + <xs:simpleType name="NameAddressString72">
1095 + <xs:restriction base="PXNameAddressString">
1096 + <xs:minLength value="1" />
1097 + <xs:maxLength value="72" />
1098 + </xs:restriction>
1099 + </xs:simpleType>
1100 + <xs:simpleType name="NameAddressString27">
1101 + <xs:restriction base="PXNameAddressString">
1102 + <xs:minLength value="1" />
1103 + <xs:maxLength value="27" />
1104 + </xs:restriction>
1105 + </xs:simpleType>
1106 + <xs:simpleType name="PXString">
1107 + <xs:restriction base="xs:string">
1108 + <xs:pattern value="[a-zA-Z0-9_:!;&quot;#&lt;&gt;=?\[\]@{}´ %'-/À-ÖØ-öø-úü&amp;]*" />
1109 + <xs:minLength value="1" />
1110 + </xs:restriction>
1111 + </xs:simpleType>
1112 + <xs:simpleType name="PXNameAddressString">
1113 + <xs:restriction base="xs:string">
1114 + <xs:pattern value="[a-zA-Z0-9_:!;&quot;#&lt;&gt;=?\[\]@{}´ %'-/À-ÖØ-öø-úü&amp;]*" />
1115 + </xs:restriction>
1116 + </xs:simpleType>
1117 + <xs:simpleType name="TableType">
1118 + <xs:restriction base="xs:string">
1119 + <xs:pattern value="[A-Z]1|[A-Z]2|[A-Z]3|[A-Z]4|[A-Z]5|[A-Z]6|[A-Z]7|[A-Z]8|[A-Z]9|[A-Z]10|[A-Z]11|[A-Z]12" />
1120 + </xs:restriction>
1121 + </xs:simpleType>
1122 + <xs:complexType name="ReferenceInfo">
1123 + <xs:sequence>
1124 + <xs:element name="ExternalInvoiceId" type="String50" maxOccurs="1" minOccurs="0" nillable="false">
1125 + <xs:annotation>
1126 + <xs:documentation>Additional unique invoice identifier in accounts receivable</xs:documentation>
1127 + </xs:annotation>
1128 + </xs:element>
1129 + <xs:element name="ExternalReference" type="String50" maxOccurs="1" minOccurs="0" nillable="false">
1130 + <xs:annotation>
1131 + <xs:documentation>Optional reference text</xs:documentation>
1132 + </xs:annotation>
1133 + </xs:element>
1134 + <xs:element name="InvoiceReferenceText" type="String200" maxOccurs="1" minOccurs="0" nillable="false">
1135 + <xs:annotation>
1136 + <xs:documentation>General text describing the product/service invoiced</xs:documentation>
1137 + </xs:annotation>
1138 + </xs:element>
1139 + </xs:sequence>
1140 + </xs:complexType>
1141 + <xs:complexType name="RegNo">
1142 + <xs:annotation>
1143 + <xs:documentation>Social security number/Corporate identity number conforming to country standard</xs:documentation>
1144 + </xs:annotation>
1145 + <xs:simpleContent>
1146 + <xs:extension base="String15">
1147 + <xs:attribute name="CountryCode" type="ISO3166" use="required">
1148 + <xs:annotation>
1149 + <xs:documentation>Nationality of RegNo according to ISO3166</xs:documentation>
1150 + </xs:annotation>
1151 + </xs:attribute>
1152 + </xs:extension>
1153 + </xs:simpleContent>
1154 + </xs:complexType>
1155 + <xs:simpleType name="LegalEntity">
1156 + <xs:annotation>
1157 + <xs:documentation>Legal entity of the customer.</xs:documentation>
1158 + </xs:annotation>
1159 + <xs:restriction base="xs:string">
1160 + <xs:enumeration value="Private" />
1161 + <xs:enumeration value="Business" />
1162 + </xs:restriction>
1163 + </xs:simpleType>
1164 + <xs:simpleType name="eNotificationDistributionType">
1165 + <xs:restriction base="xs:string">
1166 + <xs:enumeration value="EMail">
1167 + <xs:annotation>
1168 + <xs:documentation>Notification is made by E-Mail</xs:documentation>
1169 + </xs:annotation>
1170 + </xs:enumeration>
1171 + </xs:restriction>
1172 + </xs:simpleType>
1173 + <xs:complexType name="VatInfo">
1174 + <xs:sequence>
1175 + <xs:element name="VatAmount" type="Money" maxOccurs="1" minOccurs="1">
1176 + <xs:annotation>
1177 + <xs:documentation>VAT amount</xs:documentation>
1178 + </xs:annotation>
1179 + </xs:element>
1180 + <xs:element name="VatRate" type="VatRate" maxOccurs="1" minOccurs="1">
1181 + <xs:annotation>
1182 + <xs:documentation>VAT rate associated with VatAmount</xs:documentation>
1183 + </xs:annotation>
1184 + </xs:element>
1185 + </xs:sequence>
1186 + </xs:complexType>
1187 + <xs:simpleType name="eDunningBillType">
1188 + <xs:restriction base="xs:string">
1189 + <xs:enumeration value="SE_10">
1190 + <xs:annotation>
1191 + <xs:documentation>Swedish reminder 1</xs:documentation>
1192 + </xs:annotation>
1193 + </xs:enumeration>
1194 + <xs:enumeration value="SE_20">
1195 + <xs:annotation>
1196 + <xs:documentation>Swedish reminder 2</xs:documentation>
1197 + </xs:annotation>
1198 + </xs:enumeration>
1199 + </xs:restriction>
1200 + </xs:simpleType>
1201 + <xs:simpleType name="fInvoiceNo">
1202 + <xs:restriction base="xs:string">
1203 + <xs:pattern value="[A-Za-z0-9\-]+" />
1204 + <xs:maxLength value="15" />
1205 + </xs:restriction>
1206 + </xs:simpleType>
1207 + <xs:simpleType name="eDistributionBillType">
1208 + <xs:restriction base="xs:string">
1209 + <xs:enumeration value="I_Invoice">
1210 + <xs:annotation>
1211 + <xs:documentation>Refers to invoice</xs:documentation>
1212 + </xs:annotation>
1213 + </xs:enumeration>
1214 + </xs:restriction>
1215 + </xs:simpleType>
1216 + <xs:simpleType name="eDunningRule">
1217 + <xs:restriction base="xs:string">
1218 + <xs:enumeration value="I_PenaltyIntrAndFeeLimit">
1219 + <xs:annotation>
1220 + <xs:documentation>Instruction to credit non payed penalty interest and fees below limit amount. Set value to a positive amount (integer) </xs:documentation>
1221 + </xs:annotation>
1222 + </xs:enumeration>
1223 + <xs:enumeration value="I_PaymentTerms">
1224 + <xs:annotation>
1225 + <xs:documentation>Payment terms for invoice. Set value to number of days (integer)</xs:documentation>
1226 + </xs:annotation>
1227 + </xs:enumeration>
1228 + </xs:restriction>
1229 + </xs:simpleType>
1230 + <xs:simpleType name="eNotificationBillType">
1231 + <xs:restriction base="xs:string">
1232 + <xs:enumeration value="I_Invoice">
1233 + <xs:annotation>
1234 + <xs:documentation>Refers to Invoice</xs:documentation>
1235 + </xs:annotation>
1236 + </xs:enumeration>
1237 + </xs:restriction>
1238 + </xs:simpleType>
1239 + <xs:simpleType name="eCurrencyType">
1240 + <xs:restriction base="xs:string">
1241 + <xs:enumeration value="SEK" />
1242 + <xs:enumeration value="NOK" />
1243 + <xs:enumeration value="DKK" />
1244 + <xs:enumeration value="EUR" />
1245 + </xs:restriction>
1246 + </xs:simpleType>
1247 + <xs:complexType name="CreditInstructions">
1248 + <xs:annotation>
1249 + <xs:documentation>Containing settle instructions for a credit invoice. Can only be used if specially contracted with PayEx</xs:documentation>
1250 + </xs:annotation>
1251 + <xs:sequence>
1252 + <xs:element name="CreditInstruction" minOccurs="1" maxOccurs="unbounded">
1253 + <xs:annotation>
1254 + <xs:documentation>Containing 1 settle instruction for a credit invoice</xs:documentation>
1255 + </xs:annotation>
1256 + <xs:complexType>
1257 + <xs:sequence>
1258 + <xs:element name="InvoiceIdentifier" minOccurs="1" maxOccurs="1">
1259 + <xs:annotation>
1260 + <xs:documentation>Containing either InvoiceNo or ExternalInvoiceId to identify a debit invoice</xs:documentation>
1261 + </xs:annotation>
1262 + <xs:complexType>
1263 + <xs:choice>
1264 + <xs:element name="InvoiceNo" type="fInvoiceNo" minOccurs="1" maxOccurs="1">
1265 + <xs:annotation>
1266 + <xs:documentation>InvoiceNo identifying a debit invoice</xs:documentation>
1267 + </xs:annotation>
1268 + </xs:element>
1269 + <xs:element name="ExternalInvoiceId" type="String50" minOccurs="1" maxOccurs="1">
1270 + <xs:annotation>
1271 + <xs:documentation>ExternalInvoiceId identifying a debit invoice</xs:documentation>
1272 + </xs:annotation>
1273 + </xs:element>
1274 + </xs:choice>
1275 + </xs:complexType>
1276 + </xs:element>
1277 + <xs:element name="CreditAmount" type="CreditMoney">
1278 + <xs:annotation>
1279 + <xs:documentation>The amount to credit</xs:documentation>
1280 + </xs:annotation>
1281 + </xs:element>
1282 + </xs:sequence>
1283 + <xs:attribute name="SendCopy" type="xs:boolean" use="required" >
1284 + <xs:annotation>
1285 + <xs:documentation>Set to true if a adjusted "invoice copy" shall be sent to the customer after the credit has been made</xs:documentation>
1286 + </xs:annotation>
1287 + </xs:attribute>
1288 + </xs:complexType>
1289 + </xs:element>
1290 + </xs:sequence>
1291 + </xs:complexType>
1292 + <xs:complexType name="Columns">
1293 + <xs:annotation>
1294 + <xs:documentation>Containing 1-12 columns</xs:documentation>
1295 + </xs:annotation>
1296 + <xs:sequence>
1297 + <xs:element name="Column" type="Column" minOccurs="1" maxOccurs="12" />
1298 + </xs:sequence>
1299 + </xs:complexType>
1300 + <xs:simpleType name="ePaymentRule">
1301 + <xs:restriction base="xs:string">
1302 + <xs:enumeration value="UseBGAGSE">
1303 + <xs:annotation>
1304 + <xs:documentation>Activate or deactivates direct debit as part of the "verified payment" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1305 + </xs:annotation>
1306 + </xs:enumeration>
1307 + <xs:enumeration value="UseBKAGNO">
1308 + <xs:annotation>
1309 + <xs:documentation>Activate or deactivates direct debit as part of the "verified payment" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1310 + </xs:annotation>
1311 + </xs:enumeration>
1312 + </xs:restriction>
1313 + </xs:simpleType>
1314 + <xs:simpleType name="eDistributionRule">
1315 + <xs:restriction base="xs:string">
1316 + <xs:enumeration value="UseEInvoiceB2CSE">
1317 + <xs:annotation>
1318 + <xs:documentation>Activate or deactivates EInvoiceB2CSE as part of the "verified distribution" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1319 + </xs:annotation>
1320 + </xs:enumeration>
1321 + <xs:enumeration value="UseEInvoiceB2CNO">
1322 + <xs:annotation>
1323 + <xs:documentation>Activate or deactivates EInvoiceB2CNO as part of the "verified distribution" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1324 + </xs:annotation>
1325 + </xs:enumeration>
1326 + <xs:enumeration value="UseEInvoiceB2CFI">
1327 + <xs:annotation>
1328 + <xs:documentation>Activate or deactivates UseEInvoiceB2CFI as part of the "verified distribution" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1329 + </xs:annotation>
1330 + </xs:enumeration>
1331 + </xs:restriction>
1332 + </xs:simpleType>
1333 + <xs:simpleType name="eColumnNo">
1334 + <xs:restriction base="xs:unsignedShort">
1335 + <xs:enumeration value="1">
1336 + <xs:annotation>
1337 + <xs:documentation>Refers to column 1</xs:documentation>
1338 + </xs:annotation>
1339 + </xs:enumeration>
1340 + <xs:enumeration value="2">
1341 + <xs:annotation>
1342 + <xs:documentation>Refers to column 2</xs:documentation>
1343 + </xs:annotation>
1344 + </xs:enumeration>
1345 + <xs:enumeration value="3">
1346 + <xs:annotation>
1347 + <xs:documentation>Refers to column 3</xs:documentation>
1348 + </xs:annotation>
1349 + </xs:enumeration>
1350 + <xs:enumeration value="4">
1351 + <xs:annotation>
1352 + <xs:documentation>Refers to column 4</xs:documentation>
1353 + </xs:annotation>
1354 + </xs:enumeration>
1355 + <xs:enumeration value="5">
1356 + <xs:annotation>
1357 + <xs:documentation>Refers to column 5</xs:documentation>
1358 + </xs:annotation>
1359 + </xs:enumeration>
1360 + <xs:enumeration value="6">
1361 + <xs:annotation>
1362 + <xs:documentation>Refers to column 6</xs:documentation>
1363 + </xs:annotation>
1364 + </xs:enumeration>
1365 + <xs:enumeration value="7">
1366 + <xs:annotation>
1367 + <xs:documentation>Refers to column 7</xs:documentation>
1368 + </xs:annotation>
1369 + </xs:enumeration>
1370 + <xs:enumeration value="8">
1371 + <xs:annotation>
1372 + <xs:documentation>Refers to column 8</xs:documentation>
1373 + </xs:annotation>
1374 + </xs:enumeration>
1375 + <xs:enumeration value="9">
1376 + <xs:annotation>
1377 + <xs:documentation>Refers to column 9</xs:documentation>
1378 + </xs:annotation>
1379 + </xs:enumeration>
1380 + <xs:enumeration value="10">
1381 + <xs:annotation>
1382 + <xs:documentation>Refers to column 10</xs:documentation>
1383 + </xs:annotation>
1384 + </xs:enumeration>
1385 + <xs:enumeration value="11">
1386 + <xs:annotation>
1387 + <xs:documentation>Refers to column 11</xs:documentation>
1388 + </xs:annotation>
1389 + </xs:enumeration>
1390 + <xs:enumeration value="12">
1391 + <xs:annotation>
1392 + <xs:documentation>Refers to column 12</xs:documentation>
1393 + </xs:annotation>
1394 + </xs:enumeration>
1395 + </xs:restriction>
1396 + </xs:simpleType>
1397 + <xs:complexType name="Column">
1398 + <xs:sequence>
1399 + <xs:element name="Text" type="xs:string" maxOccurs="1" minOccurs="1">
1400 + <xs:annotation>
1401 + <xs:documentation>Text printed in cell</xs:documentation>
1402 + </xs:annotation>
1403 + </xs:element>
1404 + </xs:sequence>
1405 + <xs:attribute name="ColumnNo" type="eColumnNo" use="required" />
1406 + </xs:complexType>
1407 + <xs:complexType name="BasePrintBlock">
1408 + <xs:annotation>
1409 + <xs:documentation>A base print block is a predefined table type at PayEx. Which table types that are enabled are described in a separate document. You refer the requested tabletype by the attribute "TableType"</xs:documentation>
1410 + </xs:annotation>
1411 + <xs:sequence>
1412 + <xs:element name="HeadLine" type="xs:string" minOccurs="0" maxOccurs="1">
1413 + <xs:annotation>
1414 + <xs:documentation>Optional print block headline</xs:documentation>
1415 + </xs:annotation>
1416 + </xs:element>
1417 + <xs:element name="SubOrderBlocks" minOccurs="1" maxOccurs="1">
1418 + <xs:complexType>
1419 + <xs:sequence>
1420 + <xs:element name="SubOrderBlock" minOccurs="1" maxOccurs="unbounded">
1421 + <xs:complexType>
1422 + <xs:sequence>
1423 + <xs:element minOccurs="0" name="HeadLine" maxOccurs="1" type="xs:string">
1424 + <xs:annotation>
1425 + <xs:documentation>Optional suborder block headline</xs:documentation>
1426 + </xs:annotation>
1427 + </xs:element>
1428 + <xs:element minOccurs="0" maxOccurs="1" name="ColumnHeadLine">
1429 + <xs:annotation>
1430 + <xs:documentation>Optional column headline(s)</xs:documentation>
1431 + </xs:annotation>
1432 + <xs:complexType>
1433 + <xs:sequence>
1434 + <xs:element name="Columns" type="Columns" maxOccurs="1" minOccurs="1">
1435 + <xs:annotation>
1436 + <xs:documentation>Containing cells for column headline row of the referred table type</xs:documentation>
1437 + </xs:annotation>
1438 + </xs:element>
1439 + </xs:sequence>
1440 + </xs:complexType>
1441 + </xs:element>
1442 + <xs:element name="Rows" minOccurs="1" maxOccurs="1">
1443 + <xs:annotation>
1444 + <xs:documentation>Containing rows</xs:documentation>
1445 + </xs:annotation>
1446 + <xs:complexType>
1447 + <xs:sequence>
1448 + <xs:element minOccurs="0" name="Row" maxOccurs="unbounded">
1449 + <xs:annotation>
1450 + <xs:documentation>Containing one row</xs:documentation>
1451 + </xs:annotation>
1452 + <xs:complexType>
1453 + <xs:sequence>
1454 + <xs:element name="Columns" type="Columns" maxOccurs="1" minOccurs="1">
1455 + <xs:annotation>
1456 + <xs:documentation>Containing cells for one row of the referred table type</xs:documentation>
1457 + </xs:annotation>
1458 + </xs:element>
1459 + </xs:sequence>
1460 + </xs:complexType>
1461 + </xs:element>
1462 + </xs:sequence>
1463 + </xs:complexType>
1464 + </xs:element>
1465 + <xs:element name="SummaryRow" minOccurs="0" maxOccurs="1">
1466 + <xs:annotation>
1467 + <xs:documentation>Optional summary row of referred table type</xs:documentation>
1468 + </xs:annotation>
1469 + <xs:complexType>
1470 + <xs:sequence>
1471 + <xs:element name="Columns" type="Columns" minOccurs="1" maxOccurs="1">
1472 + <xs:annotation>
1473 + <xs:documentation>Containing cells for summary row of the referred table type</xs:documentation>
1474 + </xs:annotation>
1475 + </xs:element>
1476 + </xs:sequence>
1477 + </xs:complexType>
1478 + </xs:element>
1479 + </xs:sequence>
1480 + <xs:attribute name="TableType" type="TableType" use="required">
1481 + <xs:annotation>
1482 + <xs:documentation>The name of the predefined table type in PayEx print system.</xs:documentation>
1483 + </xs:annotation>
1484 + </xs:attribute>
1485 + </xs:complexType>
1486 + </xs:element>
1487 + </xs:sequence>
1488 + </xs:complexType>
1489 + </xs:element>
1490 + </xs:sequence>
1491 + </xs:complexType>
1492 + <xs:complexType name="PrintBlockConfig">
1493 + <xs:sequence>
1494 + </xs:sequence>
1495 + <xs:attribute name="PrecedingPageBreak" type="xs:boolean" use="optional">
1496 + <xs:annotation>
1497 + <xs:documentation>Instruction to start printing the print block on a new page</xs:documentation>
1498 + </xs:annotation>
1499 + </xs:attribute>
1500 + <xs:attribute name="PrecedingSheetBreak" type="xs:boolean" use="optional">
1501 + <xs:annotation>
1502 + <xs:documentation>Instruction to start printing the print block on a new sheet</xs:documentation>
1503 + </xs:annotation>
1504 + </xs:attribute>
1505 + </xs:complexType>
1506 + <xs:complexType name="PredefinedPrintBlocks">
1507 + <xs:sequence>
1508 + <xs:element name="PredefinedPrintBlock" minOccurs="1" maxOccurs="unbounded">
1509 + <xs:annotation>
1510 + <xs:documentation>Containing predefined print block printed in specified predefined area in layout</xs:documentation>
1511 + </xs:annotation>
1512 + <xs:complexType>
1513 + <xs:choice>
1514 + <xs:element name="Image" minOccurs="1" maxOccurs="1">
1515 + <xs:annotation>
1516 + <xs:documentation>Containing predefined image printed in specified predefined area in layout</xs:documentation>
1517 + </xs:annotation>
1518 + <xs:complexType>
1519 + <xs:sequence>
1520 + <xs:element name="ImageName" type="xs:string" minOccurs="1" maxOccurs="1">
1521 + <xs:annotation>
1522 + <xs:documentation>Name of predefined image in PayEx print system</xs:documentation>
1523 + </xs:annotation>
1524 + </xs:element>
1525 + </xs:sequence>
1526 + <xs:attribute name="ImageAreaName" type="xs:string" use="required">
1527 + <xs:annotation>
1528 + <xs:documentation>Name of predefined image area in layout</xs:documentation>
1529 + </xs:annotation>
1530 + </xs:attribute>
1531 + </xs:complexType>
1532 + </xs:element>
1533 + <xs:element name="Paragraph" minOccurs="1" maxOccurs="1">
1534 + <xs:annotation>
1535 + <xs:documentation>Containing predefined paragraph printed in specified predefined area in layout</xs:documentation>
1536 + </xs:annotation>
1537 + <xs:complexType>
1538 + <xs:sequence>
1539 + <xs:element name="ParagraphName" type="xs:string" minOccurs="1" maxOccurs="1">
1540 + <xs:annotation>
1541 + <xs:documentation>Name of predefined paragraph in PayEx print system</xs:documentation>
1542 + </xs:annotation>
1543 + </xs:element>
1544 + </xs:sequence>
1545 + <xs:attribute name="ParagraphAreaName" type="xs:string" use="required">
1546 + <xs:annotation>
1547 + <xs:documentation>Name of predefined paragraph area name in layout</xs:documentation>
1548 + </xs:annotation>
1549 + </xs:attribute>
1550 + </xs:complexType>
1551 + </xs:element>
1552 + </xs:choice>
1553 + </xs:complexType>
1554 + </xs:element>
1555 + </xs:sequence>
1556 + </xs:complexType>
1557 + <xs:complexType name="ExtraPrintBlocks">
1558 + <xs:sequence>
1559 + <xs:element name="ExtraPrintBlock" minOccurs="1" maxOccurs="unbounded">
1560 + <xs:annotation>
1561 + <xs:documentation>Containing print block printed in specified predefined area in layout</xs:documentation>
1562 + </xs:annotation>
1563 + <xs:complexType>
1564 + <xs:sequence>
1565 + <xs:element name="BasePrintBlock" type="BasePrintBlock" minOccurs="1" maxOccurs="1" />
1566 + </xs:sequence>
1567 + <xs:attribute name="PrintBlockAreaName" type="xs:string" use="required">
1568 + <xs:annotation>
1569 + <xs:documentation>Name of predefined area in layout</xs:documentation>
1570 + </xs:annotation>
1571 + </xs:attribute>
1572 + </xs:complexType>
1573 + </xs:element>
1574 + </xs:sequence>
1575 + </xs:complexType>
1576 + <xs:complexType name="StandardPrintBlocks">
1577 + <xs:sequence>
1578 + <xs:element name="StandardPrintBlock" minOccurs="1" maxOccurs="unbounded">
1579 + <xs:complexType>
1580 + <xs:sequence>
1581 + <xs:element name="BasePrintBlock" type="BasePrintBlock" maxOccurs="1" minOccurs="1" />
1582 + <xs:element name="PrintBlockConfig" type="PrintBlockConfig" minOccurs="0" maxOccurs="1" />
1583 + </xs:sequence>
1584 + </xs:complexType>
1585 + </xs:element>
1586 + </xs:sequence>
1587 + </xs:complexType>
1588 + <xs:complexType name="SpecificationPrintBlocks">
1589 + <xs:sequence>
1590 + <xs:element name="SpecificationPrintBlock" minOccurs="1" maxOccurs="unbounded">
1591 + <xs:complexType>
1592 + <xs:sequence>
1593 + <xs:element name="BasePrintBlock" type="BasePrintBlock" maxOccurs="1" minOccurs="1" />
1594 + <xs:element name="PrintBlockConfig" type="PrintBlockConfig" maxOccurs="1" minOccurs="1" />
1595 + </xs:sequence>
1596 + <xs:attribute name="PrintBlockIdentifier" type="xs:string" />
1597 + </xs:complexType>
1598 + </xs:element>
1599 + </xs:sequence>
1600 + </xs:complexType>
1601 + <xs:simpleType name="eSummaryType">
1602 + <xs:restriction base="xs:string">
1603 + <xs:enumeration value="SA">
1604 + <xs:annotation>
1605 + <xs:documentation>Summary</xs:documentation>
1606 + </xs:annotation>
1607 + </xs:enumeration>
1608 + <xs:enumeration value="SSA">
1609 + <xs:annotation>
1610 + <xs:documentation>Aggregated summary</xs:documentation>
1611 + </xs:annotation>
1612 + </xs:enumeration>
1613 + </xs:restriction>
1614 + </xs:simpleType>
1615 + <xs:simpleType name="Version">
1616 + <xs:restriction base="xs:string">
1617 + <xs:enumeration value="2.0"/>
1618 + <xs:enumeration value="2.1">
1619 + <xs:enumeration value="2.2">
1620 + <xs:annotation>
1621 + <xs:documentation>EdiInfo.EDIOrderRows.Quantity decimal support,
1622 + EDIInfo.ExternalreferenceURL, added new field
1623 + Added support for more characters in EdiInfo.EDIOrderRow.ContractType
1624 + </xs:documentation>
1625 + </xs:annotation>
1626 + </xs:enumeration>
1627 + <xs:annotation>
1628 + <xs:documentation>Added new DistributionRule UseEInvoiceB2CFI, and two new properties for accounting InterCompanyCode and VatType. Increased Money type to 500 000 000</xs:documentation>
1629 + </xs:annotation>
1630 + </xs:enumeration>
1631 + </xs:restriction>
1632 + </xs:simpleType>
1633 +</xs:schema>
1634 +
CUSIN_[2.X].xsd
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.aha
Size
... ... @@ -1,0 +1,1 @@
1 +0 bytes
Content
... ... @@ -1,0 +1,1747 @@
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3 + <xs:element name="CUSIN">
4 + <xs:complexType>
5 + <xs:sequence>
6 + <xs:element name="DistributionDate" minOccurs="0" maxOccurs="1">
7 + <xs:annotation>
8 + <xs:documentation>Mandatory for services with distribution.</xs:documentation>
9 + </xs:annotation>
10 + <xs:complexType>
11 + <xs:choice>
12 + <xs:element name="Date" type="xs:date">
13 + <xs:annotation>
14 + <xs:documentation>Only used if distribution of invoices are part of a contracted production planning. Distribution date has to be in the future. Distribution date has to be a bank day</xs:documentation>
15 + </xs:annotation>
16 + </xs:element>
17 + <xs:element name="AsSoonAsPossible">
18 + <xs:annotation>
19 + <xs:documentation>Used to distribute invoices as soon as possible. The element supposed to be empty.</xs:documentation>
20 + </xs:annotation>
21 + <xs:complexType>
22 + <xs:complexContent>
23 + <xs:restriction base="xs:anyType" />
24 + </xs:complexContent>
25 + </xs:complexType>
26 + </xs:element>
27 + </xs:choice>
28 + </xs:complexType>
29 + </xs:element>
30 + <xs:element name="CUSINInfo" minOccurs="1" maxOccurs="unbounded">
31 + <xs:annotation>
32 + <xs:documentation>Containing one customer (payer) and that customers invoice(s)</xs:documentation>
33 + </xs:annotation>
34 + <xs:complexType>
35 + <xs:sequence>
36 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="0" maxOccurs="1" nillable="false" >
37 + <xs:annotation>
38 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable and should always be used. CustomerNo is mandatory by default. If you do not have unique identifiers of your customers, please contact PayEx.</xs:documentation>
39 + </xs:annotation>
40 + </xs:element>
41 + <xs:element minOccurs="0" maxOccurs="1" name="CustomerInfo">
42 + <xs:annotation>
43 + <xs:documentation>Must be used for new och changed customers. CustomerInfo is mandatory if customer info for this customer (CustomerNo) has not been transferred to PayEx earlier.</xs:documentation>
44 + </xs:annotation>
45 + <xs:complexType>
46 + <xs:sequence>
47 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1" >
48 + <xs:annotation>
49 + <xs:documentation>Full name for the customer in the accounts receivable system. Used as display name</xs:documentation>
50 + </xs:annotation>
51 + </xs:element>
52 + <xs:element name="RegNo" type="RegNo" minOccurs="0" maxOccurs="1" >
53 + <xs:annotation>
54 + <xs:documentation>Customer social security number/corporate identity number. Has to conform to country specific algorithms</xs:documentation>
55 + </xs:annotation>
56 + </xs:element>
57 + <xs:element name="LegalStatus" type="LegalStatus" minOccurs="0" maxOccurs="1" >
58 + <xs:annotation>
59 + <xs:documentation>Set legal status of the customer</xs:documentation>
60 + </xs:annotation>
61 + </xs:element>
62 + <xs:element name="Category" type="String10" minOccurs="0" maxOccurs="1" >
63 + <xs:annotation>
64 + <xs:documentation>Can only be used if contracted with PayEx. Category has to be preconfigured in the accounts receivable system</xs:documentation>
65 + </xs:annotation>
66 + </xs:element>
67 + <xs:element name="InterCompanyCode" type="String15" minOccurs="0" maxOccurs="1" >
68 + <xs:annotation>
69 + <xs:documentation>Relating to interactions between two or more internal companies</xs:documentation>
70 + </xs:annotation>
71 + </xs:element>
72 + <xs:element name="VatType" type="VatType" minOccurs="0" maxOccurs="1" >
73 + <xs:annotation>
74 + <xs:documentation>Specifies if/where the customer liable to pay VAT</xs:documentation>
75 + </xs:annotation>
76 + </xs:element>
77 + <xs:element name="LanguageCode" type="ISO639" minOccurs="0" maxOccurs="1" >
78 + <xs:annotation>
79 + <xs:documentation>Only used if preferred invoice language is other than accounts receivable default</xs:documentation>
80 + </xs:annotation>
81 + </xs:element>
82 + <xs:element name="VatNo" type="VatNumber" minOccurs="0" maxOccurs="1" >
83 + <xs:annotation>
84 + <xs:documentation>Customer VAT registration number. Mandatory if reverse tax is used. Must conform to country specific algorithm</xs:documentation>
85 + </xs:annotation>
86 + </xs:element>
87 + <xs:element name="DistributionAddressInfo" minOccurs="1" maxOccurs="1">
88 + <xs:annotation>
89 + <xs:documentation>Contains customer distribution address information</xs:documentation>
90 + </xs:annotation>
91 + <xs:complexType>
92 + <xs:sequence>
93 + <xs:element name="Addresses" minOccurs="1" maxOccurs="1">
94 + <xs:annotation>
95 + <xs:documentation>Contains customer addresses. If billing address is used and country code differs from legal address countrycode, a warning is created and the billingadress is not saved. Zipcode must meet the requirements for the specific country, if not an ERROR is created and the customer and its invoices will be rejected.</xs:documentation>
96 + </xs:annotation>
97 + <xs:complexType>
98 + <xs:sequence>
99 + <xs:element name="Address" type="Address" minOccurs="1" maxOccurs="2">
100 + <xs:annotation>
101 + <xs:documentation>Legal address is mandatory. Only supply billing address i different from legal address</xs:documentation>
102 + </xs:annotation>
103 + </xs:element>
104 + </xs:sequence>
105 + </xs:complexType>
106 + </xs:element>
107 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1" >
108 + <xs:annotation>
109 + <xs:documentation>Customers E-mail address. Mandatory if delivery is set to EMail or E-notification is active.</xs:documentation>
110 + </xs:annotation>
111 + </xs:element>
112 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1" >
113 + <xs:annotation>
114 + <xs:documentation>Customers mobile number msisdn</xs:documentation>
115 + </xs:annotation>
116 + </xs:element>
117 + <xs:element name="ProtectedIdentity" type="xs:boolean" minOccurs="0" maxOccurs="1" >
118 + <xs:annotation>
119 + <xs:documentation>Customer has ProtectedIdentity, postal distribution handled by Skatteverket</xs:documentation>
120 + </xs:annotation>
121 + </xs:element>
122 + </xs:sequence>
123 + </xs:complexType>
124 + </xs:element>
125 + <xs:element name="PaymentInfo" minOccurs="0" maxOccurs="1">
126 + <xs:annotation>
127 + <xs:documentation>Contains differing customer payment info from accounts receivable default</xs:documentation>
128 + </xs:annotation>
129 + <xs:complexType>
130 + <xs:choice>
131 + <xs:element name="Clear" minOccurs="1" maxOccurs="1" >
132 + <xs:annotation>
133 + <xs:documentation>Erases previously set payment info on customer</xs:documentation>
134 + </xs:annotation>
135 + </xs:element>
136 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
137 + <xs:annotation>
138 + <xs:documentation>Sets differing payment info on customer, fully replaces earlier settings</xs:documentation>
139 + </xs:annotation>
140 + <xs:complexType>
141 + <xs:sequence>
142 + <xs:element name="PaymentType" type="ePaymentType" minOccurs="0" maxOccurs="1" >
143 + <xs:annotation>
144 + <xs:documentation>Only used if customer payment type differs from account sreceivable default. Payment type must be possible in accountsreceivable, if not a warning is returned and the payment type is not configured.</xs:documentation>
145 + </xs:annotation>
146 + </xs:element>
147 + <xs:element name="RecurringCardInfo" type="Card" minOccurs="0" maxOccurs="1">
148 + <xs:annotation>
149 + <xs:documentation>Info about token and expiry date</xs:documentation>
150 + </xs:annotation>
151 + </xs:element>
152 + <xs:element name="PaymentRules" minOccurs="0" maxOccurs="1">
153 + <xs:annotation>
154 + <xs:documentation>Containing differing customer payment rules.</xs:documentation>
155 + </xs:annotation>
156 + <xs:complexType>
157 + <xs:sequence>
158 + <xs:element name="PaymentRule" minOccurs="1" maxOccurs="unbounded">
159 + <xs:annotation>
160 + <xs:documentation>Customer differing payment rule.</xs:documentation>
161 + </xs:annotation>
162 + <xs:complexType>
163 + <xs:sequence>
164 + <xs:element name="Value" type="xs:string" maxOccurs="1" minOccurs="1">
165 + <xs:annotation>
166 + <xs:documentation>Valid value of rule</xs:documentation>
167 + </xs:annotation>
168 + </xs:element>
169 + </xs:sequence>
170 + <xs:attribute name="Rule" type="ePaymentRule" >
171 + <xs:annotation>
172 + <xs:documentation>Valid payment rule from enumeration ePaymentRule</xs:documentation>
173 + </xs:annotation>
174 + </xs:attribute>
175 + </xs:complexType>
176 + </xs:element>
177 + </xs:sequence>
178 + </xs:complexType>
179 + </xs:element>
180 + </xs:sequence>
181 + </xs:complexType>
182 + </xs:element>
183 + </xs:choice>
184 + </xs:complexType>
185 + </xs:element>
186 + <xs:element name="DunningInfo" minOccurs="0" maxOccurs="1">
187 + <xs:annotation>
188 + <xs:documentation>Contains differing customer dunning info from accounts receivable default</xs:documentation>
189 + </xs:annotation>
190 + <xs:complexType>
191 + <xs:choice>
192 + <xs:element name="Clear" >
193 + <xs:annotation>
194 + <xs:documentation>Erases previously set dunning info on customer</xs:documentation>
195 + </xs:annotation>
196 + </xs:element>
197 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
198 + <xs:annotation>
199 + <xs:documentation>Sets differing dunning info on customer. Fully replaces previously set dunning info</xs:documentation>
200 + </xs:annotation>
201 + <xs:complexType>
202 + <xs:sequence minOccurs="1" maxOccurs="3">
203 + <xs:element name="DunningRules" minOccurs="0" maxOccurs="1">
204 + <xs:annotation>
205 + <xs:documentation>Containing differing dunning rules</xs:documentation>
206 + </xs:annotation>
207 + <xs:complexType>
208 + <xs:sequence>
209 + <xs:element name="DunningRule" minOccurs="1" maxOccurs="unbounded">
210 + <xs:annotation>
211 + <xs:documentation>Contains a dunning rule and its value</xs:documentation>
212 + </xs:annotation>
213 + <xs:complexType>
214 + <xs:sequence>
215 + <xs:element name="Value" type="xs:string" maxOccurs="1" minOccurs="1">
216 + <xs:annotation>
217 + <xs:documentation>Valid value of rule</xs:documentation>
218 + </xs:annotation>
219 + </xs:element>
220 + </xs:sequence>
221 + <xs:attribute name="Rule" type="eDunningRule">
222 + <xs:annotation>
223 + <xs:documentation>Valid dunning rule from enumeration eDunningRule</xs:documentation>
224 + </xs:annotation>
225 + </xs:attribute>
226 + </xs:complexType>
227 + </xs:element>
228 + </xs:sequence>
229 + </xs:complexType>
230 + </xs:element>
231 + <xs:element name="DunningEnclosures" minOccurs="0" maxOccurs="1">
232 + <xs:annotation>
233 + <xs:documentation>Contains dunning enclosures</xs:documentation>
234 + </xs:annotation>
235 + <xs:complexType>
236 + <xs:sequence>
237 + <xs:element name="BillType" minOccurs="1" maxOccurs="unbounded">
238 + <xs:annotation>
239 + <xs:documentation>Contains a dunning bill type and a predefined enclosure</xs:documentation>
240 + </xs:annotation>
241 + <xs:complexType>
242 + <xs:sequence>
243 + <xs:element name="EnclosureName" type="xs:string" maxOccurs="1" minOccurs="1">
244 + <xs:annotation>
245 + <xs:documentation>Predefined enclosure name in PayEx distribution system</xs:documentation>
246 + </xs:annotation>
247 + </xs:element>
248 + </xs:sequence>
249 + <xs:attribute name="DunningBillType" type="eDunningBillType">
250 + <xs:annotation>
251 + <xs:documentation>The bill type from enumeration eDunningBillType which to enclose the predefined enclosure</xs:documentation>
252 + </xs:annotation>
253 + </xs:attribute>
254 + </xs:complexType>
255 + </xs:element>
256 + </xs:sequence>
257 + </xs:complexType>
258 + </xs:element>
259 + </xs:sequence>
260 + </xs:complexType>
261 + </xs:element>
262 + </xs:choice>
263 + </xs:complexType>
264 + </xs:element>
265 + <xs:element name="DistributionInfo" minOccurs="0" maxOccurs="1">
266 + <xs:annotation>
267 + <xs:documentation>Contains differing customer distribution info from accounts receivable default</xs:documentation>
268 + </xs:annotation>
269 + <xs:complexType>
270 + <xs:choice>
271 + <xs:element name="Clear" minOccurs="1" maxOccurs="1" >
272 + <xs:annotation>
273 + <xs:documentation>Erases earlier set values</xs:documentation>
274 + </xs:annotation>
275 + </xs:element>
276 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
277 + <xs:annotation>
278 + <xs:documentation>Sets differing distribution info on customer. Fully replaces previously set distribution info</xs:documentation>
279 + </xs:annotation>
280 + <xs:complexType>
281 + <xs:sequence>
282 + <xs:element name="BillTypes" minOccurs="1" maxOccurs="1">
283 + <xs:annotation>
284 + <xs:documentation>Containing bill types with differing distribution from accounts receivable default</xs:documentation>
285 + </xs:annotation>
286 + <xs:complexType>
287 + <xs:sequence>
288 + <xs:element name="BillType" minOccurs="1" maxOccurs="unbounded">
289 + <xs:annotation>
290 + <xs:documentation>Containing bill type with differing distribution</xs:documentation>
291 + </xs:annotation>
292 + <xs:complexType>
293 + <xs:sequence>
294 + <xs:element name="DistributionType" type="eDistributionType" maxOccurs="1" minOccurs="0">
295 + <xs:annotation>
296 + <xs:documentation>If distribution type is set to 'EMail' and the customer has not a e-mail address, a warning is created and DistributionType is set to 'Postal'</xs:documentation>
297 + </xs:annotation>
298 + </xs:element>
299 + <xs:element name="DistributionRules" minOccurs="0" maxOccurs="1">
300 + <xs:annotation>
301 + <xs:documentation>Contains distribution rules for bill type</xs:documentation>
302 + </xs:annotation>
303 + <xs:complexType>
304 + <xs:sequence>
305 + <xs:element name="DistributionRule" minOccurs="1" maxOccurs="unbounded">
306 + <xs:annotation>
307 + <xs:documentation>Contains a distribution rule and its value</xs:documentation>
308 + </xs:annotation>
309 + <xs:complexType>
310 + <xs:sequence>
311 + <xs:element name="Value" type="xs:string" maxOccurs="1" minOccurs="1">
312 + <xs:annotation>
313 + <xs:documentation>Valid value of distribution rule</xs:documentation>
314 + </xs:annotation>
315 + </xs:element>
316 + </xs:sequence>
317 + <xs:attribute name="Rule" type="eDistributionRule">
318 + <xs:annotation>
319 + <xs:documentation>Valid rule from enumeration eDistributionRule</xs:documentation>
320 + </xs:annotation>
321 + </xs:attribute>
322 + </xs:complexType>
323 + </xs:element>
324 + </xs:sequence>
325 + </xs:complexType>
326 + </xs:element>
327 + </xs:sequence>
328 + <xs:attribute name="DistributionBillType" type="eDistributionBillType">
329 + <xs:annotation>
330 + <xs:documentation>The bill type from enumeration eDistributionBillType for which distribution settings apply</xs:documentation>
331 + </xs:annotation>
332 + </xs:attribute>
333 + </xs:complexType>
334 + </xs:element>
335 + </xs:sequence>
336 + </xs:complexType>
337 + </xs:element>
338 + </xs:sequence>
339 + </xs:complexType>
340 + </xs:element>
341 + </xs:choice>
342 + </xs:complexType>
343 + </xs:element>
344 + <xs:element name="NotificationInfo" minOccurs="0" maxOccurs="1">
345 + <xs:annotation>
346 + <xs:documentation>Contains differing notification settings from accounts receivable default</xs:documentation>
347 + </xs:annotation>
348 + <xs:complexType>
349 + <xs:choice>
350 + <xs:element name="Clear" minOccurs="1" maxOccurs="1" >
351 + <xs:annotation>
352 + <xs:documentation>Erases earlier set values</xs:documentation>
353 + </xs:annotation>
354 + </xs:element>
355 + <xs:element name="Set" minOccurs="1" maxOccurs="1">
356 + <xs:annotation>
357 + <xs:documentation>Sets differing notification info on customer. Fully replaces previously set notification info</xs:documentation>
358 + </xs:annotation>
359 + <xs:complexType>
360 + <xs:sequence>
361 + <xs:element name="BillTypes" minOccurs="1" maxOccurs="1">
362 + <xs:annotation>
363 + <xs:documentation>Contains bill types with differing notification settings from accounts receivable default</xs:documentation>
364 + </xs:annotation>
365 + <xs:complexType>
366 + <xs:sequence>
367 + <xs:element name="BillType" minOccurs="1" maxOccurs="unbounded">
368 + <xs:annotation>
369 + <xs:documentation>Contains bill type with differing notification settings</xs:documentation>
370 + </xs:annotation>
371 + <xs:complexType>
372 + <xs:sequence>
373 + <xs:element name="NotificationTextCode" type="xs:string" maxOccurs="1" minOccurs="1">
374 + <xs:annotation>
375 + <xs:documentation>Preconfigured notification text code in PayEx distribution system</xs:documentation>
376 + </xs:annotation>
377 + </xs:element>
378 + <xs:element name="NotificationDistributionType" type="eNotificationDistributionType" maxOccurs="1" minOccurs="1" >
379 + <xs:annotation>
380 + <xs:documentation>Valid notification distribution type from enumeration eNotificationDistributionType</xs:documentation>
381 + </xs:annotation>
382 + </xs:element>
383 + </xs:sequence>
384 + <xs:attribute name="NotificationBillType" type="eNotificationBillType">
385 + <xs:annotation>
386 + <xs:documentation>The bill type from enumeration eNotificationBillType for which notification setting apply</xs:documentation>
387 + </xs:annotation>
388 + </xs:attribute>
389 + </xs:complexType>
390 + </xs:element>
391 + </xs:sequence>
392 + </xs:complexType>
393 + </xs:element>
394 + </xs:sequence>
395 + </xs:complexType>
396 + </xs:element>
397 + </xs:choice>
398 + </xs:complexType>
399 + </xs:element>
400 + </xs:sequence>
401 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional" >
402 + <xs:annotation>
403 + <xs:documentation>States the legal entity of the customer</xs:documentation>
404 + </xs:annotation>
405 + </xs:attribute>
406 + </xs:complexType>
407 + </xs:element>
408 + <xs:element minOccurs="0" maxOccurs="1" name="Invoices">
409 + <xs:annotation>
410 + <xs:documentation>Contains 1-n invoices for the customer. Contracted service with PayEx determines if element structure InvoiceWithDistribution or InvoiceWithoutDistribution should be used</xs:documentation>
411 + </xs:annotation>
412 + <xs:complexType>
413 + <xs:sequence>
414 + <xs:element minOccurs="0" maxOccurs="unbounded" name="InvoiceWithDistribution">
415 + <xs:annotation>
416 + <xs:documentation>Contains invoice information if your contracted service is with distribution of invoices</xs:documentation>
417 + </xs:annotation>
418 + <xs:complexType>
419 + <xs:sequence>
420 + <xs:element name="InvoiceNo" type="fInvoiceNo" minOccurs="0" maxOccurs="1" >
421 + <xs:annotation>
422 + <xs:documentation>Your unique identifier/invoice number of the invoice. Mandatory/Prohibited depending on contracted service with PayEx</xs:documentation>
423 + </xs:annotation>
424 + </xs:element>
425 + <xs:element name="ReferenceInfo" type="ReferenceInfo" minOccurs="0" maxOccurs="1" >
426 + <xs:annotation>
427 + <xs:documentation>Containing additional invoice reference information</xs:documentation>
428 + </xs:annotation>
429 + </xs:element>
430 + <xs:element name="InvoiceDate" type="xs:date" minOccurs="0" maxOccurs="1" >
431 + <xs:annotation>
432 + <xs:documentation>Invoice date from invoicing/billing system. Mandatory/Prohibited depending on contracted service with PayEx</xs:documentation>
433 + </xs:annotation>
434 + </xs:element>
435 + <xs:element name="PreferredDueDate" type="xs:date" minOccurs="0" maxOccurs="1" >
436 + <xs:annotation>
437 + <xs:documentation>Used if a specific DueDate is preferred. Number of days between distribution date, which it set by PayEx based on invoicedate and processingdate, and preferred due date, must exceed minimum payment terms for the specific country else minimum paymentterms for the country will be used. Number of days between distributiondate, wich it set by PayEx based on invoicedate and processingdate, and preferred due date, can not exceed maximum paymentterms (default 60 days), if true an ERROR is created and the customer and its invoices will be rejected.</xs:documentation>
438 + </xs:annotation>
439 + </xs:element>
440 + <xs:element name="Amount" type="Amount" maxOccurs="1" minOccurs="1" >
441 + <xs:annotation>
442 + <xs:documentation>Contains amounts and currency of the invoice. Positive amount is used for debit invoice. Negative amount is used for credit invoice</xs:documentation>
443 + </xs:annotation>
444 + </xs:element>
445 + <xs:element name="DistributionInfo" minOccurs="1" maxOccurs="1">
446 + <xs:annotation>
447 + <xs:documentation>Contains distribution and printing details for invoice</xs:documentation>
448 + </xs:annotation>
449 + <xs:complexType>
450 + <xs:sequence>
451 + <xs:element name="DCCode" type="String15" minOccurs="0" maxOccurs="1" >
452 + <xs:annotation>
453 + <xs:documentation>Differing invoice layout from accounts receivable default. Possible layouts must be preconfigured an contracted with PayEx</xs:documentation>
454 + </xs:annotation>
455 + </xs:element>
456 + <xs:element name="DistributionType" type="eDistributionType" minOccurs="0" maxOccurs="1" >
457 + <xs:annotation>
458 + <xs:documentation>If desired distribution type is different from set distribution type on customer or accounts receivable default</xs:documentation>
459 + </xs:annotation>
460 + </xs:element>
461 + <xs:element name="InvoicePrintInfo" minOccurs="1" maxOccurs="1">
462 + <xs:annotation>
463 + <xs:documentation>Contains printing info for one invoice document</xs:documentation>
464 + </xs:annotation>
465 + <xs:complexType>
466 + <xs:sequence>
467 + <xs:element name="InvoicePrintBlocks" type="StandardPrintBlocks" maxOccurs="1" minOccurs="1">
468 + <xs:annotation>
469 + <xs:documentation>Containing print blocks printed in the main/standard area of the invoice layout</xs:documentation>
470 + </xs:annotation>
471 + </xs:element>
472 + <xs:element name="ExtraPrintBlocks" type="ExtraPrintBlocks" minOccurs="0" maxOccurs="1">
473 + <xs:annotation>
474 + <xs:documentation>Can only be used if specially contracted with PayEx. Containing print blocks printed in specified predefined areas of the invoice layout</xs:documentation>
475 + </xs:annotation>
476 + </xs:element>
477 + <xs:element name="PredefinedPrintBlocks" type="PredefinedPrintBlocks" minOccurs="0" maxOccurs="1">
478 + <xs:annotation>
479 + <xs:documentation>Can only be used if specially contracted with PayEx. Containing references to predefined print blocks in specified predefined areas of the invoice layout</xs:documentation>
480 + </xs:annotation>
481 + </xs:element>
482 + </xs:sequence>
483 + </xs:complexType>
484 + </xs:element>
485 + <xs:element name="SummaryPrintInfos" minOccurs="0" maxOccurs="1">
486 + <xs:annotation>
487 + <xs:documentation>Can only be used if specially contracted with PayEx. Containing print info for summary documents</xs:documentation>
488 + </xs:annotation>
489 + <xs:complexType>
490 + <xs:sequence>
491 + <xs:element name="SummaryPrintInfo" minOccurs="0" maxOccurs="2">
492 + <xs:annotation>
493 + <xs:documentation>Contains print info for a summary document</xs:documentation>
494 + </xs:annotation>
495 + <xs:complexType>
496 + <xs:sequence>
497 + <xs:element name="SummaryPrintBlocks" type="StandardPrintBlocks" maxOccurs="1" minOccurs="1">
498 + <xs:annotation>
499 + <xs:documentation>Containing print blocks printed in the main/standard area of the summary layout</xs:documentation>
500 + </xs:annotation>
501 + </xs:element>
502 + <xs:element name="ExtraPrintBlocks" type="ExtraPrintBlocks" minOccurs="0" maxOccurs="1">
503 + <xs:annotation>
504 + <xs:documentation>Containing print blocks printed in specified predefined areas of the summary layout</xs:documentation>
505 + </xs:annotation>
506 + </xs:element>
507 + <xs:element name="PredefinedPrintBlocks" type="PredefinedPrintBlocks" minOccurs="0" maxOccurs="1">
508 + <xs:annotation>
509 + <xs:documentation>Containing references to predefined print blocks in specified predefined areas of the summary layout</xs:documentation>
510 + </xs:annotation>
511 + </xs:element>
512 + </xs:sequence>
513 + <xs:attribute name="Distribute" type="xs:boolean" use="required">
514 + <xs:annotation>
515 + <xs:documentation>Instruction to distribute the summary with the invoice or only be archived</xs:documentation>
516 + </xs:annotation>
517 + </xs:attribute>
518 + <xs:attribute name="SummaryType" type="eSummaryType">
519 + <xs:annotation>
520 + <xs:documentation>Valid summary type from enumeration eSummaryType</xs:documentation>
521 + </xs:annotation>
522 + </xs:attribute>
523 + </xs:complexType>
524 + </xs:element>
525 + </xs:sequence>
526 + </xs:complexType>
527 + </xs:element>
528 + <xs:element name="SpecificationPrintInfo" minOccurs="0" maxOccurs="1">
529 + <xs:annotation>
530 + <xs:documentation>Contains print info for a specification. Can only be used if specially contracted with PayEx</xs:documentation>
531 + </xs:annotation>
532 + <xs:complexType>
533 + <xs:sequence>
534 + <xs:element name="SpecificationPrintBlocks" type="SpecificationPrintBlocks" minOccurs="1" maxOccurs="1">
535 + <xs:annotation>
536 + <xs:documentation>Containing print blocks printed in the main/standard area of the specification layout</xs:documentation>
537 + </xs:annotation>
538 + </xs:element>
539 + <xs:element name="ExtraPrintBlocks" type="ExtraPrintBlocks" minOccurs="0" maxOccurs="1">
540 + <xs:annotation>
541 + <xs:documentation>Containing print blocks printed in specified predefined areas of the specification layout</xs:documentation>
542 + </xs:annotation>
543 + </xs:element>
544 + <xs:element name="PredefinedPrintBlocks" type="PredefinedPrintBlocks" minOccurs="0" maxOccurs="1">
545 + <xs:annotation>
546 + <xs:documentation>Containing references to predefined print blocks in specified predefined areas of the specification layout</xs:documentation>
547 + </xs:annotation>
548 + </xs:element>
549 + </xs:sequence>
550 + <xs:attribute name="Distribute" type="xs:boolean" use="required">
551 + <xs:annotation>
552 + <xs:documentation>Instruction to distribute the specification with the invoice or only be archived</xs:documentation>
553 + </xs:annotation>
554 + </xs:attribute>
555 + </xs:complexType>
556 + </xs:element>
557 + <xs:element name="Enclosures" maxOccurs="1" minOccurs="0">
558 + <xs:annotation>
559 + <xs:documentation>Contains predefined/preconfigured enclosures to be enclosed with invoice. Can only be used if specially contracted with PayEx</xs:documentation>
560 + </xs:annotation>
561 + <xs:complexType>
562 + <xs:sequence>
563 + <xs:element minOccurs="1" maxOccurs="4" name="Enclosure" type="String30">
564 + <xs:annotation>
565 + <xs:documentation>Reference to the predefined/preconfigured enclosure in PayEx printing and distribution system</xs:documentation>
566 + </xs:annotation>
567 + </xs:element>
568 + </xs:sequence>
569 + </xs:complexType>
570 + </xs:element>
571 + <xs:element name="EDIInfo" minOccurs="0" maxOccurs="1">
572 + <xs:annotation>
573 + <xs:documentation>Only relevant if distribution is EInvoiceB2B. Can only be used if specially contracted with PayEx</xs:documentation>
574 + </xs:annotation>
575 + <xs:complexType>
576 + <xs:sequence>
577 + <xs:element name="VAN" type="xs:string" minOccurs="0" maxOccurs="1">
578 + <xs:annotation>
579 + <xs:documentation>Customer VAN identifier (OperatorId)</xs:documentation>
580 + </xs:annotation>
581 + </xs:element>
582 + <xs:element name="InterChangeRecipient" type="xs:string" minOccurs="0" maxOccurs="1">
583 + <xs:annotation>
584 + <xs:documentation>Routing address. EAN</xs:documentation>
585 + </xs:annotation>
586 + </xs:element>
587 + <xs:element name="SellerId" type="xs:string" minOccurs="1" maxOccurs="1">
588 + <xs:annotation>
589 + <xs:documentation>NAD_SU/SellerParty. EAN/Corporate identity number</xs:documentation>
590 + </xs:annotation>
591 + </xs:element>
592 + <xs:element name="BuyerId" type="xs:string" minOccurs="1" maxOccurs="1">
593 + <xs:annotation>
594 + <xs:documentation>NAD_BY/BuyerParty. EAN/Corporate identity number</xs:documentation>
595 + </xs:annotation>
596 + </xs:element>
597 + <xs:element name="InvoiceAddressee" type="xs:string" minOccurs="0" maxOccurs="1">
598 + <xs:annotation>
599 + <xs:documentation>NAD_ITO/InvoiceNote. EAN/Corporate identity number</xs:documentation>
600 + </xs:annotation>
601 + </xs:element>
602 + <xs:element name="InvoiceRecipient" type="xs:string" minOccurs="0" maxOccurs="1">
603 + <xs:annotation>
604 + <xs:documentation>NAD_IV/InvoiceNote. EAN/Corporate identity number</xs:documentation>
605 + </xs:annotation>
606 + </xs:element>
607 + <xs:element name="DeliveryAddressee" type="xs:string" minOccurs="0" maxOccurs="1">
608 + <xs:annotation>
609 + <xs:documentation>NAD_DP/DeliveryAddress. EAN/Corporate identity number/Name</xs:documentation>
610 + </xs:annotation>
611 + </xs:element>
612 + <xs:element name="DeliveryRecipient" type="xs:string" minOccurs="0" maxOccurs="1">
613 + <xs:annotation>
614 + <xs:documentation>NAD_CN/InvoiceNote. EAN/Corporate identity number/Name</xs:documentation>
615 + </xs:annotation>
616 + </xs:element>
617 + <xs:element name="InvoiceReference" type="xs:string" minOccurs="0" maxOccurs="1">
618 + <xs:annotation>
619 + <xs:documentation>RFF_IV/InitialInvoiceDocumentReference. Reference to invoice</xs:documentation>
620 + </xs:annotation>
621 + </xs:element>
622 + <xs:element name="AgreementReference" type="xs:string" minOccurs="0" maxOccurs="1">
623 + <xs:annotation>
624 + <xs:documentation>RFF_CT/AdditionalDocumentReference. Reference to agreement</xs:documentation>
625 + </xs:annotation>
626 + </xs:element>
627 + <xs:element name="BuyerReference" type="xs:string" minOccurs="0" maxOccurs="2">
628 + <xs:annotation>
629 + <xs:documentation>RFF_CR/RequisitionistDocumentReference. Reference to buyer department and or individual</xs:documentation>
630 + </xs:annotation>
631 + </xs:element>
632 + <xs:element name="ExternalReferenceURL" type="xs:string" minOccurs="0" maxOccurs="1">
633 + <xs:annotation>
634 + <xs:documentation>URL for example to invoiceground</xs:documentation>
635 + </xs:annotation>
636 + </xs:element>
637 + <xs:element name="EDIOrderRows" maxOccurs="1" minOccurs="1">
638 + <xs:annotation>
639 + <xs:documentation>Containing invoice info specified in edi invoice</xs:documentation>
640 + </xs:annotation>
641 + <xs:complexType>
642 + <xs:sequence>
643 + <xs:element name="EDIVatGroup" minOccurs="1" maxOccurs="unbounded">
644 + <xs:annotation>
645 + <xs:documentation>Containing one VAT group and associated invoice rows</xs:documentation>
646 + </xs:annotation>
647 + <xs:complexType>
648 + <xs:sequence>
649 + <xs:element name="VatInfo" type="VatInfo" maxOccurs="1" minOccurs="1">
650 + </xs:element>
651 + <xs:element minOccurs="1" name="EDIOrderRow" maxOccurs="unbounded">
652 + <xs:annotation>
653 + <xs:documentation>Containing information about one edi invoice row</xs:documentation>
654 + </xs:annotation>
655 + <xs:complexType>
656 + <xs:sequence>
657 + <xs:element name="ArticleId" type="String35" minOccurs="0" maxOccurs="1">
658 + <xs:annotation>
659 + <xs:documentation>Optional article id associated to product/service</xs:documentation>
660 + </xs:annotation>
661 + </xs:element>
662 + <xs:element name="ProductGroup" type="String35" minOccurs="0" maxOccurs="1">
663 + <xs:annotation>
664 + <xs:documentation>Optional product group associated to product/service</xs:documentation>
665 + </xs:annotation>
666 + </xs:element>
667 + <xs:element name="ProductDate" type="xs:date" minOccurs="0" maxOccurs="1">
668 + <xs:annotation>
669 + <xs:documentation>Optional date of product/service</xs:documentation>
670 + </xs:annotation>
671 + </xs:element>
672 + <xs:element name="Text" type="String300" maxOccurs="1" minOccurs="1">
673 + <xs:annotation>
674 + <xs:documentation>Mandatory description of product/service</xs:documentation>
675 + </xs:annotation>
676 + </xs:element>
677 + <xs:element name="Quantity" type="Decimal5" maxOccurs="1" minOccurs="1">
678 + <xs:annotation>
679 + <xs:documentation>Mandatory quantity of the invoice product/service</xs:documentation>
680 + </xs:annotation>
681 + </xs:element>
682 + <xs:element name="Unit" type="String10" maxOccurs="1" minOccurs="1">
683 + <xs:annotation>
684 + <xs:documentation>Mandatory unit of quantity</xs:documentation>
685 + </xs:annotation>
686 + </xs:element>
687 + <xs:element name="UnitPriceExclVat" type="Money" maxOccurs="1" minOccurs="1">
688 + <xs:annotation>
689 + <xs:documentation>Mandatory unit price exclusive of VAT</xs:documentation>
690 + </xs:annotation>
691 + </xs:element>
692 + <xs:element name="AmountExclVat" type="Money" maxOccurs="1" minOccurs="1">
693 + <xs:annotation>
694 + <xs:documentation>Total order row amount exclusive of VAT</xs:documentation>
695 + </xs:annotation>
696 + </xs:element>
697 + <xs:element name="ContractDef" type="String35" minOccurs="0" maxOccurs="1">
698 + <xs:annotation>
699 + <xs:documentation>Optional definition of agreement</xs:documentation>
700 + </xs:annotation>
701 + </xs:element>
702 + <xs:element name="ContractType" type="String35" maxOccurs="1" minOccurs="1">
703 + <xs:annotation>
704 + <xs:documentation>Mandatory type of agreement</xs:documentation>
705 + </xs:annotation>
706 + </xs:element>
707 + </xs:sequence>
708 + </xs:complexType>
709 + </xs:element>
710 + </xs:sequence>
711 + </xs:complexType>
712 + </xs:element>
713 + </xs:sequence>
714 + </xs:complexType>
715 + </xs:element>
716 + </xs:sequence>
717 + </xs:complexType>
718 + </xs:element>
719 + <xs:element name="Notification" minOccurs="0" maxOccurs="1">
720 + <xs:annotation>
721 + <xs:documentation>Containing differing notification than customer setting or accounts receivable default</xs:documentation>
722 + </xs:annotation>
723 + <xs:complexType>
724 + <xs:sequence>
725 + <xs:element name="NotificationTextCode" type="xs:string" maxOccurs="1" minOccurs="1">
726 + <xs:annotation>
727 + <xs:documentation>Preconfigured notification text code in PayEx distribution system</xs:documentation>
728 + </xs:annotation>
729 + </xs:element>
730 + <xs:element name="NotificationDistributionType" type="eNotificationDistributionType" maxOccurs="1" minOccurs="1">
731 + <xs:annotation>
732 + <xs:documentation>Valid notification distribution type from enumeration eNotificationDistributionType</xs:documentation>
733 + </xs:annotation>
734 + </xs:element>
735 + </xs:sequence>
736 + </xs:complexType>
737 + </xs:element>
738 + </xs:sequence>
739 + </xs:complexType>
740 + </xs:element>
741 + <xs:element name="CreditInstructions" type="CreditInstructions" minOccurs="0" maxOccurs="1" >
742 + <xs:annotation>
743 + <xs:documentation>Containing instructions to settle the credit invoice against specific debit invoices</xs:documentation>
744 + </xs:annotation>
745 + </xs:element>
746 + </xs:sequence>
747 + </xs:complexType>
748 + </xs:element>
749 + <xs:element minOccurs="0" maxOccurs="unbounded" name="InvoiceWithoutDistribution">
750 + <xs:annotation>
751 + <xs:documentation>Contains invoice information if your contracted service is with distribution of invoices</xs:documentation>
752 + </xs:annotation>
753 + <xs:complexType>
754 + <xs:sequence>
755 + <xs:element name="InvoiceNo" type="fInvoiceNo" minOccurs="1" maxOccurs="1" >
756 + <xs:annotation>
757 + <xs:documentation>Your unique identifier/invoice number from the invoicing/billing system</xs:documentation>
758 + </xs:annotation>
759 + </xs:element>
760 + <xs:element name="ReferenceInfo" type="ReferenceInfo" minOccurs="0" maxOccurs="1" >
761 + <xs:annotation>
762 + <xs:documentation>Containing additional invoice reference information</xs:documentation>
763 + </xs:annotation>
764 + </xs:element>
765 + <xs:element name="InvoiceDate" type="xs:date" maxOccurs="1" minOccurs="1" >
766 + <xs:annotation>
767 + <xs:documentation>Invoice date from invoicing system</xs:documentation>
768 + </xs:annotation>
769 + </xs:element>
770 + <xs:element name="DueDate" type="xs:date" minOccurs="0" maxOccurs="1" >
771 + <xs:annotation>
772 + <xs:documentation>Due date for the invoice. If the invoice has a positive amount (debit invoice) a duedate must be supplied, otherwise an ERROR is created and customer and its invoices will be rejected. Duedate must be equal or greater than the invoice date, otherwise an ERROR is created and customer and its invoices will be rejected.</xs:documentation>
773 + </xs:annotation>
774 + </xs:element>
775 + <xs:element name="DistributionDate" type="xs:date" minOccurs="1" maxOccurs="1" >
776 + <xs:annotation>
777 + <xs:documentation>Date of distribution for the invoice</xs:documentation>
778 + </xs:annotation>
779 + </xs:element>
780 + <xs:element name="PaymentRefNo" type="String25" minOccurs="1" maxOccurs="1" >
781 + <xs:annotation>
782 + <xs:documentation>Unique payment reference (OCR) identifying invoice. Algorithm for creating payment references has to be approved by PayEx</xs:documentation>
783 + </xs:annotation>
784 + </xs:element>
785 + <xs:element name="Amount" type="Amount" minOccurs="1" maxOccurs="1" >
786 + <xs:annotation>
787 + <xs:documentation>Specifies the amount and currency of the invoice. Positive amount is used for debit invoice. Negative amount is used for credit invoice. Must exist a bank account for the specified currency, otherwise an ERROR is created and customer and its invoices will be rejected.</xs:documentation>
788 + </xs:annotation>
789 + </xs:element>
790 + <xs:element name="CreditInstructions" type="CreditInstructions" minOccurs="0" maxOccurs="1">
791 + <xs:annotation>
792 + <xs:documentation>Containing instructions to settle the credit invoice against specific debit invoices. Only possible to use for credit invoice</xs:documentation>
793 + </xs:annotation>
794 + </xs:element>
795 + <xs:element name="CashDiscountInfo" type="CashDiscountInfo" minOccurs="0" maxOccurs="1">
796 + <xs:annotation>
797 + <xs:documentation>Contains info for CashDiscount on the invoice</xs:documentation>
798 + </xs:annotation>
799 + </xs:element>
800 + </xs:sequence>
801 + </xs:complexType>
802 + </xs:element>
803 + </xs:sequence>
804 + </xs:complexType>
805 + </xs:element>
806 + </xs:sequence>
807 + </xs:complexType>
808 + </xs:element>
809 + </xs:sequence>
810 + <xs:attribute name="Version" type="Version" use="required">
811 + <xs:annotation>
812 + <xs:documentation>Describes which version of the xsd the xml is validated against. XSD validation should be done before sending xml file to PayEx</xs:documentation>
813 + </xs:annotation>
814 + </xs:attribute>
815 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required" >
816 + <xs:annotation>
817 + <xs:documentation>Date and time when the file was created</xs:documentation>
818 + </xs:annotation>
819 + </xs:attribute>
820 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" >
821 + <xs:annotation>
822 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation>
823 + </xs:annotation>
824 + </xs:attribute>
825 + <xs:attribute name="CompanyName" type="xs:string" use="required" >
826 + <xs:annotation>
827 + <xs:documentation>The name of your company/accounts receivable</xs:documentation>
828 + </xs:annotation>
829 + </xs:attribute>
830 + </xs:complexType>
831 + </xs:element>
832 + <xs:simpleType name="Money">
833 + <xs:restriction base="xs:decimal">
834 + <xs:fractionDigits value="2" />
835 + <xs:minInclusive value="-500000000" />
836 + <xs:maxInclusive value="500000000" />
837 + </xs:restriction>
838 + </xs:simpleType>
839 + <xs:simpleType name="CreditMoney">
840 + <xs:restriction base="xs:decimal">
841 + <xs:fractionDigits value="2" />
842 + <xs:minInclusive value="0.01" />
843 + <xs:maxInclusive value="100000000" />
844 + </xs:restriction>
845 + </xs:simpleType>
846 + <xs:simpleType name="CashDiscountMoney">
847 + <xs:restriction base="xs:decimal">
848 + <xs:fractionDigits value="2"/>
849 + <xs:minInclusive value="0.01"/>
850 + <xs:maxInclusive value="100000000"/>
851 + </xs:restriction>
852 + </xs:simpleType>
853 + <xs:simpleType name="Decimal5">
854 + <xs:restriction base="xs:decimal">
855 + <xs:fractionDigits value="5" />
856 + </xs:restriction>
857 + </xs:simpleType>
858 + <xs:simpleType name="Identifier15">
859 + <xs:restriction base="xs:string">
860 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&amp;/_ -.]*" />
861 + <xs:minLength value="1" />
862 + <xs:maxLength value="15" />
863 + </xs:restriction>
864 + </xs:simpleType>
865 + <xs:simpleType name="ISO3166">
866 + <xs:restriction base="xs:string">
867 + <xs:pattern value="[A-Z]*" />
868 + <xs:minLength value="2" />
869 + <xs:maxLength value="2" />
870 + </xs:restriction>
871 + </xs:simpleType>
872 + <xs:simpleType name="CompanyNumber">
873 + <xs:restriction base="xs:string">
874 + <xs:pattern value="[0-9]*" />
875 + <xs:minLength value="1" />
876 + <xs:maxLength value="15" />
877 + </xs:restriction>
878 + </xs:simpleType>
879 + <xs:simpleType name="ISO639">
880 + <xs:restriction base="PXString">
881 + <xs:enumeration value="SV" />
882 + <xs:enumeration value="NO" />
883 + <xs:enumeration value="DA" />
884 + <xs:enumeration value="FI" />
885 + <xs:enumeration value="EN" />
886 + </xs:restriction>
887 + </xs:simpleType>
888 + <xs:simpleType name="VatType">
889 + <xs:restriction base="PXString">
890 + <xs:enumeration value="Normal" >
891 + <xs:annotation>
892 + <xs:documentation>Customer is liable to pay taxes in the same country as the Company</xs:documentation>
893 + </xs:annotation>
894 + </xs:enumeration>
895 + <xs:enumeration value="ReverseVatLiability_Eu">
896 + <xs:annotation>
897 + <xs:documentation>Customer operates in another EU country and is obliged to pay VAT in that country</xs:documentation>
898 + </xs:annotation>
899 + </xs:enumeration>
900 + <xs:enumeration value="NotSubjectToVat_Eu">
901 + <xs:annotation>
902 + <xs:documentation>Customer operates in another EU country and is not subject to VAT</xs:documentation>
903 + </xs:annotation>
904 + </xs:enumeration>
905 + <xs:enumeration value="NotSubjectToVat_NonEu">
906 + <xs:annotation>
907 + <xs:documentation>Customer operates in another country outside the EU and is not subject to VAT</xs:documentation>
908 + </xs:annotation>
909 + </xs:enumeration>
910 + </xs:restriction>
911 + </xs:simpleType>
912 + <xs:simpleType name="String35">
913 + <xs:restriction base="PXString">
914 + <xs:maxLength value="35" />
915 + </xs:restriction>
916 + </xs:simpleType>
917 + <xs:simpleType name="Email">
918 + <xs:restriction base="PXString">
919 + <xs:maxLength value="254" />
920 + </xs:restriction>
921 + </xs:simpleType>
922 + <xs:simpleType name="String15">
923 + <xs:restriction base="PXString">
924 + <xs:maxLength value="15" />
925 + </xs:restriction>
926 + </xs:simpleType>
927 + <xs:simpleType name="ZipCode">
928 + <xs:restriction base="xs:string">
929 + <xs:pattern value="[A-Z0-9\-]+" />
930 + <xs:maxLength value="9" />
931 + </xs:restriction>
932 + </xs:simpleType>
933 + <xs:simpleType name="ePaymentType">
934 + <xs:restriction base="xs:string">
935 + <xs:enumeration value="PGSE">
936 + <xs:annotation>
937 + <xs:documentation>Refers to a Swedish Plusgiro account</xs:documentation>
938 + </xs:annotation>
939 + </xs:enumeration>
940 + <xs:enumeration value="BGSE">
941 + <xs:annotation>
942 + <xs:documentation>Refers to a Swedish Bankgiro account</xs:documentation>
943 + </xs:annotation>
944 + </xs:enumeration>
945 + <xs:enumeration value="BKNO">
946 + <xs:annotation>
947 + <xs:documentation>Refers to a Norwegian bank account</xs:documentation>
948 + </xs:annotation>
949 + </xs:enumeration>
950 + </xs:restriction>
951 + </xs:simpleType>
952 + <xs:simpleType name="VatNumber">
953 + <xs:restriction base="xs:string">
954 + <xs:pattern value="[A-Z]{2}.*" />
955 + <xs:minLength value="7" />
956 + <xs:maxLength value="14" />
957 + </xs:restriction>
958 + </xs:simpleType>
959 + <xs:simpleType name="eDistributionType">
960 + <xs:restriction base="xs:string">
961 + <xs:enumeration value="PostalService">
962 + <xs:annotation>
963 + <xs:documentation>Distribution is made by postal service</xs:documentation>
964 + </xs:annotation>
965 + </xs:enumeration>
966 + <xs:enumeration value="EMail">
967 + <xs:annotation>
968 + <xs:documentation>Distribution is made by E-mail</xs:documentation>
969 + </xs:annotation>
970 + </xs:enumeration>
971 + <xs:enumeration value="EInvoiceB2B">
972 + <xs:annotation>
973 + <xs:documentation>Distribution is made by B2B EDI</xs:documentation>
974 + </xs:annotation>
975 + </xs:enumeration>
976 + <xs:enumeration value="Archive">
977 + <xs:annotation>
978 + <xs:documentation>No distribution, only archiving</xs:documentation>
979 + </xs:annotation>
980 + </xs:enumeration>
981 + </xs:restriction>
982 + </xs:simpleType>
983 + <xs:simpleType name="String50">
984 + <xs:restriction base="xs:string">
985 + <xs:maxLength value="50" />
986 + </xs:restriction>
987 + </xs:simpleType>
988 + <xs:simpleType name="String100">
989 + <xs:restriction base="xs:string">
990 + <xs:maxLength value="100" />
991 + </xs:restriction>
992 + </xs:simpleType>
993 + <xs:simpleType name="String200">
994 + <xs:restriction base="xs:string">
995 + <xs:maxLength value="200" />
996 + </xs:restriction>
997 + </xs:simpleType>
998 + <xs:simpleType name="String300">
999 + <xs:restriction base="PXString">
1000 + <xs:maxLength value="300" />
1001 + </xs:restriction>
1002 + </xs:simpleType>
1003 + <xs:complexType name="Address">
1004 + <xs:sequence>
1005 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee">
1006 + <xs:annotation>
1007 + <xs:documentation>Full name of addressee</xs:documentation>
1008 + </xs:annotation>
1009 + </xs:element>
1010 + <xs:element name="StreetAddress" type="NameAddressString72EmptyAllowed" minOccurs="0" maxOccurs="1" nillable="false">
1011 + <xs:annotation>
1012 + <xs:documentation>Street address</xs:documentation>
1013 + </xs:annotation>
1014 + </xs:element>
1015 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false">
1016 + <xs:annotation>
1017 + <xs:documentation>Zipcode conforming to country standard</xs:documentation>
1018 + </xs:annotation>
1019 + </xs:element>
1020 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false">
1021 + <xs:annotation>
1022 + <xs:documentation>City</xs:documentation>
1023 + </xs:annotation>
1024 + </xs:element>
1025 + <xs:element name="CoAddress" type="NameAddressString72EmptyAllowed" minOccurs="0" maxOccurs="1" nillable="false">
1026 + <xs:annotation>
1027 + <xs:documentation>Care of address</xs:documentation>
1028 + </xs:annotation>
1029 + </xs:element>
1030 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1">
1031 + <xs:annotation>
1032 + <xs:documentation>Country code according to ISO 3166</xs:documentation>
1033 + </xs:annotation>
1034 + </xs:element>
1035 + </xs:sequence>
1036 + <xs:attribute name="AddressType" type="AddressType" use="required">
1037 + <xs:annotation>
1038 + <xs:documentation>Valid address type from enumeration AddressType</xs:documentation>
1039 + </xs:annotation>
1040 + </xs:attribute>
1041 + </xs:complexType>
1042 + <xs:simpleType name="AddressType">
1043 + <xs:restriction base="xs:string">
1044 + <xs:enumeration value="LegalAddress">
1045 + <xs:annotation>
1046 + <xs:documentation>Legal address. Mandatory</xs:documentation>
1047 + </xs:annotation>
1048 + </xs:enumeration>
1049 + <xs:enumeration value="BillingAddress">
1050 + <xs:annotation>
1051 + <xs:documentation>Billing address. Should only be supplied if it differs from legal address</xs:documentation>
1052 + </xs:annotation>
1053 + </xs:enumeration>
1054 + </xs:restriction>
1055 + </xs:simpleType>
1056 + <xs:complexType name="Amount">
1057 + <xs:annotation>
1058 + <xs:documentation>Containing amount excl vat and vat amount</xs:documentation>
1059 + </xs:annotation>
1060 + <xs:sequence>
1061 + <xs:element minOccurs="1" maxOccurs="1" name="AmountExclVat" type="Money" nillable="false">
1062 + <xs:annotation>
1063 + <xs:documentation>Amount exclusive of VAT</xs:documentation>
1064 + </xs:annotation>
1065 + </xs:element>
1066 + <xs:element minOccurs="1" maxOccurs="1" name="VatAmount" type="Money" nillable="false">
1067 + <xs:annotation>
1068 + <xs:documentation>VAT amount</xs:documentation>
1069 + </xs:annotation>
1070 + </xs:element>
1071 + </xs:sequence>
1072 + <xs:attribute name="Currency" type="eCurrencyType" use="required">
1073 + <xs:annotation>
1074 + <xs:documentation>Valid currency from enumeration eCurrencyType</xs:documentation>
1075 + </xs:annotation>
1076 + </xs:attribute>
1077 + </xs:complexType>
1078 + <xs:simpleType name="PXFactoringServiceCode">
1079 + <xs:restriction base="xs:string">
1080 + <xs:enumeration value="K">
1081 + <xs:annotation>
1082 + <xs:documentation>Only valid for contracted factoring service. Indication to the contracted factoring company to buy the invoice</xs:documentation>
1083 + </xs:annotation>
1084 + </xs:enumeration>
1085 + </xs:restriction>
1086 + </xs:simpleType>
1087 + <xs:simpleType name="VatRate">
1088 + <xs:annotation>
1089 + <xs:documentation>Supported VAT rates</xs:documentation>
1090 + </xs:annotation>
1091 + <xs:restriction base="xs:decimal">
1092 + <xs:enumeration value="0.00" />
1093 + <xs:enumeration value="6.00" />
1094 + <xs:enumeration value="12.00" />
1095 + <xs:enumeration value="25.00" />
1096 + <xs:enumeration value="14.00" />
1097 + <xs:enumeration value="8.00" />
1098 + <xs:enumeration value="22.0" />
1099 + <xs:enumeration value="24.00" />
1100 + <xs:enumeration value="10.00" />
1101 + </xs:restriction>
1102 + </xs:simpleType>
1103 + <xs:simpleType name="String10">
1104 + <xs:restriction base="PXString">
1105 + <xs:maxLength value="10" />
1106 + </xs:restriction>
1107 + </xs:simpleType>
1108 + <xs:simpleType name="String30">
1109 + <xs:restriction base="PXString">
1110 + <xs:maxLength value="30" />
1111 + </xs:restriction>
1112 + </xs:simpleType>
1113 + <xs:simpleType name="String25">
1114 + <xs:restriction base="PXString">
1115 + <xs:maxLength value="25" />
1116 + </xs:restriction>
1117 + </xs:simpleType>
1118 + <xs:simpleType name="NameAddressString72">
1119 + <xs:restriction base="PXNameAddressString">
1120 + <xs:minLength value="1" />
1121 + <xs:maxLength value="72" />
1122 + </xs:restriction>
1123 + </xs:simpleType>
1124 + <xs:simpleType name="NameAddressString72EmptyAllowed">
1125 + <xs:restriction base="PXNameAddressString">
1126 + <xs:maxLength value="72" />
1127 + </xs:restriction>
1128 + </xs:simpleType>
1129 + <xs:simpleType name="NameAddressString27">
1130 + <xs:restriction base="PXNameAddressString">
1131 + <xs:minLength value="1" />
1132 + <xs:maxLength value="27" />
1133 + </xs:restriction>
1134 + </xs:simpleType>
1135 + <xs:simpleType name="PXString">
1136 + <xs:restriction base="xs:string">
1137 + <xs:pattern value="[a-zA-Z0-9_:!;&quot;#&lt;&gt;=?\[\]@{}´ %'-/À-ÖØ-öø-úü&amp;]*" />
1138 + <xs:minLength value="1" />
1139 + </xs:restriction>
1140 + </xs:simpleType>
1141 + <xs:simpleType name="PXNameAddressString">
1142 + <xs:restriction base="xs:string">
1143 + <xs:pattern value="[a-zA-Z0-9À-ɏЀ-ӿḀ-ỿ_:!;&quot;#&lt;&gt;=?\[\]@{}´ %'-/&amp;]*" />
1144 + </xs:restriction>
1145 + </xs:simpleType>
1146 + <xs:simpleType name="TableType">
1147 + <xs:restriction base="xs:string">
1148 + <xs:pattern value="[A-Z]1|[A-Z]2|[A-Z]3|[A-Z]4|[A-Z]5|[A-Z]6|[A-Z]7|[A-Z]8|[A-Z]9|[A-Z]10|[A-Z]11|[A-Z]12" />
1149 + </xs:restriction>
1150 + </xs:simpleType>
1151 + <xs:complexType name="ReferenceInfo">
1152 + <xs:sequence>
1153 + <xs:element name="ExternalInvoiceId" type="String50" maxOccurs="1" minOccurs="0" nillable="false">
1154 + <xs:annotation>
1155 + <xs:documentation>Additional unique invoice identifier in accounts receivable</xs:documentation>
1156 + </xs:annotation>
1157 + </xs:element>
1158 + <xs:element name="ExternalReference" type="String50" maxOccurs="1" minOccurs="0" nillable="false">
1159 + <xs:annotation>
1160 + <xs:documentation>Optional reference text</xs:documentation>
1161 + </xs:annotation>
1162 + </xs:element>
1163 + <xs:element name="InvoiceReferenceText" type="String200" maxOccurs="1" minOccurs="0" nillable="false">
1164 + <xs:annotation>
1165 + <xs:documentation>General text describing the product/service invoiced</xs:documentation>
1166 + </xs:annotation>
1167 + </xs:element>
1168 + </xs:sequence>
1169 + </xs:complexType>
1170 + <xs:complexType name="RegNo">
1171 + <xs:annotation>
1172 + <xs:documentation>Social security number/Corporate identity number conforming to country standard</xs:documentation>
1173 + </xs:annotation>
1174 + <xs:simpleContent>
1175 + <xs:extension base="String15">
1176 + <xs:attribute name="CountryCode" type="ISO3166" use="required">
1177 + <xs:annotation>
1178 + <xs:documentation>Nationality of RegNo according to ISO3166</xs:documentation>
1179 + </xs:annotation>
1180 + </xs:attribute>
1181 + </xs:extension>
1182 + </xs:simpleContent>
1183 + </xs:complexType>
1184 + <xs:simpleType name="LegalEntity">
1185 + <xs:annotation>
1186 + <xs:documentation>Legal entity of the customer.</xs:documentation>
1187 + </xs:annotation>
1188 + <xs:restriction base="xs:string">
1189 + <xs:enumeration value="Private" />
1190 + <xs:enumeration value="Business" />
1191 + </xs:restriction>
1192 + </xs:simpleType>
1193 + <xs:simpleType name="LegalStatus">
1194 + <xs:annotation>
1195 + <xs:documentation>Use of LegalStatus is mainly used to register customer as deceased</xs:documentation>
1196 + </xs:annotation>
1197 + <xs:restriction base="xs:string">
1198 + <xs:enumeration value="Active">
1199 + <xs:annotation>
1200 + <xs:documentation>The customer is active (default value if not set)</xs:documentation>
1201 + </xs:annotation>
1202 + </xs:enumeration>
1203 + <xs:enumeration value="Deceased">
1204 + <xs:annotation>
1205 + <xs:documentation>The customer is deceased</xs:documentation>
1206 + </xs:annotation>
1207 + </xs:enumeration>
1208 + </xs:restriction>
1209 + </xs:simpleType>
1210 + <xs:simpleType name="eNotificationDistributionType">
1211 + <xs:restriction base="xs:string">
1212 + <xs:enumeration value="EMail">
1213 + <xs:annotation>
1214 + <xs:documentation>Notification is made by E-Mail</xs:documentation>
1215 + </xs:annotation>
1216 + </xs:enumeration>
1217 + </xs:restriction>
1218 + </xs:simpleType>
1219 + <xs:complexType name="VatInfo">
1220 + <xs:sequence>
1221 + <xs:element name="VatAmount" type="Money" maxOccurs="1" minOccurs="1">
1222 + <xs:annotation>
1223 + <xs:documentation>VAT amount</xs:documentation>
1224 + </xs:annotation>
1225 + </xs:element>
1226 + <xs:element name="VatRate" type="VatRate" maxOccurs="1" minOccurs="1">
1227 + <xs:annotation>
1228 + <xs:documentation>VAT rate associated with VatAmount</xs:documentation>
1229 + </xs:annotation>
1230 + </xs:element>
1231 + </xs:sequence>
1232 + </xs:complexType>
1233 + <xs:simpleType name="eDunningBillType">
1234 + <xs:restriction base="xs:string">
1235 + <xs:enumeration value="SE_10">
1236 + <xs:annotation>
1237 + <xs:documentation>Swedish reminder 1</xs:documentation>
1238 + </xs:annotation>
1239 + </xs:enumeration>
1240 + <xs:enumeration value="SE_20">
1241 + <xs:annotation>
1242 + <xs:documentation>Swedish reminder 2</xs:documentation>
1243 + </xs:annotation>
1244 + </xs:enumeration>
1245 + </xs:restriction>
1246 + </xs:simpleType>
1247 + <xs:simpleType name="fInvoiceNo">
1248 + <xs:restriction base="xs:string">
1249 + <xs:pattern value="[A-Za-z0-9\-]+" />
1250 + <xs:maxLength value="15" />
1251 + </xs:restriction>
1252 + </xs:simpleType>
1253 + <xs:simpleType name="eDistributionBillType">
1254 + <xs:restriction base="xs:string">
1255 + <xs:enumeration value="I_Invoice">
1256 + <xs:annotation>
1257 + <xs:documentation>Refers to invoice</xs:documentation>
1258 + </xs:annotation>
1259 + </xs:enumeration>
1260 + </xs:restriction>
1261 + </xs:simpleType>
1262 + <xs:simpleType name="eDunningRule">
1263 + <xs:restriction base="xs:string">
1264 + <xs:enumeration value="I_PenaltyIntrAndFeeLimit">
1265 + <xs:annotation>
1266 + <xs:documentation>Instruction to credit non payed penalty interest and fees below limit amount. Set value to a positive amount (integer) </xs:documentation>
1267 + </xs:annotation>
1268 + </xs:enumeration>
1269 + <xs:enumeration value="I_PaymentTerms">
1270 + <xs:annotation>
1271 + <xs:documentation>Payment terms for invoice. Set value to number of days (integer)</xs:documentation>
1272 + </xs:annotation>
1273 + </xs:enumeration>
1274 + </xs:restriction>
1275 + </xs:simpleType>
1276 + <xs:simpleType name="eNotificationBillType">
1277 + <xs:restriction base="xs:string">
1278 + <xs:enumeration value="I_Invoice">
1279 + <xs:annotation>
1280 + <xs:documentation>Refers to Invoice</xs:documentation>
1281 + </xs:annotation>
1282 + </xs:enumeration>
1283 + </xs:restriction>
1284 + </xs:simpleType>
1285 + <xs:simpleType name="eCurrencyType">
1286 + <xs:restriction base="xs:string">
1287 + <xs:enumeration value="SEK" />
1288 + <xs:enumeration value="NOK" />
1289 + <xs:enumeration value="DKK" />
1290 + <xs:enumeration value="EUR" />
1291 + <xs:enumeration value="USD" />
1292 + <xs:enumeration value="GBP" />
1293 + </xs:restriction>
1294 + </xs:simpleType>
1295 + <xs:complexType name="CreditInstructions">
1296 + <xs:annotation>
1297 + <xs:documentation>Containing settle instructions for a credit invoice. Can only be used if specially contracted with PayEx</xs:documentation>
1298 + </xs:annotation>
1299 + <xs:sequence>
1300 + <xs:element name="CreditInstruction" minOccurs="1" maxOccurs="unbounded">
1301 + <xs:annotation>
1302 + <xs:documentation>Containing 1 settle instruction for a credit invoice</xs:documentation>
1303 + </xs:annotation>
1304 + <xs:complexType>
1305 + <xs:sequence>
1306 + <xs:element name="InvoiceIdentifier" minOccurs="1" maxOccurs="1">
1307 + <xs:annotation>
1308 + <xs:documentation>Containing either InvoiceNo or ExternalInvoiceId to identify a debit invoice</xs:documentation>
1309 + </xs:annotation>
1310 + <xs:complexType>
1311 + <xs:choice>
1312 + <xs:element name="InvoiceNo" type="fInvoiceNo" minOccurs="1" maxOccurs="1">
1313 + <xs:annotation>
1314 + <xs:documentation>InvoiceNo identifying a debit invoice</xs:documentation>
1315 + </xs:annotation>
1316 + </xs:element>
1317 + <xs:element name="ExternalInvoiceId" type="String50" minOccurs="1" maxOccurs="1">
1318 + <xs:annotation>
1319 + <xs:documentation>ExternalInvoiceId identifying a debit invoice</xs:documentation>
1320 + </xs:annotation>
1321 + </xs:element>
1322 + </xs:choice>
1323 + </xs:complexType>
1324 + </xs:element>
1325 + <xs:element name="CreditAmount" type="CreditMoney">
1326 + <xs:annotation>
1327 + <xs:documentation>The amount to credit</xs:documentation>
1328 + </xs:annotation>
1329 + </xs:element>
1330 + </xs:sequence>
1331 + <xs:attribute name="SendCopy" type="xs:boolean" use="required" >
1332 + <xs:annotation>
1333 + <xs:documentation>Set to true if a adjusted "invoice copy" shall be sent to the customer after the credit has been made</xs:documentation>
1334 + </xs:annotation>
1335 + </xs:attribute>
1336 + </xs:complexType>
1337 + </xs:element>
1338 + </xs:sequence>
1339 + </xs:complexType>
1340 + <xs:complexType name="CashDiscountInfo">
1341 + <xs:sequence>
1342 + <xs:element name="CashDiscountDueDate" type="xs:date" minOccurs="1" maxOccurs="1">
1343 + <xs:annotation>
1344 + <xs:documentation>Due date of the CashDiscountAmount</xs:documentation>
1345 + </xs:annotation>
1346 + </xs:element>
1347 + <xs:element name="CashDiscountAmount" type="CashDiscountMoney" maxOccurs="1" minOccurs="1" nillable="false">
1348 + <xs:annotation>
1349 + <xs:documentation>The discount amount (including VAT) to be deducted from the invoice amount</xs:documentation>
1350 + </xs:annotation>
1351 + </xs:element>
1352 + </xs:sequence>
1353 + </xs:complexType>
1354 + <xs:complexType name="Columns">
1355 + <xs:annotation>
1356 + <xs:documentation>Containing 1-12 columns</xs:documentation>
1357 + </xs:annotation>
1358 + <xs:sequence>
1359 + <xs:element name="Column" type="Column" minOccurs="1" maxOccurs="12" />
1360 + </xs:sequence>
1361 + </xs:complexType>
1362 + <xs:simpleType name="ePaymentRule">
1363 + <xs:restriction base="xs:string">
1364 + <xs:enumeration value="UseBGAGSE">
1365 + <xs:annotation>
1366 + <xs:documentation>Activate or deactivates direct debit as part of the "verified payment" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1367 + </xs:annotation>
1368 + </xs:enumeration>
1369 + <xs:enumeration value="UseBKAGNO">
1370 + <xs:annotation>
1371 + <xs:documentation>Activate or deactivates direct debit as part of the "verified payment" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1372 + </xs:annotation>
1373 + </xs:enumeration>
1374 + </xs:restriction>
1375 + </xs:simpleType>
1376 + <xs:simpleType name="eDistributionRule">
1377 + <xs:restriction base="xs:string">
1378 + <xs:enumeration value="UseEInvoiceB2CSE">
1379 + <xs:annotation>
1380 + <xs:documentation>Activate or deactivates EInvoiceB2CSE as part of the "verified distribution" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1381 + </xs:annotation>
1382 + </xs:enumeration>
1383 + <xs:enumeration value="UseEInvoiceB2CNO">
1384 + <xs:annotation>
1385 + <xs:documentation>Activate or deactivates EInvoiceB2CNO as part of the "verified distribution" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1386 + </xs:annotation>
1387 + </xs:enumeration>
1388 + <xs:enumeration value="UseEInvoiceB2CFI">
1389 + <xs:annotation>
1390 + <xs:documentation>Activate or deactivates UseEInvoiceB2CFI as part of the "verified distribution" service. Set Value to 1 for activation and Value to 0 for deactivation</xs:documentation>
1391 + </xs:annotation>
1392 + </xs:enumeration>
1393 + </xs:restriction>
1394 + </xs:simpleType>
1395 + <xs:simpleType name="eColumnNo">
1396 + <xs:restriction base="xs:unsignedShort">
1397 + <xs:enumeration value="1">
1398 + <xs:annotation>
1399 + <xs:documentation>Refers to column 1</xs:documentation>
1400 + </xs:annotation>
1401 + </xs:enumeration>
1402 + <xs:enumeration value="2">
1403 + <xs:annotation>
1404 + <xs:documentation>Refers to column 2</xs:documentation>
1405 + </xs:annotation>
1406 + </xs:enumeration>
1407 + <xs:enumeration value="3">
1408 + <xs:annotation>
1409 + <xs:documentation>Refers to column 3</xs:documentation>
1410 + </xs:annotation>
1411 + </xs:enumeration>
1412 + <xs:enumeration value="4">
1413 + <xs:annotation>
1414 + <xs:documentation>Refers to column 4</xs:documentation>
1415 + </xs:annotation>
1416 + </xs:enumeration>
1417 + <xs:enumeration value="5">
1418 + <xs:annotation>
1419 + <xs:documentation>Refers to column 5</xs:documentation>
1420 + </xs:annotation>
1421 + </xs:enumeration>
1422 + <xs:enumeration value="6">
1423 + <xs:annotation>
1424 + <xs:documentation>Refers to column 6</xs:documentation>
1425 + </xs:annotation>
1426 + </xs:enumeration>
1427 + <xs:enumeration value="7">
1428 + <xs:annotation>
1429 + <xs:documentation>Refers to column 7</xs:documentation>
1430 + </xs:annotation>
1431 + </xs:enumeration>
1432 + <xs:enumeration value="8">
1433 + <xs:annotation>
1434 + <xs:documentation>Refers to column 8</xs:documentation>
1435 + </xs:annotation>
1436 + </xs:enumeration>
1437 + <xs:enumeration value="9">
1438 + <xs:annotation>
1439 + <xs:documentation>Refers to column 9</xs:documentation>
1440 + </xs:annotation>
1441 + </xs:enumeration>
1442 + <xs:enumeration value="10">
1443 + <xs:annotation>
1444 + <xs:documentation>Refers to column 10</xs:documentation>
1445 + </xs:annotation>
1446 + </xs:enumeration>
1447 + <xs:enumeration value="11">
1448 + <xs:annotation>
1449 + <xs:documentation>Refers to column 11</xs:documentation>
1450 + </xs:annotation>
1451 + </xs:enumeration>
1452 + <xs:enumeration value="12">
1453 + <xs:annotation>
1454 + <xs:documentation>Refers to column 12</xs:documentation>
1455 + </xs:annotation>
1456 + </xs:enumeration>
1457 + </xs:restriction>
1458 + </xs:simpleType>
1459 + <xs:complexType name="Column">
1460 + <xs:sequence>
1461 + <xs:element name="Text" type="xs:string" maxOccurs="1" minOccurs="1">
1462 + <xs:annotation>
1463 + <xs:documentation>Text printed in cell</xs:documentation>
1464 + </xs:annotation>
1465 + </xs:element>
1466 + </xs:sequence>
1467 + <xs:attribute name="ColumnNo" type="eColumnNo" use="required" />
1468 + </xs:complexType>
1469 + <xs:complexType name="BasePrintBlock">
1470 + <xs:annotation>
1471 + <xs:documentation>A base print block is a predefined table type at PayEx. Which table types that are enabled are described in a separate document. You refer the requested tabletype by the attribute "TableType"</xs:documentation>
1472 + </xs:annotation>
1473 + <xs:sequence>
1474 + <xs:element name="HeadLine" type="xs:string" minOccurs="0" maxOccurs="1">
1475 + <xs:annotation>
1476 + <xs:documentation>Optional print block headline</xs:documentation>
1477 + </xs:annotation>
1478 + </xs:element>
1479 + <xs:element name="SubOrderBlocks" minOccurs="1" maxOccurs="1">
1480 + <xs:complexType>
1481 + <xs:sequence>
1482 + <xs:element name="SubOrderBlock" minOccurs="1" maxOccurs="unbounded">
1483 + <xs:complexType>
1484 + <xs:sequence>
1485 + <xs:element minOccurs="0" name="HeadLine" maxOccurs="1" type="xs:string">
1486 + <xs:annotation>
1487 + <xs:documentation>Optional suborder block headline</xs:documentation>
1488 + </xs:annotation>
1489 + </xs:element>
1490 + <xs:element minOccurs="0" maxOccurs="1" name="ColumnHeadLine">
1491 + <xs:annotation>
1492 + <xs:documentation>Optional column headline(s)</xs:documentation>
1493 + </xs:annotation>
1494 + <xs:complexType>
1495 + <xs:sequence>
1496 + <xs:element name="Columns" type="Columns" maxOccurs="1" minOccurs="1">
1497 + <xs:annotation>
1498 + <xs:documentation>Containing cells for column headline row of the referred table type</xs:documentation>
1499 + </xs:annotation>
1500 + </xs:element>
1501 + </xs:sequence>
1502 + </xs:complexType>
1503 + </xs:element>
1504 + <xs:element name="Rows" minOccurs="1" maxOccurs="1">
1505 + <xs:annotation>
1506 + <xs:documentation>Containing rows</xs:documentation>
1507 + </xs:annotation>
1508 + <xs:complexType>
1509 + <xs:sequence>
1510 + <xs:element minOccurs="0" name="Row" maxOccurs="unbounded">
1511 + <xs:annotation>
1512 + <xs:documentation>Containing one row</xs:documentation>
1513 + </xs:annotation>
1514 + <xs:complexType>
1515 + <xs:sequence>
1516 + <xs:element name="Columns" type="Columns" maxOccurs="1" minOccurs="1">
1517 + <xs:annotation>
1518 + <xs:documentation>Containing cells for one row of the referred table type</xs:documentation>
1519 + </xs:annotation>
1520 + </xs:element>
1521 + </xs:sequence>
1522 + </xs:complexType>
1523 + </xs:element>
1524 + </xs:sequence>
1525 + </xs:complexType>
1526 + </xs:element>
1527 + <xs:element name="SummaryRow" minOccurs="0" maxOccurs="1">
1528 + <xs:annotation>
1529 + <xs:documentation>Optional summary row of referred table type</xs:documentation>
1530 + </xs:annotation>
1531 + <xs:complexType>
1532 + <xs:sequence>
1533 + <xs:element name="Columns" type="Columns" minOccurs="1" maxOccurs="1">
1534 + <xs:annotation>
1535 + <xs:documentation>Containing cells for summary row of the referred table type</xs:documentation>
1536 + </xs:annotation>
1537 + </xs:element>
1538 + </xs:sequence>
1539 + </xs:complexType>
1540 + </xs:element>
1541 + </xs:sequence>
1542 + <xs:attribute name="TableType" type="TableType" use="required">
1543 + <xs:annotation>
1544 + <xs:documentation>The name of the predefined table type in PayEx print system.</xs:documentation>
1545 + </xs:annotation>
1546 + </xs:attribute>
1547 + </xs:complexType>
1548 + </xs:element>
1549 + </xs:sequence>
1550 + </xs:complexType>
1551 + </xs:element>
1552 + </xs:sequence>
1553 + </xs:complexType>
1554 + <xs:complexType name="PrintBlockConfig">
1555 + <xs:sequence>
1556 + </xs:sequence>
1557 + <xs:attribute name="PrecedingPageBreak" type="xs:boolean" use="optional">
1558 + <xs:annotation>
1559 + <xs:documentation>Instruction to start printing the print block on a new page</xs:documentation>
1560 + </xs:annotation>
1561 + </xs:attribute>
1562 + <xs:attribute name="PrecedingSheetBreak" type="xs:boolean" use="optional">
1563 + <xs:annotation>
1564 + <xs:documentation>Instruction to start printing the print block on a new sheet</xs:documentation>
1565 + </xs:annotation>
1566 + </xs:attribute>
1567 + </xs:complexType>
1568 + <xs:complexType name="PredefinedPrintBlocks">
1569 + <xs:sequence>
1570 + <xs:element name="PredefinedPrintBlock" minOccurs="1" maxOccurs="unbounded">
1571 + <xs:annotation>
1572 + <xs:documentation>Containing predefined print block printed in specified predefined area in layout</xs:documentation>
1573 + </xs:annotation>
1574 + <xs:complexType>
1575 + <xs:choice>
1576 + <xs:element name="Image" minOccurs="1" maxOccurs="1">
1577 + <xs:annotation>
1578 + <xs:documentation>Containing predefined image printed in specified predefined area in layout</xs:documentation>
1579 + </xs:annotation>
1580 + <xs:complexType>
1581 + <xs:sequence>
1582 + <xs:element name="ImageName" type="xs:string" minOccurs="1" maxOccurs="1">
1583 + <xs:annotation>
1584 + <xs:documentation>Name of predefined image in PayEx print system</xs:documentation>
1585 + </xs:annotation>
1586 + </xs:element>
1587 + </xs:sequence>
1588 + <xs:attribute name="ImageAreaName" type="xs:string" use="required">
1589 + <xs:annotation>
1590 + <xs:documentation>Name of predefined image area in layout</xs:documentation>
1591 + </xs:annotation>
1592 + </xs:attribute>
1593 + </xs:complexType>
1594 + </xs:element>
1595 + <xs:element name="Paragraph" minOccurs="1" maxOccurs="1">
1596 + <xs:annotation>
1597 + <xs:documentation>Containing predefined paragraph printed in specified predefined area in layout</xs:documentation>
1598 + </xs:annotation>
1599 + <xs:complexType>
1600 + <xs:sequence>
1601 + <xs:element name="ParagraphName" type="xs:string" minOccurs="1" maxOccurs="1">
1602 + <xs:annotation>
1603 + <xs:documentation>Name of predefined paragraph in PayEx print system</xs:documentation>
1604 + </xs:annotation>
1605 + </xs:element>
1606 + </xs:sequence>
1607 + <xs:attribute name="ParagraphAreaName" type="xs:string" use="required">
1608 + <xs:annotation>
1609 + <xs:documentation>Name of predefined paragraph area name in layout</xs:documentation>
1610 + </xs:annotation>
1611 + </xs:attribute>
1612 + </xs:complexType>
1613 + </xs:element>
1614 + </xs:choice>
1615 + </xs:complexType>
1616 + </xs:element>
1617 + </xs:sequence>
1618 + </xs:complexType>
1619 + <xs:complexType name="ExtraPrintBlocks">
1620 + <xs:sequence>
1621 + <xs:element name="ExtraPrintBlock" minOccurs="1" maxOccurs="unbounded">
1622 + <xs:annotation>
1623 + <xs:documentation>Containing print block printed in specified predefined area in layout</xs:documentation>
1624 + </xs:annotation>
1625 + <xs:complexType>
1626 + <xs:sequence>
1627 + <xs:element name="BasePrintBlock" type="BasePrintBlock" minOccurs="1" maxOccurs="1" />
1628 + </xs:sequence>
1629 + <xs:attribute name="PrintBlockAreaName" type="xs:string" use="required">
1630 + <xs:annotation>
1631 + <xs:documentation>Name of predefined area in layout</xs:documentation>
1632 + </xs:annotation>
1633 + </xs:attribute>
1634 + </xs:complexType>
1635 + </xs:element>
1636 + </xs:sequence>
1637 + </xs:complexType>
1638 + <xs:complexType name="StandardPrintBlocks">
1639 + <xs:sequence>
1640 + <xs:element name="StandardPrintBlock" minOccurs="1" maxOccurs="unbounded">
1641 + <xs:complexType>
1642 + <xs:sequence>
1643 + <xs:element name="BasePrintBlock" type="BasePrintBlock" maxOccurs="1" minOccurs="1" />
1644 + <xs:element name="PrintBlockConfig" type="PrintBlockConfig" minOccurs="0" maxOccurs="1" />
1645 + </xs:sequence>
1646 + </xs:complexType>
1647 + </xs:element>
1648 + </xs:sequence>
1649 + </xs:complexType>
1650 + <xs:complexType name="SpecificationPrintBlocks">
1651 + <xs:sequence>
1652 + <xs:element name="SpecificationPrintBlock" minOccurs="1" maxOccurs="unbounded">
1653 + <xs:complexType>
1654 + <xs:sequence>
1655 + <xs:element name="BasePrintBlock" type="BasePrintBlock" maxOccurs="1" minOccurs="1" />
1656 + <xs:element name="PrintBlockConfig" type="PrintBlockConfig" maxOccurs="1" minOccurs="1" />
1657 + </xs:sequence>
1658 + <xs:attribute name="PrintBlockIdentifier" type="xs:string" />
1659 + </xs:complexType>
1660 + </xs:element>
1661 + </xs:sequence>
1662 + </xs:complexType>
1663 + <xs:complexType name="Card">
1664 + <xs:sequence>
1665 + <xs:element name="CardReference" type="String50" minOccurs="1" maxOccurs="1"/>
1666 + <xs:element name="ExpiryDate" type="PXExpiryDate" minOccurs="1" maxOccurs="1"/>
1667 + </xs:sequence>
1668 + </xs:complexType>
1669 + <xs:simpleType name="PXExpiryDate">
1670 + <xs:restriction base="xs:string">
1671 + <xs:length value="5"/>
1672 + <xs:pattern value="(0[1-9]|1[012])/(\d{2})"/>
1673 + </xs:restriction>
1674 + </xs:simpleType>
1675 + <xs:simpleType name="eSummaryType">
1676 + <xs:restriction base="xs:string">
1677 + <xs:enumeration value="SA">
1678 + <xs:annotation>
1679 + <xs:documentation>Summary</xs:documentation>
1680 + </xs:annotation>
1681 + </xs:enumeration>
1682 + <xs:enumeration value="SSA">
1683 + <xs:annotation>
1684 + <xs:documentation>Aggregated summary</xs:documentation>
1685 + </xs:annotation>
1686 + </xs:enumeration>
1687 + </xs:restriction>
1688 + </xs:simpleType>
1689 + <xs:simpleType name="Version">
1690 + <xs:restriction base="xs:string">
1691 + <xs:enumeration value="2.0"/>
1692 + <xs:enumeration value="2.1">
1693 + <xs:annotation>
1694 + <xs:documentation>Added new DistributionRule UseEInvoiceB2CFI, and two new properties for accounting InterCompanyCode and VatType. Increased Money type to 500 000 000</xs:documentation>
1695 + </xs:annotation>
1696 + </xs:enumeration>
1697 + <xs:enumeration value="2.2">
1698 + <xs:annotation>
1699 + <xs:documentation>
1700 + EdiInfo.EDIOrderRows.Quantity decimal support,
1701 + EDIInfo.ExternalreferenceURL, added new field
1702 + Added support for more characters in EdiInfo.EDIOrderRow.ContractType
1703 + </xs:documentation>
1704 + </xs:annotation>
1705 + </xs:enumeration>
1706 + <xs:enumeration value="2.3">
1707 + <xs:annotation>
1708 + <xs:documentation>DistributionAddressInfo, added new field ProtectedIdentity</xs:documentation>
1709 + </xs:annotation>
1710 + </xs:enumeration>
1711 + <xs:enumeration value="2.4">
1712 + <xs:annotation>
1713 + <xs:documentation>eCurrencyType, added new values USD,GBP</xs:documentation>
1714 + </xs:annotation>
1715 + </xs:enumeration>
1716 + <xs:enumeration value="2.5">
1717 + <xs:annotation>
1718 + <xs:documentation>Added support for setting customer LegalStatus</xs:documentation>
1719 + </xs:annotation>
1720 + </xs:enumeration>
1721 + <xs:enumeration value="2.6">
1722 + <xs:annotation>
1723 + <xs:documentation>
1724 + Supports diacritic chars for Name, Addressee, StreetAddress, COAddress and City.
1725 + Supports StreetAddress and COAddress with up to 72 chars in length.
1726 + </xs:documentation>
1727 + </xs:annotation>
1728 + </xs:enumeration>
1729 + <xs:enumeration value="2.7">
1730 + <xs:annotation>
1731 + <xs:documentation>Added VatRate 24 and 10</xs:documentation>
1732 + </xs:annotation>
1733 + </xs:enumeration>
1734 + <xs:enumeration value="2.8">
1735 + <xs:annotation>
1736 + <xs:documentation>Added element 'RecurringCardInfo' to support recurring card payments</xs:documentation>
1737 + </xs:annotation>
1738 + </xs:enumeration>
1739 + <xs:enumeration value="2.9">
1740 + <xs:annotation>
1741 + <xs:documentation>Added element 'CashDiscountInfo' for specifying cash discount on invoices, only supported for invoices without distribution</xs:documentation>
1742 + </xs:annotation>
1743 + </xs:enumeration>
1744 + </xs:restriction>
1745 + </xs:simpleType>
1746 +</xs:schema>
1747 +
Cusin_[2.0].xsd.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.rae
Size
... ... @@ -1,0 +1,1 @@
1 +0 bytes
Content