Changes for page 05. CustomerJournal
Last modified by Kent Westerlund on 2024/11/19 14:34
From empty
To version 33.1
edited by Kent Westerlund
on 2024/11/19 14:34
on 2024/11/19 14:34
Change comment: There is no comment for this version
Summary
-
Page properties (6 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +05. CustomerJournal - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +developer:Main.Invoicing.invoice-service.Implementation guide.Technical reference.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 - XWiki.XWikiGuest1 +xwiki:XWiki.kwd - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Tags
-
... ... @@ -1,0 +1,1 @@ 1 +px-custom-page-content - Content
-
... ... @@ -1,0 +1,173 @@ 1 +(% class="jumbotron" %) 2 +((( 3 +(% class="container" %) 4 +((( 5 +This is a technical overview of the response file Customer Journal you retrieve from PayEx. The CustomerJournal displays changes in customer status that relates to contracted services. 6 +))) 7 +))) 8 + 9 +{{warning}} 10 +Please note that your Response files might only utilize and/or contain a subset of all elements described below. See the XSD version for your response files to learn more. 11 +{{/warning}} 12 + 13 +== Overview == 14 + 15 +The Customer Journal displays changes in Customer status - in Accounts receivable - that relates to contracted services. 16 + 17 +Entries in the Customer Journal could stem from events such as: 18 + 19 +* A new legal address has been identified. 20 +* Activation / deactivation of Swedish Automatic Payment Service consent (Svenskt autogiromedgivande). 21 +* Activation / deactivation of Swedish eFaktura B2C. 22 +* That the end customer has been registered as deceased, 23 + 24 +[[image:https://developer.payex.com/xwiki/wiki/developer/download/Main/Invoicing-copy/invoice-service-overview/technical-reference/5.%20CustomerJournal/WebHome/CustomerJournal%20%2814%29.svg?width=445&height=897||alt="CustomerJournal (14).svg" height="911" width="452"]] 25 + 26 +(% id="HRecordDescription" %) 27 +== Name Convention == 28 + 29 +##CUSTOMERJOURNAL_<CompanyNumber>_<DatumTime>_<SerialNumber>.xml## 30 + 31 +(% class="table-bordered table-striped" %) 32 +|=Name components|=Description 33 +|CompanyNumber|The company number in our ledger system 34 +|DateTime|The date and time that the file was created. Uses ISO 8601 format, ##YYYYMMDDhhmmdd## 35 +|SerialNumber|Should follow an uninterrupted number series, 1, 2, 3 and so on. 36 + 37 +E.g. ##CUSTOMERJOURNAL_9999_20080923124422_1.xml## 38 + 39 +== Current XML schema description == 40 + 41 +(% class="wikigeneratedid" %) 42 +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.CustomerJournal.XML Schema specification.WebHome]] 43 + 44 +== Download current XML schema file == 45 + 46 +(% class="row" %) 47 +((( 48 +(% class="col-xs-12" %) 49 +((( 50 +(% border="0" style="width:1023px" %) 51 +|=(% 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 52 +|(% style="width:208px" %)[[CustomerJournal_[1.X].xsd>>attach:CustomerJournal_[1.7].xsd]]|(% style="width:213px" %)1.7|(% style="width:288px" %)2025-01-21|(% style="width:585px" %)New events in CustomerStatusEvent, 53 +- DeleteOrderReceived 54 +- (% style="background-color:inherit; color:inherit; font-family:inherit; font-size:inherit" %)Deleted 55 + 56 +== Change Log == 57 + 58 +(% id="HVersion1.1" %) 59 +==== **Version 1.7** ==== 60 + 61 +(% id="HJanuary2C2016" %) 62 +===== October, 2022 ===== 63 + 64 +[[CustomerJournal_[1.7].xsd>>attach:CustomerJournal_[1.7].xsd]] 65 + 66 +(% class="box" %) 67 +((( 68 +New events in CustomerStatusEvent, 69 +- DeleteOrderReceived 70 +- (% style="background-color:inherit; color:inherit; font-family:inherit; font-size:inherit" %)Deleted 71 +For deleteing endcustomers from database.(%%) 72 +\\New optional param in CustomerStatusEvent, [CustomerNo] used for Deleted customer. 73 +))) 74 + 75 +(% id="HVersion1.1" %) 76 +==== **Version 1.6** ==== 77 + 78 +(% id="HJanuary2C2016" %) 79 +===== October, 2022 ===== 80 + 81 +[[CustomerJournal_[1.6].xsd>>attach:CustomerJournal_[1.6].xsd]] 82 + 83 +(% class="box" %) 84 +((( 85 +Allows a wider range of chars for Name, Addressee, StreetAddress, COAddress and City. 86 +Supports StreetAddress and COAddress with up to 72 chars in length. 87 +))) 88 + 89 +(% id="HVersion1.1" %) 90 +==== **Version 1.5** ==== 91 + 92 +(% id="HJanuary2C2016" %) 93 +===== December, 2021 ===== 94 + 95 +[[CustomerJournal_[1.5].xsd>>attach:Main.Invoicing.invoice-service.Implementation guide.Technical reference.WebHome@CustomerJournal_[1.5].xsd]] 96 + 97 +(% class="box" %) 98 +((( 99 +Added new ConsentType eBoks 100 +))) 101 + 102 +(% id="HVersion1.1" %) 103 +==== **Version 1.4** ==== 104 + 105 +(% id="HJanuary2C2016" %) 106 +===== September, 2021 ===== 107 + 108 +[[CustomerJournal_[1.4].xsd>>attach:Main.Invoicing.invoice-service.Implementation guide.Technical reference.WebHome@CustomerJournal_[1.4].xsd]] 109 + 110 +(% class="box" %) 111 +((( 112 +Added new CustomerStatusType, BarringLevel 113 +))) 114 + 115 +(% id="HVersion1.1" %) 116 +==== **Version 1.3** ==== 117 + 118 +(% id="HJanuary2C2016" %) 119 +===== June, 2021 ===== 120 + 121 +[[CustomerJournal_[1.3].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.3].xsd]] 122 + 123 +(% class="box" %) 124 +((( 125 +Added new CustomerStatusType, BarringLevel 126 +))) 127 + 128 +(% id="HVersion1.1" %) 129 +==== **Version 1.2** ==== 130 + 131 +(% id="HJanuary2C2016" %) 132 +===== Februari, 2021 ===== 133 + 134 +[[CustomerJournal_[1.2].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.2].xsd]] 135 + 136 +(% class="box" %) 137 +((( 138 +Added new event type, CustomerNotification 139 +))) 140 + 141 +==== **Version 1.1** ==== 142 + 143 +(% id="HJanuary2C2016" %) 144 +===== November, 2020 ===== 145 + 146 +[[CustomerJournal_[1.1].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.1].xsd]] 147 + 148 +(% class="box" %) 149 +((( 150 +Added new ConsentType EInvoice20B2CNO 151 + 152 +Added new ConsentType EInvoiceB2CFI 153 +))) 154 + 155 +==== **Version 1.0** ==== 156 + 157 +(% id="HJanuary2C2016" %) 158 +===== January, 2019 ===== 159 + 160 +[[CustomerJournal_[1.0].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.0].xsd]] 161 + 162 +(% class="box" %) 163 +((( 164 + Initial version (latest documented version) 165 +))) 166 + 167 +---- 168 + 169 +== Download sample file == 170 + 171 +[[CustomerJournal_367_20191030141104_422>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_367_20191030141104_422.XML]] 172 +))) 173 +)))
- CustomerJournal_[1.x].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.fgv - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.7 KB - Content
-
... ... @@ -1,0 +1,521 @@ 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="CustomerJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="CustomerJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 10 + <xs:annotation> 11 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 12 + </xs:annotation> 13 + </xs:element> 14 + <xs:element name="RegNo" type="RegNo" minOccurs="0" maxOccurs="1"> 15 + <xs:annotation> 16 + <xs:documentation>If exists, Customer social security number/corporate identity number in the accounts receivable</xs:documentation> 17 + </xs:annotation> 18 + </xs:element> 19 + <xs:element minOccurs="0" maxOccurs="1" name="CustomerInfo"> 20 + <xs:complexType> 21 + <xs:sequence> 22 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1" > 23 + <xs:annotation> 24 + <xs:documentation>The current full name of the customer in the accounts receivable.</xs:documentation> 25 + </xs:annotation> 26 + </xs:element> 27 + <xs:element name="Category" type="String10" minOccurs="0" maxOccurs="1" > 28 + <xs:annotation> 29 + <xs:documentation>If exists, the current category the customer is a member of in the accounts receivable</xs:documentation> 30 + </xs:annotation> 31 + </xs:element> 32 + <xs:element name="LanguageCode" type="ISO639" minOccurs="0" maxOccurs="1" > 33 + <xs:annotation> 34 + <xs:documentation>If exists, the current differing language code according to iso 639 set for the customer in the accounts receivable.</xs:documentation> 35 + </xs:annotation> 36 + </xs:element> 37 + <xs:element name="VatNo" type="VatNumber" minOccurs="0" maxOccurs="1" > 38 + <xs:annotation> 39 + <xs:documentation>If exists, the current VAT registration number of the customer in the accounts receivable</xs:documentation> 40 + </xs:annotation> 41 + </xs:element> 42 + <xs:element name="DistributionAddressInfo" minOccurs="1" maxOccurs="1"> 43 + <xs:annotation> 44 + <xs:documentation>Containing the current distribution address information of the customer in the accounts receivable.</xs:documentation> 45 + </xs:annotation> 46 + <xs:complexType> 47 + <xs:sequence> 48 + <xs:element name="Addresses" minOccurs="1" maxOccurs="1"> 49 + <xs:annotation> 50 + <xs:documentation>Contains the current addresses of the customer in the accounts receivable.</xs:documentation> 51 + </xs:annotation> 52 + <xs:complexType> 53 + <xs:sequence> 54 + <xs:element name="Address" type="Address" minOccurs="1" maxOccurs="2" /> 55 + </xs:sequence> 56 + </xs:complexType> 57 + </xs:element> 58 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1" > 59 + <xs:annotation> 60 + <xs:documentation>If exists, the current e-mail of the customer in the accounts receivable.</xs:documentation> 61 + </xs:annotation> 62 + </xs:element> 63 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1" > 64 + <xs:annotation> 65 + <xs:documentation>If exists, the current mobile number of the customer in the accounts receivable.</xs:documentation> 66 + </xs:annotation> 67 + </xs:element> 68 + </xs:sequence> 69 + </xs:complexType> 70 + </xs:element> 71 + </xs:sequence> 72 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional" > 73 + <xs:annotation> 74 + <xs:documentation>If exists the current legal entity of the customer in the accounts receivable.</xs:documentation> 75 + </xs:annotation> 76 + </xs:attribute> 77 + </xs:complexType> 78 + </xs:element> 79 + <xs:element name="ConsentEventInfo" minOccurs="0" maxOccurs="1"> 80 + <xs:annotation> 81 + <xs:documentation>Containing changes/events concerning customer consents in the accounts receivable</xs:documentation> 82 + </xs:annotation> 83 + <xs:complexType> 84 + <xs:sequence> 85 + <xs:element name="ConsentEvent" type="ConsentEvent" minOccurs="0" maxOccurs="unbounded"> 86 + <xs:annotation> 87 + <xs:documentation>Contains information about a consent event.</xs:documentation> 88 + </xs:annotation> 89 + </xs:element> 90 + </xs:sequence> 91 + </xs:complexType> 92 + </xs:element> 93 + <xs:element name="CustomerStatusEventInfo" minOccurs="0" maxOccurs="1"> 94 + <xs:annotation> 95 + <xs:documentation>Containing changes/events concerning customer status in the accounts receivable </xs:documentation> 96 + </xs:annotation> 97 + <xs:complexType> 98 + <xs:sequence> 99 + <xs:element name="CustomerStatusEvent" type="CustomerStatusEvent" minOccurs="0" maxOccurs="unbounded"> 100 + <xs:annotation> 101 + <xs:documentation>Contains information about a change of the customer status in the accounts receivable.</xs:documentation> 102 + </xs:annotation> 103 + </xs:element> 104 + </xs:sequence> 105 + </xs:complexType> 106 + </xs:element> 107 + <xs:element name="CustomerNotificationEventInfo" minOccurs="0" maxOccurs="1"> 108 + <xs:annotation> 109 + <xs:documentation>Containing events concerning failed Disbursements</xs:documentation> 110 + </xs:annotation> 111 + <xs:complexType> 112 + <xs:sequence> 113 + <xs:element name="CustomerNotificationEvent" type="CustomerNotificationEvent" minOccurs="0" maxOccurs="unbounded"> 114 + <xs:annotation> 115 + <xs:documentation>Containing events concerning failed Disbursement.</xs:documentation> 116 + </xs:annotation> 117 + </xs:element> 118 + </xs:sequence> 119 + </xs:complexType> 120 + </xs:element> 121 + </xs:sequence> 122 + </xs:complexType> 123 + </xs:element> 124 + </xs:sequence> 125 + <xs:attribute name="Version" type="Version" use="required"> 126 + <xs:annotation> 127 + <xs:documentation>Versions supported by this schema</xs:documentation> 128 + </xs:annotation> 129 + </xs:attribute> 130 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 131 + <xs:annotation> 132 + <xs:documentation>The date and time when the file was created</xs:documentation> 133 + </xs:annotation> 134 + </xs:attribute> 135 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 136 + <xs:annotation> 137 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 138 + </xs:annotation> 139 + </xs:attribute> 140 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 141 + <xs:annotation> 142 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 143 + </xs:annotation> 144 + </xs:attribute> 145 + </xs:complexType> 146 + </xs:element> 147 + <xs:simpleType name="Version"> 148 + <xs:restriction base="xs:string"> 149 + <xs:enumeration value="1.0"/> 150 + <xs:enumeration value="1.1"> 151 + <xs:annotation> 152 + <xs:documentation>Added new ConsentType EInvoiceB2CFI</xs:documentation> 153 + </xs:annotation> 154 + </xs:enumeration> 155 + <xs:enumeration value="1.2"> 156 + <xs:annotation> 157 + <xs:documentation>Added new CustomerEventType CustomerNotificationEvent </xs:documentation> 158 + </xs:annotation> 159 + </xs:enumeration> 160 + <xs:enumeration value="1.3"> 161 + <xs:annotation> 162 + <xs:documentation>Added new CustomerStatusType BarringLevel</xs:documentation> 163 + </xs:annotation> 164 + </xs:enumeration> 165 + <xs:enumeration value="1.4"> 166 + <xs:annotation> 167 + <xs:documentation>ConsentType. PSPRecurringCardConsent och AGDK</xs:documentation> 168 + </xs:annotation> 169 + </xs:enumeration> 170 + <xs:enumeration value="1.5"> 171 + <xs:annotation> 172 + <xs:documentation>Added new ConsentType eBoks</xs:documentation> 173 + </xs:annotation> 174 + </xs:enumeration> 175 + <xs:enumeration value="1.6"> 176 + <xs:annotation> 177 + <xs:documentation> 178 + Allow diacritic chars for Name, Addressee, City, StreetAddress, CoAddress. 179 + Max length for StreetAddress and CoAddress is set to 72. 180 + </xs:documentation> 181 + </xs:annotation> 182 + </xs:enumeration> 183 + </xs:restriction> 184 + </xs:simpleType> 185 + <xs:simpleType name="Identifier15"> 186 + <xs:restriction base="xs:string"> 187 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 188 + <xs:minLength value="1" /> 189 + <xs:maxLength value="15" /> 190 + </xs:restriction> 191 + </xs:simpleType> 192 + <xs:simpleType name="ISO3166"> 193 + <xs:restriction base="xs:string"> 194 + <xs:pattern value="[A-Z]*" /> 195 + <xs:minLength value="2" /> 196 + <xs:maxLength value="2" /> 197 + </xs:restriction> 198 + </xs:simpleType> 199 + <xs:simpleType name="CompanyNumber"> 200 + <xs:restriction base="xs:string"> 201 + <xs:pattern value="[0-9]*" /> 202 + <xs:minLength value="1" /> 203 + <xs:maxLength value="15" /> 204 + </xs:restriction> 205 + </xs:simpleType> 206 + <xs:simpleType name="ISO639"> 207 + <xs:restriction base="PXString"> 208 + <xs:enumeration value="SV" /> 209 + <xs:enumeration value="NO" /> 210 + <xs:enumeration value="DA" /> 211 + <xs:enumeration value="FI" /> 212 + <xs:enumeration value="EN" /> 213 + </xs:restriction> 214 + </xs:simpleType> 215 + <xs:simpleType name="String35"> 216 + <xs:restriction base="PXString"> 217 + <xs:maxLength value="35" /> 218 + </xs:restriction> 219 + </xs:simpleType> 220 + <xs:simpleType name="Email"> 221 + <xs:restriction base="PXString"> 222 + <xs:maxLength value="60" /> 223 + </xs:restriction> 224 + </xs:simpleType> 225 + <xs:simpleType name="String15"> 226 + <xs:restriction base="PXString"> 227 + <xs:maxLength value="15" /> 228 + </xs:restriction> 229 + </xs:simpleType> 230 + <xs:simpleType name="ZipCode"> 231 + <xs:restriction base="xs:string"> 232 + <xs:pattern value="[A-Z0-9\-]+" /> 233 + <xs:maxLength value="9" /> 234 + </xs:restriction> 235 + </xs:simpleType> 236 + <xs:simpleType name="VatNumber"> 237 + <xs:restriction base="xs:string"> 238 + <xs:pattern value="[A-Z]{2}.*" /> 239 + <xs:minLength value="7" /> 240 + <xs:maxLength value="14" /> 241 + </xs:restriction> 242 + </xs:simpleType> 243 + <xs:simpleType name="String50"> 244 + <xs:restriction base="xs:string"> 245 + <xs:maxLength value="50" /> 246 + </xs:restriction> 247 + </xs:simpleType> 248 + <xs:complexType name="Address"> 249 + <xs:sequence> 250 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 251 + <xs:annotation> 252 + <xs:documentation>Current full name of addressee</xs:documentation> 253 + </xs:annotation> 254 + </xs:element> 255 + <xs:element name="StreetAddress" type="NameAddressString72" minOccurs="0" maxOccurs="1" nillable="false"> 256 + <xs:annotation> 257 + <xs:documentation>Current street address</xs:documentation> 258 + </xs:annotation> 259 + </xs:element> 260 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 261 + <xs:annotation> 262 + <xs:documentation>Current zip code</xs:documentation> 263 + </xs:annotation> 264 + </xs:element> 265 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 266 + <xs:annotation> 267 + <xs:documentation>Current city</xs:documentation> 268 + </xs:annotation> 269 + </xs:element> 270 + <xs:element name="CoAddress" type="NameAddressString72" minOccurs="0" maxOccurs="1" nillable="false"> 271 + <xs:annotation> 272 + <xs:documentation>If exists current care of address</xs:documentation> 273 + </xs:annotation> 274 + </xs:element> 275 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 276 + <xs:annotation> 277 + <xs:documentation>Current countrycode</xs:documentation> 278 + </xs:annotation> 279 + </xs:element> 280 + </xs:sequence> 281 + <xs:attribute name="AddressType" type="AddressType" use="required"> 282 + <xs:annotation> 283 + <xs:documentation>Type of address</xs:documentation> 284 + </xs:annotation> 285 + </xs:attribute> 286 + </xs:complexType> 287 + <xs:complexType name="ConsentEvent"> 288 + <xs:sequence> 289 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 290 + <xs:annotation> 291 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 292 + </xs:annotation> 293 + </xs:element> 294 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 295 + <xs:annotation> 296 + <xs:documentation>The date when the event occurred</xs:documentation> 297 + </xs:annotation> 298 + </xs:element> 299 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 300 + <xs:annotation> 301 + <xs:documentation>The state of the consent due to the event</xs:documentation> 302 + </xs:annotation> 303 + </xs:element> 304 + </xs:sequence> 305 + </xs:complexType> 306 + <xs:simpleType name="ConsentType"> 307 + <xs:restriction base="xs:string"> 308 + <xs:enumeration value="BGAGSE"> 309 + <xs:annotation> 310 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 311 + </xs:annotation> 312 + </xs:enumeration> 313 + <xs:enumeration value="EInvoiceB2CSE"> 314 + <xs:annotation> 315 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 316 + </xs:annotation> 317 + </xs:enumeration> 318 + <xs:enumeration value="BKAGNO"> 319 + <xs:annotation> 320 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 321 + </xs:annotation> 322 + </xs:enumeration> 323 + <xs:enumeration value="EInvoiceB2CNO"> 324 + <xs:annotation> 325 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 326 + </xs:annotation> 327 + </xs:enumeration> 328 + <xs:enumeration value="KivraSE"> 329 + <xs:annotation> 330 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 331 + </xs:annotation> 332 + </xs:enumeration> 333 + <xs:enumeration value="EInvoiceB2CFI"> 334 + <xs:annotation> 335 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 336 + </xs:annotation> 337 + </xs:enumeration> 338 + <xs:enumeration value="EInvoice20B2CNO"> 339 + <xs:annotation> 340 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 341 + </xs:annotation> 342 + </xs:enumeration> 343 + <xs:enumeration value="AGDK"> 344 + <xs:annotation> 345 + <xs:documentation>Refers to Danish direct debit consent.</xs:documentation> 346 + </xs:annotation> 347 + </xs:enumeration> 348 + <xs:enumeration value="PSPRecurringCardConsent"> 349 + <xs:annotation> 350 + <xs:documentation>Refers to a PSPRecurringCardConsent</xs:documentation> 351 + </xs:annotation> 352 + </xs:enumeration> 353 + <xs:enumeration value="eBoks"> 354 + <xs:annotation> 355 + <xs:documentation>Refers to a eBoks digital distribution consent.</xs:documentation> 356 + </xs:annotation> 357 + </xs:enumeration> 358 + </xs:restriction> 359 + </xs:simpleType> 360 + <xs:simpleType name="ConsentStatus"> 361 + <xs:restriction base="xs:string"> 362 + <xs:enumeration value="Active"> 363 + <xs:annotation> 364 + <xs:documentation>The consent has been activated</xs:documentation> 365 + </xs:annotation> 366 + </xs:enumeration> 367 + <xs:enumeration value="Cancelled"> 368 + <xs:annotation> 369 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 370 + </xs:annotation> 371 + </xs:enumeration> 372 + </xs:restriction> 373 + </xs:simpleType> 374 + <xs:complexType name="CustomerStatusEvent"> 375 + <xs:sequence> 376 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 377 + <xs:annotation> 378 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 379 + </xs:annotation> 380 + </xs:element> 381 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 382 + <xs:annotation> 383 + <xs:documentation>The date when the event occurred</xs:documentation> 384 + </xs:annotation> 385 + </xs:element> 386 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 387 + <xs:annotation> 388 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 389 + </xs:annotation> 390 + </xs:element> 391 + </xs:sequence> 392 + </xs:complexType> 393 + <xs:complexType name="CustomerNotificationEvent"> 394 + <xs:sequence> 395 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 396 + <xs:annotation> 397 + <xs:documentation>Reason for notification.</xs:documentation> 398 + </xs:annotation> 399 + </xs:element> 400 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 401 + <xs:annotation> 402 + <xs:documentation>The date when the event occurred</xs:documentation> 403 + </xs:annotation> 404 + </xs:element> 405 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 406 + <xs:annotation> 407 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 408 + </xs:annotation> 409 + </xs:element> 410 + </xs:sequence> 411 + </xs:complexType> 412 + <xs:simpleType name="NotificationType"> 413 + <xs:restriction base="xs:string"> 414 + <xs:enumeration value="DisbursementReturn"> 415 + <xs:annotation> 416 + <xs:documentation>Failed disbursement</xs:documentation> 417 + </xs:annotation> 418 + </xs:enumeration> 419 + </xs:restriction> 420 + </xs:simpleType> 421 + <xs:simpleType name="Money"> 422 + <xs:restriction base="xs:decimal"> 423 + <xs:fractionDigits value="2" /> 424 + <xs:minInclusive value="-100000000" /> 425 + <xs:maxInclusive value="100000000" /> 426 + </xs:restriction> 427 + </xs:simpleType> 428 + <xs:simpleType name="CustomerStatusType"> 429 + <xs:restriction base="xs:string"> 430 + <xs:enumeration value="Deceased"> 431 + <xs:annotation> 432 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 433 + </xs:annotation> 434 + </xs:enumeration> 435 + <xs:enumeration value="BarringLevel"> 436 + <xs:annotation> 437 + <xs:documentation>A status type that can be set on consumers based on current claimlevels</xs:documentation> 438 + </xs:annotation> 439 + </xs:enumeration> 440 + </xs:restriction> 441 + </xs:simpleType> 442 + <xs:simpleType name="CustomerStatus"> 443 + <xs:restriction base="xs:string"> 444 + <xs:enumeration value="Active"> 445 + <xs:annotation> 446 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 447 + </xs:annotation> 448 + </xs:enumeration> 449 + <xs:enumeration value="Cancelled"> 450 + <xs:annotation> 451 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 452 + </xs:annotation> 453 + </xs:enumeration> 454 + </xs:restriction> 455 + </xs:simpleType> 456 + <xs:simpleType name="AddressType"> 457 + <xs:restriction base="xs:string"> 458 + <xs:enumeration value="LegalAddress"> 459 + <xs:annotation> 460 + <xs:documentation>Refers to the customers legal address</xs:documentation> 461 + </xs:annotation> 462 + </xs:enumeration> 463 + <xs:enumeration value="BillingAddress"> 464 + <xs:annotation> 465 + <xs:documentation>Refers to a possible billing address</xs:documentation> 466 + </xs:annotation> 467 + </xs:enumeration> 468 + </xs:restriction> 469 + </xs:simpleType> 470 + <xs:simpleType name="String10"> 471 + <xs:restriction base="PXString"> 472 + <xs:maxLength value="10" /> 473 + </xs:restriction> 474 + </xs:simpleType> 475 + <xs:simpleType name="String30"> 476 + <xs:restriction base="PXString"> 477 + <xs:maxLength value="30" /> 478 + </xs:restriction> 479 + </xs:simpleType> 480 + <xs:simpleType name="String25"> 481 + <xs:restriction base="PXString"> 482 + <xs:maxLength value="25" /> 483 + </xs:restriction> 484 + </xs:simpleType> 485 + <xs:simpleType name="NameAddressString72"> 486 + <xs:restriction base="PXNameAddressString"> 487 + <xs:minLength value="1" /> 488 + <xs:maxLength value="72" /> 489 + </xs:restriction> 490 + </xs:simpleType> 491 + <xs:simpleType name="NameAddressString27"> 492 + <xs:restriction base="PXNameAddressString"> 493 + <xs:minLength value="1" /> 494 + <xs:maxLength value="27" /> 495 + </xs:restriction> 496 + </xs:simpleType> 497 + <xs:simpleType name="PXString"> 498 + <xs:restriction base="xs:string"> 499 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 500 + <xs:minLength value="1" /> 501 + </xs:restriction> 502 + </xs:simpleType> 503 + <xs:simpleType name="PXNameAddressString"> 504 + <xs:restriction base="xs:string"> 505 + <xs:pattern value="[a-zA-Z0-9À-ɏЀ-ӿḀ-ỿ_:!;"#<>=?\[\]@{}´ %'-/&]*" /> 506 + </xs:restriction> 507 + </xs:simpleType> 508 + <xs:complexType name="RegNo"> 509 + <xs:simpleContent> 510 + <xs:extension base="String15"> 511 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 512 + </xs:extension> 513 + </xs:simpleContent> 514 + </xs:complexType> 515 + <xs:simpleType name="LegalEntity"> 516 + <xs:restriction base="xs:string"> 517 + <xs:enumeration value="Private" /> 518 + <xs:enumeration value="Business" /> 519 + </xs:restriction> 520 + </xs:simpleType> 521 +</xs:schema>
- CustomerJournal_[1.6].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.fgv - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.7 KB - Content
-
... ... @@ -1,0 +1,521 @@ 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="CustomerJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="CustomerJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 10 + <xs:annotation> 11 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 12 + </xs:annotation> 13 + </xs:element> 14 + <xs:element name="RegNo" type="RegNo" minOccurs="0" maxOccurs="1"> 15 + <xs:annotation> 16 + <xs:documentation>If exists, Customer social security number/corporate identity number in the accounts receivable</xs:documentation> 17 + </xs:annotation> 18 + </xs:element> 19 + <xs:element minOccurs="0" maxOccurs="1" name="CustomerInfo"> 20 + <xs:complexType> 21 + <xs:sequence> 22 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1" > 23 + <xs:annotation> 24 + <xs:documentation>The current full name of the customer in the accounts receivable.</xs:documentation> 25 + </xs:annotation> 26 + </xs:element> 27 + <xs:element name="Category" type="String10" minOccurs="0" maxOccurs="1" > 28 + <xs:annotation> 29 + <xs:documentation>If exists, the current category the customer is a member of in the accounts receivable</xs:documentation> 30 + </xs:annotation> 31 + </xs:element> 32 + <xs:element name="LanguageCode" type="ISO639" minOccurs="0" maxOccurs="1" > 33 + <xs:annotation> 34 + <xs:documentation>If exists, the current differing language code according to iso 639 set for the customer in the accounts receivable.</xs:documentation> 35 + </xs:annotation> 36 + </xs:element> 37 + <xs:element name="VatNo" type="VatNumber" minOccurs="0" maxOccurs="1" > 38 + <xs:annotation> 39 + <xs:documentation>If exists, the current VAT registration number of the customer in the accounts receivable</xs:documentation> 40 + </xs:annotation> 41 + </xs:element> 42 + <xs:element name="DistributionAddressInfo" minOccurs="1" maxOccurs="1"> 43 + <xs:annotation> 44 + <xs:documentation>Containing the current distribution address information of the customer in the accounts receivable.</xs:documentation> 45 + </xs:annotation> 46 + <xs:complexType> 47 + <xs:sequence> 48 + <xs:element name="Addresses" minOccurs="1" maxOccurs="1"> 49 + <xs:annotation> 50 + <xs:documentation>Contains the current addresses of the customer in the accounts receivable.</xs:documentation> 51 + </xs:annotation> 52 + <xs:complexType> 53 + <xs:sequence> 54 + <xs:element name="Address" type="Address" minOccurs="1" maxOccurs="2" /> 55 + </xs:sequence> 56 + </xs:complexType> 57 + </xs:element> 58 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1" > 59 + <xs:annotation> 60 + <xs:documentation>If exists, the current e-mail of the customer in the accounts receivable.</xs:documentation> 61 + </xs:annotation> 62 + </xs:element> 63 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1" > 64 + <xs:annotation> 65 + <xs:documentation>If exists, the current mobile number of the customer in the accounts receivable.</xs:documentation> 66 + </xs:annotation> 67 + </xs:element> 68 + </xs:sequence> 69 + </xs:complexType> 70 + </xs:element> 71 + </xs:sequence> 72 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional" > 73 + <xs:annotation> 74 + <xs:documentation>If exists the current legal entity of the customer in the accounts receivable.</xs:documentation> 75 + </xs:annotation> 76 + </xs:attribute> 77 + </xs:complexType> 78 + </xs:element> 79 + <xs:element name="ConsentEventInfo" minOccurs="0" maxOccurs="1"> 80 + <xs:annotation> 81 + <xs:documentation>Containing changes/events concerning customer consents in the accounts receivable</xs:documentation> 82 + </xs:annotation> 83 + <xs:complexType> 84 + <xs:sequence> 85 + <xs:element name="ConsentEvent" type="ConsentEvent" minOccurs="0" maxOccurs="unbounded"> 86 + <xs:annotation> 87 + <xs:documentation>Contains information about a consent event.</xs:documentation> 88 + </xs:annotation> 89 + </xs:element> 90 + </xs:sequence> 91 + </xs:complexType> 92 + </xs:element> 93 + <xs:element name="CustomerStatusEventInfo" minOccurs="0" maxOccurs="1"> 94 + <xs:annotation> 95 + <xs:documentation>Containing changes/events concerning customer status in the accounts receivable </xs:documentation> 96 + </xs:annotation> 97 + <xs:complexType> 98 + <xs:sequence> 99 + <xs:element name="CustomerStatusEvent" type="CustomerStatusEvent" minOccurs="0" maxOccurs="unbounded"> 100 + <xs:annotation> 101 + <xs:documentation>Contains information about a change of the customer status in the accounts receivable.</xs:documentation> 102 + </xs:annotation> 103 + </xs:element> 104 + </xs:sequence> 105 + </xs:complexType> 106 + </xs:element> 107 + <xs:element name="CustomerNotificationEventInfo" minOccurs="0" maxOccurs="1"> 108 + <xs:annotation> 109 + <xs:documentation>Containing events concerning failed Disbursements</xs:documentation> 110 + </xs:annotation> 111 + <xs:complexType> 112 + <xs:sequence> 113 + <xs:element name="CustomerNotificationEvent" type="CustomerNotificationEvent" minOccurs="0" maxOccurs="unbounded"> 114 + <xs:annotation> 115 + <xs:documentation>Containing events concerning failed Disbursement.</xs:documentation> 116 + </xs:annotation> 117 + </xs:element> 118 + </xs:sequence> 119 + </xs:complexType> 120 + </xs:element> 121 + </xs:sequence> 122 + </xs:complexType> 123 + </xs:element> 124 + </xs:sequence> 125 + <xs:attribute name="Version" type="Version" use="required"> 126 + <xs:annotation> 127 + <xs:documentation>Versions supported by this schema</xs:documentation> 128 + </xs:annotation> 129 + </xs:attribute> 130 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 131 + <xs:annotation> 132 + <xs:documentation>The date and time when the file was created</xs:documentation> 133 + </xs:annotation> 134 + </xs:attribute> 135 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 136 + <xs:annotation> 137 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 138 + </xs:annotation> 139 + </xs:attribute> 140 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 141 + <xs:annotation> 142 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 143 + </xs:annotation> 144 + </xs:attribute> 145 + </xs:complexType> 146 + </xs:element> 147 + <xs:simpleType name="Version"> 148 + <xs:restriction base="xs:string"> 149 + <xs:enumeration value="1.0"/> 150 + <xs:enumeration value="1.1"> 151 + <xs:annotation> 152 + <xs:documentation>Added new ConsentType EInvoiceB2CFI</xs:documentation> 153 + </xs:annotation> 154 + </xs:enumeration> 155 + <xs:enumeration value="1.2"> 156 + <xs:annotation> 157 + <xs:documentation>Added new CustomerEventType CustomerNotificationEvent </xs:documentation> 158 + </xs:annotation> 159 + </xs:enumeration> 160 + <xs:enumeration value="1.3"> 161 + <xs:annotation> 162 + <xs:documentation>Added new CustomerStatusType BarringLevel</xs:documentation> 163 + </xs:annotation> 164 + </xs:enumeration> 165 + <xs:enumeration value="1.4"> 166 + <xs:annotation> 167 + <xs:documentation>ConsentType. PSPRecurringCardConsent och AGDK</xs:documentation> 168 + </xs:annotation> 169 + </xs:enumeration> 170 + <xs:enumeration value="1.5"> 171 + <xs:annotation> 172 + <xs:documentation>Added new ConsentType eBoks</xs:documentation> 173 + </xs:annotation> 174 + </xs:enumeration> 175 + <xs:enumeration value="1.6"> 176 + <xs:annotation> 177 + <xs:documentation> 178 + Allow diacritic chars for Name, Addressee, City, StreetAddress, CoAddress. 179 + Max length for StreetAddress and CoAddress is set to 72. 180 + </xs:documentation> 181 + </xs:annotation> 182 + </xs:enumeration> 183 + </xs:restriction> 184 + </xs:simpleType> 185 + <xs:simpleType name="Identifier15"> 186 + <xs:restriction base="xs:string"> 187 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 188 + <xs:minLength value="1" /> 189 + <xs:maxLength value="15" /> 190 + </xs:restriction> 191 + </xs:simpleType> 192 + <xs:simpleType name="ISO3166"> 193 + <xs:restriction base="xs:string"> 194 + <xs:pattern value="[A-Z]*" /> 195 + <xs:minLength value="2" /> 196 + <xs:maxLength value="2" /> 197 + </xs:restriction> 198 + </xs:simpleType> 199 + <xs:simpleType name="CompanyNumber"> 200 + <xs:restriction base="xs:string"> 201 + <xs:pattern value="[0-9]*" /> 202 + <xs:minLength value="1" /> 203 + <xs:maxLength value="15" /> 204 + </xs:restriction> 205 + </xs:simpleType> 206 + <xs:simpleType name="ISO639"> 207 + <xs:restriction base="PXString"> 208 + <xs:enumeration value="SV" /> 209 + <xs:enumeration value="NO" /> 210 + <xs:enumeration value="DA" /> 211 + <xs:enumeration value="FI" /> 212 + <xs:enumeration value="EN" /> 213 + </xs:restriction> 214 + </xs:simpleType> 215 + <xs:simpleType name="String35"> 216 + <xs:restriction base="PXString"> 217 + <xs:maxLength value="35" /> 218 + </xs:restriction> 219 + </xs:simpleType> 220 + <xs:simpleType name="Email"> 221 + <xs:restriction base="PXString"> 222 + <xs:maxLength value="60" /> 223 + </xs:restriction> 224 + </xs:simpleType> 225 + <xs:simpleType name="String15"> 226 + <xs:restriction base="PXString"> 227 + <xs:maxLength value="15" /> 228 + </xs:restriction> 229 + </xs:simpleType> 230 + <xs:simpleType name="ZipCode"> 231 + <xs:restriction base="xs:string"> 232 + <xs:pattern value="[A-Z0-9\-]+" /> 233 + <xs:maxLength value="9" /> 234 + </xs:restriction> 235 + </xs:simpleType> 236 + <xs:simpleType name="VatNumber"> 237 + <xs:restriction base="xs:string"> 238 + <xs:pattern value="[A-Z]{2}.*" /> 239 + <xs:minLength value="7" /> 240 + <xs:maxLength value="14" /> 241 + </xs:restriction> 242 + </xs:simpleType> 243 + <xs:simpleType name="String50"> 244 + <xs:restriction base="xs:string"> 245 + <xs:maxLength value="50" /> 246 + </xs:restriction> 247 + </xs:simpleType> 248 + <xs:complexType name="Address"> 249 + <xs:sequence> 250 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 251 + <xs:annotation> 252 + <xs:documentation>Current full name of addressee</xs:documentation> 253 + </xs:annotation> 254 + </xs:element> 255 + <xs:element name="StreetAddress" type="NameAddressString72" minOccurs="0" maxOccurs="1" nillable="false"> 256 + <xs:annotation> 257 + <xs:documentation>Current street address</xs:documentation> 258 + </xs:annotation> 259 + </xs:element> 260 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 261 + <xs:annotation> 262 + <xs:documentation>Current zip code</xs:documentation> 263 + </xs:annotation> 264 + </xs:element> 265 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 266 + <xs:annotation> 267 + <xs:documentation>Current city</xs:documentation> 268 + </xs:annotation> 269 + </xs:element> 270 + <xs:element name="CoAddress" type="NameAddressString72" minOccurs="0" maxOccurs="1" nillable="false"> 271 + <xs:annotation> 272 + <xs:documentation>If exists current care of address</xs:documentation> 273 + </xs:annotation> 274 + </xs:element> 275 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 276 + <xs:annotation> 277 + <xs:documentation>Current countrycode</xs:documentation> 278 + </xs:annotation> 279 + </xs:element> 280 + </xs:sequence> 281 + <xs:attribute name="AddressType" type="AddressType" use="required"> 282 + <xs:annotation> 283 + <xs:documentation>Type of address</xs:documentation> 284 + </xs:annotation> 285 + </xs:attribute> 286 + </xs:complexType> 287 + <xs:complexType name="ConsentEvent"> 288 + <xs:sequence> 289 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 290 + <xs:annotation> 291 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 292 + </xs:annotation> 293 + </xs:element> 294 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 295 + <xs:annotation> 296 + <xs:documentation>The date when the event occurred</xs:documentation> 297 + </xs:annotation> 298 + </xs:element> 299 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 300 + <xs:annotation> 301 + <xs:documentation>The state of the consent due to the event</xs:documentation> 302 + </xs:annotation> 303 + </xs:element> 304 + </xs:sequence> 305 + </xs:complexType> 306 + <xs:simpleType name="ConsentType"> 307 + <xs:restriction base="xs:string"> 308 + <xs:enumeration value="BGAGSE"> 309 + <xs:annotation> 310 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 311 + </xs:annotation> 312 + </xs:enumeration> 313 + <xs:enumeration value="EInvoiceB2CSE"> 314 + <xs:annotation> 315 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 316 + </xs:annotation> 317 + </xs:enumeration> 318 + <xs:enumeration value="BKAGNO"> 319 + <xs:annotation> 320 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 321 + </xs:annotation> 322 + </xs:enumeration> 323 + <xs:enumeration value="EInvoiceB2CNO"> 324 + <xs:annotation> 325 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 326 + </xs:annotation> 327 + </xs:enumeration> 328 + <xs:enumeration value="KivraSE"> 329 + <xs:annotation> 330 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 331 + </xs:annotation> 332 + </xs:enumeration> 333 + <xs:enumeration value="EInvoiceB2CFI"> 334 + <xs:annotation> 335 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 336 + </xs:annotation> 337 + </xs:enumeration> 338 + <xs:enumeration value="EInvoice20B2CNO"> 339 + <xs:annotation> 340 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 341 + </xs:annotation> 342 + </xs:enumeration> 343 + <xs:enumeration value="AGDK"> 344 + <xs:annotation> 345 + <xs:documentation>Refers to Danish direct debit consent.</xs:documentation> 346 + </xs:annotation> 347 + </xs:enumeration> 348 + <xs:enumeration value="PSPRecurringCardConsent"> 349 + <xs:annotation> 350 + <xs:documentation>Refers to a PSPRecurringCardConsent</xs:documentation> 351 + </xs:annotation> 352 + </xs:enumeration> 353 + <xs:enumeration value="eBoks"> 354 + <xs:annotation> 355 + <xs:documentation>Refers to a eBoks digital distribution consent.</xs:documentation> 356 + </xs:annotation> 357 + </xs:enumeration> 358 + </xs:restriction> 359 + </xs:simpleType> 360 + <xs:simpleType name="ConsentStatus"> 361 + <xs:restriction base="xs:string"> 362 + <xs:enumeration value="Active"> 363 + <xs:annotation> 364 + <xs:documentation>The consent has been activated</xs:documentation> 365 + </xs:annotation> 366 + </xs:enumeration> 367 + <xs:enumeration value="Cancelled"> 368 + <xs:annotation> 369 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 370 + </xs:annotation> 371 + </xs:enumeration> 372 + </xs:restriction> 373 + </xs:simpleType> 374 + <xs:complexType name="CustomerStatusEvent"> 375 + <xs:sequence> 376 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 377 + <xs:annotation> 378 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 379 + </xs:annotation> 380 + </xs:element> 381 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 382 + <xs:annotation> 383 + <xs:documentation>The date when the event occurred</xs:documentation> 384 + </xs:annotation> 385 + </xs:element> 386 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 387 + <xs:annotation> 388 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 389 + </xs:annotation> 390 + </xs:element> 391 + </xs:sequence> 392 + </xs:complexType> 393 + <xs:complexType name="CustomerNotificationEvent"> 394 + <xs:sequence> 395 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 396 + <xs:annotation> 397 + <xs:documentation>Reason for notification.</xs:documentation> 398 + </xs:annotation> 399 + </xs:element> 400 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 401 + <xs:annotation> 402 + <xs:documentation>The date when the event occurred</xs:documentation> 403 + </xs:annotation> 404 + </xs:element> 405 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 406 + <xs:annotation> 407 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 408 + </xs:annotation> 409 + </xs:element> 410 + </xs:sequence> 411 + </xs:complexType> 412 + <xs:simpleType name="NotificationType"> 413 + <xs:restriction base="xs:string"> 414 + <xs:enumeration value="DisbursementReturn"> 415 + <xs:annotation> 416 + <xs:documentation>Failed disbursement</xs:documentation> 417 + </xs:annotation> 418 + </xs:enumeration> 419 + </xs:restriction> 420 + </xs:simpleType> 421 + <xs:simpleType name="Money"> 422 + <xs:restriction base="xs:decimal"> 423 + <xs:fractionDigits value="2" /> 424 + <xs:minInclusive value="-100000000" /> 425 + <xs:maxInclusive value="100000000" /> 426 + </xs:restriction> 427 + </xs:simpleType> 428 + <xs:simpleType name="CustomerStatusType"> 429 + <xs:restriction base="xs:string"> 430 + <xs:enumeration value="Deceased"> 431 + <xs:annotation> 432 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 433 + </xs:annotation> 434 + </xs:enumeration> 435 + <xs:enumeration value="BarringLevel"> 436 + <xs:annotation> 437 + <xs:documentation>A status type that can be set on consumers based on current claimlevels</xs:documentation> 438 + </xs:annotation> 439 + </xs:enumeration> 440 + </xs:restriction> 441 + </xs:simpleType> 442 + <xs:simpleType name="CustomerStatus"> 443 + <xs:restriction base="xs:string"> 444 + <xs:enumeration value="Active"> 445 + <xs:annotation> 446 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 447 + </xs:annotation> 448 + </xs:enumeration> 449 + <xs:enumeration value="Cancelled"> 450 + <xs:annotation> 451 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 452 + </xs:annotation> 453 + </xs:enumeration> 454 + </xs:restriction> 455 + </xs:simpleType> 456 + <xs:simpleType name="AddressType"> 457 + <xs:restriction base="xs:string"> 458 + <xs:enumeration value="LegalAddress"> 459 + <xs:annotation> 460 + <xs:documentation>Refers to the customers legal address</xs:documentation> 461 + </xs:annotation> 462 + </xs:enumeration> 463 + <xs:enumeration value="BillingAddress"> 464 + <xs:annotation> 465 + <xs:documentation>Refers to a possible billing address</xs:documentation> 466 + </xs:annotation> 467 + </xs:enumeration> 468 + </xs:restriction> 469 + </xs:simpleType> 470 + <xs:simpleType name="String10"> 471 + <xs:restriction base="PXString"> 472 + <xs:maxLength value="10" /> 473 + </xs:restriction> 474 + </xs:simpleType> 475 + <xs:simpleType name="String30"> 476 + <xs:restriction base="PXString"> 477 + <xs:maxLength value="30" /> 478 + </xs:restriction> 479 + </xs:simpleType> 480 + <xs:simpleType name="String25"> 481 + <xs:restriction base="PXString"> 482 + <xs:maxLength value="25" /> 483 + </xs:restriction> 484 + </xs:simpleType> 485 + <xs:simpleType name="NameAddressString72"> 486 + <xs:restriction base="PXNameAddressString"> 487 + <xs:minLength value="1" /> 488 + <xs:maxLength value="72" /> 489 + </xs:restriction> 490 + </xs:simpleType> 491 + <xs:simpleType name="NameAddressString27"> 492 + <xs:restriction base="PXNameAddressString"> 493 + <xs:minLength value="1" /> 494 + <xs:maxLength value="27" /> 495 + </xs:restriction> 496 + </xs:simpleType> 497 + <xs:simpleType name="PXString"> 498 + <xs:restriction base="xs:string"> 499 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 500 + <xs:minLength value="1" /> 501 + </xs:restriction> 502 + </xs:simpleType> 503 + <xs:simpleType name="PXNameAddressString"> 504 + <xs:restriction base="xs:string"> 505 + <xs:pattern value="[a-zA-Z0-9À-ɏЀ-ӿḀ-ỿ_:!;"#<>=?\[\]@{}´ %'-/&]*" /> 506 + </xs:restriction> 507 + </xs:simpleType> 508 + <xs:complexType name="RegNo"> 509 + <xs:simpleContent> 510 + <xs:extension base="String15"> 511 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 512 + </xs:extension> 513 + </xs:simpleContent> 514 + </xs:complexType> 515 + <xs:simpleType name="LegalEntity"> 516 + <xs:restriction base="xs:string"> 517 + <xs:enumeration value="Private" /> 518 + <xs:enumeration value="Business" /> 519 + </xs:restriction> 520 + </xs:simpleType> 521 +</xs:schema>
- CustomerJournal_[1.7].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.kwd - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.2 KB - Content
-
... ... @@ -1,0 +1,541 @@ 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="CustomerJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="CustomerJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="0" maxOccurs="1" nillable="true"> 10 + <xs:annotation> 11 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 12 + </xs:annotation> 13 + </xs:element> 14 + <xs:element name="RegNo" type="RegNo" minOccurs="0" maxOccurs="1"> 15 + <xs:annotation> 16 + <xs:documentation>If exists, Customer social security number/corporate identity number in the accounts receivable</xs:documentation> 17 + </xs:annotation> 18 + </xs:element> 19 + <xs:element minOccurs="0" maxOccurs="1" name="CustomerInfo"> 20 + <xs:complexType> 21 + <xs:sequence> 22 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1"> 23 + <xs:annotation> 24 + <xs:documentation>The current full name of the customer in the accounts receivable.</xs:documentation> 25 + </xs:annotation> 26 + </xs:element> 27 + <xs:element name="Category" type="String10" minOccurs="0" maxOccurs="1"> 28 + <xs:annotation> 29 + <xs:documentation>If exists, the current category the customer is a member of in the accounts receivable</xs:documentation> 30 + </xs:annotation> 31 + </xs:element> 32 + <xs:element name="LanguageCode" type="ISO639" minOccurs="0" maxOccurs="1"> 33 + <xs:annotation> 34 + <xs:documentation>If exists, the current differing language code according to iso 639 set for the customer in the accounts receivable.</xs:documentation> 35 + </xs:annotation> 36 + </xs:element> 37 + <xs:element name="VatNo" type="VatNumber" minOccurs="0" maxOccurs="1"> 38 + <xs:annotation> 39 + <xs:documentation>If exists, the current VAT registration number of the customer in the accounts receivable</xs:documentation> 40 + </xs:annotation> 41 + </xs:element> 42 + <xs:element name="DistributionAddressInfo" minOccurs="1" maxOccurs="1"> 43 + <xs:annotation> 44 + <xs:documentation>Containing the current distribution address information of the customer in the accounts receivable.</xs:documentation> 45 + </xs:annotation> 46 + <xs:complexType> 47 + <xs:sequence> 48 + <xs:element name="Addresses" minOccurs="1" maxOccurs="1"> 49 + <xs:annotation> 50 + <xs:documentation>Contains the current addresses of the customer in the accounts receivable.</xs:documentation> 51 + </xs:annotation> 52 + <xs:complexType> 53 + <xs:sequence> 54 + <xs:element name="Address" type="Address" minOccurs="1" maxOccurs="2"/> 55 + </xs:sequence> 56 + </xs:complexType> 57 + </xs:element> 58 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1"> 59 + <xs:annotation> 60 + <xs:documentation>If exists, the current e-mail of the customer in the accounts receivable.</xs:documentation> 61 + </xs:annotation> 62 + </xs:element> 63 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1"> 64 + <xs:annotation> 65 + <xs:documentation>If exists, the current mobile number of the customer in the accounts receivable.</xs:documentation> 66 + </xs:annotation> 67 + </xs:element> 68 + </xs:sequence> 69 + </xs:complexType> 70 + </xs:element> 71 + </xs:sequence> 72 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional"> 73 + <xs:annotation> 74 + <xs:documentation>If exists the current legal entity of the customer in the accounts receivable.</xs:documentation> 75 + </xs:annotation> 76 + </xs:attribute> 77 + </xs:complexType> 78 + </xs:element> 79 + <xs:element name="ConsentEventInfo" minOccurs="0" maxOccurs="1"> 80 + <xs:annotation> 81 + <xs:documentation>Containing changes/events concerning customer consents in the accounts receivable</xs:documentation> 82 + </xs:annotation> 83 + <xs:complexType> 84 + <xs:sequence> 85 + <xs:element name="ConsentEvent" type="ConsentEvent" minOccurs="0" maxOccurs="unbounded"> 86 + <xs:annotation> 87 + <xs:documentation>Contains information about a consent event.</xs:documentation> 88 + </xs:annotation> 89 + </xs:element> 90 + </xs:sequence> 91 + </xs:complexType> 92 + </xs:element> 93 + <xs:element name="CustomerStatusEventInfo" minOccurs="0" maxOccurs="1"> 94 + <xs:annotation> 95 + <xs:documentation>Containing changes/events concerning customer status in the accounts receivable </xs:documentation> 96 + </xs:annotation> 97 + <xs:complexType> 98 + <xs:sequence> 99 + <xs:element name="CustomerStatusEvent" type="CustomerStatusEvent" minOccurs="0" maxOccurs="unbounded"> 100 + <xs:annotation> 101 + <xs:documentation>Contains information about a change of the customer status in the accounts receivable.</xs:documentation> 102 + </xs:annotation> 103 + </xs:element> 104 + </xs:sequence> 105 + </xs:complexType> 106 + </xs:element> 107 + <xs:element name="CustomerNotificationEventInfo" minOccurs="0" maxOccurs="1"> 108 + <xs:annotation> 109 + <xs:documentation>Containing events concerning failed Disbursements</xs:documentation> 110 + </xs:annotation> 111 + <xs:complexType> 112 + <xs:sequence> 113 + <xs:element name="CustomerNotificationEvent" type="CustomerNotificationEvent" minOccurs="0" maxOccurs="unbounded"> 114 + <xs:annotation> 115 + <xs:documentation>Containing events concerning failed Disbursement.</xs:documentation> 116 + </xs:annotation> 117 + </xs:element> 118 + </xs:sequence> 119 + </xs:complexType> 120 + </xs:element> 121 + </xs:sequence> 122 + </xs:complexType> 123 + </xs:element> 124 + </xs:sequence> 125 + <xs:attribute name="Version" type="Version" use="required"> 126 + <xs:annotation> 127 + <xs:documentation>Versions supported by this schema</xs:documentation> 128 + </xs:annotation> 129 + </xs:attribute> 130 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 131 + <xs:annotation> 132 + <xs:documentation>The date and time when the file was created</xs:documentation> 133 + </xs:annotation> 134 + </xs:attribute> 135 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required"> 136 + <xs:annotation> 137 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 138 + </xs:annotation> 139 + </xs:attribute> 140 + <xs:attribute name="CompanyName" type="xs:string" use="required"> 141 + <xs:annotation> 142 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 143 + </xs:annotation> 144 + </xs:attribute> 145 + </xs:complexType> 146 + </xs:element> 147 + <xs:simpleType name="Version"> 148 + <xs:restriction base="xs:string"> 149 + <xs:enumeration value="1.0"/> 150 + <xs:enumeration value="1.1"> 151 + <xs:annotation> 152 + <xs:documentation>Added new ConsentType EInvoiceB2CFI</xs:documentation> 153 + </xs:annotation> 154 + </xs:enumeration> 155 + <xs:enumeration value="1.2"> 156 + <xs:annotation> 157 + <xs:documentation>Added new CustomerEventType CustomerNotificationEvent </xs:documentation> 158 + </xs:annotation> 159 + </xs:enumeration> 160 + <xs:enumeration value="1.3"> 161 + <xs:annotation> 162 + <xs:documentation>Added new CustomerStatusType BarringLevel</xs:documentation> 163 + </xs:annotation> 164 + </xs:enumeration> 165 + <xs:enumeration value="1.4"> 166 + <xs:annotation> 167 + <xs:documentation>ConsentType. PSPRecurringCardConsent och AGDK</xs:documentation> 168 + </xs:annotation> 169 + </xs:enumeration> 170 + <xs:enumeration value="1.5"> 171 + <xs:annotation> 172 + <xs:documentation>Added new ConsentType eBoks</xs:documentation> 173 + </xs:annotation> 174 + </xs:enumeration> 175 + <xs:enumeration value="1.6"> 176 + <xs:annotation> 177 + <xs:documentation> 178 + Allow diacritic chars for Name, Addressee, City, StreetAddress, CoAddress. 179 + Max length for StreetAddress and CoAddress is set to 72. 180 + </xs:documentation> 181 + </xs:annotation> 182 + </xs:enumeration> 183 + <xs:enumeration value="1.7"> 184 + <xs:annotation> 185 + <xs:documentation>Added new CustomerStatusTypes Deleted and DeleteOrderReceived</xs:documentation> 186 + </xs:annotation> 187 + </xs:enumeration> 188 + </xs:restriction> 189 + </xs:simpleType> 190 + <xs:simpleType name="Identifier15"> 191 + <xs:restriction base="xs:string"> 192 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*"/> 193 + <xs:minLength value="1"/> 194 + <xs:maxLength value="15"/> 195 + </xs:restriction> 196 + </xs:simpleType> 197 + <xs:simpleType name="ISO3166"> 198 + <xs:restriction base="xs:string"> 199 + <xs:pattern value="[A-Z]*"/> 200 + <xs:minLength value="2"/> 201 + <xs:maxLength value="2"/> 202 + </xs:restriction> 203 + </xs:simpleType> 204 + <xs:simpleType name="CompanyNumber"> 205 + <xs:restriction base="xs:string"> 206 + <xs:pattern value="[0-9]*"/> 207 + <xs:minLength value="1"/> 208 + <xs:maxLength value="15"/> 209 + </xs:restriction> 210 + </xs:simpleType> 211 + <xs:simpleType name="ISO639"> 212 + <xs:restriction base="PXString"> 213 + <xs:enumeration value="SV"/> 214 + <xs:enumeration value="NO"/> 215 + <xs:enumeration value="DA"/> 216 + <xs:enumeration value="FI"/> 217 + <xs:enumeration value="EN"/> 218 + </xs:restriction> 219 + </xs:simpleType> 220 + <xs:simpleType name="String35"> 221 + <xs:restriction base="PXString"> 222 + <xs:maxLength value="35"/> 223 + </xs:restriction> 224 + </xs:simpleType> 225 + <xs:simpleType name="Email"> 226 + <xs:restriction base="PXString"> 227 + <xs:maxLength value="60"/> 228 + </xs:restriction> 229 + </xs:simpleType> 230 + <xs:simpleType name="String15"> 231 + <xs:restriction base="PXString"> 232 + <xs:maxLength value="15"/> 233 + </xs:restriction> 234 + </xs:simpleType> 235 + <xs:simpleType name="ZipCode"> 236 + <xs:restriction base="xs:string"> 237 + <xs:pattern value="[A-Z0-9\-]+"/> 238 + <xs:maxLength value="9"/> 239 + </xs:restriction> 240 + </xs:simpleType> 241 + <xs:simpleType name="VatNumber"> 242 + <xs:restriction base="xs:string"> 243 + <xs:pattern value="[A-Z]{2}.*"/> 244 + <xs:minLength value="7"/> 245 + <xs:maxLength value="14"/> 246 + </xs:restriction> 247 + </xs:simpleType> 248 + <xs:simpleType name="String50"> 249 + <xs:restriction base="xs:string"> 250 + <xs:maxLength value="50"/> 251 + </xs:restriction> 252 + </xs:simpleType> 253 + <xs:complexType name="Address"> 254 + <xs:sequence> 255 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 256 + <xs:annotation> 257 + <xs:documentation>Current full name of addressee</xs:documentation> 258 + </xs:annotation> 259 + </xs:element> 260 + <xs:element name="StreetAddress" type="NameAddressString72" minOccurs="0" maxOccurs="1" nillable="false"> 261 + <xs:annotation> 262 + <xs:documentation>Current street address</xs:documentation> 263 + </xs:annotation> 264 + </xs:element> 265 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 266 + <xs:annotation> 267 + <xs:documentation>Current zip code</xs:documentation> 268 + </xs:annotation> 269 + </xs:element> 270 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 271 + <xs:annotation> 272 + <xs:documentation>Current city</xs:documentation> 273 + </xs:annotation> 274 + </xs:element> 275 + <xs:element name="CoAddress" type="NameAddressString72" minOccurs="0" maxOccurs="1" nillable="false"> 276 + <xs:annotation> 277 + <xs:documentation>If exists current care of address</xs:documentation> 278 + </xs:annotation> 279 + </xs:element> 280 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 281 + <xs:annotation> 282 + <xs:documentation>Current countrycode</xs:documentation> 283 + </xs:annotation> 284 + </xs:element> 285 + </xs:sequence> 286 + <xs:attribute name="AddressType" type="AddressType" use="required"> 287 + <xs:annotation> 288 + <xs:documentation>Type of address</xs:documentation> 289 + </xs:annotation> 290 + </xs:attribute> 291 + </xs:complexType> 292 + <xs:complexType name="ConsentEvent"> 293 + <xs:sequence> 294 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 295 + <xs:annotation> 296 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 297 + </xs:annotation> 298 + </xs:element> 299 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 300 + <xs:annotation> 301 + <xs:documentation>The date when the event occurred</xs:documentation> 302 + </xs:annotation> 303 + </xs:element> 304 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 305 + <xs:annotation> 306 + <xs:documentation>The state of the consent due to the event</xs:documentation> 307 + </xs:annotation> 308 + </xs:element> 309 + </xs:sequence> 310 + </xs:complexType> 311 + <xs:simpleType name="ConsentType"> 312 + <xs:restriction base="xs:string"> 313 + <xs:enumeration value="BGAGSE"> 314 + <xs:annotation> 315 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 316 + </xs:annotation> 317 + </xs:enumeration> 318 + <xs:enumeration value="EInvoiceB2CSE"> 319 + <xs:annotation> 320 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 321 + </xs:annotation> 322 + </xs:enumeration> 323 + <xs:enumeration value="BKAGNO"> 324 + <xs:annotation> 325 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 326 + </xs:annotation> 327 + </xs:enumeration> 328 + <xs:enumeration value="EInvoiceB2CNO"> 329 + <xs:annotation> 330 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 331 + </xs:annotation> 332 + </xs:enumeration> 333 + <xs:enumeration value="KivraSE"> 334 + <xs:annotation> 335 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 336 + </xs:annotation> 337 + </xs:enumeration> 338 + <xs:enumeration value="EInvoiceB2CFI"> 339 + <xs:annotation> 340 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 341 + </xs:annotation> 342 + </xs:enumeration> 343 + <xs:enumeration value="EInvoice20B2CNO"> 344 + <xs:annotation> 345 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 346 + </xs:annotation> 347 + </xs:enumeration> 348 + <xs:enumeration value="AGDK"> 349 + <xs:annotation> 350 + <xs:documentation>Refers to Danish direct debit consent.</xs:documentation> 351 + </xs:annotation> 352 + </xs:enumeration> 353 + <xs:enumeration value="PSPRecurringCardConsent"> 354 + <xs:annotation> 355 + <xs:documentation>Refers to a PSPRecurringCardConsent</xs:documentation> 356 + </xs:annotation> 357 + </xs:enumeration> 358 + <xs:enumeration value="eBoks"> 359 + <xs:annotation> 360 + <xs:documentation>Refers to a eBoks digital distribution consent.</xs:documentation> 361 + </xs:annotation> 362 + </xs:enumeration> 363 + </xs:restriction> 364 + </xs:simpleType> 365 + <xs:simpleType name="ConsentStatus"> 366 + <xs:restriction base="xs:string"> 367 + <xs:enumeration value="Active"> 368 + <xs:annotation> 369 + <xs:documentation>The consent has been activated</xs:documentation> 370 + </xs:annotation> 371 + </xs:enumeration> 372 + <xs:enumeration value="Cancelled"> 373 + <xs:annotation> 374 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 375 + </xs:annotation> 376 + </xs:enumeration> 377 + </xs:restriction> 378 + </xs:simpleType> 379 + <xs:complexType name="CustomerStatusEvent"> 380 + <xs:sequence> 381 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 382 + <xs:annotation> 383 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 384 + </xs:annotation> 385 + </xs:element> 386 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 387 + <xs:annotation> 388 + <xs:documentation>The date when the event occurred</xs:documentation> 389 + </xs:annotation> 390 + </xs:element> 391 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 392 + <xs:annotation> 393 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 394 + </xs:annotation> 395 + </xs:element> 396 + <xs:element name="CustomerNo" type="xs:string" maxOccurs="1" minOccurs="0" nillable="true"> 397 + <xs:annotation> 398 + <xs:documentation>CustomerNo is set when CustomerStatusType is CustomerDeleted</xs:documentation> 399 + </xs:annotation> 400 + </xs:element> 401 + </xs:sequence> 402 + </xs:complexType> 403 + <xs:complexType name="CustomerNotificationEvent"> 404 + <xs:sequence> 405 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 406 + <xs:annotation> 407 + <xs:documentation>Reason for notification.</xs:documentation> 408 + </xs:annotation> 409 + </xs:element> 410 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 411 + <xs:annotation> 412 + <xs:documentation>The date when the event occurred</xs:documentation> 413 + </xs:annotation> 414 + </xs:element> 415 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 416 + <xs:annotation> 417 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 418 + </xs:annotation> 419 + </xs:element> 420 + </xs:sequence> 421 + </xs:complexType> 422 + <xs:simpleType name="NotificationType"> 423 + <xs:restriction base="xs:string"> 424 + <xs:enumeration value="DisbursementReturn"> 425 + <xs:annotation> 426 + <xs:documentation>Failed disbursement</xs:documentation> 427 + </xs:annotation> 428 + </xs:enumeration> 429 + </xs:restriction> 430 + </xs:simpleType> 431 + <xs:simpleType name="Money"> 432 + <xs:restriction base="xs:decimal"> 433 + <xs:fractionDigits value="2"/> 434 + <xs:minInclusive value="-100000000"/> 435 + <xs:maxInclusive value="100000000"/> 436 + </xs:restriction> 437 + </xs:simpleType> 438 + <xs:simpleType name="CustomerStatusType"> 439 + <xs:restriction base="xs:string"> 440 + <xs:enumeration value="Deceased"> 441 + <xs:annotation> 442 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 443 + </xs:annotation> 444 + </xs:enumeration> 445 + <xs:enumeration value="BarringLevel"> 446 + <xs:annotation> 447 + <xs:documentation>A status type that can be set on consumers based on current claimlevels</xs:documentation> 448 + </xs:annotation> 449 + </xs:enumeration> 450 + <xs:enumeration value="Deleted"> 451 + <xs:annotation> 452 + <xs:documentation>The customer has been deleted</xs:documentation> 453 + </xs:annotation> 454 + </xs:enumeration> 455 + <xs:enumeration value="DeleteOrderReceived"> 456 + <xs:annotation> 457 + <xs:documentation>The customer is marked for deletion, indicating that the customer will be deleted when possible</xs:documentation> 458 + </xs:annotation> 459 + </xs:enumeration> 460 + </xs:restriction> 461 + </xs:simpleType> 462 + <xs:simpleType name="CustomerStatus"> 463 + <xs:restriction base="xs:string"> 464 + <xs:enumeration value="Active"> 465 + <xs:annotation> 466 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 467 + </xs:annotation> 468 + </xs:enumeration> 469 + <xs:enumeration value="Cancelled"> 470 + <xs:annotation> 471 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 472 + </xs:annotation> 473 + </xs:enumeration> 474 + </xs:restriction> 475 + </xs:simpleType> 476 + <xs:simpleType name="AddressType"> 477 + <xs:restriction base="xs:string"> 478 + <xs:enumeration value="LegalAddress"> 479 + <xs:annotation> 480 + <xs:documentation>Refers to the customers legal address</xs:documentation> 481 + </xs:annotation> 482 + </xs:enumeration> 483 + <xs:enumeration value="BillingAddress"> 484 + <xs:annotation> 485 + <xs:documentation>Refers to a possible billing address</xs:documentation> 486 + </xs:annotation> 487 + </xs:enumeration> 488 + </xs:restriction> 489 + </xs:simpleType> 490 + <xs:simpleType name="String10"> 491 + <xs:restriction base="PXString"> 492 + <xs:maxLength value="10"/> 493 + </xs:restriction> 494 + </xs:simpleType> 495 + <xs:simpleType name="String30"> 496 + <xs:restriction base="PXString"> 497 + <xs:maxLength value="30"/> 498 + </xs:restriction> 499 + </xs:simpleType> 500 + <xs:simpleType name="String25"> 501 + <xs:restriction base="PXString"> 502 + <xs:maxLength value="25"/> 503 + </xs:restriction> 504 + </xs:simpleType> 505 + <xs:simpleType name="NameAddressString72"> 506 + <xs:restriction base="PXNameAddressString"> 507 + <xs:minLength value="1"/> 508 + <xs:maxLength value="72"/> 509 + </xs:restriction> 510 + </xs:simpleType> 511 + <xs:simpleType name="NameAddressString27"> 512 + <xs:restriction base="PXNameAddressString"> 513 + <xs:minLength value="1"/> 514 + <xs:maxLength value="27"/> 515 + </xs:restriction> 516 + </xs:simpleType> 517 + <xs:simpleType name="PXString"> 518 + <xs:restriction base="xs:string"> 519 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*"/> 520 + <xs:minLength value="1"/> 521 + </xs:restriction> 522 + </xs:simpleType> 523 + <xs:simpleType name="PXNameAddressString"> 524 + <xs:restriction base="xs:string"> 525 + <xs:pattern value="[a-zA-Z0-9À-ɏЀ-ӿḀ-ỿ_:!;"#<>=?\[\]@{}´ %'-/&]*"/> 526 + </xs:restriction> 527 + </xs:simpleType> 528 + <xs:complexType name="RegNo"> 529 + <xs:simpleContent> 530 + <xs:extension base="String15"> 531 + <xs:attribute name="CountryCode" type="ISO3166" use="required"/> 532 + </xs:extension> 533 + </xs:simpleContent> 534 + </xs:complexType> 535 + <xs:simpleType name="LegalEntity"> 536 + <xs:restriction base="xs:string"> 537 + <xs:enumeration value="Private"/> 538 + <xs:enumeration value="Business"/> 539 + </xs:restriction> 540 + </xs:simpleType> 541 +</xs:schema>