Changes for page Technical reference
Last modified by Fredrik Nilsson on 2023/05/26 13:37
From empty
To version 135.1
edited by Fredrik Nilsson
on 2023/05/26 13:37
on 2023/05/26 13:37
Change comment: There is no comment for this version
Summary
-
Page properties (6 modified, 0 added, 0 removed)
-
Attachments (0 modified, 45 added, 0 removed)
- BillJournal_[1.XX].xsd
- ARRCP_[1.X].xsd
- R1000-0001_0.pdf
- R1000-0001_2.pdf
- ARRCP01_367_20191030093023_0[CUSIN_367_20190911090044_93.xml].XML
- CustomerContract_[1.X].xsd
- ERRCUSIN_367_20191030093754_0[CUSIN_367_20190911090044_93.xml].XML
- ARAccounting_[1.X].xsd
- ArAccounting10_141414_20210827073340_0.XML
- CustomerJournal_[1.X].xsd
- CUSIN_367_20190911090045_93.xml
- CustomerJournal_367_20191030141104_422.XML
- SIE_filformat_ver_4B_ENGLISH.pdf
- ARAccountingDetail_12345_20170419095509_122.xml
- ARAccountingDetail_367_20191207140426_516.XML
- FileResponse_[1.X].xsd
- BillJournal_[1.211].xsd
- AccountJournal_[1.1].xsd
- AccountJournal_[1.2].xsd
- CUSIN_[2.0].xsd
- ARAccountingDetail_[1.X].xsd
- CUSIN_[2.1].xsd
- CUSIN_[2.2].xsd
- viewXSD.xsl
- BillJournal_[1.0].xsd
- BillJournal_[1.2].xsd
- BillJournal_367_20191030142104_439.XML
- ERRCUSIN_367_20191030093613_0[CUSIN_367_20190911090044_93.xml].XML
- ContractBilling_[1.X].xsd
- ARRCP01_367_20191030093755_0[CUSIN_367_20190911090044_93.xml].XML
- BillJournal[1.2].xsd
- ARRCP01_367_20191030093613_0[CUSIN_367_20190911090044_93.xml].XML
- FileResponse[1.0].doc
- SIE_filformat_ver_4B_SVENSKA.pdf
- CUSIN_[2.X].xsd
- ARRCP_[1.0].xsd
- ContractBilling_[1.0] .xsd
- BillJournal_[1.X].xsd
- CustomerJournal_[1.0].xsd
- CustomerJournal_[1.1].xsd
- CustomerJournal_[1.2].xsd
- CustomerJournal_[1.3].xsd
- CustomerJournal_[1.4].xsd
- SIE4I_10_20161214093949_0[SEK_Claimant_BAS 2000].SI
- CustomerJournal_[1.5].xsd
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +Technical reference - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +developer:Main.Invoicing.Ledger Service.Implementation guide.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 - XWiki.XWikiGuest1 +xwiki:XWiki.frn - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Tags
-
... ... @@ -1,0 +1,1 @@ 1 +px-custom-page-content - Content
-
... ... @@ -1,0 +1,21 @@ 1 += Introduction = 2 + 3 +(% class="jumbotron" %) 4 +((( 5 +(% class="container" %) 6 +((( 7 +The technical reference section covers file references and record descriptions for Ledger Service. 8 +))) 9 +))) 10 + 11 +== Ledger Service through CUSIN file format == 12 + 13 +Access file reference, record descriptions and [[receipt >>doc:.2\. Receipt.WebHome]]and [[errorlog >>doc:.3\. Errorlog.WebHome]]for the XML based [[CUSIN >>doc:.1\. Cusin.WebHome]]file format, used for PayEx Invoice Service. 14 + 15 +== Response files == 16 + 17 +Access file reference, record descriptions for the [[Bill Journal>>doc:.4\. BillJournal.WebHome]] and the [[Customer Journal>>doc:.5\. CustomerJournal.WebHome]]. 18 + 19 +== Accounting and Disbursement == 20 + 21 +Access file reference, record descriptions for the bookkeeping data and [[Balance Report>>doc:.8\. BalanceReport.WebHome]]. The [[ARccounting>>doc:.6\. ARAccountingDetail.WebHome]] describe the bookkeeping data on a transactional level.
- BillJournal_[1.XX].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.2 KB - Content
-
... ... @@ -1,0 +1,449 @@ 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="BillJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="BillJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an invoice.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="InvoiceNo" type="InvoiceIdentifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>InvoiceNo is your unique invoice identifier in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 18 + <xs:annotation> 19 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="InvoiceClaimEvents" minOccurs="0" maxOccurs="1"> 23 + <xs:annotation> 24 + <xs:documentation>Containing claim events on an invoice.</xs:documentation> 25 + </xs:annotation> 26 + <xs:complexType> 27 + <xs:sequence> 28 + <xs:element name="InvoiceClaimEvent" type="InvoiceClaimEvent" minOccurs="1" maxOccurs="unbounded"> 29 + <xs:annotation> 30 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 31 + </xs:annotation> 32 + </xs:element> 33 + </xs:sequence> 34 + </xs:complexType> 35 + </xs:element> 36 + <xs:element name="InvoiceStatusEvents" minOccurs="0" maxOccurs="1"> 37 + <xs:annotation> 38 + <xs:documentation>Containing status events on an invoice.</xs:documentation> 39 + </xs:annotation> 40 + <xs:complexType> 41 + <xs:sequence> 42 + <xs:element name="InvoiceStatusEvent" type="InvoiceStatusEvent" minOccurs="1" maxOccurs="unbounded"> 43 + <xs:annotation> 44 + <xs:documentation>Contains an invoice status event.</xs:documentation> 45 + </xs:annotation> 46 + </xs:element> 47 + </xs:sequence> 48 + </xs:complexType> 49 + </xs:element> 50 + <xs:element name="InvoiceClaimProcessPauseEvents" minOccurs="0" maxOccurs="1"> 51 + <xs:annotation> 52 + <xs:documentation>Containing claim process pause events on an invoice.</xs:documentation> 53 + </xs:annotation> 54 + <xs:complexType> 55 + <xs:sequence> 56 + <xs:element name="InvoiceClaimProcessPauseEvent" type="InvoiceClaimProcessPauseEvent" minOccurs="1" maxOccurs="unbounded"> 57 + <xs:annotation> 58 + <xs:documentation>Contains an invoice claim process pause event</xs:documentation> 59 + </xs:annotation> 60 + </xs:element> 61 + </xs:sequence> 62 + </xs:complexType> 63 + </xs:element> 64 + <xs:element name="InvoiceComplaintEvents" minOccurs="0" maxOccurs="1"> 65 + <xs:annotation> 66 + <xs:documentation>Containing complaint events on an invoice.</xs:documentation> 67 + </xs:annotation> 68 + <xs:complexType> 69 + <xs:sequence> 70 + <xs:element name="InvoiceComplaintEvent" type="InvoiceComplaintEvent" minOccurs="1" maxOccurs="unbounded"> 71 + <xs:annotation> 72 + <xs:documentation>Contains an invoice complaint event</xs:documentation> 73 + </xs:annotation> 74 + </xs:element> 75 + </xs:sequence> 76 + </xs:complexType> 77 + </xs:element> 78 + <xs:element name="InvoiceNotificationEvents" minOccurs="0" maxOccurs="1"> 79 + <xs:annotation> 80 + <xs:documentation>Containing Notification events on an invoice.</xs:documentation> 81 + </xs:annotation> 82 + <xs:complexType> 83 + <xs:sequence> 84 + <xs:element name="InvoiceNotificationEvent" type="InvoiceNotificationEvent" minOccurs="1" maxOccurs="unbounded"> 85 + <xs:annotation> 86 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 87 + </xs:annotation> 88 + </xs:element> 89 + </xs:sequence> 90 + </xs:complexType> 91 + </xs:element> 92 + </xs:sequence> 93 + </xs:complexType> 94 + </xs:element> 95 + </xs:sequence> 96 + <xs:attribute name="Version" type="Version" use="required"> 97 + <xs:annotation> 98 + <xs:documentation>Versions supported by this schema</xs:documentation> 99 + </xs:annotation> 100 + </xs:attribute> 101 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 102 + <xs:annotation> 103 + <xs:documentation>The date and time when the file was created</xs:documentation> 104 + </xs:annotation> 105 + </xs:attribute> 106 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 107 + <xs:annotation> 108 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 109 + </xs:annotation> 110 + </xs:attribute> 111 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 112 + <xs:annotation> 113 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 114 + </xs:annotation> 115 + </xs:attribute> 116 + </xs:complexType> 117 + </xs:element> 118 + <xs:simpleType name="Identifier15"> 119 + <xs:restriction base="xs:string"> 120 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 121 + <xs:minLength value="1" /> 122 + <xs:maxLength value="15" /> 123 + </xs:restriction> 124 + </xs:simpleType> 125 + <xs:simpleType name="ISO3166"> 126 + <xs:restriction base="xs:string"> 127 + <xs:pattern value="[A-Z]*" /> 128 + <xs:minLength value="2" /> 129 + <xs:maxLength value="2" /> 130 + </xs:restriction> 131 + </xs:simpleType> 132 + <xs:simpleType name="CompanyNumber"> 133 + <xs:restriction base="xs:string"> 134 + <xs:pattern value="[0-9]*" /> 135 + <xs:minLength value="1" /> 136 + <xs:maxLength value="15" /> 137 + </xs:restriction> 138 + </xs:simpleType> 139 + <xs:simpleType name="ISO639"> 140 + <xs:restriction base="PXString"> 141 + <xs:enumeration value="SV" /> 142 + <xs:enumeration value="NO" /> 143 + <xs:enumeration value="DA" /> 144 + <xs:enumeration value="FI" /> 145 + <xs:enumeration value="EN" /> 146 + </xs:restriction> 147 + </xs:simpleType> 148 + <xs:simpleType name="String35"> 149 + <xs:restriction base="PXString"> 150 + <xs:maxLength value="35" /> 151 + </xs:restriction> 152 + </xs:simpleType> 153 + <xs:simpleType name="Email"> 154 + <xs:restriction base="PXString"> 155 + <xs:maxLength value="60" /> 156 + </xs:restriction> 157 + </xs:simpleType> 158 + <xs:simpleType name="String15"> 159 + <xs:restriction base="PXString"> 160 + <xs:maxLength value="15" /> 161 + </xs:restriction> 162 + </xs:simpleType> 163 + <xs:simpleType name="ZipCode"> 164 + <xs:restriction base="xs:string"> 165 + <xs:pattern value="[A-Z0-9\-]+" /> 166 + <xs:maxLength value="9" /> 167 + </xs:restriction> 168 + </xs:simpleType> 169 + <xs:simpleType name="VatNumber"> 170 + <xs:restriction base="xs:string"> 171 + <xs:pattern value="[A-Z]{2}.*" /> 172 + <xs:minLength value="7" /> 173 + <xs:maxLength value="14" /> 174 + </xs:restriction> 175 + </xs:simpleType> 176 + <xs:simpleType name="String50"> 177 + <xs:restriction base="xs:string"> 178 + <xs:maxLength value="50" /> 179 + </xs:restriction> 180 + </xs:simpleType> 181 + <xs:complexType name="InvoiceClaimEvent"> 182 + <xs:sequence> 183 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 184 + <xs:annotation> 185 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 186 + </xs:annotation> 187 + </xs:element> 188 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 189 + <xs:annotation> 190 + <xs:documentation>The date when the event occurred.</xs:documentation> 191 + </xs:annotation> 192 + </xs:element> 193 + <xs:element name="BillAmount" type="BillAmount" maxOccurs="1" minOccurs="1" nillable="false"> 194 + <xs:annotation> 195 + <xs:documentation>The claim amount at the time of the claimevent.</xs:documentation> 196 + </xs:annotation> 197 + </xs:element> 198 + </xs:sequence> 199 + </xs:complexType> 200 + <xs:complexType name="InvoiceStatusEvent"> 201 + <xs:sequence> 202 + <xs:element name="InvoiceStatus" type="eInvoiceStatus" minOccurs="1" maxOccurs="1" nillable="false"> 203 + <xs:annotation> 204 + <xs:documentation>Type of status event from enumeration.</xs:documentation> 205 + </xs:annotation> 206 + </xs:element> 207 + <xs:element name="InvoiceSubStatus" type="eInvoiceSubStatus" minOccurs="0" maxOccurs="1"> 208 + <xs:annotation> 209 + <xs:documentation>Used to clarify why the InvoiceStatus is set. Reasons is listed in the enumeration eInvoiceSubStatus.</xs:documentation> 210 + </xs:annotation> 211 + </xs:element> 212 + <xs:element name="StatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 213 + <xs:annotation> 214 + <xs:documentation>The date when the event occurred</xs:documentation> 215 + </xs:annotation> 216 + </xs:element> 217 + </xs:sequence> 218 + </xs:complexType> 219 + <xs:complexType name="InvoiceClaimProcessPauseEvent"> 220 + <xs:sequence> 221 + <xs:element name="ClaimProcessPauseEvent" type="eClaimProcessPauseEventType" minOccurs="1" maxOccurs="1" nillable="false"> 222 + <xs:annotation> 223 + <xs:documentation>Type of claim process pause event from enumeration.</xs:documentation> 224 + </xs:annotation> 225 + </xs:element> 226 + <xs:element name="ClaimProcessPauseEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 227 + <xs:annotation> 228 + <xs:documentation>The date when the event occurred</xs:documentation> 229 + </xs:annotation> 230 + </xs:element> 231 + <xs:element name="ValidToDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="false"> 232 + <xs:annotation> 233 + <xs:documentation>If exists, the date to which the claim process pause is valid to.</xs:documentation> 234 + </xs:annotation> 235 + </xs:element> 236 + </xs:sequence> 237 + </xs:complexType> 238 + <xs:complexType name="InvoiceComplaintEvent"> 239 + <xs:sequence> 240 + <xs:element name="ComplaintStatus" type="eComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false"> 241 + <xs:annotation> 242 + <xs:documentation>Type of complaint status from enumeration.</xs:documentation> 243 + </xs:annotation> 244 + </xs:element> 245 + <xs:element name="ComplaintEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 246 + <xs:annotation> 247 + <xs:documentation>The date when the event occurred</xs:documentation> 248 + </xs:annotation> 249 + </xs:element> 250 + </xs:sequence> 251 + </xs:complexType> 252 + <xs:complexType name="InvoiceNotificationEvent"> 253 + <xs:sequence> 254 + <xs:element name="NotificationType" type="eNotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 255 + <xs:annotation> 256 + <xs:documentation>Type of Notification event from enumeration.</xs:documentation> 257 + </xs:annotation> 258 + </xs:element> 259 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 260 + <xs:annotation> 261 + <xs:documentation>The date when the event occurred.</xs:documentation> 262 + </xs:annotation> 263 + </xs:element> 264 + </xs:sequence> 265 + </xs:complexType> 266 + <xs:complexType name="BillAmount"> 267 + <xs:sequence> 268 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 269 + </xs:sequence> 270 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 271 + </xs:complexType> 272 + <xs:simpleType name="eClaimProcessPauseEventType"> 273 + <xs:restriction base="xs:string"> 274 + <xs:enumeration value="Stop"> 275 + <xs:annotation> 276 + <xs:documentation>The claim is stopped for further claim process steps until stop is removed.</xs:documentation> 277 + </xs:annotation> 278 + </xs:enumeration> 279 + <xs:enumeration value="Respite"> 280 + <xs:annotation> 281 + <xs:documentation>The claim is stopped for further claimprocess steps until valid to data of respite or respite is removed.</xs:documentation> 282 + </xs:annotation> 283 + </xs:enumeration> 284 + <xs:enumeration value="StopRemoved"> 285 + <xs:annotation> 286 + <xs:documentation>Stop has been removed from claim.</xs:documentation> 287 + </xs:annotation> 288 + </xs:enumeration> 289 + <xs:enumeration value="RespiteRemoved"> 290 + <xs:annotation> 291 + <xs:documentation>Respite has been removed fro claim</xs:documentation> 292 + </xs:annotation> 293 + </xs:enumeration> 294 + </xs:restriction> 295 + </xs:simpleType> 296 + <xs:simpleType name="eComplaintStatus"> 297 + <xs:restriction base="xs:string"> 298 + <xs:enumeration value="ComplaintReceived"> 299 + <xs:annotation> 300 + <xs:documentation>Complaint has been registered</xs:documentation> 301 + </xs:annotation> 302 + </xs:enumeration> 303 + <xs:enumeration value="ComplaintResolved"> 304 + <xs:annotation> 305 + <xs:documentation>Complaint has been resolved</xs:documentation> 306 + </xs:annotation> 307 + </xs:enumeration> 308 + </xs:restriction> 309 + </xs:simpleType> 310 + <xs:simpleType name="eInvoiceStatus"> 311 + <xs:restriction base="xs:string"> 312 + <xs:enumeration value="Closed"> 313 + <xs:annotation> 314 + <xs:documentation>Status of the invoice in the accounts receivable has been set to closed</xs:documentation> 315 + </xs:annotation> 316 + </xs:enumeration> 317 + <xs:enumeration value="Rest"> 318 + <xs:annotation> 319 + <xs:documentation>Status of the invoice in the accounts receivable has been set to rest, meaning that remaing amount to settle is below or egual to configured amount.</xs:documentation> 320 + </xs:annotation> 321 + </xs:enumeration> 322 + </xs:restriction> 323 + </xs:simpleType> 324 + <xs:simpleType name="eClaimEvent"> 325 + <xs:restriction base="xs:string"> 326 + <xs:enumeration value="ReminderSent"> 327 + <xs:annotation> 328 + <xs:documentation>An invoice reminder has been sent to the customer</xs:documentation> 329 + </xs:annotation> 330 + </xs:enumeration> 331 + <xs:enumeration value="SecondReminderSent"> 332 + <xs:annotation> 333 + <xs:documentation>A second invoice reminder has been sent to the customer</xs:documentation> 334 + </xs:annotation> 335 + </xs:enumeration> 336 + <xs:enumeration value="CollectionClaimSent"> 337 + <xs:annotation> 338 + <xs:documentation>A collection claim has been sent to the customer</xs:documentation> 339 + </xs:annotation> 340 + </xs:enumeration> 341 + <xs:enumeration value="RestReminderSent"> 342 + <xs:annotation> 343 + <xs:documentation>A reminder including only interest and fees has been sent to the customer</xs:documentation> 344 + </xs:annotation> 345 + </xs:enumeration> 346 + <xs:enumeration value="DebtCollection"> 347 + <xs:annotation> 348 + <xs:documentation>The invoice has been transferred to collection</xs:documentation> 349 + </xs:annotation> 350 + </xs:enumeration> 351 + </xs:restriction> 352 + </xs:simpleType> 353 + <xs:simpleType name="eNotificationType"> 354 + <xs:restriction base="xs:string"> 355 + <xs:enumeration value="PreDueDate"> 356 + <xs:annotation> 357 + <xs:documentation>Notification before the invoice due date</xs:documentation> 358 + </xs:annotation> 359 + </xs:enumeration> 360 + <xs:enumeration value="PreReminder"> 361 + <xs:annotation> 362 + <xs:documentation>Notification before the reminder is sent</xs:documentation> 363 + </xs:annotation> 364 + </xs:enumeration> 365 + <xs:enumeration value="PreCollectionClaim"> 366 + <xs:annotation> 367 + <xs:documentation>Notification before the collection claim is sent</xs:documentation> 368 + </xs:annotation> 369 + </xs:enumeration> 370 + </xs:restriction> 371 + </xs:simpleType> 372 + <xs:simpleType name="eCurrencyType"> 373 + <xs:restriction base="xs:string"> 374 + <xs:enumeration value="SEK" /> 375 + <xs:enumeration value="NOK" /> 376 + <xs:enumeration value="DKK" /> 377 + <xs:enumeration value="EUR" /> 378 + </xs:restriction> 379 + </xs:simpleType> 380 + <xs:simpleType name="eInvoiceSubStatus"> 381 + <xs:restriction base="xs:string"> 382 + <xs:enumeration value="Sold" > 383 + <xs:annotation> 384 + <xs:documentation>The invoice has been sold to another part</xs:documentation> 385 + </xs:annotation> 386 + </xs:enumeration> 387 + <xs:enumeration value="Loss" > 388 + <xs:annotation> 389 + <xs:documentation>Indicates that the invoice has been credited with loss</xs:documentation> 390 + </xs:annotation> 391 + </xs:enumeration> 392 + <xs:enumeration value="Converted" > 393 + <xs:annotation> 394 + <xs:documentation>The invoice has been converted to a credit account</xs:documentation> 395 + </xs:annotation> 396 + </xs:enumeration> 397 + <xs:enumeration value="Diff" > 398 + <xs:annotation> 399 + <xs:documentation>The invoice has been closed after having been listed (status Rest) for a certain time</xs:documentation> 400 + </xs:annotation> 401 + </xs:enumeration> 402 + <xs:enumeration value="Reversal"> 403 + <xs:annotation> 404 + <xs:documentation>The invoice has been fully credited or a chargeback has been made</xs:documentation> 405 + </xs:annotation> 406 + </xs:enumeration> 407 + </xs:restriction> 408 + </xs:simpleType> 409 + <xs:simpleType name="Version"> 410 + <xs:restriction base="xs:string"> 411 + <xs:enumeration value="1.0"/> 412 + <xs:enumeration value="1.1"/> 413 + </xs:restriction> 414 + </xs:simpleType> 415 + <xs:simpleType name="Money"> 416 + <xs:restriction base="xs:decimal"> 417 + <xs:fractionDigits value="2" /> 418 + <xs:minInclusive value="-100000000" /> 419 + <xs:maxInclusive value="100000000" /> 420 + </xs:restriction> 421 + </xs:simpleType> 422 + <xs:simpleType name="String10"> 423 + <xs:restriction base="PXString"> 424 + <xs:maxLength value="10" /> 425 + </xs:restriction> 426 + </xs:simpleType> 427 + <xs:simpleType name="String30"> 428 + <xs:restriction base="PXString"> 429 + <xs:maxLength value="30" /> 430 + </xs:restriction> 431 + </xs:simpleType> 432 + <xs:simpleType name="String25"> 433 + <xs:restriction base="PXString"> 434 + <xs:maxLength value="25" /> 435 + </xs:restriction> 436 + </xs:simpleType> 437 + <xs:simpleType name="InvoiceIdentifier15"> 438 + <xs:restriction base="xs:string"> 439 + <xs:pattern value="[A-Za-z0-9\-]+" /> 440 + <xs:maxLength value="15" /> 441 + </xs:restriction> 442 + </xs:simpleType> 443 + <xs:simpleType name="PXString"> 444 + <xs:restriction base="xs:string"> 445 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 446 + <xs:minLength value="1" /> 447 + </xs:restriction> 448 + </xs:simpleType> 449 +</xs:schema>
- ARRCP_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.2 KB - Content
-
... ... @@ -1,0 +1,76 @@ 1 +<?xml version="1.0" encoding="UTF-8"?> 2 +<!-- edited with XMLSpy v2017 sp2 (x64) (http://www.altova.com) by Magnus (Mattsson) --> 3 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> 4 + <xs:element name="ActivityResults"> 5 + <xs:annotation> 6 + <xs:documentation>Activity results produced by a file process.</xs:documentation> 7 + </xs:annotation> 8 + <xs:complexType> 9 + <xs:sequence> 10 + <xs:element name="Activity" minOccurs="1" maxOccurs="1"> 11 + <xs:complexType> 12 + <xs:sequence> 13 + <xs:element name="ResultParameters" minOccurs="1" maxOccurs="1"> 14 + <xs:annotation> 15 + <xs:documentation>List of parameters. Each activity, identifed by activity name, has its individual set of result parameters.</xs:documentation> 16 + </xs:annotation> 17 + <xs:complexType> 18 + <xs:sequence> 19 + <xs:element name="Parameter" minOccurs="1" maxOccurs="unbounded"> 20 + <xs:complexType> 21 + <xs:simpleContent> 22 + <xs:extension base="xsd:string"> 23 + <xs:attribute name="Unit" type="xs:string"> 24 + <xs:annotation> 25 + <xs:documentation>Optional unit, e.g currency "SEK" if the parameter is an amount.</xs:documentation> 26 + </xs:annotation> 27 + </xs:attribute> 28 + <xs:attribute name="Name" type="xs:string" use="required"> 29 + <xs:annotation> 30 + <xs:documentation>Name of the parameter.</xs:documentation> 31 + </xs:annotation> 32 + </xs:attribute> 33 + </xs:extension> 34 + </xs:simpleContent> 35 + </xs:complexType> 36 + </xs:element> 37 + </xs:sequence> 38 + </xs:complexType> 39 + </xs:element> 40 + </xs:sequence> 41 + <xs:attribute name="ProcessId" type="xs:long"> 42 + <xs:annotation> 43 + <xs:documentation>PayEx process id. Used for tracking.</xs:documentation> 44 + </xs:annotation> 45 + </xs:attribute> 46 + <xs:attribute name="Name" type="xs:string"> 47 + <xs:annotation> 48 + <xs:documentation>Name of the activity.</xs:documentation> 49 + </xs:annotation> 50 + </xs:attribute> 51 + </xs:complexType> 52 + </xs:element> 53 + </xs:sequence> 54 + <xs:attribute name="Version" type="xs:string" use="required" fixed="1.0"> 55 + <xs:annotation> 56 + <xs:documentation>Describes which version of the xsd the xml is validated against.</xs:documentation> 57 + </xs:annotation> 58 + </xs:attribute> 59 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 60 + <xs:annotation> 61 + <xs:documentation>Date and time when the file was created.</xs:documentation> 62 + </xs:annotation> 63 + </xs:attribute> 64 + <xs:attribute name="CompanyNo" type="xs:string" use="required"> 65 + <xs:annotation> 66 + <xs:documentation>Your accountsreceivablenumber at PayEx.</xs:documentation> 67 + </xs:annotation> 68 + </xs:attribute> 69 + <xs:attribute name="CompanyName" type="xs:string" use="required"> 70 + <xs:annotation> 71 + <xs:documentation>The name of your company/accountsreceivable.</xs:documentation> 72 + </xs:annotation> 73 + </xs:attribute> 74 + </xs:complexType> 75 + </xs:element> 76 +</xs:schema>
- R1000-0001_0.pdf
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +282.3 KB - Content
- R1000-0001_2.pdf
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +135.9 KB - Content
- ARRCP01_367_20191030093023_0[CUSIN_367_20190911090044_93.xml].XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +928 bytes - Content
-
... ... @@ -1,0 +1,1 @@ 1 +<?xml version="1.0" encoding="utf-8"?><ActivityResults CompanyNo="367" CompanyName="PayEx Sverige AB" CreatedDateTime="2019-10-30T09:30:23" Version="1.0"><Activity Name="CUSIN" ProcessId="14403573"><ResultParameters><Parameter Name="FileName">CUSIN_367_20190911090044_93.xml</Parameter><Parameter Name="PassedXSDValidation">True</Parameter><Parameter Name="PreDistributionDate">2019-10-30</Parameter><Parameter Name="PreService">ARD1</Parameter><Parameter Name="PreStartOCRSeqNo" Unit="1">114323</Parameter><Parameter Name="NoOfCustomers">3</Parameter><Parameter Name="NoOfInvoices">3</Parameter><Parameter Name="TotalInvoiceAmount" Unit="SEK">148,00</Parameter><Parameter Name="TotalBillDistributions" Unit="PostalService">1</Parameter><Parameter Name="TotalBillDistributions" Unit="EMail">1</Parameter><Parameter Name="TotalBillDistributions" Unit="EInvoiceB2B">1</Parameter></ResultParameters></Activity></ActivityResults>
- CustomerContract_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.8 KB - Content
-
... ... @@ -1,0 +1,305 @@ 1 +<?xml version="1.0" encoding="utf-8"?> 2 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> 3 + <xs:element name="CustomerContract"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="CustomerInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="CustomerNo" type="Identifier15" nillable="false" minOccurs="1" maxOccurs="1"/> 10 + <xs:element name="CustomerInfo" minOccurs="1" maxOccurs="1"> 11 + <xs:complexType> 12 + <xs:sequence> 13 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1"/> 14 + <xs:element name="RegNo" type="RegNo" minOccurs="1" maxOccurs="1"/> 15 + <xs:element name="AddressInfo" minOccurs="1" maxOccurs="1"> 16 + <xs:complexType> 17 + <xs:sequence> 18 + <xs:element name="LegalAddress" type="Address" minOccurs="1" maxOccurs="1"/> 19 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1"/> 20 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1"/> 21 + </xs:sequence> 22 + </xs:complexType> 23 + </xs:element> 24 + <xs:element name="CustomerContracts" minOccurs="1" maxOccurs="1"> 25 + <xs:complexType> 26 + <xs:sequence> 27 + <xs:element name="NewContract" type="NewContract" minOccurs="0" maxOccurs="unbounded"/> 28 + <xs:element name="ExtendContract" type="ExtendContract" minOccurs="0" maxOccurs="unbounded"/> 29 + <xs:element name="CreditContract" type="CreditContract" minOccurs="0" maxOccurs="unbounded"/> 30 + </xs:sequence> 31 + </xs:complexType> 32 + </xs:element> 33 + </xs:sequence> 34 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional"/> 35 + </xs:complexType> 36 + </xs:element> 37 + </xs:sequence> 38 + </xs:complexType> 39 + </xs:element> 40 + </xs:sequence> 41 + <xs:attribute name="Version" type="Version" use="required"> 42 + <xs:annotation> 43 + <xs:documentation>Versions supported by this schema</xs:documentation> 44 + </xs:annotation> 45 + </xs:attribute> 46 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 47 + <xs:annotation> 48 + <xs:documentation>Date and time when the file was created</xs:documentation> 49 + </xs:annotation> 50 + </xs:attribute> 51 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required"/> 52 + <xs:attribute name="CompanyName" type="xs:string" use="required"/> 53 + </xs:complexType> 54 + </xs:element> 55 + <xs:simpleType name="Money"> 56 + <xs:restriction base="xs:decimal"> 57 + <xs:fractionDigits value="2"/> 58 + <xs:minInclusive value="0.01"/> 59 + <xs:maxInclusive value="100000"/> 60 + </xs:restriction> 61 + </xs:simpleType> 62 + <xs:complexType name="Amount"> 63 + <xs:sequence> 64 + <xs:element name="AmountInclVat" type="Money" nillable="false" minOccurs="1" maxOccurs="1"/> 65 + </xs:sequence> 66 + <xs:attribute name="Currency" type="eCurrencyType" use="required"/> 67 + </xs:complexType> 68 + <xs:complexType name="NewContract"> 69 + <xs:sequence> 70 + <xs:element name="ContractTransactionInfo" type="ContractTransactionInfo" nillable="false" minOccurs="1" maxOccurs="1"> 71 + <xs:annotation> 72 + <xs:documentation>Reference, identifyer etc. for the contracttransaction</xs:documentation> 73 + </xs:annotation> 74 + </xs:element> 75 + <xs:element name="Amount" type="Amount" nillable="false" minOccurs="1" maxOccurs="1"/> 76 + <xs:element name="ContractExpectedEndDate" type="xs:date" nillable="false" minOccurs="1" maxOccurs="1"> 77 + <xs:annotation> 78 + <xs:documentation>Expected duration of the contract</xs:documentation> 79 + </xs:annotation> 80 + </xs:element> 81 + <xs:element name="CreditCheckReference" type="String50" nillable="false" minOccurs="1" maxOccurs="1"> 82 + <xs:annotation> 83 + <xs:documentation>Reference to creditcheck decision</xs:documentation> 84 + </xs:annotation> 85 + </xs:element> 86 + </xs:sequence> 87 + </xs:complexType> 88 + <xs:complexType name="ExtendContract"> 89 + <xs:sequence> 90 + <xs:element name="ContractTransactionInfo" type="ContractTransactionInfo" nillable="false" minOccurs="1" maxOccurs="1"> 91 + <xs:annotation> 92 + <xs:documentation>Reference, identifyer etc. for the contracttransaction</xs:documentation> 93 + </xs:annotation> 94 + </xs:element> 95 + <xs:element name="Amount" type="Amount" nillable="false" minOccurs="1" maxOccurs="1"> 96 + <xs:annotation> 97 + <xs:documentation>Amount to extend contract with</xs:documentation> 98 + </xs:annotation> 99 + </xs:element> 100 + <xs:element name="ContractExpectedEndDate" type="xs:date" nillable="false" minOccurs="1" maxOccurs="1"> 101 + <xs:annotation> 102 + <xs:documentation>Expected duration of the contract</xs:documentation> 103 + </xs:annotation> 104 + </xs:element> 105 + <xs:element name="CreditCheckReference" type="String50" nillable="false" minOccurs="1" maxOccurs="1"> 106 + <xs:annotation> 107 + <xs:documentation>Reference to creditcheck decision</xs:documentation> 108 + </xs:annotation> 109 + </xs:element> 110 + </xs:sequence> 111 + </xs:complexType> 112 + <xs:complexType name="CreditContract"> 113 + <xs:sequence> 114 + <xs:element name="ContractTransactionInfo" type="ContractTransactionInfo" nillable="false" minOccurs="1" maxOccurs="1"> 115 + <xs:annotation> 116 + <xs:documentation>Reference, identifyer etc. for the contracttransaction</xs:documentation> 117 + </xs:annotation> 118 + </xs:element> 119 + <xs:element name="Amount" type="Amount" nillable="false" minOccurs="1" maxOccurs="1"/> 120 + </xs:sequence> 121 + </xs:complexType> 122 + <xs:complexType name="ContractTransactionInfo"> 123 + <xs:sequence> 124 + <xs:element name="ContractId" type="xs:unsignedInt" nillable="false" minOccurs="1" maxOccurs="1"> 125 + <xs:annotation> 126 + <xs:documentation>Unique identifier of each contract in the ledger</xs:documentation> 127 + </xs:annotation> 128 + </xs:element> 129 + <xs:element name="TransactionDate" type="xs:date" nillable="false" minOccurs="1" maxOccurs="1"> 130 + <xs:annotation> 131 + <xs:documentation>Date of the contract, contract extend or when the credit was issued depending of the type of transaction</xs:documentation> 132 + </xs:annotation> 133 + </xs:element> 134 + <xs:element name="TransactionId" type="String50" nillable="false" minOccurs="1" maxOccurs="1"> 135 + <xs:annotation> 136 + <xs:documentation>Unique identifier of all types of transactions (NewContract/ExtendContract/CreditTransaction) in the ledger</xs:documentation> 137 + </xs:annotation> 138 + </xs:element> 139 + </xs:sequence> 140 + </xs:complexType> 141 + <xs:simpleType name="Version"> 142 + <xs:restriction base="xs:string"> 143 + <xs:enumeration value="1.0"> 144 + <xs:annotation> 145 + <xs:documentation>Original version</xs:documentation> 146 + </xs:annotation> 147 + </xs:enumeration> 148 + </xs:restriction> 149 + </xs:simpleType> 150 + <xs:simpleType name="eCurrencyType"> 151 + <xs:restriction base="xs:string"> 152 + <xs:enumeration value="SEK"/> 153 + <xs:enumeration value="NOK"/> 154 + <xs:enumeration value="DKK"/> 155 + <xs:enumeration value="EUR"/> 156 + </xs:restriction> 157 + </xs:simpleType> 158 + <xs:simpleType name="Identifier15"> 159 + <xs:restriction base="xs:string"> 160 + <xs:minLength value="1"/> 161 + <xs:maxLength value="15"/> 162 + <xs:pattern value="[a-zA-Z0-9\-]*"/> 163 + </xs:restriction> 164 + </xs:simpleType> 165 + <xs:simpleType name="ISO3166"> 166 + <xs:restriction base="xs:string"> 167 + <xs:minLength value="2"/> 168 + <xs:maxLength value="2"/> 169 + <xs:pattern value="[A-Z]*"/> 170 + </xs:restriction> 171 + </xs:simpleType> 172 + <xs:simpleType name="CompanyNumber"> 173 + <xs:restriction base="xs:string"> 174 + <xs:minLength value="1"/> 175 + <xs:maxLength value="15"/> 176 + <xs:pattern value="[0-9]*"/> 177 + </xs:restriction> 178 + </xs:simpleType> 179 + <xs:simpleType name="String35"> 180 + <xs:restriction base="PXString"> 181 + <xs:maxLength value="35"/> 182 + </xs:restriction> 183 + </xs:simpleType> 184 + <xs:simpleType name="Email"> 185 + <xs:restriction base="PXString"> 186 + <xs:maxLength value="60"/> 187 + <xs:pattern value="[^@]+@[^\.]+\..+"/> 188 + </xs:restriction> 189 + </xs:simpleType> 190 + <xs:simpleType name="String15"> 191 + <xs:restriction base="PXString"> 192 + <xs:maxLength value="15"/> 193 + </xs:restriction> 194 + </xs:simpleType> 195 + <xs:simpleType name="ZipCode"> 196 + <xs:restriction base="xs:string"> 197 + <xs:maxLength value="9"/> 198 + <xs:pattern value="[A-Z0-9\-]+"/> 199 + </xs:restriction> 200 + </xs:simpleType> 201 + <xs:simpleType name="String50"> 202 + <xs:restriction base="PXString"> 203 + <xs:minLength value="1"/> 204 + <xs:maxLength value="50"/> 205 + </xs:restriction> 206 + </xs:simpleType> 207 + <xs:simpleType name="String90"> 208 + <xs:restriction base="PXString"> 209 + <xs:minLength value="1"/> 210 + <xs:maxLength value="90"/> 211 + </xs:restriction> 212 + </xs:simpleType> 213 + <xs:simpleType name="String20"> 214 + <xs:restriction base="PXString"> 215 + <xs:maxLength value="20"/> 216 + </xs:restriction> 217 + </xs:simpleType> 218 + <xs:simpleType name="NameAddressString35"> 219 + <xs:restriction base="PXNameAddressString"> 220 + <xs:minLength value="1"/> 221 + <xs:maxLength value="35"/> 222 + </xs:restriction> 223 + </xs:simpleType> 224 + <xs:simpleType name="NameAddressString36"> 225 + <xs:restriction base="PXNameAddressString"> 226 + <xs:minLength value="1"/> 227 + <xs:maxLength value="36"/> 228 + </xs:restriction> 229 + </xs:simpleType> 230 + <xs:simpleType name="NameAddressString27"> 231 + <xs:restriction base="PXNameAddressString"> 232 + <xs:minLength value="1"/> 233 + <xs:maxLength value="27"/> 234 + </xs:restriction> 235 + </xs:simpleType> 236 + <xs:simpleType name="PXString"> 237 + <xs:restriction base="xs:string"> 238 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´ \x25\x27-\x2FÀ-ÖØ-öø-ú&]*" /> 239 + <xs:minLength value="1" /> 240 + </xs:restriction> 241 + </xs:simpleType> 242 + <xs:simpleType name="PXNameAddressString"> 243 + <xs:restriction base="xs:string"> 244 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´ \x25\x27-\x2FÀ-ÖØ-öø-úü&]*" /> 245 + </xs:restriction> 246 + </xs:simpleType> 247 + <xs:complexType name="RegNo"> 248 + <xs:simpleContent> 249 + <xs:extension base="String15"> 250 + <xs:attribute name="CountryCode" type="ISO3166"/> 251 + </xs:extension> 252 + </xs:simpleContent> 253 + </xs:complexType> 254 + <xs:simpleType name="LegalEntity"> 255 + <xs:restriction base="xs:string"> 256 + <xs:enumeration value="Private"/> 257 + </xs:restriction> 258 + </xs:simpleType> 259 + <xs:simpleType name="PXExpiryDate"> 260 + <xs:restriction base="xs:string"> 261 + <xs:length value="5"/> 262 + <xs:pattern value="(0[1-9]|1[012])/(\d{2})"/> 263 + </xs:restriction> 264 + </xs:simpleType> 265 + <xs:simpleType name="NameAddressString72"> 266 + <xs:restriction base="PXNameAddressString"> 267 + <xs:minLength value="1"/> 268 + <xs:maxLength value="72"/> 269 + </xs:restriction> 270 + </xs:simpleType> 271 + <xs:complexType name="Address"> 272 + <xs:sequence> 273 + <xs:element name="Addressee" type="NameAddressString72" minOccurs="1" maxOccurs="1"> 274 + <xs:annotation> 275 + <xs:documentation>Full name of addressee</xs:documentation> 276 + </xs:annotation> 277 + </xs:element> 278 + <xs:element name="StreetAddress" type="NameAddressString35" nillable="false" minOccurs="0" maxOccurs="1"> 279 + <xs:annotation> 280 + <xs:documentation>Street address</xs:documentation> 281 + </xs:annotation> 282 + </xs:element> 283 + <xs:element name="ZipCode" type="ZipCode" nillable="false" minOccurs="1" maxOccurs="1"> 284 + <xs:annotation> 285 + <xs:documentation>Zipcode conforming to country standard</xs:documentation> 286 + </xs:annotation> 287 + </xs:element> 288 + <xs:element name="City" type="NameAddressString27" nillable="false" minOccurs="1" maxOccurs="1"> 289 + <xs:annotation> 290 + <xs:documentation>City</xs:documentation> 291 + </xs:annotation> 292 + </xs:element> 293 + <xs:element name="CoAddress" type="NameAddressString35" nillable="false" minOccurs="0" maxOccurs="1"> 294 + <xs:annotation> 295 + <xs:documentation>Care of address</xs:documentation> 296 + </xs:annotation> 297 + </xs:element> 298 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 299 + <xs:annotation> 300 + <xs:documentation>Country code according to ISO 3166</xs:documentation> 301 + </xs:annotation> 302 + </xs:element> 303 + </xs:sequence> 304 + </xs:complexType> 305 +</xs:schema>
- ERRCUSIN_367_20191030093754_0[CUSIN_367_20190911090044_93.xml].XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +606 bytes - Content
-
... ... @@ -1,0 +1,1 @@ 1 +<?xml version="1.0" encoding="utf-8" standalone="yes"?><Response CompanyNo="367" CompanyName="PayEx Sverige AB" CreatedDateTime="2019-10-30T09:37:54" Version="1.0"><ResponseItems><ResponseItem><MessageCode>1002</MessageCode><Message>The 'Rule' attribute is invalid - The value 'UseBGAGS' is invalid according to its datatype 'ePaymentRule' - The Enumeration constraint failed.</Message><ResponseType>ValidationError</ResponseType><Reference ReferenceType="Position">Line: 37 Position: 20</Reference></ResponseItem></ResponseItems><ProcessedFile>CUSIN_367_20190911090044_93.xml</ProcessedFile></Response>
- ARAccounting_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.3 KB - Content
-
... ... @@ -1,0 +1,206 @@ 1 +<?xml version="1.0" encoding="UTF-8"?> 2 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1"> 3 + <xs:element name="ARAccounting"> 4 + <xs:annotation> 5 + <xs:documentation>Contains general ledger accounting associated to bills/invoices created in the billingsystem</xs:documentation> 6 + </xs:annotation> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="Vouchers"> 10 + <xs:annotation> 11 + <xs:documentation>Contains multiple vouchers</xs:documentation> 12 + </xs:annotation> 13 + <xs:complexType> 14 + <xs:sequence> 15 + <xs:element name="Voucher" maxOccurs="unbounded"> 16 + <xs:annotation> 17 + <xs:documentation>Contains accounting associated to one voucher</xs:documentation> 18 + </xs:annotation> 19 + <xs:complexType> 20 + <xs:sequence> 21 + <xs:element name="ARTransactions"> 22 + <xs:annotation> 23 + <xs:documentation>Contains multiple bills/inoices </xs:documentation> 24 + </xs:annotation> 25 + <xs:complexType> 26 + <xs:sequence> 27 + <xs:element name="ARTransaction" maxOccurs="unbounded"> 28 + <xs:annotation> 29 + <xs:documentation>Contains information associated to one Bill/Invoice</xs:documentation> 30 + </xs:annotation> 31 + <xs:complexType> 32 + <xs:sequence> 33 + <xs:element name="Accountings"> 34 + <xs:annotation> 35 + <xs:documentation>Contains accountings associated to one bill/invoice</xs:documentation> 36 + </xs:annotation> 37 + <xs:complexType> 38 + <xs:sequence> 39 + <xs:element name="Accounting" maxOccurs="unbounded"> 40 + <xs:annotation> 41 + <xs:documentation>Contains information associated to one accounting</xs:documentation> 42 + </xs:annotation> 43 + <xs:complexType> 44 + <xs:attribute name="AccountingAction" type="eAccountingAction" use="required"> 45 + <xs:annotation> 46 + <xs:documentation>Accountingaction </xs:documentation> 47 + </xs:annotation> 48 + </xs:attribute> 49 + <xs:attribute name="GLAccount" type="fIdentifier" use="required"> 50 + <xs:annotation> 51 + <xs:documentation>General ledger account</xs:documentation> 52 + </xs:annotation> 53 + </xs:attribute> 54 + <xs:attribute name="Amount" use="required"> 55 + <xs:annotation> 56 + <xs:documentation>Amount with two decimals</xs:documentation> 57 + </xs:annotation> 58 + <xs:simpleType> 59 + <xs:restriction base="xs:decimal"> 60 + <xs:fractionDigits value="2"/> 61 + </xs:restriction> 62 + </xs:simpleType> 63 + </xs:attribute> 64 + <xs:attribute name="GLProduct" type="fIdentifier" use="optional"> 65 + <xs:annotation> 66 + <xs:documentation>General ledger product associated to the product in the productcatalog</xs:documentation> 67 + </xs:annotation> 68 + </xs:attribute> 69 + <xs:attribute name="VatCode" type="fIdentifier" use="optional"> 70 + <xs:annotation> 71 + <xs:documentation>General ledger VatCode</xs:documentation> 72 + </xs:annotation> 73 + </xs:attribute> 74 + <xs:attribute name="CostCenter" type="fIdentifier" use="optional"> 75 + <xs:annotation> 76 + <xs:documentation>Costcenter associated to the product in the productcatalog</xs:documentation> 77 + </xs:annotation> 78 + </xs:attribute> 79 + </xs:complexType> 80 + </xs:element> 81 + </xs:sequence> 82 + </xs:complexType> 83 + </xs:element> 84 + </xs:sequence> 85 + <xs:attribute name="PXId" type="xs:long" use="required"> 86 + <xs:annotation> 87 + <xs:documentation>Identity of the transaction at PayEx. Useful for tracing and troubleshooting.</xs:documentation> 88 + </xs:annotation> 89 + </xs:attribute> 90 + <xs:attribute name="TransactionType" type="xs:string" use="required"> 91 + <xs:annotation> 92 + <xs:documentation>Possible transactiontypes are described separately</xs:documentation> 93 + </xs:annotation> 94 + </xs:attribute> 95 + <xs:attribute name="AccountType" type="fIdentifier" use="required"> 96 + <xs:annotation> 97 + <xs:documentation>"InvAcc" equals Invoice</xs:documentation> 98 + </xs:annotation> 99 + </xs:attribute> 100 + <xs:attribute name="CurrencyCode" use="required"> 101 + <xs:annotation> 102 + <xs:documentation>Currencycode according to ISO4217</xs:documentation> 103 + </xs:annotation> 104 + <xs:simpleType> 105 + <xs:restriction base="xs:string"> 106 + <xs:maxLength value="3"/> 107 + </xs:restriction> 108 + </xs:simpleType> 109 + </xs:attribute> 110 + <xs:attribute name="InterCompanyCode" type="xs:string" use="optional"> 111 + <xs:annotation> 112 + <xs:documentation>Possible intercompanycode of the customer</xs:documentation> 113 + </xs:annotation> 114 + </xs:attribute> 115 + <xs:attribute name="CustomerNo" type="xs:string" use="optional"> 116 + <xs:annotation> 117 + <xs:documentation>Customernumber of the customer</xs:documentation> 118 + </xs:annotation> 119 + </xs:attribute> 120 + <xs:attribute name="AccountName" type="xs:string" use="optional"> 121 + <xs:annotation> 122 + <xs:documentation>AccountName equals InvoiceNumber for accounttype "InvAcc"</xs:documentation> 123 + </xs:annotation> 124 + </xs:attribute> 125 + <xs:attribute name="TransactionCause" type="xs:string" use="optional"> 126 + <xs:annotation> 127 + <xs:documentation>Possible transactioncauses are described separately</xs:documentation> 128 + </xs:annotation> 129 + </xs:attribute> 130 + </xs:complexType> 131 + </xs:element> 132 + </xs:sequence> 133 + </xs:complexType> 134 + </xs:element> 135 + </xs:sequence> 136 + <xs:attribute name="VoucherSerie" type="xs:string" use="required"> 137 + <xs:annotation> 138 + <xs:documentation>Voucher serie association</xs:documentation> 139 + </xs:annotation> 140 + </xs:attribute> 141 + <xs:attribute name="VoucherNo" type="xs:positiveInteger" use="required"> 142 + <xs:annotation> 143 + <xs:documentation>Voucher reference number within voucherserie</xs:documentation> 144 + </xs:annotation> 145 + </xs:attribute> 146 + <xs:attribute name="ValueDate" type="xs:date" use="required"> 147 + <xs:annotation> 148 + <xs:documentation>Date in general ledger</xs:documentation> 149 + </xs:annotation> 150 + </xs:attribute> 151 + </xs:complexType> 152 + </xs:element> 153 + </xs:sequence> 154 + </xs:complexType> 155 + </xs:element> 156 + </xs:sequence> 157 + <xs:attribute name="Version" type="Version" use="required"> 158 + <xs:annotation> 159 + <xs:documentation>The XSD version of the xml format. XSD</xs:documentation> 160 + </xs:annotation> 161 + </xs:attribute> 162 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 163 + <xs:annotation> 164 + <xs:documentation>Date and time when the file was created</xs:documentation> 165 + </xs:annotation> 166 + </xs:attribute> 167 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required"> 168 + <xs:annotation> 169 + <xs:documentation>Your billing/accountsreceivablenumber at PayEx</xs:documentation> 170 + </xs:annotation> 171 + </xs:attribute> 172 + <xs:attribute name="CompanyName" type="xs:string" use="required"> 173 + <xs:annotation> 174 + <xs:documentation>The name of your company</xs:documentation> 175 + </xs:annotation> 176 + </xs:attribute> 177 + </xs:complexType> 178 + </xs:element> 179 + <xs:simpleType name="CompanyNumber"> 180 + <xs:restriction base="xs:string"> 181 + <xs:minLength value="1"/> 182 + <xs:maxLength value="15"/> 183 + <xs:pattern value="[0-9]*"/> 184 + </xs:restriction> 185 + </xs:simpleType> 186 + <xs:simpleType name="Version"> 187 + <xs:annotation> 188 + <xs:documentation>Versions supported by this schema</xs:documentation> 189 + </xs:annotation> 190 + <xs:restriction base="xs:string"> 191 + <xs:enumeration value="1.0"/> 192 + </xs:restriction> 193 + </xs:simpleType> 194 + <xs:simpleType name="eAccountingAction"> 195 + <xs:restriction base="xs:string"> 196 + <xs:enumeration value="D"/> 197 + <xs:enumeration value="C"/> 198 + </xs:restriction> 199 + </xs:simpleType> 200 + <xs:simpleType name="fIdentifier"> 201 + <xs:restriction base="xs:string"> 202 + <xs:maxLength value="15"/> 203 + <xs:pattern value="[A-Za-z0-9]*"/> 204 + </xs:restriction> 205 + </xs:simpleType> 206 +</xs:schema>
- ArAccounting10_141414_20210827073340_0.XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.3 KB - Content
-
... ... @@ -1,0 +1,1 @@ 1 +<?xml version="1.0" encoding="Windows-1252" standalone="yes"?><ARAccounting Version="1.0" CompanyNo="141414" CompanyName="TestFirma 141414" CreatedDateTime="2021-08-27T00:00:00"><Vouchers><Voucher VoucherSerie="C" VoucherNo="77003" ValueDate="2021-08-26"><ARTransactions><ARTransaction PXId="17356805" TransactionType="CreditInvoiceDisbursement" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123462" AccountName="112290"><Accountings><Accounting AccountingAction="C" GLAccount="1684" Amount="-3085.00" /><Accounting AccountingAction="D" GLAccount="2490" Amount="3085.00" /></Accountings></ARTransaction><ARTransaction PXId="17356806" TransactionType="CreditInvoiceDisbursement" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123464" AccountName="112293"><Accountings><Accounting AccountingAction="C" GLAccount="1684" Amount="-1000.00" /><Accounting AccountingAction="D" GLAccount="2490" Amount="1000.00" /></Accountings></ARTransaction><ARTransaction PXId="17356807" TransactionType="CreditInvoiceDisbursement" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123465" AccountName="112294"><Accountings><Accounting AccountingAction="C" GLAccount="1684" Amount="-1000.00" /><Accounting AccountingAction="D" GLAccount="2490" Amount="1000.00" /></Accountings></ARTransaction><ARTransaction PXId="17356808" TransactionType="CreditInvoiceDisbursement" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123471" AccountName="112300"><Accountings><Accounting AccountingAction="C" GLAccount="1684" Amount="-1000.00" /><Accounting AccountingAction="D" GLAccount="2490" Amount="1000.00" /></Accountings></ARTransaction><ARTransaction PXId="17359200" TransactionType="AutoPayment" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123474" AccountName="112305"><Accountings><Accounting AccountingAction="C" GLAccount="1510" Amount="-2000.00" /><Accounting AccountingAction="D" GLAccount="1684" Amount="2000.00" /></Accountings></ARTransaction><ARTransaction PXId="17359232" TransactionType="SurplusPayment" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123474" AccountName="112306"><Accountings><Accounting AccountingAction="C" GLAccount="1510" Amount="-1000.00" /><Accounting AccountingAction="D" GLAccount="1684" Amount="1000.00" /></Accountings></ARTransaction><ARTransaction PXId="17360360" TransactionType="DebitInvoiceAdjustment" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123476" AccountName="112310"><Accountings><Accounting AccountingAction="C" GLAccount="1510" Amount="-999.00" /><Accounting AccountingAction="D" GLAccount="2499" Amount="999.00" /></Accountings></ARTransaction><ARTransaction PXId="17360361" TransactionType="CredCapital1" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123476" AccountName="112310"><Accountings><Accounting AccountingAction="C" GLAccount="1510" Amount="-1.00" /><Accounting AccountingAction="D" GLAccount="3710" Amount="1.00" /></Accountings></ARTransaction><ARTransaction PXId="17360362" TransactionType="CreditInvoiceAdjustment" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123476" AccountName="112309"><Accountings><Accounting AccountingAction="C" GLAccount="2499" Amount="-999.00" /><Accounting AccountingAction="D" GLAccount="2490" Amount="999.00" /></Accountings></ARTransaction><ARTransaction PXId="17360392" TransactionType="CredCreditCapital" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123476" AccountName="112309" TransactionCause="Complaint"><Accountings><Accounting AccountingAction="C" GLAccount="1519" Amount="-1.00" /><Accounting AccountingAction="D" GLAccount="1510" Amount="1.00" /></Accountings></ARTransaction></ARTransactions></Voucher><Voucher VoucherSerie="C" VoucherNo="77004" ValueDate="2021-12-12"><ARTransactions><ARTransaction PXId="17358811" TransactionType="AutoPayment" AccountType="InvAcc" CurrencyCode="SEK" CustomerNo="123472" AccountName="112302"><Accountings><Accounting AccountingAction="C" GLAccount="1510" Amount="-2000.00" /><Accounting AccountingAction="C" GLAccount="3591" Amount="-60.00" /><Accounting AccountingAction="C" GLAccount="8313" Amount="-30.25" /><Accounting AccountingAction="D" GLAccount="1684" Amount="2000.00" /><Accounting AccountingAction="D" GLAccount="1684" Amount="60.00" /><Accounting AccountingAction="D" GLAccount="1684" Amount="30.25" /></Accountings></ARTransaction></ARTransactions></Voucher></Vouchers></ARAccounting>
- CustomerJournal_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.6 KB - Content
-
... ... @@ -1,0 +1,518 @@ 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:restriction> 176 + </xs:simpleType> 177 + <xs:simpleType name="Identifier15"> 178 + <xs:restriction base="xs:string"> 179 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 180 + <xs:minLength value="1" /> 181 + <xs:maxLength value="15" /> 182 + </xs:restriction> 183 + </xs:simpleType> 184 + <xs:simpleType name="ISO3166"> 185 + <xs:restriction base="xs:string"> 186 + <xs:pattern value="[A-Z]*" /> 187 + <xs:minLength value="2" /> 188 + <xs:maxLength value="2" /> 189 + </xs:restriction> 190 + </xs:simpleType> 191 + <xs:simpleType name="CompanyNumber"> 192 + <xs:restriction base="xs:string"> 193 + <xs:pattern value="[0-9]*" /> 194 + <xs:minLength value="1" /> 195 + <xs:maxLength value="15" /> 196 + </xs:restriction> 197 + </xs:simpleType> 198 + <xs:simpleType name="ISO639"> 199 + <xs:restriction base="PXString"> 200 + <xs:enumeration value="SV" /> 201 + <xs:enumeration value="NO" /> 202 + <xs:enumeration value="DA" /> 203 + <xs:enumeration value="FI" /> 204 + <xs:enumeration value="EN" /> 205 + </xs:restriction> 206 + </xs:simpleType> 207 + <xs:simpleType name="String35"> 208 + <xs:restriction base="PXString"> 209 + <xs:maxLength value="35" /> 210 + </xs:restriction> 211 + </xs:simpleType> 212 + <xs:simpleType name="Email"> 213 + <xs:restriction base="PXString"> 214 + <xs:maxLength value="60" /> 215 + </xs:restriction> 216 + </xs:simpleType> 217 + <xs:simpleType name="String15"> 218 + <xs:restriction base="PXString"> 219 + <xs:maxLength value="15" /> 220 + </xs:restriction> 221 + </xs:simpleType> 222 + <xs:simpleType name="ZipCode"> 223 + <xs:restriction base="xs:string"> 224 + <xs:pattern value="[A-Z0-9\-]+" /> 225 + <xs:maxLength value="9" /> 226 + </xs:restriction> 227 + </xs:simpleType> 228 + <xs:simpleType name="VatNumber"> 229 + <xs:restriction base="xs:string"> 230 + <xs:pattern value="[A-Z]{2}.*" /> 231 + <xs:minLength value="7" /> 232 + <xs:maxLength value="14" /> 233 + </xs:restriction> 234 + </xs:simpleType> 235 + <xs:simpleType name="String50"> 236 + <xs:restriction base="xs:string"> 237 + <xs:maxLength value="50" /> 238 + </xs:restriction> 239 + </xs:simpleType> 240 + <xs:complexType name="Address"> 241 + <xs:sequence> 242 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 243 + <xs:annotation> 244 + <xs:documentation>Current full name of addressee</xs:documentation> 245 + </xs:annotation> 246 + </xs:element> 247 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 248 + <xs:annotation> 249 + <xs:documentation>Current street address</xs:documentation> 250 + </xs:annotation> 251 + </xs:element> 252 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 253 + <xs:annotation> 254 + <xs:documentation>Current zip code</xs:documentation> 255 + </xs:annotation> 256 + </xs:element> 257 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 258 + <xs:annotation> 259 + <xs:documentation>Current city</xs:documentation> 260 + </xs:annotation> 261 + </xs:element> 262 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 263 + <xs:annotation> 264 + <xs:documentation>If exists current care of address</xs:documentation> 265 + </xs:annotation> 266 + </xs:element> 267 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 268 + <xs:annotation> 269 + <xs:documentation>Current countrycode</xs:documentation> 270 + </xs:annotation> 271 + </xs:element> 272 + </xs:sequence> 273 + <xs:attribute name="AddressType" type="AddressType" use="required"> 274 + <xs:annotation> 275 + <xs:documentation>Type of address</xs:documentation> 276 + </xs:annotation> 277 + </xs:attribute> 278 + </xs:complexType> 279 + <xs:complexType name="ConsentEvent"> 280 + <xs:sequence> 281 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 282 + <xs:annotation> 283 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 284 + </xs:annotation> 285 + </xs:element> 286 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 287 + <xs:annotation> 288 + <xs:documentation>The date when the event occurred</xs:documentation> 289 + </xs:annotation> 290 + </xs:element> 291 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 292 + <xs:annotation> 293 + <xs:documentation>The state of the consent due to the event</xs:documentation> 294 + </xs:annotation> 295 + </xs:element> 296 + </xs:sequence> 297 + </xs:complexType> 298 + <xs:simpleType name="ConsentType"> 299 + <xs:restriction base="xs:string"> 300 + <xs:enumeration value="BGAGSE"> 301 + <xs:annotation> 302 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 303 + </xs:annotation> 304 + </xs:enumeration> 305 + <xs:enumeration value="EInvoiceB2CSE"> 306 + <xs:annotation> 307 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 308 + </xs:annotation> 309 + </xs:enumeration> 310 + <xs:enumeration value="BKAGNO"> 311 + <xs:annotation> 312 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 313 + </xs:annotation> 314 + </xs:enumeration> 315 + <xs:enumeration value="EInvoiceB2CNO"> 316 + <xs:annotation> 317 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 318 + </xs:annotation> 319 + </xs:enumeration> 320 + <xs:enumeration value="KivraSE"> 321 + <xs:annotation> 322 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 323 + </xs:annotation> 324 + </xs:enumeration> 325 + <xs:enumeration value="EInvoiceB2CFI"> 326 + <xs:annotation> 327 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 328 + </xs:annotation> 329 + </xs:enumeration> 330 + <xs:enumeration value="EInvoice20B2CNO"> 331 + <xs:annotation> 332 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 333 + </xs:annotation> 334 + </xs:enumeration> 335 + <xs:enumeration value="AGDK"> 336 + <xs:annotation> 337 + <xs:documentation>Refers to Danish direct debit consent.</xs:documentation> 338 + </xs:annotation> 339 + </xs:enumeration> 340 + <xs:enumeration value="PSPRecurringCardConsent"> 341 + <xs:annotation> 342 + <xs:documentation>Refers to a PSPRecurringCardConsent</xs:documentation> 343 + </xs:annotation> 344 + </xs:enumeration> 345 + <xs:enumeration value="eBoks"> 346 + <xs:annotation> 347 + <xs:documentation>Refers to a eBoks digital distribution consent.</xs:documentation> 348 + </xs:annotation> 349 + </xs:enumeration> 350 + </xs:restriction> 351 + </xs:simpleType> 352 + <xs:simpleType name="ConsentStatus"> 353 + <xs:restriction base="xs:string"> 354 + <xs:enumeration value="Active"> 355 + <xs:annotation> 356 + <xs:documentation>The consent has been activated</xs:documentation> 357 + </xs:annotation> 358 + </xs:enumeration> 359 + <xs:enumeration value="Cancelled"> 360 + <xs:annotation> 361 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 362 + </xs:annotation> 363 + </xs:enumeration> 364 + </xs:restriction> 365 + </xs:simpleType> 366 + <xs:complexType name="CustomerStatusEvent"> 367 + <xs:sequence> 368 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 369 + <xs:annotation> 370 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 371 + </xs:annotation> 372 + </xs:element> 373 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 374 + <xs:annotation> 375 + <xs:documentation>The date when the event occurred</xs:documentation> 376 + </xs:annotation> 377 + </xs:element> 378 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 379 + <xs:annotation> 380 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 381 + </xs:annotation> 382 + </xs:element> 383 + </xs:sequence> 384 + </xs:complexType> 385 + <xs:complexType name="CustomerNotificationEvent"> 386 + <xs:sequence> 387 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 388 + <xs:annotation> 389 + <xs:documentation>Reason for notification.</xs:documentation> 390 + </xs:annotation> 391 + </xs:element> 392 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 393 + <xs:annotation> 394 + <xs:documentation>The date when the event occurred</xs:documentation> 395 + </xs:annotation> 396 + </xs:element> 397 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 398 + <xs:annotation> 399 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 400 + </xs:annotation> 401 + </xs:element> 402 + </xs:sequence> 403 + </xs:complexType> 404 + <xs:simpleType name="NotificationType"> 405 + <xs:restriction base="xs:string"> 406 + <xs:enumeration value="DisbursementReturn"> 407 + <xs:annotation> 408 + <xs:documentation>Failed disbursement</xs:documentation> 409 + </xs:annotation> 410 + </xs:enumeration> 411 + </xs:restriction> 412 + </xs:simpleType> 413 + <xs:simpleType name="Money"> 414 + <xs:restriction base="xs:decimal"> 415 + <xs:fractionDigits value="2" /> 416 + <xs:minInclusive value="-100000000" /> 417 + <xs:maxInclusive value="100000000" /> 418 + </xs:restriction> 419 + </xs:simpleType> 420 + <xs:simpleType name="CustomerStatusType"> 421 + <xs:restriction base="xs:string"> 422 + <xs:enumeration value="Deceased"> 423 + <xs:annotation> 424 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 425 + </xs:annotation> 426 + </xs:enumeration> 427 + <xs:enumeration value="BarringLevel"> 428 + <xs:annotation> 429 + <xs:documentation>A status type that can be set on consumers based on current claimlevels</xs:documentation> 430 + </xs:annotation> 431 + </xs:enumeration> 432 + </xs:restriction> 433 + </xs:simpleType> 434 + <xs:simpleType name="CustomerStatus"> 435 + <xs:restriction base="xs:string"> 436 + <xs:enumeration value="Active"> 437 + <xs:annotation> 438 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 439 + </xs:annotation> 440 + </xs:enumeration> 441 + <xs:enumeration value="Cancelled"> 442 + <xs:annotation> 443 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 444 + </xs:annotation> 445 + </xs:enumeration> 446 + </xs:restriction> 447 + </xs:simpleType> 448 + <xs:simpleType name="AddressType"> 449 + <xs:restriction base="xs:string"> 450 + <xs:enumeration value="LegalAddress"> 451 + <xs:annotation> 452 + <xs:documentation>Refers to the customers legal address</xs:documentation> 453 + </xs:annotation> 454 + </xs:enumeration> 455 + <xs:enumeration value="BillingAddress"> 456 + <xs:annotation> 457 + <xs:documentation>Refers to a possible billing address</xs:documentation> 458 + </xs:annotation> 459 + </xs:enumeration> 460 + </xs:restriction> 461 + </xs:simpleType> 462 + <xs:simpleType name="String10"> 463 + <xs:restriction base="PXString"> 464 + <xs:maxLength value="10" /> 465 + </xs:restriction> 466 + </xs:simpleType> 467 + <xs:simpleType name="String30"> 468 + <xs:restriction base="PXString"> 469 + <xs:maxLength value="30" /> 470 + </xs:restriction> 471 + </xs:simpleType> 472 + <xs:simpleType name="String25"> 473 + <xs:restriction base="PXString"> 474 + <xs:maxLength value="25" /> 475 + </xs:restriction> 476 + </xs:simpleType> 477 + <xs:simpleType name="NameAddressString35"> 478 + <xs:restriction base="PXNameAddressString"> 479 + <xs:maxLength value="35" /> 480 + </xs:restriction> 481 + </xs:simpleType> 482 + <xs:simpleType name="NameAddressString72"> 483 + <xs:restriction base="PXNameAddressString"> 484 + <xs:minLength value="1" /> 485 + <xs:maxLength value="72" /> 486 + </xs:restriction> 487 + </xs:simpleType> 488 + <xs:simpleType name="NameAddressString27"> 489 + <xs:restriction base="PXNameAddressString"> 490 + <xs:minLength value="1" /> 491 + <xs:maxLength value="27" /> 492 + </xs:restriction> 493 + </xs:simpleType> 494 + <xs:simpleType name="PXString"> 495 + <xs:restriction base="xs:string"> 496 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 497 + <xs:minLength value="1" /> 498 + </xs:restriction> 499 + </xs:simpleType> 500 + <xs:simpleType name="PXNameAddressString"> 501 + <xs:restriction base="xs:string"> 502 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-úü]*" /> 503 + </xs:restriction> 504 + </xs:simpleType> 505 + <xs:complexType name="RegNo"> 506 + <xs:simpleContent> 507 + <xs:extension base="String15"> 508 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 509 + </xs:extension> 510 + </xs:simpleContent> 511 + </xs:complexType> 512 + <xs:simpleType name="LegalEntity"> 513 + <xs:restriction base="xs:string"> 514 + <xs:enumeration value="Private" /> 515 + <xs:enumeration value="Business" /> 516 + </xs:restriction> 517 + </xs:simpleType> 518 +</xs:schema>
- CUSIN_367_20190911090045_93.xml
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.0 KB - Content
-
... ... @@ -1,0 +1,872 @@ 1 +<?xml version="1.0" encoding="utf-8"?> 2 +<CUSIN Version="2.0" CreatedDateTime="2019-09-11T09:00:41" CompanyNo="367" CompanyName="Company Test" > 3 + <DistributionDate> 4 + <AsSoonAsPossible/> 5 + </DistributionDate> 6 + <CUSINInfo> 7 + <CustomerNo>1789456</CustomerNo> 8 + <CustomerInfo LegalEntity="Business"> 9 + <Name>Gale Harrison</Name> 10 + <RegNo CountryCode="SE">18121212-1212</RegNo> 11 + <VatNo>SE121212121201</VatNo> 12 + <DistributionAddressInfo> 13 + <Addresses> 14 + <Address AddressType="LegalAddress"> 15 + <Addressee>Gale Harrison</Addressee> 16 + <StreetAddress>LegalStreet</StreetAddress> 17 + <ZipCode>12345</ZipCode> 18 + <City>LegalCity</City> 19 + <CoAddress>Ross</CoAddress> 20 + <CountryCode>SE</CountryCode> 21 + </Address> 22 + <Address AddressType="BillingAddress"> 23 + <Addressee>Gale Harrison</Addressee> 24 + <StreetAddress>BillingStreet</StreetAddress> 25 + <ZipCode>54321</ZipCode> 26 + <City>BillingCity</City> 27 + <CoAddress>Ross</CoAddress> 28 + <CountryCode>SE</CountryCode> 29 + </Address> 30 + </Addresses> 31 + <E-MailAddress>123@123.123</E-MailAddress> 32 + <Cellphone>+46-755-5589</Cellphone> 33 + </DistributionAddressInfo> 34 + <PaymentInfo> 35 + <Set> 36 + <PaymentRules> 37 + <PaymentRule Rule="UseBGAGSE"> 38 + <Value>1</Value> 39 + </PaymentRule> 40 + </PaymentRules> 41 + </Set> 42 + </PaymentInfo> 43 + <DunningInfo> 44 + <Set> 45 + <DunningRules> 46 + <DunningRule Rule="I_PenaltyIntrAndFeeLimit"> 47 + <Value>10</Value> 48 + </DunningRule> 49 + </DunningRules> 50 + </Set> 51 + </DunningInfo> 52 + <DistributionInfo> 53 + <Set> 54 + <BillTypes> 55 + <BillType DistributionBillType="I_Invoice"> 56 + <DistributionType>EMail</DistributionType> 57 + </BillType> 58 + </BillTypes> 59 + </Set> 60 + </DistributionInfo> 61 + <NotificationInfo> 62 + <Set> 63 + <BillTypes> 64 + <BillType> 65 + <NotificationTextCode>Test</NotificationTextCode> 66 + <NotificationDistributionType>EMail</NotificationDistributionType> 67 + </BillType> 68 + </BillTypes> 69 + </Set> 70 + </NotificationInfo> 71 + </CustomerInfo> 72 + <Invoices> 73 + <InvoiceWithDistribution> 74 + <InvoiceNo>199887992F</InvoiceNo> 75 + <ReferenceInfo> 76 + <ExternalInvoiceId>199887992F</ExternalInvoiceId> 77 + <ExternalReference>199887992F</ExternalReference> 78 + </ReferenceInfo> 79 + <InvoiceDate>2019-10-30</InvoiceDate> 80 + <PreferredDueDate>2019-11-27</PreferredDueDate> 81 + <Amount Currency="SEK"> 82 + <AmountExclVat>99.20</AmountExclVat> 83 + <VatAmount>24.80</VatAmount> 84 + </Amount> 85 + <DistributionInfo> 86 + <DistributionType>PostalService</DistributionType> 87 + <InvoicePrintInfo> 88 + <InvoicePrintBlocks> 89 + <StandardPrintBlock> 90 + <BasePrintBlock> 91 + <SubOrderBlocks> 92 + <SubOrderBlock TableType="A1"> 93 + <HeadLine>Vår Referens</HeadLine> 94 + <Rows> 95 + <Row> 96 + <Columns> 97 + <Column ColumnNo="1"> 98 + <Text>Firmans referens</Text> 99 + </Column> 100 + </Columns> 101 + </Row> 102 + <Row> 103 + <Columns> 104 + <Column ColumnNo="1"> 105 + <Text /> 106 + </Column> 107 + </Columns> 108 + </Row> 109 + </Rows> 110 + </SubOrderBlock> 111 + <SubOrderBlock TableType="A5"> 112 + <ColumnHeadLine> 113 + <Columns> 114 + <Column ColumnNo="1"> 115 + <Text>Beskrivning</Text> 116 + </Column> 117 + <Column ColumnNo="2"> 118 + <Text>Datum</Text> 119 + </Column> 120 + <Column ColumnNo="3"> 121 + <Text>Kvantitet </Text> 122 + </Column> 123 + <Column ColumnNo="4"> 124 + <Text>A-Pris</Text> 125 + </Column> 126 + <Column ColumnNo="5"> 127 + <Text>Belopp</Text> 128 + </Column> 129 + </Columns> 130 + </ColumnHeadLine> 131 + <Rows> 132 + <Row> 133 + <Columns> 134 + <Column ColumnNo="1"> 135 + <Text>Produkt 1</Text> 136 + </Column> 137 + <Column ColumnNo="2"> 138 + <Text>2019-09-27</Text> 139 + </Column> 140 + <Column ColumnNo="3"> 141 + <Text>1.00</Text> 142 + </Column> 143 + <Column ColumnNo="4"> 144 + <Text>0.00</Text> 145 + </Column> 146 + <Column ColumnNo="5"> 147 + <Text>0.00</Text> 148 + </Column> 149 + </Columns> 150 + </Row> 151 + <Row> 152 + <Columns> 153 + <Column ColumnNo="1"> 154 + <Text>Produkt 2</Text> 155 + </Column> 156 + <Column ColumnNo="2"> 157 + <Text>2019-09-27</Text> 158 + </Column> 159 + <Column ColumnNo="3"> 160 + <Text>1.00</Text> 161 + </Column> 162 + <Column ColumnNo="4"> 163 + <Text>123.75</Text> 164 + </Column> 165 + <Column ColumnNo="5"> 166 + <Text>123.75</Text> 167 + </Column> 168 + </Columns> 169 + </Row> 170 + <Row> 171 + <Columns> 172 + <Column ColumnNo="1"> 173 + <Text /> 174 + </Column> 175 + </Columns> 176 + </Row> 177 + </Rows> 178 + </SubOrderBlock> 179 + <SubOrderBlock TableType="A3"> 180 + <Rows> 181 + <Row> 182 + <Columns> 183 + <Column ColumnNo="2"> 184 + <Text>Summa</Text> 185 + </Column> 186 + <Column ColumnNo="3"> 187 + <Text>123.75</Text> 188 + </Column> 189 + </Columns> 190 + </Row> 191 + <Row> 192 + <Columns> 193 + <Column ColumnNo="2"> 194 + <Text>Varav moms</Text> 195 + </Column> 196 + <Column ColumnNo="3"> 197 + <Text>24.75</Text> 198 + </Column> 199 + </Columns> 200 + </Row> 201 + <Row> 202 + <Columns> 203 + <Column ColumnNo="2"> 204 + <Text>Öresavrundning</Text> 205 + </Column> 206 + <Column ColumnNo="3"> 207 + <Text>0.25</Text> 208 + </Column> 209 + </Columns> 210 + </Row> 211 + <Row> 212 + <Columns> 213 + <Column ColumnNo="2"> 214 + <Text>Att betala</Text> 215 + </Column> 216 + <Column ColumnNo="3"> 217 + <Text>124.00</Text> 218 + </Column> 219 + </Columns> 220 + </Row> 221 + <Row> 222 + <Columns> 223 + <Column ColumnNo="1"> 224 + <Text /> 225 + </Column> 226 + </Columns> 227 + </Row> 228 + <Row> 229 + <Columns> 230 + <Column ColumnNo="1"> 231 + <Text /> 232 + </Column> 233 + </Columns> 234 + </Row> 235 + <Row> 236 + <Columns> 237 + <Column ColumnNo="1"> 238 + <Text /> 239 + </Column> 240 + </Columns> 241 + </Row> 242 + </Rows> 243 + </SubOrderBlock> 244 + </SubOrderBlocks> 245 + </BasePrintBlock> 246 + </StandardPrintBlock> 247 + </InvoicePrintBlocks> 248 + </InvoicePrintInfo> 249 + </DistributionInfo> 250 + </InvoiceWithDistribution> 251 + <InvoiceWithDistribution> 252 + <InvoiceNo>199888000F</InvoiceNo> 253 + <InvoiceDate>2019-10-30</InvoiceDate> 254 + <Amount Currency="SEK"> 255 + <AmountExclVat>-80.00</AmountExclVat> 256 + <VatAmount>-20.00</VatAmount> 257 + </Amount> 258 + <DistributionInfo> 259 + <InvoicePrintInfo> 260 + <InvoicePrintBlocks> 261 + <StandardPrintBlock> 262 + <BasePrintBlock> 263 + <SubOrderBlocks> 264 + <SubOrderBlock TableType="A1"> 265 + <HeadLine>Vår referens</HeadLine> 266 + <Rows> 267 + <Row> 268 + <Columns> 269 + <Column ColumnNo="1"> 270 + <Text>Firmans referens</Text> 271 + </Column> 272 + </Columns> 273 + </Row> 274 + <Row> 275 + <Columns> 276 + <Column ColumnNo="1"> 277 + <Text /> 278 + </Column> 279 + </Columns> 280 + </Row> 281 + <Row> 282 + <Columns> 283 + <Column ColumnNo="1"> 284 + <Text /> 285 + </Column> 286 + </Columns> 287 + </Row> 288 + </Rows> 289 + </SubOrderBlock> 290 + <SubOrderBlock TableType="A1"> 291 + <HeadLine>Med referens till fakturanummer xxxxxx</HeadLine> 292 + <Rows> 293 + <Row> 294 + <Columns> 295 + <Column ColumnNo="1"> 296 + <Text /> 297 + </Column> 298 + </Columns> 299 + </Row> 300 + <Row> 301 + <Columns> 302 + <Column ColumnNo="1"> 303 + <Text /> 304 + </Column> 305 + </Columns> 306 + </Row> 307 + </Rows> 308 + </SubOrderBlock> 309 + <SubOrderBlock TableType="A5"> 310 + <ColumnHeadLine> 311 + <Columns> 312 + <Column ColumnNo="1"> 313 + <Text>Artikel</Text> 314 + </Column> 315 + <Column ColumnNo="2"> 316 + <Text>Datum</Text> 317 + </Column> 318 + <Column ColumnNo="3"> 319 + <Text>Kvantitet </Text> 320 + </Column> 321 + <Column ColumnNo="4"> 322 + <Text>A-Pris</Text> 323 + </Column> 324 + <Column ColumnNo="5"> 325 + <Text>Belopp</Text> 326 + </Column> 327 + </Columns> 328 + </ColumnHeadLine> 329 + <Rows> 330 + <Row> 331 + <Columns> 332 + <Column ColumnNo="1"> 333 + <Text>Produkt 1</Text> 334 + </Column> 335 + <Column ColumnNo="2"> 336 + <Text>2019-09-27</Text> 337 + </Column> 338 + <Column ColumnNo="3"> 339 + <Text>-1.00</Text> 340 + </Column> 341 + <Column ColumnNo="4"> 342 + <Text>15.00</Text> 343 + </Column> 344 + <Column ColumnNo="5"> 345 + <Text>-15.00</Text> 346 + </Column> 347 + </Columns> 348 + </Row> 349 + <Row> 350 + <Columns> 351 + <Column ColumnNo="1"> 352 + <Text>Abonnemang 123</Text> 353 + </Column> 354 + <Column ColumnNo="2"> 355 + <Text>2019-09-27</Text> 356 + </Column> 357 + <Column ColumnNo="3"> 358 + <Text>-1.00</Text> 359 + </Column> 360 + <Column ColumnNo="4"> 361 + <Text>5459.74</Text> 362 + </Column> 363 + <Column ColumnNo="5"> 364 + <Text>-5459.74</Text> 365 + </Column> 366 + </Columns> 367 + </Row> 368 + <Row> 369 + <Columns> 370 + <Column ColumnNo="1"> 371 + <Text>ServiceTyp</Text> 372 + </Column> 373 + <Column ColumnNo="2"> 374 + <Text>2019-09-27</Text> 375 + </Column> 376 + <Column ColumnNo="3"> 377 + <Text>-6.00</Text> 378 + </Column> 379 + <Column ColumnNo="4"> 380 + <Text>0.00</Text> 381 + </Column> 382 + <Column ColumnNo="5"> 383 + <Text>0.00</Text> 384 + </Column> 385 + </Columns> 386 + </Row> 387 + <Row> 388 + <Columns> 389 + <Column ColumnNo="1"> 390 + <Text>Retur</Text> 391 + </Column> 392 + <Column ColumnNo="2"> 393 + <Text>2019-09-27</Text> 394 + </Column> 395 + <Column ColumnNo="3"> 396 + <Text>-1.00</Text> 397 + </Column> 398 + <Column ColumnNo="4"> 399 + <Text>633.60</Text> 400 + </Column> 401 + <Column ColumnNo="5"> 402 + <Text>-633.60</Text> 403 + </Column> 404 + </Columns> 405 + </Row> 406 + <Row> 407 + <Columns> 408 + <Column ColumnNo="1"> 409 + <Text /> 410 + </Column> 411 + </Columns> 412 + </Row> 413 + </Rows> 414 + </SubOrderBlock> 415 + <SubOrderBlock TableType="A3"> 416 + <Rows> 417 + <Row> 418 + <Columns> 419 + <Column ColumnNo="2"> 420 + <Text>Belopp före skattereduktion</Text> 421 + </Column> 422 + <Column ColumnNo="3"> 423 + <Text>-6108.34</Text> 424 + </Column> 425 + </Columns> 426 + </Row> 427 + <Row> 428 + <Columns> 429 + <Column ColumnNo="2"> 430 + <Text>Varav moms</Text> 431 + </Column> 432 + <Column ColumnNo="3"> 433 + <Text>-1221.67</Text> 434 + </Column> 435 + </Columns> 436 + </Row> 437 + <Row> 438 + <Columns> 439 + <Column ColumnNo="2"> 440 + <Text>Avgår skattereduktion</Text> 441 + </Column> 442 + <Column ColumnNo="3"> 443 + <Text>2729.00</Text> 444 + </Column> 445 + </Columns> 446 + </Row> 447 + <Row> 448 + <Columns> 449 + <Column ColumnNo="2"> 450 + <Text>Öresavrundning</Text> 451 + </Column> 452 + <Column ColumnNo="3"> 453 + <Text>0.34</Text> 454 + </Column> 455 + </Columns> 456 + </Row> 457 + <Row> 458 + <Columns> 459 + <Column ColumnNo="2"> 460 + <Text>Krediterat belopp</Text> 461 + </Column> 462 + <Column ColumnNo="3"> 463 + <Text>-3379.00</Text> 464 + </Column> 465 + </Columns> 466 + </Row> 467 + <Row> 468 + <Columns> 469 + <Column ColumnNo="1"> 470 + <Text /> 471 + </Column> 472 + </Columns> 473 + </Row> 474 + <Row> 475 + <Columns> 476 + <Column ColumnNo="1"> 477 + <Text /> 478 + </Column> 479 + </Columns> 480 + </Row> 481 + <Row> 482 + <Columns> 483 + <Column ColumnNo="1"> 484 + <Text /> 485 + </Column> 486 + </Columns> 487 + </Row> 488 + </Rows> 489 + </SubOrderBlock> 490 + </SubOrderBlocks> 491 + </BasePrintBlock> 492 + </StandardPrintBlock> 493 + </InvoicePrintBlocks> 494 + </InvoicePrintInfo> 495 + </DistributionInfo> 496 + <CreditInstructions> 497 + <CreditInstruction SendCopy="false"> 498 + <InvoiceIdentifier> 499 + <InvoiceNo>199887992F</InvoiceNo> 500 + </InvoiceIdentifier> 501 + <CreditAmount>100.00</CreditAmount> 502 + </CreditInstruction> 503 + </CreditInstructions> 504 + </InvoiceWithDistribution> 505 + </Invoices> 506 + </CUSINInfo> 507 + <CUSINInfo> 508 + <CustomerNo>789457</CustomerNo> 509 + <CustomerInfo LegalEntity="Private"> 510 + <Name>Kieran Griffiths</Name> 511 + <RegNo CountryCode="SE">18101010-1010</RegNo> 512 + <DistributionAddressInfo> 513 + <Addresses> 514 + <Address AddressType="LegalAddress"> 515 + <Addressee>Kieran Griffiths</Addressee> 516 + <StreetAddress>LegalStreet</StreetAddress> 517 + <ZipCode>98765</ZipCode> 518 + <City>City</City> 519 + <CountryCode>SE</CountryCode> 520 + </Address> 521 + </Addresses> 522 + </DistributionAddressInfo> 523 + <PaymentInfo> 524 + <Clear /> 525 + </PaymentInfo> 526 + <DistributionInfo> 527 + <Set> 528 + <BillTypes> 529 + <BillType DistributionBillType="I_Invoice"> 530 + <DistributionRules> 531 + <DistributionRule Rule="UseEInvoiceB2CSE"> 532 + <Value>1</Value> 533 + </DistributionRule> 534 + </DistributionRules> 535 + </BillType> 536 + </BillTypes> 537 + </Set> 538 + </DistributionInfo> 539 + </CustomerInfo> 540 + </CUSINInfo> 541 + <CUSINInfo> 542 + <CustomerNo>1789458</CustomerNo> 543 + <CustomerInfo LegalEntity="Business"> 544 + <Name>EDI Business</Name> 545 + <RegNo CountryCode="SE">101010-1010</RegNo> 546 + <DistributionAddressInfo> 547 + <Addresses> 548 + <Address AddressType="LegalAddress"> 549 + <Addressee>EDI Business</Addressee> 550 + <StreetAddress>Streetaddress</StreetAddress> 551 + <ZipCode>10332</ZipCode> 552 + <City>City</City> 553 + <CountryCode>SE</CountryCode> 554 + </Address> 555 + </Addresses> 556 + </DistributionAddressInfo> 557 + <DistributionInfo> 558 + <Set> 559 + <BillTypes> 560 + <BillType DistributionBillType="I_Invoice"> 561 + <DistributionType>EInvoiceB2B</DistributionType> 562 + </BillType> 563 + </BillTypes> 564 + </Set> 565 + </DistributionInfo> 566 + </CustomerInfo> 567 + <Invoices> 568 + <InvoiceWithDistribution> 569 + <InvoiceNo>199887993G</InvoiceNo> 570 + <InvoiceDate>2019-10-30</InvoiceDate> 571 + <PreferredDueDate>2019-11-27</PreferredDueDate> 572 + <Amount Currency="SEK"> 573 + <AmountExclVat>99.25</AmountExclVat> 574 + <VatAmount>24.75</VatAmount> 575 + </Amount> 576 + <DistributionInfo> 577 + <InvoicePrintInfo> 578 + <InvoicePrintBlocks> 579 + <StandardPrintBlock> 580 + <BasePrintBlock> 581 + <SubOrderBlocks> 582 + <SubOrderBlock TableType="A1"> 583 + <HeadLine>Vår referens</HeadLine> 584 + <Rows> 585 + <Row> 586 + <Columns> 587 + <Column ColumnNo="1"> 588 + <Text>Firmans referens</Text> 589 + </Column> 590 + </Columns> 591 + </Row> 592 + </Rows> 593 + </SubOrderBlock> 594 + <SubOrderBlock TableType="A3"> 595 + <Rows> 596 + <Row> 597 + <Columns> 598 + <Column ColumnNo="1"> 599 + <Text /> 600 + </Column> 601 + </Columns> 602 + </Row> 603 + <Row> 604 + <Columns> 605 + <Column ColumnNo="1"> 606 + <Text /> 607 + </Column> 608 + </Columns> 609 + </Row> 610 + <Row> 611 + <Columns> 612 + <Column ColumnNo="1"> 613 + <Text /> 614 + </Column> 615 + </Columns> 616 + </Row> 617 + <Row> 618 + <Columns> 619 + <Column ColumnNo="1"> 620 + <Text /> 621 + </Column> 622 + </Columns> 623 + </Row> 624 + <Row> 625 + <Columns> 626 + <Column ColumnNo="1"> 627 + <Text /> 628 + </Column> 629 + </Columns> 630 + </Row> 631 + <Row> 632 + <Columns> 633 + <Column ColumnNo="1"> 634 + <Text /> 635 + </Column> 636 + </Columns> 637 + </Row> 638 + <Row> 639 + <Columns> 640 + <Column ColumnNo="1"> 641 + <Text /> 642 + </Column> 643 + </Columns> 644 + </Row> 645 + <Row> 646 + <Columns> 647 + <Column ColumnNo="1"> 648 + <Text /> 649 + </Column> 650 + </Columns> 651 + </Row> 652 + <Row> 653 + <Columns> 654 + <Column ColumnNo="1"> 655 + <Text>För specifikation se följande sidor</Text> 656 + </Column> 657 + </Columns> 658 + </Row> 659 + <Row> 660 + <Columns> 661 + <Column ColumnNo="1"> 662 + <Text /> 663 + </Column> 664 + </Columns> 665 + </Row> 666 + <Row> 667 + <Columns> 668 + <Column ColumnNo="1"> 669 + <Text /> 670 + </Column> 671 + </Columns> 672 + </Row> 673 + <Row> 674 + <Columns> 675 + <Column ColumnNo="1"> 676 + <Text /> 677 + </Column> 678 + </Columns> 679 + </Row> 680 + <Row> 681 + <Columns> 682 + <Column ColumnNo="1"> 683 + <Text /> 684 + </Column> 685 + </Columns> 686 + </Row> 687 + <Row> 688 + <Columns> 689 + <Column ColumnNo="2"> 690 + <Text>Belopp exkl. moms</Text> 691 + </Column> 692 + <Column ColumnNo="3"> 693 + <Text>99.00</Text> 694 + </Column> 695 + </Columns> 696 + </Row> 697 + <Row> 698 + <Columns> 699 + <Column ColumnNo="2"> 700 + <Text>Moms</Text> 701 + </Column> 702 + <Column ColumnNo="3"> 703 + <Text>24.75</Text> 704 + </Column> 705 + </Columns> 706 + </Row> 707 + <Row> 708 + <Columns> 709 + <Column ColumnNo="2"> 710 + <Text>Öresavrundning</Text> 711 + </Column> 712 + <Column ColumnNo="3"> 713 + <Text>0.25</Text> 714 + </Column> 715 + </Columns> 716 + </Row> 717 + </Rows> 718 + </SubOrderBlock> 719 + </SubOrderBlocks> 720 + </BasePrintBlock> 721 + </StandardPrintBlock> 722 + <StandardPrintBlock> 723 + <BasePrintBlock> 724 + <SubOrderBlocks> 725 + <SubOrderBlock TableType="A1"> 726 + <HeadLine>Jaxon Webb 101010</HeadLine> 727 + <Rows> 728 + <Row> 729 + <Columns> 730 + <Column ColumnNo="1"> 731 + <Text /> 732 + </Column> 733 + </Columns> 734 + </Row> 735 + </Rows> 736 + </SubOrderBlock> 737 + <SubOrderBlock TableType="A5"> 738 + <ColumnHeadLine> 739 + <Columns> 740 + <Column ColumnNo="1"> 741 + <Text>Artikel</Text> 742 + </Column> 743 + <Column ColumnNo="2"> 744 + <Text>Datum</Text> 745 + </Column> 746 + <Column ColumnNo="3"> 747 + <Text>Kvantitet </Text> 748 + </Column> 749 + <Column ColumnNo="4"> 750 + <Text>A-Pris</Text> 751 + </Column> 752 + <Column ColumnNo="5"> 753 + <Text>Belopp</Text> 754 + </Column> 755 + </Columns> 756 + </ColumnHeadLine> 757 + <Rows> 758 + <Row> 759 + <Columns> 760 + <Column ColumnNo="1"> 761 + <Text>Fraktavgift</Text> 762 + </Column> 763 + <Column ColumnNo="2"> 764 + <Text>2017-12-14</Text> 765 + </Column> 766 + <Column ColumnNo="3"> 767 + <Text>1.00</Text> 768 + </Column> 769 + <Column ColumnNo="4"> 770 + <Text>99.00</Text> 771 + </Column> 772 + <Column ColumnNo="5"> 773 + <Text>99.00</Text> 774 + </Column> 775 + </Columns> 776 + </Row> 777 + <Row> 778 + <Columns> 779 + <Column ColumnNo="1"> 780 + <Text /> 781 + </Column> 782 + </Columns> 783 + </Row> 784 + </Rows> 785 + </SubOrderBlock> 786 + <SubOrderBlock TableType="A2"> 787 + <Rows> 788 + <Row> 789 + <Columns> 790 + <Column ColumnNo="1"> 791 + <Text>Belopp före moms</Text> 792 + </Column> 793 + <Column ColumnNo="2"> 794 + <Text>99.00</Text> 795 + </Column> 796 + </Columns> 797 + </Row> 798 + <Row> 799 + <Columns> 800 + <Column ColumnNo="1"> 801 + <Text>Moms</Text> 802 + </Column> 803 + <Column ColumnNo="2"> 804 + <Text>24.75</Text> 805 + </Column> 806 + </Columns> 807 + </Row> 808 + <Row> 809 + <Columns> 810 + <Column ColumnNo="1"> 811 + <Text>Totalt delbelopp</Text> 812 + </Column> 813 + <Column ColumnNo="2"> 814 + <Text>123.75</Text> 815 + </Column> 816 + </Columns> 817 + </Row> 818 + </Rows> 819 + </SubOrderBlock> 820 + </SubOrderBlocks> 821 + </BasePrintBlock> 822 + <PrintBlockConfig PrecedingSheetBreak="true" /> 823 + </StandardPrintBlock> 824 + </InvoicePrintBlocks> 825 + </InvoicePrintInfo> 826 + <EDIInfo> 827 + <VAN>INEXCHANGE</VAN> 828 + <InterChangeRecipient>7365560138291</InterChangeRecipient> 829 + <SellerId>7300009030248</SellerId> 830 + <BuyerId>7365560138291</BuyerId> 831 + <InvoiceAddressee>EDI Business</InvoiceAddressee> 832 + <InvoiceRecipient>10144</InvoiceRecipient> 833 + <InvoiceReference>987654</InvoiceReference> 834 + <BuyerReference>123</BuyerReference> 835 + <EDIOrderRows> 836 + <EDIVatGroup> 837 + <VatInfo> 838 + <VatAmount>0</VatAmount> 839 + <VatRate>0</VatRate> 840 + </VatInfo> 841 + <EDIOrderRow> 842 + <Text>Öresavrundning (rounding)</Text> 843 + <Quantity>1</Quantity> 844 + <Unit>ST</Unit> 845 + <UnitPriceExclVat>0.25</UnitPriceExclVat> 846 + <AmountExclVat>0.25</AmountExclVat> 847 + <ContractType>EDI Business</ContractType> 848 + </EDIOrderRow> 849 + </EDIVatGroup> 850 + <EDIVatGroup> 851 + <VatInfo> 852 + <VatAmount>24.75</VatAmount> 853 + <VatRate>25.00</VatRate> 854 + </VatInfo> 855 + <EDIOrderRow> 856 + <ArticleId>340005</ArticleId> 857 + <ProductDate>2019-10-30</ProductDate> 858 + <Text>Fraktavgift</Text> 859 + <Quantity>100</Quantity> 860 + <Unit>ST</Unit> 861 + <UnitPriceExclVat>99.00</UnitPriceExclVat> 862 + <AmountExclVat>99.00</AmountExclVat> 863 + <ContractType>Jaxon Webb 101010</ContractType> 864 + </EDIOrderRow> 865 + </EDIVatGroup> 866 + </EDIOrderRows> 867 + </EDIInfo> 868 + </DistributionInfo> 869 + </InvoiceWithDistribution> 870 + </Invoices> 871 + </CUSINInfo> 872 +</CUSIN>
- CustomerJournal_367_20191030141104_422.XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.7 KB - Content
-
... ... @@ -1,0 +1,50 @@ 1 +<?xml version="1.0" encoding="utf-8" standalone="yes"?> 2 +<CustomerJournal Version="1.0" CreatedDateTime="2019-10-30T14:11:04" CompanyNo="367" CompanyName="Company Test"> 3 + <CustomerJournalInfo> 4 + <CustomerNo>1789458</CustomerNo> 5 + <RegNo CountryCode="SE">20101010-1010</RegNo> 6 + <ConsentEventInfo> 7 + <ConsentEvent> 8 + <ConsentType>BGAGSE</ConsentType> 9 + <ConsentEventDate>2019-10-30</ConsentEventDate> 10 + <Status>Active</Status> 11 + </ConsentEvent> 12 + <ConsentEvent> 13 + <ConsentType>EInvoiceB2CSE</ConsentType> 14 + <ConsentEventDate>2019-10-30</ConsentEventDate> 15 + <Status>Active</Status> 16 + </ConsentEvent> 17 + <ConsentEvent> 18 + <ConsentType>EInvoiceB2CSE</ConsentType> 19 + <ConsentEventDate>2019-10-30</ConsentEventDate> 20 + <Status>Cancelled</Status> 21 + </ConsentEvent> 22 + </ConsentEventInfo> 23 + <CustomerStatusEventInfo> 24 + <CustomerStatusEvent> 25 + <CustomerStatusType>Deceased</CustomerStatusType> 26 + <CustomerStatusEventDate>2019-10-30</CustomerStatusEventDate> 27 + <Status>Active</Status> 28 + </CustomerStatusEvent> 29 + </CustomerStatusEventInfo> 30 + </CustomerJournalInfo> 31 + <CustomerJournalInfo> 32 + <CustomerNo>2789456</CustomerNo> 33 + <RegNo CountryCode="SE">18121212-1212</RegNo> 34 + <CustomerInfo LegalEntity="Business"> 35 + <Name>Gale Harrison</Name> 36 + <LanguageCode>SV</LanguageCode> 37 + <DistributionAddressInfo> 38 + <Addresses> 39 + <Address AddressType="LegalAddress"> 40 + <Addressee>Gale Harrison</Addressee> 41 + <StreetAddress>LegalStreet2</StreetAddress> 42 + <ZipCode>12345</ZipCode> 43 + <City>LegalCity</City> 44 + <CountryCode>SE</CountryCode> 45 + </Address> 46 + </Addresses> 47 + </DistributionAddressInfo> 48 + </CustomerInfo> 49 + </CustomerJournalInfo> 50 +</CustomerJournal>
- SIE_filformat_ver_4B_ENGLISH.pdf
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +295.6 KB - Content
- ARAccountingDetail_12345_20170419095509_122.xml
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.9 KB - Content
-
... ... @@ -1,0 +1,149 @@ 1 +<?xml version="1.0" encoding="utf-8" standalone="yes"?> 2 +<AccountingDetail Version="1.1" CompanyNo="12345" CompanyName="TestFirman AB" CreatedDateTime="2017-04-19T00:00:00"> 3 + <BookDates> 4 + <BookDate Date="2017-04-18"> 5 + <Vouchers> 6 + <Voucher VoucherSerie="1" VoucherNo="139" ValueDate="2017-04-01"> 7 + <VoucherDetails> 8 + <VoucherDetail PXId="281835" TransactionType="DirectPayment" AccountType="InvAcc" AccountName="804"> 9 + <VoucherDetailTransactions> 10 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="D" CurrencyCode="SEK" Amount="1190.00" /> 11 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="C" CurrencyCode="SEK" Amount="-1190.00" /> 12 + <VoucherDetailTransaction BookAccount="3591" AccountingAction="D" CurrencyCode="SEK" Amount="60.00" /> 13 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="C" CurrencyCode="SEK" Amount="-60.00" /> 14 + <VoucherDetailTransaction BookAccount="3592" AccountingAction="D" CurrencyCode="SEK" Amount="180.00" /> 15 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="C" CurrencyCode="SEK" Amount="-180.00" /> 16 + <VoucherDetailTransaction BookAccount="8313" AccountingAction="D" CurrencyCode="SEK" Amount="13.45" /> 17 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="C" CurrencyCode="SEK" Amount="-13.45" /> 18 + </VoucherDetailTransactions> 19 + </VoucherDetail> 20 + </VoucherDetails> 21 + </Voucher> 22 + <Voucher VoucherSerie="1" VoucherNo="140" ValueDate="2017-04-18"> 23 + <VoucherDetails> 24 + <VoucherDetail PXId="294285" TransactionType="DirectPayment" AccountType="InvAcc" AccountName="804"> 25 + <VoucherDetailTransactions> 26 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-1190.00" /> 27 + <VoucherDetailTransaction BookAccount="3591" AccountingAction="C" CurrencyCode="SEK" Amount="-60.00" /> 28 + <VoucherDetailTransaction BookAccount="3592" AccountingAction="C" CurrencyCode="SEK" Amount="-180.00" /> 29 + <VoucherDetailTransaction BookAccount="8313" AccountingAction="C" CurrencyCode="SEK" Amount="-17.00" /> 30 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="D" CurrencyCode="SEK" Amount="1190.00" /> 31 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="D" CurrencyCode="SEK" Amount="60.00" /> 32 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="D" CurrencyCode="SEK" Amount="180.00" /> 33 + <VoucherDetailTransaction BookAccount="1513" AccountingAction="D" CurrencyCode="SEK" Amount="17.00" /> 34 + </VoucherDetailTransactions> 35 + </VoucherDetail> 36 + <VoucherDetail PXId="294287" TransactionType="CredCapital2" AccountType="InvAcc" AccountName="1200" TransactionCause="Settlement"> 37 + <VoucherDetailTransactions> 38 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-150.00" /> 39 + <VoucherDetailTransaction BookAccount="1519" AccountingAction="D" CurrencyCode="SEK" Amount="150.00" /> 40 + </VoucherDetailTransactions> 41 + </VoucherDetail> 42 + <VoucherDetail PXId="294289" TransactionType="AutoPayment" AccountType="InvAcc" AccountName="1195"> 43 + <VoucherDetailTransactions> 44 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="D" CurrencyCode="SEK" Amount="359.00" /> 45 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="C" CurrencyCode="SEK" Amount="-359.00" /> 46 + <VoucherDetailTransaction BookAccount="3591" AccountingAction="D" CurrencyCode="SEK" Amount="60.00" /> 47 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="C" CurrencyCode="SEK" Amount="-60.00" /> 48 + <VoucherDetailTransaction BookAccount="3592" AccountingAction="D" CurrencyCode="SEK" Amount="180.00" /> 49 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="C" CurrencyCode="SEK" Amount="-180.00" /> 50 + </VoucherDetailTransactions> 51 + </VoucherDetail> 52 + <VoucherDetail PXId="294292" TransactionType="CredCapital2" AccountType="InvAcc" AccountName="1205" TransactionCause="Settlement"> 53 + <VoucherDetailTransactions> 54 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-150.00" /> 55 + <VoucherDetailTransaction BookAccount="1519" AccountingAction="D" CurrencyCode="SEK" Amount="150.00" /> 56 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="D" CurrencyCode="SEK" Amount="150.00" /> 57 + <VoucherDetailTransaction BookAccount="1519" AccountingAction="C" CurrencyCode="SEK" Amount="-150.00" /> 58 + </VoucherDetailTransactions> 59 + </VoucherDetail> 60 + <VoucherDetail PXId="294295" TransactionType="DebitInvoiceAdjustment" AccountType="InvAcc" AccountName="1091"> 61 + <VoucherDetailTransactions> 62 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-125.00" /> 63 + <VoucherDetailTransaction BookAccount="2499" AccountingAction="D" CurrencyCode="SEK" Amount="125.00" /> 64 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="D" CurrencyCode="SEK" Amount="125.00" /> 65 + <VoucherDetailTransaction BookAccount="2499" AccountingAction="C" CurrencyCode="SEK" Amount="-125.00" /> 66 + </VoucherDetailTransactions> 67 + </VoucherDetail> 68 + <VoucherDetail PXId="294296" TransactionType="CreditInvoiceAdjustment" AccountType="InvAcc" AccountName="1243"> 69 + <VoucherDetailTransactions> 70 + <VoucherDetailTransaction BookAccount="2499" AccountingAction="C" CurrencyCode="SEK" Amount="-125.00" /> 71 + <VoucherDetailTransaction BookAccount="2490" AccountingAction="D" CurrencyCode="SEK" Amount="125.00" /> 72 + <VoucherDetailTransaction BookAccount="2499" AccountingAction="D" CurrencyCode="SEK" Amount="125.00" /> 73 + <VoucherDetailTransaction BookAccount="2490" AccountingAction="C" CurrencyCode="SEK" Amount="-125.00" /> 74 + </VoucherDetailTransactions> 75 + </VoucherDetail> 76 + <VoucherDetail PXId="294298" TransactionType="CreditInvoiceDisbursement" AccountType="InvAcc" AccountName="1244"> 77 + <VoucherDetailTransactions> 78 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="C" CurrencyCode="SEK" Amount="-10.00" /> 79 + <VoucherDetailTransaction BookAccount="2490" AccountingAction="D" CurrencyCode="SEK" Amount="10.00" /> 80 + </VoucherDetailTransactions> 81 + </VoucherDetail> 82 + <VoucherDetail PXId="294299" TransactionType="CreditInvoiceDisbursementReturn" AccountType="InvAcc" AccountName="1244"> 83 + <VoucherDetailTransactions> 84 + <VoucherDetailTransaction BookAccount="2490" AccountingAction="C" CurrencyCode="SEK" Amount="-10.00" /> 85 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="10.00" /> 86 + </VoucherDetailTransactions> 87 + </VoucherDetail> 88 + </VoucherDetails> 89 + </Voucher> 90 + <Voucher VoucherSerie="1" VoucherNo="141" ValueDate="2017-04-17"> 91 + <VoucherDetails> 92 + <VoucherDetail PXId="294238" TransactionType="AutoPayment" AccountType="InvAcc" AccountName="1092"> 93 + <VoucherDetailTransactions> 94 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-359.00" /> 95 + <VoucherDetailTransaction BookAccount="3591" AccountingAction="C" CurrencyCode="SEK" Amount="-60.00" /> 96 + <VoucherDetailTransaction BookAccount="3592" AccountingAction="C" CurrencyCode="SEK" Amount="-180.00" /> 97 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="359.00" /> 98 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="60.00" /> 99 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="180.00" /> 100 + </VoucherDetailTransactions> 101 + </VoucherDetail> 102 + <VoucherDetail PXId="294289" TransactionType="AutoPayment" AccountType="InvAcc" AccountName="1195"> 103 + <VoucherDetailTransactions> 104 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-359.00" /> 105 + <VoucherDetailTransaction BookAccount="3591" AccountingAction="C" CurrencyCode="SEK" Amount="-60.00" /> 106 + <VoucherDetailTransaction BookAccount="3592" AccountingAction="C" CurrencyCode="SEK" Amount="-180.00" /> 107 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="359.00" /> 108 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="60.00" /> 109 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="180.00" /> 110 + </VoucherDetailTransactions> 111 + </VoucherDetail> 112 + </VoucherDetails> 113 + </Voucher> 114 + <Voucher VoucherSerie="1" VoucherNo="142" ValueDate="2017-04-17"> 115 + <VoucherDetails> 116 + <VoucherDetail PXId="294304" TransactionType="AutoPayment" AccountType="InvAcc" AccountName="1197"> 117 + <VoucherDetailTransactions> 118 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-358.00" /> 119 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="358.00" /> 120 + </VoucherDetailTransactions> 121 + </VoucherDetail> 122 + <VoucherDetail PXId="294305" TransactionType="CredCapital1" AccountType="InvAcc" AccountName="1197"> 123 + <VoucherDetailTransactions> 124 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-1.00" /> 125 + <VoucherDetailTransaction BookAccount="3710" AccountingAction="D" CurrencyCode="SEK" Amount="1.00" /> 126 + </VoucherDetailTransactions> 127 + </VoucherDetail> 128 + </VoucherDetails> 129 + </Voucher> 130 + <Voucher VoucherSerie="1" VoucherNo="143" ValueDate="2017-04-20"> 131 + <VoucherDetails> 132 + <VoucherDetail PXId="294303" TransactionType="AutoPayment" AccountType="InvAcc" AccountName="1188"> 133 + <VoucherDetailTransactions> 134 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-1037.00" /> 135 + <VoucherDetailTransaction BookAccount="3591" AccountingAction="C" CurrencyCode="SEK" Amount="-60.00" /> 136 + <VoucherDetailTransaction BookAccount="3592" AccountingAction="C" CurrencyCode="SEK" Amount="-180.00" /> 137 + <VoucherDetailTransaction BookAccount="8313" AccountingAction="C" CurrencyCode="SEK" Amount="-4.69" /> 138 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="1037.00" /> 139 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="60.00" /> 140 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="180.00" /> 141 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="4.69" /> 142 + </VoucherDetailTransactions> 143 + </VoucherDetail> 144 + </VoucherDetails> 145 + </Voucher> 146 + </Vouchers> 147 + </BookDate> 148 + </BookDates> 149 +</AccountingDetail>
- ARAccountingDetail_367_20191207140426_516.XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.9 KB - Content
-
... ... @@ -1,0 +1,61 @@ 1 +<?xml version="1.0" encoding="utf-8" standalone="yes"?> 2 +<AccountingDetail Version="1.1" CompanyNo="367" CompanyName="Company Test" CreatedDateTime="2019-12-07T00:00:00"> 3 + <BookDates> 4 + <BookDate Date="2019-12-06"> 5 + <Vouchers> 6 + <Voucher VoucherSerie="1" VoucherNo="563" ValueDate="2019-12-06"> 7 + <VoucherDetails> 8 + <VoucherDetail PXId="1390032" TransactionType="DebitInvoiceAdjustment" AccountType="InvAcc" AccountName="199887992F"> 9 + <VoucherDetailTransactions> 10 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-50.00" /> 11 + <VoucherDetailTransaction BookAccount="2499" AccountingAction="D" CurrencyCode="SEK" Amount="50.00" /> 12 + </VoucherDetailTransactions> 13 + </VoucherDetail> 14 + <VoucherDetail PXId="1390033" TransactionType="CredCapital1" AccountType="InvAcc" AccountName="199887992F"> 15 + <VoucherDetailTransactions> 16 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-74.00" /> 17 + <VoucherDetailTransaction BookAccount="3710" AccountingAction="D" CurrencyCode="SEK" Amount="74.00" /> 18 + </VoucherDetailTransactions> 19 + </VoucherDetail> 20 + <VoucherDetail PXId="1390034" TransactionType="CreditInvoiceAdjustment" AccountType="InvAcc" AccountName="199888000F"> 21 + <VoucherDetailTransactions> 22 + <VoucherDetailTransaction BookAccount="2499" AccountingAction="C" CurrencyCode="SEK" Amount="-50.00" /> 23 + <VoucherDetailTransaction BookAccount="2490" AccountingAction="D" CurrencyCode="SEK" Amount="50.00" /> 24 + </VoucherDetailTransactions> 25 + </VoucherDetail> 26 + <VoucherDetail PXId="1390035" TransactionType="CreditInvoiceDisbursement" AccountType="InvAcc" AccountName="199888000F"> 27 + <VoucherDetailTransactions> 28 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="C" CurrencyCode="SEK" Amount="-50.00" /> 29 + <VoucherDetailTransaction BookAccount="2490" AccountingAction="D" CurrencyCode="SEK" Amount="50.00" /> 30 + </VoucherDetailTransactions> 31 + </VoucherDetail> 32 + <VoucherDetail PXId="1390043" TransactionType="SurplusPayment" AccountType="InvAcc" AccountName="199887992F5"> 33 + <VoucherDetailTransactions> 34 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-80.00" /> 35 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="80.00" /> 36 + </VoucherDetailTransactions> 37 + </VoucherDetail> 38 + <VoucherDetail PXId="1390044" TransactionType="CredCapital1" AccountType="InvAcc" AccountName="199887992F5"> 39 + <VoucherDetailTransactions> 40 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-44.00" /> 41 + <VoucherDetailTransaction BookAccount="3710" AccountingAction="D" CurrencyCode="SEK" Amount="44.00" /> 42 + </VoucherDetailTransactions> 43 + </VoucherDetail> 44 + <VoucherDetail PXId="1390048" TransactionType="AutoPayment" AccountType="InvAcc" AccountName="199887993G5"> 45 + <VoucherDetailTransactions> 46 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="D" CurrencyCode="SEK" Amount="124.00" /> 47 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="C" CurrencyCode="SEK" Amount="-124.00" /> 48 + </VoucherDetailTransactions> 49 + </VoucherDetail> 50 + <VoucherDetail PXId="1390052" TransactionType="ManualPayment" AccountType="InvAcc" AccountName="199887993G5"> 51 + <VoucherDetailTransactions> 52 + <VoucherDetailTransaction BookAccount="1510" AccountingAction="C" CurrencyCode="SEK" Amount="-124.00" /> 53 + <VoucherDetailTransaction BookAccount="1684" AccountingAction="D" CurrencyCode="SEK" Amount="124.00" /> 54 + </VoucherDetailTransactions> 55 + </VoucherDetail> 56 + </VoucherDetails> 57 + </Voucher> 58 + </Vouchers> 59 + </BookDate> 60 + </BookDates> 61 +</AccountingDetail>
- FileResponse_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.1 KB - Content
-
... ... @@ -1,0 +1,44 @@ 1 +<?xml version="1.0" encoding="Windows-1252"?> 2 +<xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified"> 3 + <xsd:element name="Response"> 4 + <xsd:complexType> 5 + <xsd:sequence> 6 + <xsd:element name="OriginItems" minOccurs="0" maxOccurs="1"> 7 + <xsd:complexType> 8 + <xsd:sequence> 9 + <xsd:any processContents="skip" minOccurs="1" maxOccurs="unbounded"/> 10 + </xsd:sequence> 11 + </xsd:complexType> 12 + </xsd:element> 13 + <xsd:element name="ResponseItems" minOccurs="1" maxOccurs="1"> 14 + <xsd:complexType> 15 + <xsd:sequence> 16 + <xsd:element name="ResponseItem" type="ResponseItem" maxOccurs="unbounded" /> 17 + </xsd:sequence> 18 + </xsd:complexType> 19 + </xsd:element> 20 + <xsd:element name="ProcessedFile" type="xsd:string" minOccurs="1" nillable="false"/> 21 + </xsd:sequence> 22 + <xs:attribute name="Version" use="required" type="xs:string" fixed="1.0" /> 23 + <xs:attribute name="CreatedDateTime" use="required" type="xs:dateTime" /> 24 + <xs:attribute name="CompanyNo" use="required" type="xs:string" /> 25 + <xs:attribute name="CompanyName" use="required" type="xs:string" /> 26 + </xsd:complexType> 27 + </xsd:element> 28 + <xsd:complexType name="ResponseItem"> 29 + <xsd:sequence> 30 + <xsd:element name="MessageCode" type="xsd:unsignedInt" minOccurs="1" nillable="false"/> 31 + <xsd:element name="Message" type="xsd:string" minOccurs="1" nillable="false"/> 32 + <xsd:element name="ResponseType" type="xsd:string" minOccurs="1" nillable="false"/> 33 + <xsd:element name="Reference"> 34 + <xsd:complexType> 35 + <xsd:simpleContent> 36 + <xsd:extension base="xsd:string"> 37 + <xsd:attribute name="ReferenceType" type="xsd:string" use="required" /> 38 + </xsd:extension> 39 + </xsd:simpleContent> 40 + </xsd:complexType> 41 + </xsd:element> 42 + </xsd:sequence> 43 + </xsd:complexType> 44 +</xs:schema>
- BillJournal_[1.211].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.2 KB - Content
-
... ... @@ -1,0 +1,449 @@ 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="BillJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="BillJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an invoice.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="InvoiceNo" type="InvoiceIdentifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>InvoiceNo is your unique invoice identifier in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 18 + <xs:annotation> 19 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="InvoiceClaimEvents" minOccurs="0" maxOccurs="1"> 23 + <xs:annotation> 24 + <xs:documentation>Containing claim events on an invoice.</xs:documentation> 25 + </xs:annotation> 26 + <xs:complexType> 27 + <xs:sequence> 28 + <xs:element name="InvoiceClaimEvent" type="InvoiceClaimEvent" minOccurs="1" maxOccurs="unbounded"> 29 + <xs:annotation> 30 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 31 + </xs:annotation> 32 + </xs:element> 33 + </xs:sequence> 34 + </xs:complexType> 35 + </xs:element> 36 + <xs:element name="InvoiceStatusEvents" minOccurs="0" maxOccurs="1"> 37 + <xs:annotation> 38 + <xs:documentation>Containing status events on an invoice.</xs:documentation> 39 + </xs:annotation> 40 + <xs:complexType> 41 + <xs:sequence> 42 + <xs:element name="InvoiceStatusEvent" type="InvoiceStatusEvent" minOccurs="1" maxOccurs="unbounded"> 43 + <xs:annotation> 44 + <xs:documentation>Contains an invoice status event.</xs:documentation> 45 + </xs:annotation> 46 + </xs:element> 47 + </xs:sequence> 48 + </xs:complexType> 49 + </xs:element> 50 + <xs:element name="InvoiceClaimProcessPauseEvents" minOccurs="0" maxOccurs="1"> 51 + <xs:annotation> 52 + <xs:documentation>Containing claim process pause events on an invoice.</xs:documentation> 53 + </xs:annotation> 54 + <xs:complexType> 55 + <xs:sequence> 56 + <xs:element name="InvoiceClaimProcessPauseEvent" type="InvoiceClaimProcessPauseEvent" minOccurs="1" maxOccurs="unbounded"> 57 + <xs:annotation> 58 + <xs:documentation>Contains an invoice claim process pause event</xs:documentation> 59 + </xs:annotation> 60 + </xs:element> 61 + </xs:sequence> 62 + </xs:complexType> 63 + </xs:element> 64 + <xs:element name="InvoiceComplaintEvents" minOccurs="0" maxOccurs="1"> 65 + <xs:annotation> 66 + <xs:documentation>Containing complaint events on an invoice.</xs:documentation> 67 + </xs:annotation> 68 + <xs:complexType> 69 + <xs:sequence> 70 + <xs:element name="InvoiceComplaintEvent" type="InvoiceComplaintEvent" minOccurs="1" maxOccurs="unbounded"> 71 + <xs:annotation> 72 + <xs:documentation>Contains an invoice complaint event</xs:documentation> 73 + </xs:annotation> 74 + </xs:element> 75 + </xs:sequence> 76 + </xs:complexType> 77 + </xs:element> 78 + <xs:element name="InvoiceNotificationEvents" minOccurs="0" maxOccurs="1"> 79 + <xs:annotation> 80 + <xs:documentation>Containing Notification events on an invoice.</xs:documentation> 81 + </xs:annotation> 82 + <xs:complexType> 83 + <xs:sequence> 84 + <xs:element name="InvoiceNotificationEvent" type="InvoiceNotificationEvent" minOccurs="1" maxOccurs="unbounded"> 85 + <xs:annotation> 86 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 87 + </xs:annotation> 88 + </xs:element> 89 + </xs:sequence> 90 + </xs:complexType> 91 + </xs:element> 92 + </xs:sequence> 93 + </xs:complexType> 94 + </xs:element> 95 + </xs:sequence> 96 + <xs:attribute name="Version" type="Version" use="required"> 97 + <xs:annotation> 98 + <xs:documentation>Versions supported by this schema</xs:documentation> 99 + </xs:annotation> 100 + </xs:attribute> 101 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 102 + <xs:annotation> 103 + <xs:documentation>The date and time when the file was created</xs:documentation> 104 + </xs:annotation> 105 + </xs:attribute> 106 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 107 + <xs:annotation> 108 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 109 + </xs:annotation> 110 + </xs:attribute> 111 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 112 + <xs:annotation> 113 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 114 + </xs:annotation> 115 + </xs:attribute> 116 + </xs:complexType> 117 + </xs:element> 118 + <xs:simpleType name="Identifier15"> 119 + <xs:restriction base="xs:string"> 120 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 121 + <xs:minLength value="1" /> 122 + <xs:maxLength value="15" /> 123 + </xs:restriction> 124 + </xs:simpleType> 125 + <xs:simpleType name="ISO3166"> 126 + <xs:restriction base="xs:string"> 127 + <xs:pattern value="[A-Z]*" /> 128 + <xs:minLength value="2" /> 129 + <xs:maxLength value="2" /> 130 + </xs:restriction> 131 + </xs:simpleType> 132 + <xs:simpleType name="CompanyNumber"> 133 + <xs:restriction base="xs:string"> 134 + <xs:pattern value="[0-9]*" /> 135 + <xs:minLength value="1" /> 136 + <xs:maxLength value="15" /> 137 + </xs:restriction> 138 + </xs:simpleType> 139 + <xs:simpleType name="ISO639"> 140 + <xs:restriction base="PXString"> 141 + <xs:enumeration value="SV" /> 142 + <xs:enumeration value="NO" /> 143 + <xs:enumeration value="DA" /> 144 + <xs:enumeration value="FI" /> 145 + <xs:enumeration value="EN" /> 146 + </xs:restriction> 147 + </xs:simpleType> 148 + <xs:simpleType name="String35"> 149 + <xs:restriction base="PXString"> 150 + <xs:maxLength value="35" /> 151 + </xs:restriction> 152 + </xs:simpleType> 153 + <xs:simpleType name="Email"> 154 + <xs:restriction base="PXString"> 155 + <xs:maxLength value="60" /> 156 + </xs:restriction> 157 + </xs:simpleType> 158 + <xs:simpleType name="String15"> 159 + <xs:restriction base="PXString"> 160 + <xs:maxLength value="15" /> 161 + </xs:restriction> 162 + </xs:simpleType> 163 + <xs:simpleType name="ZipCode"> 164 + <xs:restriction base="xs:string"> 165 + <xs:pattern value="[A-Z0-9\-]+" /> 166 + <xs:maxLength value="9" /> 167 + </xs:restriction> 168 + </xs:simpleType> 169 + <xs:simpleType name="VatNumber"> 170 + <xs:restriction base="xs:string"> 171 + <xs:pattern value="[A-Z]{2}.*" /> 172 + <xs:minLength value="7" /> 173 + <xs:maxLength value="14" /> 174 + </xs:restriction> 175 + </xs:simpleType> 176 + <xs:simpleType name="String50"> 177 + <xs:restriction base="xs:string"> 178 + <xs:maxLength value="50" /> 179 + </xs:restriction> 180 + </xs:simpleType> 181 + <xs:complexType name="InvoiceClaimEvent"> 182 + <xs:sequence> 183 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 184 + <xs:annotation> 185 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 186 + </xs:annotation> 187 + </xs:element> 188 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 189 + <xs:annotation> 190 + <xs:documentation>The date when the event occurred.</xs:documentation> 191 + </xs:annotation> 192 + </xs:element> 193 + <xs:element name="BillAmount" type="BillAmount" maxOccurs="1" minOccurs="1" nillable="false"> 194 + <xs:annotation> 195 + <xs:documentation>The claim amount at the time of the claimevent.</xs:documentation> 196 + </xs:annotation> 197 + </xs:element> 198 + </xs:sequence> 199 + </xs:complexType> 200 + <xs:complexType name="InvoiceStatusEvent"> 201 + <xs:sequence> 202 + <xs:element name="InvoiceStatus" type="eInvoiceStatus" minOccurs="1" maxOccurs="1" nillable="false"> 203 + <xs:annotation> 204 + <xs:documentation>Type of status event from enumeration.</xs:documentation> 205 + </xs:annotation> 206 + </xs:element> 207 + <xs:element name="InvoiceSubStatus" type="eInvoiceSubStatus" minOccurs="0" maxOccurs="1"> 208 + <xs:annotation> 209 + <xs:documentation>Used to clarify why the InvoiceStatus is set. Reasons is listed in the enumeration eInvoiceSubStatus.</xs:documentation> 210 + </xs:annotation> 211 + </xs:element> 212 + <xs:element name="StatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 213 + <xs:annotation> 214 + <xs:documentation>The date when the event occurred</xs:documentation> 215 + </xs:annotation> 216 + </xs:element> 217 + </xs:sequence> 218 + </xs:complexType> 219 + <xs:complexType name="InvoiceClaimProcessPauseEvent"> 220 + <xs:sequence> 221 + <xs:element name="ClaimProcessPauseEvent" type="eClaimProcessPauseEventType" minOccurs="1" maxOccurs="1" nillable="false"> 222 + <xs:annotation> 223 + <xs:documentation>Type of claim process pause event from enumeration.</xs:documentation> 224 + </xs:annotation> 225 + </xs:element> 226 + <xs:element name="ClaimProcessPauseEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 227 + <xs:annotation> 228 + <xs:documentation>The date when the event occurred</xs:documentation> 229 + </xs:annotation> 230 + </xs:element> 231 + <xs:element name="ValidToDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="false"> 232 + <xs:annotation> 233 + <xs:documentation>If exists, the date to which the claim process pause is valid to.</xs:documentation> 234 + </xs:annotation> 235 + </xs:element> 236 + </xs:sequence> 237 + </xs:complexType> 238 + <xs:complexType name="InvoiceComplaintEvent"> 239 + <xs:sequence> 240 + <xs:element name="ComplaintStatus" type="eComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false"> 241 + <xs:annotation> 242 + <xs:documentation>Type of complaint status from enumeration.</xs:documentation> 243 + </xs:annotation> 244 + </xs:element> 245 + <xs:element name="ComplaintEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 246 + <xs:annotation> 247 + <xs:documentation>The date when the event occurred</xs:documentation> 248 + </xs:annotation> 249 + </xs:element> 250 + </xs:sequence> 251 + </xs:complexType> 252 + <xs:complexType name="InvoiceNotificationEvent"> 253 + <xs:sequence> 254 + <xs:element name="NotificationType" type="eNotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 255 + <xs:annotation> 256 + <xs:documentation>Type of Notification event from enumeration.</xs:documentation> 257 + </xs:annotation> 258 + </xs:element> 259 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 260 + <xs:annotation> 261 + <xs:documentation>The date when the event occurred.</xs:documentation> 262 + </xs:annotation> 263 + </xs:element> 264 + </xs:sequence> 265 + </xs:complexType> 266 + <xs:complexType name="BillAmount"> 267 + <xs:sequence> 268 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 269 + </xs:sequence> 270 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 271 + </xs:complexType> 272 + <xs:simpleType name="eClaimProcessPauseEventType"> 273 + <xs:restriction base="xs:string"> 274 + <xs:enumeration value="Stop"> 275 + <xs:annotation> 276 + <xs:documentation>The claim is stopped for further claim process steps until stop is removed.</xs:documentation> 277 + </xs:annotation> 278 + </xs:enumeration> 279 + <xs:enumeration value="Respite"> 280 + <xs:annotation> 281 + <xs:documentation>The claim is stopped for further claimprocess steps until valid to data of respite or respite is removed.</xs:documentation> 282 + </xs:annotation> 283 + </xs:enumeration> 284 + <xs:enumeration value="StopRemoved"> 285 + <xs:annotation> 286 + <xs:documentation>Stop has been removed from claim.</xs:documentation> 287 + </xs:annotation> 288 + </xs:enumeration> 289 + <xs:enumeration value="RespiteRemoved"> 290 + <xs:annotation> 291 + <xs:documentation>Respite has been removed fro claim</xs:documentation> 292 + </xs:annotation> 293 + </xs:enumeration> 294 + </xs:restriction> 295 + </xs:simpleType> 296 + <xs:simpleType name="eComplaintStatus"> 297 + <xs:restriction base="xs:string"> 298 + <xs:enumeration value="ComplaintReceived"> 299 + <xs:annotation> 300 + <xs:documentation>Complaint has been registered</xs:documentation> 301 + </xs:annotation> 302 + </xs:enumeration> 303 + <xs:enumeration value="ComplaintResolved"> 304 + <xs:annotation> 305 + <xs:documentation>Complaint has been resolved</xs:documentation> 306 + </xs:annotation> 307 + </xs:enumeration> 308 + </xs:restriction> 309 + </xs:simpleType> 310 + <xs:simpleType name="eInvoiceStatus"> 311 + <xs:restriction base="xs:string"> 312 + <xs:enumeration value="Closed"> 313 + <xs:annotation> 314 + <xs:documentation>Status of the invoice in the accounts receivable has been set to closed</xs:documentation> 315 + </xs:annotation> 316 + </xs:enumeration> 317 + <xs:enumeration value="Rest"> 318 + <xs:annotation> 319 + <xs:documentation>Status of the invoice in the accounts receivable has been set to rest, meaning that remaing amount to settle is below or egual to configured amount.</xs:documentation> 320 + </xs:annotation> 321 + </xs:enumeration> 322 + </xs:restriction> 323 + </xs:simpleType> 324 + <xs:simpleType name="eClaimEvent"> 325 + <xs:restriction base="xs:string"> 326 + <xs:enumeration value="ReminderSent"> 327 + <xs:annotation> 328 + <xs:documentation>An invoice reminder has been sent to the customer</xs:documentation> 329 + </xs:annotation> 330 + </xs:enumeration> 331 + <xs:enumeration value="SecondReminderSent"> 332 + <xs:annotation> 333 + <xs:documentation>A second invoice reminder has been sent to the customer</xs:documentation> 334 + </xs:annotation> 335 + </xs:enumeration> 336 + <xs:enumeration value="CollectionClaimSent"> 337 + <xs:annotation> 338 + <xs:documentation>A collection claim has been sent to the customer</xs:documentation> 339 + </xs:annotation> 340 + </xs:enumeration> 341 + <xs:enumeration value="RestReminderSent"> 342 + <xs:annotation> 343 + <xs:documentation>A reminder including only interest and fees has been sent to the customer</xs:documentation> 344 + </xs:annotation> 345 + </xs:enumeration> 346 + <xs:enumeration value="DebtCollection"> 347 + <xs:annotation> 348 + <xs:documentation>The invoice has been transferred to collection</xs:documentation> 349 + </xs:annotation> 350 + </xs:enumeration> 351 + </xs:restriction> 352 + </xs:simpleType> 353 + <xs:simpleType name="eNotificationType"> 354 + <xs:restriction base="xs:string"> 355 + <xs:enumeration value="PreDueDate"> 356 + <xs:annotation> 357 + <xs:documentation>Notification before the invoice due date</xs:documentation> 358 + </xs:annotation> 359 + </xs:enumeration> 360 + <xs:enumeration value="PreReminder"> 361 + <xs:annotation> 362 + <xs:documentation>Notification before the reminder is sent</xs:documentation> 363 + </xs:annotation> 364 + </xs:enumeration> 365 + <xs:enumeration value="PreCollectionClaim"> 366 + <xs:annotation> 367 + <xs:documentation>Notification before the collection claim is sent</xs:documentation> 368 + </xs:annotation> 369 + </xs:enumeration> 370 + </xs:restriction> 371 + </xs:simpleType> 372 + <xs:simpleType name="eCurrencyType"> 373 + <xs:restriction base="xs:string"> 374 + <xs:enumeration value="SEK" /> 375 + <xs:enumeration value="NOK" /> 376 + <xs:enumeration value="DKK" /> 377 + <xs:enumeration value="EUR" /> 378 + </xs:restriction> 379 + </xs:simpleType> 380 + <xs:simpleType name="eInvoiceSubStatus"> 381 + <xs:restriction base="xs:string"> 382 + <xs:enumeration value="Sold" > 383 + <xs:annotation> 384 + <xs:documentation>The invoice has been sold to another part</xs:documentation> 385 + </xs:annotation> 386 + </xs:enumeration> 387 + <xs:enumeration value="Loss" > 388 + <xs:annotation> 389 + <xs:documentation>Indicates that the invoice has been credited with loss</xs:documentation> 390 + </xs:annotation> 391 + </xs:enumeration> 392 + <xs:enumeration value="Converted" > 393 + <xs:annotation> 394 + <xs:documentation>The invoice has been converted to a credit account</xs:documentation> 395 + </xs:annotation> 396 + </xs:enumeration> 397 + <xs:enumeration value="Diff" > 398 + <xs:annotation> 399 + <xs:documentation>The invoice has been closed after having been listed (status Rest) for a certain time</xs:documentation> 400 + </xs:annotation> 401 + </xs:enumeration> 402 + <xs:enumeration value="Reversal"> 403 + <xs:annotation> 404 + <xs:documentation>The invoice has been fully credited or a chargeback has been made</xs:documentation> 405 + </xs:annotation> 406 + </xs:enumeration> 407 + </xs:restriction> 408 + </xs:simpleType> 409 + <xs:simpleType name="Version"> 410 + <xs:restriction base="xs:string"> 411 + <xs:enumeration value="1.0"/> 412 + <xs:enumeration value="1.1"/> 413 + </xs:restriction> 414 + </xs:simpleType> 415 + <xs:simpleType name="Money"> 416 + <xs:restriction base="xs:decimal"> 417 + <xs:fractionDigits value="2" /> 418 + <xs:minInclusive value="-100000000" /> 419 + <xs:maxInclusive value="100000000" /> 420 + </xs:restriction> 421 + </xs:simpleType> 422 + <xs:simpleType name="String10"> 423 + <xs:restriction base="PXString"> 424 + <xs:maxLength value="10" /> 425 + </xs:restriction> 426 + </xs:simpleType> 427 + <xs:simpleType name="String30"> 428 + <xs:restriction base="PXString"> 429 + <xs:maxLength value="30" /> 430 + </xs:restriction> 431 + </xs:simpleType> 432 + <xs:simpleType name="String25"> 433 + <xs:restriction base="PXString"> 434 + <xs:maxLength value="25" /> 435 + </xs:restriction> 436 + </xs:simpleType> 437 + <xs:simpleType name="InvoiceIdentifier15"> 438 + <xs:restriction base="xs:string"> 439 + <xs:pattern value="[A-Za-z0-9\-]+" /> 440 + <xs:maxLength value="15" /> 441 + </xs:restriction> 442 + </xs:simpleType> 443 + <xs:simpleType name="PXString"> 444 + <xs:restriction base="xs:string"> 445 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 446 + <xs:minLength value="1" /> 447 + </xs:restriction> 448 + </xs:simpleType> 449 +</xs:schema>
- AccountJournal_[1.1].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.kwd - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.5 KB - Content
-
... ... @@ -1,0 +1,266 @@ 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="AccountJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="AccountJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an account.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="RegNo" type="RegNo" minOccurs="0" maxOccurs="1"> 18 + <xs:annotation> 19 + <xs:documentation>If exists, Customer social security number/corporate identity number in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="AccountNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false" > 23 + <xs:annotation> 24 + <xs:documentation>Unique accountnumber associated with the account in the accounts receivable.</xs:documentation> 25 + </xs:annotation> 26 + </xs:element> 27 + <xs:element name="AccountProfileName" type="String50" minOccurs="1" maxOccurs="1" nillable="false" > 28 + <xs:annotation> 29 + <xs:documentation>Profilename associated with the account</xs:documentation> 30 + </xs:annotation> 31 + </xs:element> 32 + <xs:element name="AccountStatusEvents" minOccurs="0" maxOccurs="1"> 33 + <xs:annotation> 34 + <xs:documentation>Containing status events on an account.</xs:documentation> 35 + </xs:annotation> 36 + <xs:complexType> 37 + <xs:sequence> 38 + <xs:element name="AccountStatusEvent" type="AccountStatusEvent" minOccurs="1" maxOccurs="unbounded"> 39 + <xs:annotation> 40 + <xs:documentation>Contains an account status event.</xs:documentation> 41 + </xs:annotation> 42 + </xs:element> 43 + </xs:sequence> 44 + </xs:complexType> 45 + </xs:element> 46 + <xs:element name="AccountClaimEvents" minOccurs="0" maxOccurs="1"> 47 + <xs:annotation> 48 + <xs:documentation>Containing claim events on an account.</xs:documentation> 49 + </xs:annotation> 50 + <xs:complexType> 51 + <xs:sequence> 52 + <xs:element name="AccountClaimEvent" type="AccountClaimEvent" minOccurs="1" maxOccurs="unbounded"> 53 + <xs:annotation> 54 + <xs:documentation>Contains an account claim event.</xs:documentation> 55 + </xs:annotation> 56 + </xs:element> 57 + </xs:sequence> 58 + </xs:complexType> 59 + </xs:element> 60 + </xs:sequence> 61 + </xs:complexType> 62 + </xs:element> 63 + </xs:sequence> 64 + <xs:attribute name="Version" type="Version" use="required" > 65 + <xs:annotation> 66 + <xs:documentation>The version of the schema-file (XSD) to be used for validation of the xml-file.</xs:documentation> 67 + </xs:annotation> 68 + </xs:attribute> 69 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 70 + <xs:annotation> 71 + <xs:documentation>The date and time when the file was created.</xs:documentation> 72 + </xs:annotation> 73 + </xs:attribute> 74 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 75 + <xs:annotation> 76 + <xs:documentation>Your accounts receivable number at PayEx.</xs:documentation> 77 + </xs:annotation> 78 + </xs:attribute> 79 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 80 + <xs:annotation> 81 + <xs:documentation>The name of your company/accounts recievable at PayEx.</xs:documentation> 82 + </xs:annotation> 83 + </xs:attribute> 84 + </xs:complexType> 85 + </xs:element> 86 + <xs:simpleType name="Identifier15"> 87 + <xs:restriction base="xs:string"> 88 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 89 + <xs:minLength value="1" /> 90 + <xs:maxLength value="15" /> 91 + </xs:restriction> 92 + </xs:simpleType> 93 + <xs:simpleType name="ISO3166"> 94 + <xs:restriction base="xs:string"> 95 + <xs:pattern value="[A-Z]*" /> 96 + <xs:minLength value="2" /> 97 + <xs:maxLength value="2" /> 98 + </xs:restriction> 99 + </xs:simpleType> 100 + <xs:simpleType name="CompanyNumber"> 101 + <xs:restriction base="xs:string"> 102 + <xs:pattern value="[0-9]*" /> 103 + <xs:minLength value="1" /> 104 + <xs:maxLength value="15" /> 105 + </xs:restriction> 106 + </xs:simpleType> 107 + <xs:simpleType name="String15"> 108 + <xs:restriction base="xs:string"> 109 + <xs:maxLength value="15" /> 110 + </xs:restriction> 111 + </xs:simpleType> 112 + <xs:simpleType name="String50"> 113 + <xs:restriction base="xs:string"> 114 + <xs:maxLength value="50" /> 115 + </xs:restriction> 116 + </xs:simpleType> 117 + <xs:complexType name="AccountStatusEvent"> 118 + <xs:sequence> 119 + <xs:element type="AccountStatusType" name="AccountStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 120 + <xs:annotation> 121 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 122 + </xs:annotation> 123 + </xs:element> 124 + <xs:element name="AccountStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 125 + <xs:annotation> 126 + <xs:documentation>The date when the event occurred</xs:documentation> 127 + </xs:annotation> 128 + </xs:element> 129 + <xs:element name="Status" type="AccountStatus" maxOccurs="1" minOccurs="1" nillable="false"> 130 + <xs:annotation> 131 + <xs:documentation>The state of the accountstatus due to the event</xs:documentation> 132 + </xs:annotation> 133 + </xs:element> 134 + </xs:sequence> 135 + </xs:complexType> 136 + <xs:complexType name="AccountClaimEvent"> 137 + <xs:sequence> 138 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 139 + <xs:annotation> 140 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 141 + </xs:annotation> 142 + </xs:element> 143 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 144 + <xs:annotation> 145 + <xs:documentation>The date when the event occurred.</xs:documentation> 146 + </xs:annotation> 147 + </xs:element> 148 + <xs:element name="Amount" type="Amount" maxOccurs="1" minOccurs="0" nillable="false"> 149 + <xs:annotation> 150 + <xs:documentation>Claim amount associated with the claimevent. Will not be set if ClaimEvent is ClaimProcessReset</xs:documentation> 151 + </xs:annotation> 152 + </xs:element> 153 + </xs:sequence> 154 + </xs:complexType> 155 + <xs:simpleType name="AccountStatusType"> 156 + <xs:restriction base="xs:string"> 157 + <xs:enumeration value="Created" > 158 + <xs:annotation> 159 + <xs:documentation>The account has been created.</xs:documentation> 160 + </xs:annotation> 161 + </xs:enumeration> 162 + <xs:enumeration value="Terminated" > 163 + <xs:annotation> 164 + <xs:documentation>The account has been terminated.</xs:documentation> 165 + </xs:annotation> 166 + </xs:enumeration> 167 + </xs:restriction> 168 + </xs:simpleType> 169 + <xs:simpleType name="AccountStatus"> 170 + <xs:restriction base="xs:string"> 171 + <xs:enumeration value="Active"> 172 + <xs:annotation> 173 + <xs:documentation>The status has been activated on the account.</xs:documentation> 174 + </xs:annotation> 175 + </xs:enumeration> 176 + <xs:enumeration value="Cancelled"> 177 + <xs:annotation> 178 + <xs:documentation>The status has been deactivted on the account.</xs:documentation> 179 + </xs:annotation> 180 + </xs:enumeration> 181 + </xs:restriction> 182 + </xs:simpleType> 183 + <xs:complexType name="RegNo"> 184 + <xs:annotation> 185 + <xs:documentation>Social security number/Corporate identity number conforming to country standard.</xs:documentation> 186 + </xs:annotation> 187 + <xs:simpleContent> 188 + <xs:extension base="String15"> 189 + <xs:attribute name="CountryCode" type="ISO3166" use="required"> 190 + <xs:annotation> 191 + <xs:documentation>Nationality of RegNo according to ISO3166.</xs:documentation> 192 + </xs:annotation> 193 + </xs:attribute> 194 + </xs:extension> 195 + </xs:simpleContent> 196 + </xs:complexType> 197 + <xs:simpleType name="eClaimEvent"> 198 + <xs:restriction base="xs:string"> 199 + <xs:enumeration value="ReminderSent"> 200 + <xs:annotation> 201 + <xs:documentation>A reminder has been sent to the customer.</xs:documentation> 202 + </xs:annotation> 203 + </xs:enumeration> 204 + <xs:enumeration value="SecondReminderSent"> 205 + <xs:annotation> 206 + <xs:documentation>A second reminder has been sent to the customer.</xs:documentation> 207 + </xs:annotation> 208 + </xs:enumeration> 209 + <xs:enumeration value="TerminationNoticeSent"> 210 + <xs:annotation> 211 + <xs:documentation>A termination notice has been sent to the customer.</xs:documentation> 212 + </xs:annotation> 213 + </xs:enumeration> 214 + <xs:enumeration value="CollectionClaimSent"> 215 + <xs:annotation> 216 + <xs:documentation>A collection claim has been sent to the customer.</xs:documentation> 217 + </xs:annotation> 218 + </xs:enumeration> 219 + <xs:enumeration value="DebtCollection"> 220 + <xs:annotation> 221 + <xs:documentation>The claim has been transferred to collection.</xs:documentation> 222 + </xs:annotation> 223 + </xs:enumeration> 224 + <xs:enumeration value="ClaimProcessReset"> 225 + <xs:annotation> 226 + <xs:documentation>The bill is closed and the claim process has been reset.</xs:documentation> 227 + </xs:annotation> 228 + </xs:enumeration> 229 + </xs:restriction> 230 + </xs:simpleType> 231 + <xs:complexType name="Amount"> 232 + <xs:sequence> 233 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 234 + </xs:sequence> 235 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 236 + </xs:complexType> 237 + <xs:simpleType name="eCurrencyType"> 238 + <xs:restriction base="xs:string"> 239 + <xs:enumeration value="SEK" /> 240 + <xs:enumeration value="NOK" /> 241 + <xs:enumeration value="DKK" /> 242 + <xs:enumeration value="EUR" /> 243 + </xs:restriction> 244 + </xs:simpleType> 245 + <xs:simpleType name="Money"> 246 + <xs:restriction base="xs:decimal"> 247 + <xs:fractionDigits value="2" /> 248 + <xs:minInclusive value="-100000000" /> 249 + <xs:maxInclusive value="100000000" /> 250 + </xs:restriction> 251 + </xs:simpleType> 252 + <xs:simpleType name="Version"> 253 + <xs:annotation> 254 + <xs:documentation>Versions supported by this schema</xs:documentation> 255 + </xs:annotation> 256 + <xs:restriction base="xs:string"> 257 + <xs:enumeration value="1.0"> 258 + </xs:enumeration> 259 + <xs:enumeration value="1.1"> 260 + <xs:annotation> 261 + <xs:documentation>eClaimEvent ClaimProcessReset added. AccountClaimEvent.Amount changed to optional, ClaimProcessReset-event does not support this value</xs:documentation> 262 + </xs:annotation> 263 + </xs:enumeration> 264 + </xs:restriction> 265 + </xs:simpleType> 266 +</xs:schema>
- AccountJournal_[1.2].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.kwd - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.8 KB - Content
-
... ... @@ -1,0 +1,299 @@ 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="AccountJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="AccountJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an account.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="RegNo" type="RegNo" minOccurs="0" maxOccurs="1"> 18 + <xs:annotation> 19 + <xs:documentation>If exists, Customer social security number/corporate identity number in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="AccountNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false" > 23 + <xs:annotation> 24 + <xs:documentation>Unique accountnumber associated with the account in the accounts receivable.</xs:documentation> 25 + </xs:annotation> 26 + </xs:element> 27 + <xs:element name="AccountProfileName" type="String50" minOccurs="1" maxOccurs="1" nillable="false" > 28 + <xs:annotation> 29 + <xs:documentation>Profilename associated with the account</xs:documentation> 30 + </xs:annotation> 31 + </xs:element> 32 + <xs:element name="AccountStatusEvents" minOccurs="0" maxOccurs="1"> 33 + <xs:annotation> 34 + <xs:documentation>Containing status events on an account.</xs:documentation> 35 + </xs:annotation> 36 + <xs:complexType> 37 + <xs:sequence> 38 + <xs:element name="AccountStatusEvent" type="AccountStatusEvent" minOccurs="1" maxOccurs="unbounded"> 39 + <xs:annotation> 40 + <xs:documentation>Contains an account status event.</xs:documentation> 41 + </xs:annotation> 42 + </xs:element> 43 + </xs:sequence> 44 + </xs:complexType> 45 + </xs:element> 46 + <xs:element name="AccountClaimEvents" minOccurs="0" maxOccurs="1"> 47 + <xs:annotation> 48 + <xs:documentation>Containing claim events on an account.</xs:documentation> 49 + </xs:annotation> 50 + <xs:complexType> 51 + <xs:sequence> 52 + <xs:element name="AccountClaimEvent" type="AccountClaimEvent" minOccurs="1" maxOccurs="unbounded"> 53 + <xs:annotation> 54 + <xs:documentation>Contains an account claim event.</xs:documentation> 55 + </xs:annotation> 56 + </xs:element> 57 + </xs:sequence> 58 + </xs:complexType> 59 + </xs:element> 60 + </xs:sequence> 61 + </xs:complexType> 62 + </xs:element> 63 + </xs:sequence> 64 + <xs:attribute name="Version" type="Version" use="required" > 65 + <xs:annotation> 66 + <xs:documentation>The version of the schema-file (XSD) to be used for validation of the xml-file.</xs:documentation> 67 + </xs:annotation> 68 + </xs:attribute> 69 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 70 + <xs:annotation> 71 + <xs:documentation>The date and time when the file was created.</xs:documentation> 72 + </xs:annotation> 73 + </xs:attribute> 74 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 75 + <xs:annotation> 76 + <xs:documentation>Your accounts receivable number at PayEx.</xs:documentation> 77 + </xs:annotation> 78 + </xs:attribute> 79 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 80 + <xs:annotation> 81 + <xs:documentation>The name of your company/accounts recievable at PayEx.</xs:documentation> 82 + </xs:annotation> 83 + </xs:attribute> 84 + </xs:complexType> 85 + </xs:element> 86 + <xs:simpleType name="Identifier15"> 87 + <xs:restriction base="xs:string"> 88 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 89 + <xs:minLength value="1" /> 90 + <xs:maxLength value="15" /> 91 + </xs:restriction> 92 + </xs:simpleType> 93 + <xs:simpleType name="ISO3166"> 94 + <xs:restriction base="xs:string"> 95 + <xs:pattern value="[A-Z]*" /> 96 + <xs:minLength value="2" /> 97 + <xs:maxLength value="2" /> 98 + </xs:restriction> 99 + </xs:simpleType> 100 + <xs:simpleType name="CompanyNumber"> 101 + <xs:restriction base="xs:string"> 102 + <xs:pattern value="[0-9]*" /> 103 + <xs:minLength value="1" /> 104 + <xs:maxLength value="15" /> 105 + </xs:restriction> 106 + </xs:simpleType> 107 + <xs:simpleType name="String15"> 108 + <xs:restriction base="xs:string"> 109 + <xs:maxLength value="15" /> 110 + </xs:restriction> 111 + </xs:simpleType> 112 + <xs:simpleType name="String50"> 113 + <xs:restriction base="xs:string"> 114 + <xs:maxLength value="50" /> 115 + </xs:restriction> 116 + </xs:simpleType> 117 + <xs:complexType name="AccountStatusEvent"> 118 + <xs:sequence> 119 + <xs:element type="AccountStatusType" name="AccountStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 120 + <xs:annotation> 121 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 122 + </xs:annotation> 123 + </xs:element> 124 + <xs:element name="AccountStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 125 + <xs:annotation> 126 + <xs:documentation>The date when the event occurred</xs:documentation> 127 + </xs:annotation> 128 + </xs:element> 129 + <xs:element name="Status" type="AccountStatus" maxOccurs="1" minOccurs="1" nillable="false"> 130 + <xs:annotation> 131 + <xs:documentation>The state of the accountstatus due to the event</xs:documentation> 132 + </xs:annotation> 133 + </xs:element> 134 + </xs:sequence> 135 + </xs:complexType> 136 + <xs:complexType name="AccountClaimEvent"> 137 + <xs:sequence> 138 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 139 + <xs:annotation> 140 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 141 + </xs:annotation> 142 + </xs:element> 143 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 144 + <xs:annotation> 145 + <xs:documentation>The date when the event occurred.</xs:documentation> 146 + </xs:annotation> 147 + </xs:element> 148 + <xs:element name="Amount" type="Amount" maxOccurs="1" minOccurs="0" nillable="false"> 149 + <xs:annotation> 150 + <xs:documentation>Claim amount associated with the claimevent. Will not be set if ClaimEvent is ClaimProcessReset</xs:documentation> 151 + </xs:annotation> 152 + </xs:element> 153 + </xs:sequence> 154 + </xs:complexType> 155 + <xs:simpleType name="AccountStatusType"> 156 + <xs:restriction base="xs:string"> 157 + <xs:enumeration value="Created" > 158 + <xs:annotation> 159 + <xs:documentation>The account has been created.</xs:documentation> 160 + </xs:annotation> 161 + </xs:enumeration> 162 + <xs:enumeration value="Terminated" > 163 + <xs:annotation> 164 + <xs:documentation>The account has been terminated.</xs:documentation> 165 + </xs:annotation> 166 + </xs:enumeration> 167 + </xs:restriction> 168 + </xs:simpleType> 169 + <xs:simpleType name="AccountStatus"> 170 + <xs:restriction base="xs:string"> 171 + <xs:enumeration value="Active"> 172 + <xs:annotation> 173 + <xs:documentation>The status has been activated on the account.</xs:documentation> 174 + </xs:annotation> 175 + </xs:enumeration> 176 + <xs:enumeration value="Cancelled"> 177 + <xs:annotation> 178 + <xs:documentation>The status has been deactivted on the account.</xs:documentation> 179 + </xs:annotation> 180 + </xs:enumeration> 181 + </xs:restriction> 182 + </xs:simpleType> 183 + <xs:complexType name="RegNo"> 184 + <xs:annotation> 185 + <xs:documentation>Social security number/Corporate identity number conforming to country standard.</xs:documentation> 186 + </xs:annotation> 187 + <xs:simpleContent> 188 + <xs:extension base="String15"> 189 + <xs:attribute name="CountryCode" type="ISO3166" use="required"> 190 + <xs:annotation> 191 + <xs:documentation>Nationality of RegNo according to ISO3166.</xs:documentation> 192 + </xs:annotation> 193 + </xs:attribute> 194 + </xs:extension> 195 + </xs:simpleContent> 196 + </xs:complexType> 197 + <xs:complexType name="AccountNotificationEvent"> 198 + <xs:sequence> 199 + <xs:element name="NotificationType" type="eNotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 200 + <xs:annotation> 201 + <xs:documentation>Type of Notification event from enumeration.</xs:documentation> 202 + </xs:annotation> 203 + </xs:element> 204 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 205 + <xs:annotation> 206 + <xs:documentation>The date when the event occurred.</xs:documentation> 207 + </xs:annotation> 208 + </xs:element> 209 + </xs:sequence> 210 + </xs:complexType> 211 + <xs:simpleType name="eClaimEvent"> 212 + <xs:restriction base="xs:string"> 213 + <xs:enumeration value="ReminderSent"> 214 + <xs:annotation> 215 + <xs:documentation>A reminder has been sent to the customer.</xs:documentation> 216 + </xs:annotation> 217 + </xs:enumeration> 218 + <xs:enumeration value="SecondReminderSent"> 219 + <xs:annotation> 220 + <xs:documentation>A second reminder has been sent to the customer.</xs:documentation> 221 + </xs:annotation> 222 + </xs:enumeration> 223 + <xs:enumeration value="TerminationNoticeSent"> 224 + <xs:annotation> 225 + <xs:documentation>A termination notice has been sent to the customer.</xs:documentation> 226 + </xs:annotation> 227 + </xs:enumeration> 228 + <xs:enumeration value="CollectionClaimSent"> 229 + <xs:annotation> 230 + <xs:documentation>A collection claim has been sent to the customer.</xs:documentation> 231 + </xs:annotation> 232 + </xs:enumeration> 233 + <xs:enumeration value="DebtCollection"> 234 + <xs:annotation> 235 + <xs:documentation>The claim has been transferred to collection.</xs:documentation> 236 + </xs:annotation> 237 + </xs:enumeration> 238 + <xs:enumeration value="ClaimProcessReset"> 239 + <xs:annotation> 240 + <xs:documentation>The bill is closed and the claim process has been reset.</xs:documentation> 241 + </xs:annotation> 242 + </xs:enumeration> 243 + </xs:restriction> 244 + </xs:simpleType> 245 + <xs:complexType name="Amount"> 246 + <xs:sequence> 247 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 248 + </xs:sequence> 249 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 250 + </xs:complexType> 251 + <xs:simpleType name="eCurrencyType"> 252 + <xs:restriction base="xs:string"> 253 + <xs:enumeration value="SEK" /> 254 + <xs:enumeration value="NOK" /> 255 + <xs:enumeration value="DKK" /> 256 + <xs:enumeration value="EUR" /> 257 + </xs:restriction> 258 + </xs:simpleType> 259 + <xs:simpleType name="eNotificationType"> 260 + <xs:restriction base="xs:string"> 261 + <xs:enumeration value="PreReminder"> 262 + <xs:annotation> 263 + <xs:documentation>Notification before the reminder is sent</xs:documentation> 264 + </xs:annotation> 265 + </xs:enumeration> 266 + <xs:enumeration value="PreNoticeOfTermination"> 267 + <xs:annotation> 268 + <xs:documentation>Notification before notice of termination is sent</xs:documentation> 269 + </xs:annotation> 270 + </xs:enumeration> 271 + </xs:restriction> 272 + </xs:simpleType> 273 + <xs:simpleType name="Money"> 274 + <xs:restriction base="xs:decimal"> 275 + <xs:fractionDigits value="2" /> 276 + <xs:minInclusive value="-100000000" /> 277 + <xs:maxInclusive value="100000000" /> 278 + </xs:restriction> 279 + </xs:simpleType> 280 + <xs:simpleType name="Version"> 281 + <xs:annotation> 282 + <xs:documentation>Versions supported by this schema</xs:documentation> 283 + </xs:annotation> 284 + <xs:restriction base="xs:string"> 285 + <xs:enumeration value="1.0"> 286 + </xs:enumeration> 287 + <xs:enumeration value="1.1"> 288 + <xs:annotation> 289 + <xs:documentation>eClaimEvent ClaimProcessReset added. AccountClaimEvent.Amount changed to optional, ClaimProcessReset-event does not support this value</xs:documentation> 290 + </xs:annotation> 291 + </xs:enumeration> 292 + <xs:enumeration value="1.2"> 293 + <xs:annotation> 294 + <xs:documentation>New node AccountNotificationEvent with eNotificationType</xs:documentation> 295 + </xs:annotation> 296 + </xs:enumeration> 297 + </xs:restriction> 298 + </xs:simpleType> 299 +</xs:schema>
- CUSIN_[2.0].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +92.3 KB - Content
- ARAccountingDetail_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.9 KB - Content
-
... ... @@ -1,0 +1,158 @@ 1 +<?xml version="1.0" encoding="Windows-1252"?> 2 +<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 3 + <xs:element name="AccountingDetail"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="BookDates" maxOccurs="1" minOccurs="1"> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="BookDate" maxOccurs="unbounded" minOccurs="1"> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="Vouchers" maxOccurs="1" minOccurs="1"> 13 + <xs:annotation> 14 + <xs:documentation>Vouchers grouped by book date</xs:documentation> 15 + </xs:annotation> 16 + <xs:complexType> 17 + <xs:sequence> 18 + <xs:element name="Voucher" maxOccurs="unbounded" minOccurs="1"> 19 + <xs:complexType> 20 + <xs:sequence> 21 + <xs:element name="VoucherDetails" maxOccurs="1" minOccurs="1"> 22 + <xs:annotation> 23 + <xs:documentation>Voucher details grouped by VoucherSerie, VoucherNo and ValueDate</xs:documentation> 24 + </xs:annotation> 25 + <xs:complexType> 26 + <xs:sequence> 27 + <xs:element name="VoucherDetail" maxOccurs="unbounded" minOccurs="1"> 28 + <xs:complexType> 29 + <xs:sequence> 30 + <xs:element name="VoucherDetailTransactions" maxOccurs="1" minOccurs="1"> 31 + <xs:annotation> 32 + <xs:documentation>Transaction details grouped by PxId, TransactionType, AccountType and AccountName</xs:documentation> 33 + </xs:annotation> 34 + <xs:complexType> 35 + <xs:sequence> 36 + <xs:element name="VoucherDetailTransaction" maxOccurs="unbounded" minOccurs="2"> 37 + <xs:complexType> 38 + <xs:sequence> 39 + <xs:element name="Dimensions" maxOccurs="1" minOccurs="0"> 40 + <xs:annotation> 41 + <xs:documentation>Dimensions are not normally used. Possible dimensions, if any, are described separately</xs:documentation> 42 + </xs:annotation> 43 + <xs:complexType> 44 + <xs:sequence> 45 + <xs:element name="Dimension" maxOccurs="5" minOccurs="1"> 46 + <xs:complexType> 47 + <xs:attribute name="DimensionType" use="required" type="xs:string"/> 48 + <xs:attribute name="DimensionValue" use="required" type="xs:string"/> 49 + </xs:complexType> 50 + </xs:element> 51 + </xs:sequence> 52 + </xs:complexType> 53 + </xs:element> 54 + </xs:sequence> 55 + <xs:attribute name="BookAccount" use="required" type="xs:positiveInteger"> 56 + <xs:annotation> 57 + <xs:documentation>Book account as specified by the accounting rule set being used by the company</xs:documentation> 58 + </xs:annotation> 59 + </xs:attribute> 60 + <xs:attribute name="AccountingAction" use="required" type="xs:string"> 61 + <xs:annotation> 62 + <xs:documentation>"D" for Debit "C" for Credit</xs:documentation> 63 + </xs:annotation> 64 + </xs:attribute> 65 + <xs:attribute name="CurrencyCode" use="required" type="xs:string"> 66 + <xs:annotation> 67 + <xs:documentation>Currency code according to ISO4217</xs:documentation> 68 + </xs:annotation> 69 + </xs:attribute> 70 + <xs:attribute name="Amount" use="required" type="xs:decimal "/> 71 + </xs:complexType> 72 + </xs:element> 73 + </xs:sequence> 74 + </xs:complexType> 75 + </xs:element> 76 + </xs:sequence> 77 + <xs:attribute name="PXId" use="required" type="xs:long"> 78 + <xs:annotation> 79 + <xs:documentation>Identity of the transaction at PayEx. Useful for tracing and troubleshooting.</xs:documentation> 80 + </xs:annotation> 81 + </xs:attribute> 82 + <xs:attribute name="TransactionType" use="required" type="xs:string"> 83 + <xs:annotation> 84 + <xs:documentation>PayEx internal transaction type, used for support</xs:documentation> 85 + </xs:annotation> 86 + </xs:attribute> 87 + <xs:attribute name="AccountType" use="optional" type="xs:string"> 88 + <xs:annotation> 89 + <xs:documentation>"InvAcc" equals Invoice</xs:documentation> 90 + </xs:annotation> 91 + </xs:attribute> 92 + <xs:attribute name="AccountName" use="optional" type="xs:string"> 93 + <xs:annotation> 94 + <xs:documentation>AccountName equals InvoiceNumber for account type "InvAcc"</xs:documentation> 95 + </xs:annotation> 96 + </xs:attribute> 97 + <xs:attribute name="TransactionCause" use="optional" type="xs:string"> 98 + <xs:annotation> 99 + <xs:documentation>Possible transaction causes are described separately</xs:documentation> 100 + </xs:annotation> 101 + </xs:attribute> 102 + </xs:complexType> 103 + </xs:element> 104 + </xs:sequence> 105 + </xs:complexType> 106 + </xs:element> 107 + </xs:sequence> 108 + <xs:attribute name="VoucherSerie" use="required" type="xs:string"> 109 + <xs:annotation> 110 + <xs:documentation>Voucher series, used with voucher number and value date for grouping of voucher details</xs:documentation> 111 + </xs:annotation> 112 + </xs:attribute> 113 + <xs:attribute name="VoucherNo" use="required" type="xs:positiveInteger"> 114 + <xs:annotation> 115 + <xs:documentation>Voucher reference number, used with voucher serie and value date for grouping of voucher details</xs:documentation> 116 + </xs:annotation> 117 + </xs:attribute> 118 + <xs:attribute name="ValueDate" use="required" type="xs:date"> 119 + <xs:annotation> 120 + <xs:documentation>a.k.a "valuteringsdatum". used with voucher serie and voucher number for grouping of voucher details</xs:documentation> 121 + </xs:annotation> 122 + </xs:attribute> 123 + </xs:complexType> 124 + </xs:element> 125 + </xs:sequence> 126 + </xs:complexType> 127 + </xs:element> 128 + </xs:sequence> 129 + <xs:attribute name="Date" use="required" type="xs:date"/> 130 + </xs:complexType> 131 + </xs:element> 132 + </xs:sequence> 133 + </xs:complexType> 134 + </xs:element> 135 + </xs:sequence> 136 + <xs:attribute name="Version" use="required" type="xs:string" fixed="1.1"> 137 + <xs:annotation> 138 + <xs:documentation>The XSD version of the xml format</xs:documentation> 139 + </xs:annotation> 140 + </xs:attribute> 141 + <xs:attribute name="CreatedDateTime" use="required" type="xs:dateTime"> 142 + <xs:annotation> 143 + <xs:documentation>Date and time when the file was created</xs:documentation> 144 + </xs:annotation> 145 + </xs:attribute> 146 + <xs:attribute name="CompanyNo" use="required" type="xs:string"> 147 + <xs:annotation> 148 + <xs:documentation>The identity of your accounts receivable at PayEx</xs:documentation> 149 + </xs:annotation> 150 + </xs:attribute> 151 + <xs:attribute name="CompanyName" use="required" type="xs:string"> 152 + <xs:annotation> 153 + <xs:documentation>Your registered name at PayEx</xs:documentation> 154 + </xs:annotation> 155 + </xs:attribute> 156 + </xs:complexType> 157 + </xs:element> 158 +</xs:schema>
- CUSIN_[2.1].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.aha - Size
-
... ... @@ -1,0 +1,1 @@ 1 +76.6 KB - Content
- CUSIN_[2.2].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.aha - Size
-
... ... @@ -1,0 +1,1 @@ 1 +93.6 KB - Content
- viewXSD.xsl
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.4 KB - Content
-
... ... @@ -1,0 +1,996 @@ 1 +<!DOCTYPE xsl:stylesheet [ 2 +<!--* 3 +<!DOCTYPE xsl:stylesheet PUBLIC 'http://www.w3.org/1999/XSL/Transform' 4 + '../../People/cmsmcq/lib/xslt10.dtd' [ 5 +*--> 6 +<!ATTLIST xsl:stylesheet 7 + xmlns:xsl CDATA "http://www.w3.org/1999/XSL/Transform" 8 + xmlns:xsd CDATA #IMPLIED 9 + xmlns:xhtml CDATA #IMPLIED 10 +> 11 +<!ATTLIST xsl:text 12 + xmlns:xsl CDATA "http://www.w3.org/1999/XSL/Transform" 13 +> 14 + 15 +<!ENTITY copy "©" ><!--=copyright sign--> 16 +<!ENTITY reg "®" ><!--/circledR =registered sign--> 17 +<!ENTITY rarr "→" ><!--/rightarrow /to A: =rightward arrow--> 18 + 19 +<!ENTITY nl "
"> 20 +<!ENTITY lsquo "‘" ><!--=single quotation mark, left--> 21 +<!ENTITY rsquo "’" ><!--=single quotation mark, right--> 22 +<!ENTITY ldquo "“" ><!--=double quotation mark, left--> 23 +<!ENTITY rdquo "”" ><!--=double quotation mark, right--> 24 + 25 +]> 26 +<xsl:stylesheet version="1.0" 27 + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 28 + xmlns:xsd="http://www.w3.org/2001/XMLSchema" 29 + xmlns:xhtml="http://www.w3.org/1999/xhtml" 30 +> 31 + 32 + <!--* xsd.xsl: format an XSD schema document for simple display in a Web browser. 33 + * http://www.w3.org/XML/2004/xml-schema-test-suite/xsd.xsl 34 + * 35 + * Copyright © 2008-2009 World Wide Web Consortium, (Massachusetts 36 + * Institute of Technology, European Research Consortium for 37 + * Informatics and Mathematics, Keio University). All Rights 38 + * Reserved. This work is distributed under the W3C® Software 39 + * License [1] in the hope that it will be useful, but WITHOUT ANY 40 + * WARRANTY; without even the implied warranty of MERCHANTABILITY or 41 + * FITNESS FOR A PARTICULAR PURPOSE. 42 + * 43 + * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 44 + * 45 + *--> 46 + 47 + <!--* Revisions: 48 + * 2012-05-03 : CMSMcQ : reissue under Software License, not document 49 + * license 50 + * 2009-01-21 : CMSMcQ : wrap start-tags only when necessary 51 + * 2009-01-20 : CMSMcQ : wrap start-tags 52 + * 2008-12-19 : CMSMcQ : add toc for schema documents with more than 53 + * five children of xsd:schema 54 + * 2008-12-18 : CMSMcQ : fix problems with text breaking 55 + * add rule for top-level attribute groups 56 + * 2008-09-27 : CMSMcQ : made first version of this stylesheet 57 + *--> 58 + 59 + <xsl:output method="html" indent="yes"/> 60 + 61 + <xsl:param name="line-wrap-length" select="60"/> 62 + <xsl:param name="ind-depth" select="5"/> 63 + <xsl:param name="additional-indent" select="substring( 64 + ' ', 65 + 1,$ind-depth)"/> 66 + 67 + <xsl:variable name="tns"> 68 + <xsl:value-of select="/xsd:schema/@targetNamespace"/> 69 + </xsl:variable> 70 + 71 + <!--* 0 Document root *--> 72 + <xsl:template match="*"> 73 + <xsl:variable name="doctitle"> 74 + <xsl:text>Schema document for </xsl:text> 75 + <xsl:choose> 76 + <xsl:when test="xsd:schema/@targetNamespace"> 77 + <xsl:text>namespace </xsl:text> 78 + <xsl:value-of select="$tns"/> 79 + </xsl:when> 80 + <xsl:otherwise> 81 + <xsl:text>unspecified namespace</xsl:text> 82 + </xsl:otherwise> 83 + </xsl:choose> 84 + </xsl:variable> 85 +<!--Hämtar en överskrift på utifrån första kommentaren i xsd-dokumentet, en förutsättning är att den kommentaren är taggad som en H1--> 86 + <xsl:variable name="docHasHeading" select=" 87 + xsd:schema/xsd:annotation[1]/xsd:documentation/*[1] 88 + [self::xhtml:h1 or self::h1] 89 + or 90 + xsd:schema/xsd:annotation[1]/xsd:documentation/xhtml:div/*[1] 91 + [self::xhtml:h1 or self::h1] 92 + "/> 93 + <xsl:variable name="docIsProlific" select=" 94 + count(xsd:schema/child::*) > 5 95 + "/> 96 + 97 + <xsl:element name="html"> 98 + <xsl:element name="head"> 99 + <xsl:element name="title"> 100 + <xsl:value-of select="$doctitle"/> 101 + </xsl:element> 102 + <xsl:element name="style"> 103 + <xsl:attribute name="type">text/css</xsl:attribute> 104 + .bodytext .bodytext { 105 + margin-left: 0; 106 + margin-right: 0; 107 + } 108 + .bodytext { 109 + margin-left: 15%; 110 + margin-right: 2%; 111 + } 112 + .annotation { 113 + <!--* anything special to do here? *--> 114 + color: navy; 115 + font: bold; 116 + } 117 + .same-ns { 118 + color: Green; 119 + } 120 + .diff-ns { 121 + color: maroon; 122 + } 123 + .warning { 124 + color: red; 125 + } 126 + p.note { 127 + font-style: italic; 128 + } 129 + p.dt { 130 + font-weight: bold; 131 + } 132 + span.rfc { 133 + font-variant: small-caps; 134 + } 135 + </xsl:element> 136 + </xsl:element> 137 + <xsl:element name="body"> 138 + 139 + <xsl:choose> 140 + <xsl:when test="$docHasHeading and not($docIsProlific)"> 141 + <!--* If the first thing in the first documentation element is a heading, 142 + * and there are few children, then don't interfere. 143 + *--> 144 + <xsl:comment>* <xsl:value-of select="$doctitle"/> *</xsl:comment> 145 + </xsl:when> 146 + <xsl:otherwise> 147 + <!--* either document has no heading (and needs one), or 148 + * we're going to do a toc and need a heading anyway 149 + *--> 150 + <xsl:element name="h1"> 151 + <xsl:value-of select="$doctitle"/> 152 + </xsl:element> 153 + <xsl:if test="$docIsProlific"> 154 + <xsl:element name="div"> 155 + <xsl:element name="hr"/> 156 + <xsl:element name="ul"> 157 + <xsl:attribute name="class">bodytext</xsl:attribute> 158 + <xsl:apply-templates mode="toc" select="./xsd:schema/*"/> 159 + </xsl:element> 160 + <xsl:element name="hr"/> 161 + </xsl:element> 162 + </xsl:if> 163 + </xsl:otherwise> 164 + </xsl:choose> 165 + <xsl:apply-templates/> 166 + </xsl:element> 167 + </xsl:element> 168 + </xsl:template> 169 + 170 + <!--* 2 Schema element *--> 171 + <xsl:template match="xsd:schema"> 172 + <!--* optional future change: write out information here about 173 + * the attributes of xsd:schema: version, finalDefault, blockDefault, 174 + * elementFormDefault, atgtributeFormDefault, namespace bindings ... 175 + *--> 176 + <xsl:apply-templates/> 177 + </xsl:template> 178 + 179 + <!--* 3 Anotation *--> 180 + 181 + <xsl:template match="xsd:annotation"> 182 + <xsl:element name="div"> 183 + <xsl:attribute name="class">annotation</xsl:attribute> 184 + <xsl:attribute name="id"> 185 + <xsl:call-template name="leid"> 186 + </xsl:call-template> 187 + </xsl:attribute> 188 + <xsl:if test="not(./xsd:documentation//*[@class='bodytext'])"> 189 + <xsl:element name="h3">Annotation</xsl:element> 190 + </xsl:if> 191 + <xsl:element name="div"> 192 + <xsl:choose> 193 + <xsl:when test="./xsd:documentation//*[@class='bodytext']"> 194 + <!--* if the schema document is already using class=bodytext, 195 + * let the schema author control the margins, don't 196 + * assign the class here. 197 + *--> 198 + </xsl:when> 199 + <xsl:otherwise> 200 + <xsl:attribute name="class">bodytext</xsl:attribute> 201 + </xsl:otherwise> 202 + </xsl:choose> 203 + <xsl:apply-templates/> 204 + </xsl:element> 205 + </xsl:element> 206 + 207 + </xsl:template> 208 + 209 + <xsl:template match="xsd:documentation"> 210 + <xsl:choose> 211 + <xsl:when test=".//xhtml:* or .//div or .//p or .//li"> 212 + <xsl:copy-of select="*"/> 213 + </xsl:when> 214 + <xsl:when test="./*"> 215 + <xsl:message>! Unrecognized children in xs:documentation element</xsl:message> 216 + <xsl:copy-of select="*"/> 217 + </xsl:when> 218 + <xsl:otherwise> 219 + <xsl:call-template name="break-pcdata"> 220 + <xsl:with-param name="s" select="string(.)"/> 221 + </xsl:call-template> 222 + </xsl:otherwise> 223 + </xsl:choose> 224 + </xsl:template> 225 + 226 + <xsl:template name="break-pcdata"> 227 + <xsl:param name="s"></xsl:param> 228 + 229 + <xsl:choose> 230 + <xsl:when test="starts-with($s,'
')"> 231 + <xsl:text>
</xsl:text> 232 + <xsl:element name="br"/> 233 + <xsl:call-template name="break-pcdata"> 234 + <xsl:with-param name="s" select="substring($s,2)"/> 235 + </xsl:call-template> 236 + </xsl:when> 237 + <xsl:when test="starts-with($s,' ')"> 238 + <xsl:text> </xsl:text> 239 + <xsl:call-template name="break-pcdata"> 240 + <xsl:with-param name="s" select="substring($s,2)"/> 241 + </xsl:call-template> 242 + </xsl:when> 243 + <xsl:when test="contains($s,'
')"> 244 + <xsl:value-of select="substring-before($s,'
')"/> 245 + <xsl:text>
</xsl:text> 246 + <xsl:element name="br"/> 247 + <xsl:call-template name="break-pcdata"> 248 + <xsl:with-param name="s" select="substring-after($s,'
')"/> 249 + </xsl:call-template> 250 + </xsl:when> 251 + <xsl:otherwise> 252 + <xsl:value-of select="$s"/> 253 + </xsl:otherwise> 254 + </xsl:choose> 255 + </xsl:template> 256 + 257 + <!--* 4 Top-level components *--> 258 + <xsl:template match=" 259 + xsd:schema/xsd:attribute 260 + | xsd:schema/xsd:element 261 + | xsd:schema/xsd:simpleType 262 + | xsd:schema/xsd:complexType 263 + | xsd:schema/xsd:attributeGroup 264 + | xsd:schema/xsd:import 265 + | xsd:schema/xsd:group 266 + | xsd:schema/xsd:notation 267 + "> 268 + <xsl:call-template name="show-top-level-component"/> 269 + </xsl:template> 270 + 271 + <xsl:template name="show-top-level-component"> 272 + <xsl:variable name="sort"> 273 + <xsl:call-template name="sort"/> 274 + </xsl:variable> 275 + <xsl:variable name="leid"> 276 + <xsl:call-template name="leid"/> 277 + </xsl:variable> 278 + <xsl:variable name="has-heading-already"> 279 + <xsl:choose> 280 + <xsl:when test="./xsd:annotation[1]/xsd:documentation/*//* 281 + [self::xhtml:*[starts-with(local-name(),'h')] 282 + or 283 + self::*[contains(' h1 h2 h3 h4 h5 ',local-name())] 284 + ]"> 285 + <xsl:value-of select="'true'"/> 286 + </xsl:when> 287 + <xsl:otherwise> 288 + <xsl:value-of select="'false'"/> 289 + </xsl:otherwise> 290 + </xsl:choose> 291 + </xsl:variable> 292 + 293 + <xsl:element name="div"> 294 + <xsl:attribute name="id"> 295 + <xsl:value-of select="$leid"/> 296 + </xsl:attribute> 297 + <xsl:element name="h3"> 298 + <xsl:element name="a"> 299 + <xsl:attribute name="name"> 300 + <xsl:value-of select="$leid"/> 301 + </xsl:attribute> 302 + <xsl:choose> 303 + <xsl:when test="count(@name) = 1"> 304 + <xsl:element name="em"> 305 + <xsl:value-of select="@name"/> 306 + </xsl:element> 307 + </xsl:when> 308 + <xsl:when test="self::xsd:import and (count(@namespace) = 1)"> 309 + <xsl:element name="code"> 310 + <xsl:value-of select="@namespace"/> 311 + </xsl:element> 312 + </xsl:when> 313 + </xsl:choose> 314 + </xsl:element> 315 + </xsl:element> 316 +<!-- ** skriver ut rubriken på komplexa typer som har en egen definition ** --> 317 + <xsl:element name="div"> 318 + <xsl:attribute name="class">bodytext</xsl:attribute> 319 + 320 + <xsl:if test="./xsd:annotation/xsd:documentation"> 321 + <xsl:element name="div"> 322 + <xsl:if test="$has-heading-already = 'false'"> 323 + <xsl:element name="h4">Notes</xsl:element> 324 + </xsl:if><!-- /if .$has-heading-already *--> 325 + <xsl:apply-templates select="xsd:annotation/xsd:documentation"/> 326 + <xsl:if test="count(./xsd:annotation/xsd:documentation/@source) = 1"> 327 + <xsl:element name="p"> 328 + <xsl:text>External documentation at </xsl:text> 329 + <xsl:element name="code"> 330 + <xsl:element name="a"> 331 + <xsl:attribute name="href"> 332 + <xsl:value-of select="./xsd:annotation/xsd:documentation/@source"/> 333 + </xsl:attribute> 334 + <xsl:value-of select="./xsd:annotation/xsd:documentation/@source"/> 335 + </xsl:element> 336 + </xsl:element> 337 + </xsl:element> 338 + </xsl:if> 339 + </xsl:element> 340 + </xsl:if><!-- /if ./xsd:annotation/xsd:documentation *--> 341 + 342 + <xsl:element name="div"> 343 + <xsl:element name="pre"> 344 + <xsl:variable name="preceding-node" 345 + select="./preceding-sibling::node()[1]"/> 346 + <xsl:if test="not($preceding-node/self::*) 347 + and (normalize-space($preceding-node) = '')"> 348 + <xsl:value-of select="$preceding-node"/> 349 + </xsl:if> 350 + <xsl:apply-templates select="." mode="echo-xml"/> 351 + </xsl:element> 352 + </xsl:element><!--* div for XSD source form *--> 353 + </xsl:element><!--* div for documentation and formal description *--> 354 + 355 + </xsl:element><!--* div for top-level component *--> 356 + </xsl:template> 357 + 358 + 359 + <!--* 5 xml mode *--> 360 + <xsl:template match="*" mode="echo-xml"> 361 + <xsl:variable name="s0"> 362 + <xsl:call-template name="lastline-suffix"> 363 + <xsl:with-param name="s0" select="preceding-sibling::text() 364 + [string-length(.) > 0][1]" /> 365 + </xsl:call-template> 366 + </xsl:variable> 367 + <xsl:variable name="width"> 368 + <xsl:call-template name="stag-width"> 369 + <xsl:with-param name="indent-length" select="string-length($s0)"/> 370 + </xsl:call-template> 371 + </xsl:variable> 372 + <!--* <xsl:message>Start-tag width for <xsl:value-of select="name()"/> 373 + = <xsl:value-of select="$width"/></xsl:message> *--> 374 + 375 + <xsl:text><</xsl:text> 376 + <xsl:value-of select="name()"/> 377 + <xsl:apply-templates select="@*" mode="echo-xml"> 378 + <xsl:with-param name="break-or-nobreak"> 379 + <xsl:choose> 380 + <xsl:when test="$width > $line-wrap-length">break</xsl:when> 381 + <xsl:otherwise>nobreak</xsl:otherwise> 382 + </xsl:choose> 383 + </xsl:with-param> 384 + <xsl:with-param name="s0"> 385 + <xsl:call-template name="lastline-suffix"> 386 + <xsl:with-param name="s0" select="preceding-sibling::text() 387 + [string-length(.) > 0][1]" /> 388 + </xsl:call-template> 389 + </xsl:with-param> 390 + </xsl:apply-templates> 391 + 392 + <xsl:choose> 393 + <xsl:when test="child::node()"> 394 + <xsl:text>></xsl:text> 395 + <xsl:apply-templates select="node()" mode="echo-xml"/> 396 + <xsl:text></</xsl:text> 397 + <xsl:value-of select="name()"/> 398 + <xsl:text>></xsl:text> 399 + </xsl:when> 400 + <xsl:otherwise>/></xsl:otherwise> 401 + </xsl:choose> 402 + </xsl:template> 403 + 404 + <!--<xsl:template match="xsd:annotation" mode="echo-xml"/>--> 405 + <xsl:template match="@xml:space" mode="echo-xml"/> 406 + 407 + <xsl:template match="@*" mode="echo-xml"> 408 + <xsl:param name="break-or-nobreak">nobreak</xsl:param> 409 + <xsl:param name="s0"></xsl:param> 410 + <xsl:variable name="indent"> 411 + <xsl:choose> 412 + <xsl:when test="normalize-space($s0) = ''"> 413 + <xsl:value-of select="concat($additional-indent,$s0)"/> 414 + </xsl:when> 415 + <xsl:otherwise> 416 + <xsl:value-of select="' '"/> 417 + </xsl:otherwise> 418 + </xsl:choose> 419 + </xsl:variable> 420 + 421 + <xsl:choose> 422 + <xsl:when test="parent::xsd:* and $break-or-nobreak = 'break'"> 423 + <xsl:text>
</xsl:text> 424 + <xsl:value-of select="$indent"/> 425 + </xsl:when> 426 + <xsl:otherwise> 427 + <xsl:text> </xsl:text> 428 + </xsl:otherwise> 429 + </xsl:choose> 430 + <xsl:value-of select="name()"/> 431 + <xsl:text>="</xsl:text> 432 + <xsl:choose> 433 + <xsl:when test="parent::xsd:element 434 + and namespace-uri() = '' 435 + and local-name() = 'ref' 436 + "> 437 + <xsl:call-template name="makelink-maybe"/> 438 + </xsl:when> 439 + <xsl:when test="parent::xsd:attribute 440 + and namespace-uri() = '' 441 + and local-name() = 'ref' 442 + "> 443 + <xsl:call-template name="makelink-maybe"/> 444 + </xsl:when> 445 + <xsl:when test="parent::xsd:restriction 446 + and namespace-uri() = '' 447 + and local-name() = 'base' 448 + "> 449 + <xsl:call-template name="makelink-maybe"/> 450 + </xsl:when> 451 + <xsl:when test="parent::xsd:extension 452 + and namespace-uri() = '' 453 + and local-name() = 'base' 454 + "> 455 + <xsl:call-template name="makelink-maybe"/> 456 + </xsl:when> 457 + <xsl:when test="parent::xsd:group 458 + and namespace-uri() = '' 459 + and local-name() = 'ref' 460 + "> 461 + <xsl:call-template name="makelink-maybe"/> 462 + </xsl:when> 463 + <xsl:when test="parent::xsd:list 464 + and namespace-uri() = '' 465 + and local-name() = 'itemType' 466 + "> 467 + <xsl:call-template name="makelink-maybe"/> 468 + </xsl:when> 469 + <xsl:when test="parent::xsd:union 470 + and namespace-uri() = '' 471 + and local-name() = 'memberTypes' 472 + "> 473 + <xsl:call-template name="makelink-several-maybe"/> 474 + </xsl:when> 475 + <xsl:when test="parent::xsd:element 476 + and namespace-uri() = '' 477 + and local-name() = 'type' 478 + "> 479 + <xsl:call-template name="makelink-maybe"/> 480 + </xsl:when> 481 + <xsl:when test="parent::xsd:attribute 482 + and namespace-uri() = '' 483 + and local-name() = 'type' 484 + "> 485 + <xsl:call-template name="makelink-maybe"/> 486 + </xsl:when> 487 + <xsl:when test="parent::xsd:element 488 + and namespace-uri() = '' 489 + and local-name() = 'substitutionGroup' 490 + "> 491 + <xsl:call-template name="makelink-several-maybe"/> 492 + </xsl:when> 493 + 494 + <xsl:otherwise> 495 + <xsl:value-of select="."/> 496 + </xsl:otherwise> 497 + </xsl:choose> 498 + <xsl:text>"</xsl:text> 499 + 500 + </xsl:template> 501 + <xsl:template match="text()" mode="echo-xml"> 502 + <b><xsl:value-of select="."/></b> 503 + </xsl:template> 504 + 505 + 506 + <!--* 6 toc *--> 507 + <xsl:template mode="toc" match=" 508 + xsd:schema/xsd:annotation 509 + | xsd:schema/xsd:attribute 510 + | xsd:schema/xsd:element 511 + | xsd:schema/xsd:simpleType 512 + | xsd:schema/xsd:complexType 513 + | xsd:schema/xsd:attributeGroup 514 + | xsd:schema/xsd:import 515 + | xsd:schema/xsd:group 516 + | xsd:schema/xsd:notation 517 + "> 518 + <xsl:call-template name="toc-entry"/> 519 + </xsl:template> 520 + 521 + <xsl:template name="toc-entry"> 522 + <xsl:variable name="sort"> 523 + <xsl:call-template name="sort"/> 524 + </xsl:variable> 525 + <xsl:variable name="leid"> 526 + <xsl:call-template name="leid"/> 527 + </xsl:variable> 528 + <xsl:element name="li"> 529 + <xsl:element name="a"> 530 + <xsl:attribute name="href"> 531 + <xsl:value-of select="concat('#',$leid)"/> 532 + </xsl:attribute> 533 + <xsl:choose> 534 + <xsl:when test="self::xsd:annotation 535 + and 536 + ( descendant::xhtml:h1 or descendant::xhtml:h2 or descendant::xhtml:h3 537 + or descendant::h1 or descendant::h2 or descendant::h3) 538 + "> 539 + <xsl:choose> 540 + <xsl:when test="descendant::xhtml:h1"> 541 + <xsl:value-of select="descendant::xhtml:h1[1]"/> 542 + </xsl:when> 543 + <xsl:when test="descendant::h1"> 544 + <xsl:value-of select="descendant::h1[1]"/> 545 + </xsl:when> 546 + <xsl:when test="descendant::xhtml:h2"> 547 + <xsl:value-of select="descendant::xhtml:h2[1]"/> 548 + </xsl:when> 549 + <xsl:when test="descendant::h2"> 550 + <xsl:value-of select="descendant::h2[1]"/> 551 + </xsl:when> 552 + <xsl:when test="descendant::xhtml:h3"> 553 + <xsl:value-of select="descendant::xhtml:h3[1]"/> 554 + </xsl:when> 555 + <xsl:when test="descendant::h3"> 556 + <xsl:value-of select="descendant::h3[1]"/> 557 + </xsl:when> 558 + </xsl:choose> 559 + 560 + </xsl:when> 561 + <xsl:otherwise> 562 + <xsl:value-of select="concat($sort,' ')"/> 563 + <xsl:choose> 564 + <xsl:when test="count(@name) = 1"> 565 + <xsl:element name="em"> 566 + <xsl:value-of select="@name"/> 567 + </xsl:element> 568 + </xsl:when> 569 + <xsl:when test="self::xsd:annotation"> 570 + <xsl:value-of select="1 + count(preceding-sibling::xsd:annotation)"/> 571 + </xsl:when> 572 + <xsl:when test="self::xsd:import"> 573 + <xsl:element name="code"> 574 + <xsl:value-of select="@namespace"/> 575 + </xsl:element> 576 + </xsl:when> 577 + <xsl:otherwise> 578 + <!--* fake it *--> 579 + <xsl:variable name="gi" select="local-name()"/> 580 + <xsl:value-of select="1 + count(preceding-sibling::*[local-name() = $gi])"/> 581 + </xsl:otherwise> 582 + </xsl:choose> 583 + </xsl:otherwise> 584 + </xsl:choose> 585 + </xsl:element> 586 + </xsl:element> 587 + 588 + </xsl:template> 589 + 590 + <!--* 7 common code for calculating sort and little-endian IDs *--> 591 + <xsl:template name="sort"> 592 + <xsl:choose> 593 + <xsl:when test="self::xsd:annotation"> 594 + <xsl:value-of select="'Annotation'"/> 595 + </xsl:when> 596 + <xsl:when test="self::xsd:attribute"> 597 + <xsl:value-of select="'Attribute'"/> 598 + </xsl:when> 599 + <xsl:when test="self::xsd:element"> 600 + <xsl:value-of select="'Element'"/> 601 + </xsl:when> 602 + <xsl:when test="self::xsd:simpleType"> 603 + <xsl:value-of select="'Simple type'"/> 604 + </xsl:when> 605 + <xsl:when test="self::xsd:complexType"> 606 + <xsl:value-of select="'Complex type'"/> 607 + </xsl:when> 608 + <xsl:when test="self::xsd:attributeGroup"> 609 + <xsl:value-of select="'Attribute group'"/> 610 + </xsl:when> 611 + <xsl:when test="self::xsd:group"> 612 + <xsl:value-of select="'Model group'"/> 613 + </xsl:when> 614 + <xsl:otherwise> 615 + <xsl:variable name="gi" select="local-name()"/> 616 + <xsl:value-of select="concat( 617 + translate(substring($gi,1,1),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'), 618 + substring($gi,2) 619 + )"/> 620 + </xsl:otherwise> 621 + </xsl:choose> 622 + </xsl:template> 623 + <xsl:template name="leid"> 624 + <xsl:choose> 625 + <xsl:when test="self::xsd:annotation"> 626 + <xsl:value-of select="concat('ann_', 627 + string(1+count(preceding-sibling::xsd:annotation)))"/> 628 + </xsl:when> 629 + <xsl:when test="self::xsd:attribute"> 630 + <xsl:value-of select="concat('att_',@name)"/> 631 + </xsl:when> 632 + <xsl:when test="self::xsd:element"> 633 + <xsl:value-of select="concat('elem_',@name)"/> 634 + </xsl:when> 635 + <xsl:when test="self::xsd:simpleType"> 636 + <xsl:value-of select="concat('type_',@name)"/> 637 + </xsl:when> 638 + <xsl:when test="self::xsd:complexType"> 639 + <xsl:value-of select="concat('type_',@name)"/> 640 + </xsl:when> 641 + <xsl:when test="self::xsd:attributeGroup"> 642 + <xsl:value-of select="concat('attgrp_',@name)"/> 643 + </xsl:when> 644 + <xsl:when test="self::xsd:group"> 645 + <xsl:value-of select="concat('grp_',@name)"/> 646 + </xsl:when> 647 + <xsl:when test="self::xsd:import"> 648 + <xsl:value-of select="concat('imp_', 649 + string(1+count(preceding-sibling::xsd:import)))"/> 650 + </xsl:when> 651 + <xsl:otherwise> 652 + <xsl:choose> 653 + <xsl:when test="@name"> 654 + <xsl:variable name="sort" select="local-name()"/> 655 + <xsl:value-of select="concat($sort,'_',@name)"/> 656 + </xsl:when> 657 + <xsl:otherwise> 658 + <xsl:variable name="sort" select="local-name()"/> 659 + <xsl:variable name="pos" select="1 + count(preceding-sibling::*[local-name() = $sort])"/> 660 + <xsl:value-of select="concat($sort,'_',$pos)"/> 661 + </xsl:otherwise> 662 + </xsl:choose> 663 + </xsl:otherwise> 664 + </xsl:choose> 665 + </xsl:template> 666 + 667 + <!--* 8 unmatched elements (mostly diagnostic for development) *--> 668 + <xsl:template match="*|@*"> 669 + <xsl:variable name="fqgi"> 670 + <xsl:call-template name="fqgi"/> 671 + </xsl:variable> 672 + <xsl:message>Warning: <xsl:value-of select="$fqgi"/> not matched.</xsl:message> 673 + <xsl:element name="div"> 674 + <xsl:attribute name="class">warning</xsl:attribute> 675 + <xsl:value-of select="concat('<',name(),'>')"/> 676 + <xsl:copy> 677 + <xsl:apply-templates select="@*|node()"/> 678 + </xsl:copy> 679 + <xsl:value-of select="concat('</',name(),'>')"/> 680 + </xsl:element> 681 + </xsl:template> 682 + 683 +<xsl:template name="fqgi" match="*" mode="fqgi"> 684 + <xsl:param name="sBuf"/> 685 + <xsl:variable name="sCur"> 686 + <xsl:choose> 687 + <xsl:when test="self::*"> 688 + <xsl:value-of select="name()"/> 689 + </xsl:when> 690 + <xsl:otherwise> 691 + <xsl:value-of select="concat('@',name())"/> 692 + </xsl:otherwise> 693 + </xsl:choose> 694 + </xsl:variable> 695 + 696 + <!--* 697 + <xsl:message>FQGI(<xsl:value-of select="concat($sBuf,',',$sCur)"/>)</xsl:message> 698 + *--> 699 + <xsl:choose> 700 + <xsl:when test="parent::*"> 701 + <xsl:apply-templates mode="fqgi" select="parent::*"> 702 + <xsl:with-param name="sBuf"> 703 + <xsl:value-of select="concat('/',$sCur,$sBuf)"/> 704 + </xsl:with-param> 705 + </xsl:apply-templates> 706 + </xsl:when> 707 + <xsl:otherwise> 708 + <xsl:value-of select="concat('/',$sCur,$sBuf)"/> 709 + </xsl:otherwise> 710 + </xsl:choose> 711 + </xsl:template> 712 + 713 + 714 + <!--* 9 intra-document link calculation, qname manipulation *--> 715 + <xsl:template name="makelink-several-maybe"> 716 + <xsl:param name="lQNames" select="normalize-space(.)"/> 717 + <xsl:choose> 718 + <xsl:when test="contains($lQNames,' ')"> 719 + <!--* recur *--> 720 + <xsl:call-template name="makelink-maybe"> 721 + <xsl:with-param name="qn" select="substring-before($lQNames,' ')"/> 722 + </xsl:call-template> 723 + <xsl:text> </xsl:text> 724 + <xsl:call-template name="makelink-several-maybe"> 725 + <xsl:with-param name="lQNames" select="substring-after($lQNames,' ')"/> 726 + </xsl:call-template> 727 + </xsl:when> 728 + <xsl:otherwise> 729 + <!--* base step, no blank so at most one QName *--> 730 + <xsl:call-template name="makelink-maybe"> 731 + <xsl:with-param name="qn" select="$lQNames"/> 732 + </xsl:call-template> 733 + </xsl:otherwise> 734 + </xsl:choose> 735 + </xsl:template> 736 + 737 + <xsl:template name="makelink-maybe"> 738 + <xsl:param name="qn" select="."/> 739 + <xsl:param name="refns"> 740 + <xsl:call-template name="qname-to-uri"> 741 + <xsl:with-param name="qname" select="$qn"/> 742 + </xsl:call-template> 743 + </xsl:param> 744 + <xsl:param name="lname"> 745 + <xsl:call-template name="qname-to-ncname"> 746 + <xsl:with-param name="qname" select="$qn"/> 747 + </xsl:call-template> 748 + </xsl:param> 749 + 750 + <xsl:variable name="linktarget"> 751 + <xsl:choose> 752 + <xsl:when test="$tns = $refns"> 753 + <xsl:choose> 754 + <xsl:when test="parent::xsd:element 755 + and local-name() = 'ref' 756 + and count(/xsd:schema/xsd:element[@name = $lname]) = 1"> 757 + <xsl:value-of select="concat('elem_',$lname)"/> 758 + </xsl:when> 759 + <xsl:when test="parent::xsd:element 760 + and local-name() = 'substitutionGroup' 761 + and count(/xsd:schema/xsd:element[@name = $lname]) = 1"> 762 + <xsl:value-of select="concat('elem_',$lname)"/> 763 + </xsl:when> 764 + <xsl:when test="parent::xsd:attribute 765 + and local-name() = 'ref' 766 + and count(/xsd:schema/xsd:attribute[@name = $lname]) = 1"> 767 + <xsl:value-of select="concat('att_',$lname)"/> 768 + </xsl:when> 769 + <xsl:when test="parent::xsd:restriction 770 + and count(/xsd:schema/xsd:*[@name = $lname 771 + and (self::xsd:simpleType or self::xsd:complexType)]) 772 + = 1"> 773 + <xsl:value-of select="concat('type_',$lname)"/> 774 + </xsl:when> 775 + <xsl:when test="parent::xsd:extension 776 + and count(/xsd:schema/xsd:*[@name = $lname 777 + and (self::xsd:simpleType or self::xsd:complexType)]) 778 + = 1"> 779 + <xsl:value-of select="concat('type_',$lname)"/> 780 + </xsl:when> 781 + <xsl:when test="parent::xsd:element 782 + and local-name() = 'type' 783 + and count(/xsd:schema/xsd:*[@name = $lname 784 + and (self::xsd:simpleType or self::xsd:complexType)]) 785 + = 1"> 786 + <xsl:value-of select="concat('type_',$lname)"/> 787 + </xsl:when> 788 + <xsl:when test="parent::xsd:attribute 789 + and local-name() = 'type' 790 + and count(/xsd:schema/xsd:*[@name = $lname 791 + and (self::xsd:simpleType or self::xsd:complexType)]) 792 + = 1"> 793 + <xsl:value-of select="concat('type_',$lname)"/> 794 + </xsl:when> 795 + <xsl:when test="parent::xsd:list 796 + and count(/xsd:schema/xsd:*[@name = $lname 797 + and (self::xsd:simpleType or self::xsd:complexType)]) 798 + = 1"> 799 + <xsl:value-of select="concat('type_',$lname)"/> 800 + </xsl:when> 801 + <xsl:when test="parent::xsd:union 802 + and count(/xsd:schema/xsd:*[@name = $lname 803 + and (self::xsd:simpleType or self::xsd:complexType)]) 804 + = 1"> 805 + <xsl:value-of select="concat('type_',$lname)"/> 806 + </xsl:when> 807 + <xsl:when test="parent::xsd:group 808 + and count(/xsd:schema/xsd:group[@name = $lname]) = 1"> 809 + <xsl:value-of select="concat('grp_',$lname)"/> 810 + </xsl:when> 811 + <xsl:when test="parent::xsd:attributeGroup 812 + and count(/xsd:schema/xsd:atributeGroup[@name = $lname]) = 1"> 813 + <xsl:value-of select="concat('attgrp_',$lname)"/> 814 + </xsl:when> 815 + <!--* static links to built-ins could be handled here *--> 816 + </xsl:choose> 817 + </xsl:when> 818 + <xsl:when test="count(ancestor::*/namespace::*) = 0"> 819 + <!--* we are either in a no-namespace document in Opera, 820 + * or we are in Firefox, without ns support. 821 + *--> 822 + <xsl:value-of select="'no-ns-support'"/> 823 + </xsl:when> 824 + <xsl:otherwise> 825 + <!--* namespaces did not match, no target *--> 826 + <xsl:value-of select="'no-target'"/> 827 + </xsl:otherwise> 828 + </xsl:choose> 829 + </xsl:variable> 830 + 831 + <xsl:choose> 832 + <xsl:when test="($linktarget='no-ns-support')"> 833 + <xsl:value-of select="$qn"/> 834 + </xsl:when> 835 + <xsl:when test="($linktarget='no-target' or $linktarget='') 836 + and ($tns = $refns)"> 837 + <xsl:element name="span"> 838 + <xsl:attribute name="class">external-link same-ns</xsl:attribute> 839 + <xsl:value-of select="$qn"/> 840 + </xsl:element> 841 + </xsl:when> 842 + <xsl:when test="($linktarget='no-target') 843 + and not($tns = $refns)"> 844 + <xsl:element name="span"> 845 + <xsl:attribute name="class">external-link diff-ns</xsl:attribute> 846 + <xsl:value-of select="$qn"/> 847 + </xsl:element> 848 + </xsl:when> 849 + <xsl:otherwise> 850 + <xsl:element name="a"> 851 + <xsl:attribute name="href"> 852 + <xsl:value-of select="concat('#',$linktarget)"/> 853 + </xsl:attribute> 854 + <xsl:value-of select="$qn"/> 855 + </xsl:element> 856 + </xsl:otherwise> 857 + </xsl:choose> 858 + </xsl:template> 859 + 860 + <xsl:template name="qname-to-uri" match="*" mode="qname-to-uri"> 861 + <xsl:param name="qname" select="."/> 862 + <xsl:variable name="prefix" select="substring-before($qname,':')"/> 863 + <xsl:choose> 864 + <xsl:when test="(1=1) and ($prefix='xml')"> 865 + <!--* we need to special-case 'xml', since 866 + * Opera does not provide a ns node for it. 867 + *--> 868 + <xsl:value-of select="'http://www.w3.org/XML/1998/namespace'"/> 869 + </xsl:when> 870 + <xsl:when test="self::*"> 871 + <!--* we're an element *--> 872 + <xsl:value-of select="string(namespace::*[name()=$prefix])"/> 873 + </xsl:when> 874 + <xsl:otherwise> 875 + <!--* we're not an element *--> 876 + <xsl:value-of select="string(parent::*/namespace::*[name()=$prefix])"/> 877 + </xsl:otherwise> 878 + </xsl:choose> 879 + </xsl:template> 880 + <xsl:template name="qname-to-ncname"> 881 + <xsl:param name="qname" select="."/> 882 + <xsl:choose> 883 + <xsl:when test="contains($qname,':')"> 884 + <xsl:value-of select="substring-after($qname,':')"/> 885 + </xsl:when> 886 + <xsl:otherwise> 887 + <xsl:value-of select="$qname"/> 888 + </xsl:otherwise> 889 + </xsl:choose> 890 + </xsl:template> 891 + 892 + <xsl:template name="lastline-suffix"> 893 + <xsl:param name="s0"></xsl:param> 894 + <xsl:choose> 895 + <xsl:when test="contains($s0,'
')"> 896 + <xsl:call-template name="lastline-suffix"> 897 + <xsl:with-param name="s0" select="substring-after($s0,'
')"/> 898 + </xsl:call-template> 899 + </xsl:when> 900 + <xsl:otherwise> 901 + <xsl:value-of select="$s0"/> 902 + </xsl:otherwise> 903 + </xsl:choose> 904 + </xsl:template> 905 + 906 + 907 + <xsl:template name="stag-width"> 908 + <xsl:param name="indent-length" select="0"/> 909 + 910 + <xsl:variable name="attcount" select="count(@*)"/> 911 + <xsl:variable name="list-attname-lengths"> 912 + <xsl:call-template name="make-length-list"> 913 + <xsl:with-param name="kw">attnames</xsl:with-param> 914 + </xsl:call-template> 915 + </xsl:variable> 916 + 917 + <xsl:variable name="list-attval-lengths"> 918 + <xsl:call-template name="make-length-list"> 919 + <xsl:with-param name="kw">attvals</xsl:with-param> 920 + </xsl:call-template> 921 + </xsl:variable> 922 + 923 + <xsl:variable name="sum-att-lengths"> 924 + <xsl:call-template name="sum-list"> 925 + <xsl:with-param name="s0" select="concat($list-attname-lengths,' ',$list-attval-lengths)"/> 926 + </xsl:call-template> 927 + </xsl:variable> 928 + 929 + <!--* 930 + <xsl:message>indent-length = <xsl:value-of select="$indent-length"/></xsl:message> 931 + <xsl:message>attcount = <xsl:value-of select="$attcount"/></xsl:message> 932 + <xsl:message>sum-att-lengths = <xsl:value-of select="$sum-att-lengths"/></xsl:message> 933 + <xsl:message>namelen = <xsl:value-of select="string-length(name())"/></xsl:message> 934 + *--> 935 + 936 + <xsl:value-of select="$indent-length + (4 * $attcount) + $sum-att-lengths + string-length(name()) + 3"/> 937 + 938 + </xsl:template> 939 + 940 + 941 + <xsl:template name="make-length-list"> 942 + <xsl:param name="kw">unknown</xsl:param> 943 + <xsl:choose> 944 + <xsl:when test="$kw = 'attnames'"> 945 + <xsl:apply-templates select="@*" mode="attnamelength"/> 946 + </xsl:when> 947 + <xsl:when test="$kw = 'attvals'"> 948 + <xsl:apply-templates select="@*" mode="attvallength"/> 949 + </xsl:when> 950 + <xsl:otherwise>0</xsl:otherwise> 951 + </xsl:choose> 952 + </xsl:template> 953 + 954 + <xsl:template name="sum-list"> 955 + <xsl:param name="n0" select="0"/> 956 + <xsl:param name="s0"/> 957 + 958 + <xsl:variable name="s1" select="normalize-space($s0)"/> 959 + 960 + <!--* 961 + <xsl:message><xsl:value-of select="concat('n0 =', $n0, ', s1 = /',$s1,'/')"/></xsl:message> 962 + *--> 963 + 964 + <xsl:choose> 965 + <xsl:when test="contains($s1,' ')"> 966 + <xsl:variable name="term" select="substring-before($s1,' ')"/> 967 + <xsl:variable name="s2" select="substring-after($s1,' ')"/> 968 + <xsl:call-template name="sum-list"> 969 + <xsl:with-param name="n0" select="$n0 + $term"/> 970 + <xsl:with-param name="s0" select="$s2"/> 971 + </xsl:call-template> 972 + </xsl:when> 973 + <xsl:otherwise> 974 + <xsl:value-of select="$n0 + $s1"/> 975 + </xsl:otherwise> 976 + </xsl:choose> 977 + </xsl:template> 978 + 979 + <!--xsl:template match="@*" mode="attnamelength"> 980 + <xsl:value-of select="concat(string-length(name()), ' ')"/> 981 + </xsl:template--> 982 + <!--xsl:template match="@*" mode="attvallength"> 983 + <xsl:value-of select="concat(string-length(.), ' ')"/> 984 + </xsl:template--> 985 + 986 +</xsl:stylesheet> 987 +<!-- Keep this comment at the end of the file 988 +Local variables: 989 +mode: xml 990 +sgml-default-dtd-file:"/Library/SGML/Public/Emacs/xslt.ced" 991 +sgml-omittag:t 992 +sgml-shorttag:t 993 +sgml-indent-data:t 994 +sgml-indent-step:1 995 +End: 996 +-->
- BillJournal_[1.0].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.4 KB - Content
-
... ... @@ -1,0 +1,362 @@ 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="BillJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="BillJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an invoice.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="InvoiceNo" type="InvoiceIdentifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>InvoiceNo is your unique invoice identifier in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 18 + <xs:annotation> 19 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="InvoiceClaimEvents" minOccurs="0" maxOccurs="1"> 23 + <xs:annotation> 24 + <xs:documentation>Containing claim events on an invoice.</xs:documentation> 25 + </xs:annotation> 26 + <xs:complexType> 27 + <xs:sequence> 28 + <xs:element name="InvoiceClaimEvent" type="InvoiceClaimEvent" minOccurs="1" maxOccurs="unbounded"> 29 + <xs:annotation> 30 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 31 + </xs:annotation> 32 + </xs:element> 33 + </xs:sequence> 34 + </xs:complexType> 35 + </xs:element> 36 + <xs:element name="InvoiceStatusEvents" minOccurs="0" maxOccurs="1"> 37 + <xs:annotation> 38 + <xs:documentation>Containing status events on an invoice.</xs:documentation> 39 + </xs:annotation> 40 + <xs:complexType> 41 + <xs:sequence> 42 + <xs:element name="InvoiceStatusEvent" type="InvoiceStatusEvent" minOccurs="1" maxOccurs="unbounded"> 43 + <xs:annotation> 44 + <xs:documentation>Contains an invoice status event.</xs:documentation> 45 + </xs:annotation> 46 + </xs:element> 47 + </xs:sequence> 48 + </xs:complexType> 49 + </xs:element> 50 + <xs:element name="InvoiceClaimProcessPauseEvents" minOccurs="0" maxOccurs="1"> 51 + <xs:annotation> 52 + <xs:documentation>Containing claim process pause events on an invoice.</xs:documentation> 53 + </xs:annotation> 54 + <xs:complexType> 55 + <xs:sequence> 56 + <xs:element name="InvoiceClaimProcessPauseEvent" type="InvoiceClaimProcessPauseEvent" minOccurs="1" maxOccurs="unbounded"> 57 + <xs:annotation> 58 + <xs:documentation>Contains an invoice claim process pause event</xs:documentation> 59 + </xs:annotation> 60 + </xs:element> 61 + </xs:sequence> 62 + </xs:complexType> 63 + </xs:element> 64 + <xs:element name="InvoiceComplaintEvents" minOccurs="0" maxOccurs="1"> 65 + <xs:annotation> 66 + <xs:documentation>Containing complaint events on an invoice.</xs:documentation> 67 + </xs:annotation> 68 + <xs:complexType> 69 + <xs:sequence> 70 + <xs:element name="InvoiceComplaintEvent" type="InvoiceComplaintEvent" minOccurs="1" maxOccurs="unbounded"> 71 + <xs:annotation> 72 + <xs:documentation>Contains an invoice complaint event</xs:documentation> 73 + </xs:annotation> 74 + </xs:element> 75 + </xs:sequence> 76 + </xs:complexType> 77 + </xs:element> 78 + </xs:sequence> 79 + </xs:complexType> 80 + </xs:element> 81 + </xs:sequence> 82 + <xs:attribute name="Version" type="xs:string" fixed="1.0" use="required" > 83 + <xs:annotation> 84 + <xs:documentation>The version of the schema-file (XSD) to be used for validation of the xml-file</xs:documentation> 85 + </xs:annotation> 86 + </xs:attribute> 87 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 88 + <xs:annotation> 89 + <xs:documentation>The date and time when the file was created</xs:documentation> 90 + </xs:annotation> 91 + </xs:attribute> 92 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 93 + <xs:annotation> 94 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 95 + </xs:annotation> 96 + </xs:attribute> 97 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 98 + <xs:annotation> 99 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 100 + </xs:annotation> 101 + </xs:attribute> 102 + </xs:complexType> 103 + </xs:element> 104 + <xs:simpleType name="Identifier15"> 105 + <xs:restriction base="xs:string"> 106 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 107 + <xs:minLength value="1" /> 108 + <xs:maxLength value="15" /> 109 + </xs:restriction> 110 + </xs:simpleType> 111 + <xs:simpleType name="ISO3166"> 112 + <xs:restriction base="xs:string"> 113 + <xs:pattern value="[A-Z]*" /> 114 + <xs:minLength value="2" /> 115 + <xs:maxLength value="2" /> 116 + </xs:restriction> 117 + </xs:simpleType> 118 + <xs:simpleType name="CompanyNumber"> 119 + <xs:restriction base="xs:string"> 120 + <xs:pattern value="[0-9]*" /> 121 + <xs:minLength value="1" /> 122 + <xs:maxLength value="15" /> 123 + </xs:restriction> 124 + </xs:simpleType> 125 + <xs:simpleType name="ISO639"> 126 + <xs:restriction base="PXString"> 127 + <xs:enumeration value="SV" /> 128 + <xs:enumeration value="NO" /> 129 + <xs:enumeration value="DA" /> 130 + <xs:enumeration value="FI" /> 131 + <xs:enumeration value="EN" /> 132 + </xs:restriction> 133 + </xs:simpleType> 134 + <xs:simpleType name="String35"> 135 + <xs:restriction base="PXString"> 136 + <xs:maxLength value="35" /> 137 + </xs:restriction> 138 + </xs:simpleType> 139 + <xs:simpleType name="Email"> 140 + <xs:restriction base="PXString"> 141 + <xs:maxLength value="60" /> 142 + </xs:restriction> 143 + </xs:simpleType> 144 + <xs:simpleType name="String15"> 145 + <xs:restriction base="PXString"> 146 + <xs:maxLength value="15" /> 147 + </xs:restriction> 148 + </xs:simpleType> 149 + <xs:simpleType name="ZipCode"> 150 + <xs:restriction base="xs:string"> 151 + <xs:pattern value="[A-Z0-9\-]+" /> 152 + <xs:maxLength value="9" /> 153 + </xs:restriction> 154 + </xs:simpleType> 155 + <xs:simpleType name="VatNumber"> 156 + <xs:restriction base="xs:string"> 157 + <xs:pattern value="[A-Z]{2}.*" /> 158 + <xs:minLength value="7" /> 159 + <xs:maxLength value="14" /> 160 + </xs:restriction> 161 + </xs:simpleType> 162 + <xs:simpleType name="String50"> 163 + <xs:restriction base="xs:string"> 164 + <xs:maxLength value="50" /> 165 + </xs:restriction> 166 + </xs:simpleType> 167 + <xs:complexType name="InvoiceClaimEvent"> 168 + <xs:sequence> 169 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 170 + <xs:annotation> 171 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 172 + </xs:annotation> 173 + </xs:element> 174 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 175 + <xs:annotation> 176 + <xs:documentation>The date when the event occurred.</xs:documentation> 177 + </xs:annotation> 178 + </xs:element> 179 + <xs:element name="BillAmount" type="BillAmount" maxOccurs="1" minOccurs="1" nillable="false"> 180 + <xs:annotation> 181 + <xs:documentation>The claim amount at the time of the claimevent.</xs:documentation> 182 + </xs:annotation> 183 + </xs:element> 184 + </xs:sequence> 185 + </xs:complexType> 186 + <xs:complexType name="InvoiceStatusEvent"> 187 + <xs:sequence> 188 + <xs:element name="InvoiceStatus" type="eInvoiceStatus" minOccurs="1" maxOccurs="1" nillable="false"> 189 + <xs:annotation> 190 + <xs:documentation>Type of status event from enumeration.</xs:documentation> 191 + </xs:annotation> 192 + </xs:element> 193 + <xs:element name="StatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 194 + <xs:annotation> 195 + <xs:documentation>The date when the event occurred</xs:documentation> 196 + </xs:annotation> 197 + </xs:element> 198 + </xs:sequence> 199 + </xs:complexType> 200 + <xs:complexType name="InvoiceClaimProcessPauseEvent"> 201 + <xs:sequence> 202 + <xs:element name="ClaimProcessPauseEvent" type="eClaimProcessPauseEventType" minOccurs="1" maxOccurs="1" nillable="false"> 203 + <xs:annotation> 204 + <xs:documentation>Type of claim process pause event from enumeration.</xs:documentation> 205 + </xs:annotation> 206 + </xs:element> 207 + <xs:element name="ClaimProcessPauseEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 208 + <xs:annotation> 209 + <xs:documentation>The date when the event occurred</xs:documentation> 210 + </xs:annotation> 211 + </xs:element> 212 + <xs:element name="ValidToDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="false"> 213 + <xs:annotation> 214 + <xs:documentation>If exists, the date to which the claim process pause is valid to.</xs:documentation> 215 + </xs:annotation> 216 + </xs:element> 217 + </xs:sequence> 218 + </xs:complexType> 219 + <xs:complexType name="InvoiceComplaintEvent"> 220 + <xs:sequence> 221 + <xs:element name="ComplaintStatus" type="eComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false"> 222 + <xs:annotation> 223 + <xs:documentation>Type of complaint status from enumeration.</xs:documentation> 224 + </xs:annotation> 225 + </xs:element> 226 + <xs:element name="ComplaintEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 227 + <xs:annotation> 228 + <xs:documentation>The date when the event occurred</xs:documentation> 229 + </xs:annotation> 230 + </xs:element> 231 + </xs:sequence> 232 + </xs:complexType> 233 + <xs:complexType name="BillAmount"> 234 + <xs:sequence> 235 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 236 + </xs:sequence> 237 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 238 + </xs:complexType> 239 + <xs:simpleType name="eClaimProcessPauseEventType"> 240 + <xs:restriction base="xs:string"> 241 + <xs:enumeration value="Stop"> 242 + <xs:annotation> 243 + <xs:documentation>The claim is stopped for further claim process steps until stop is removed.</xs:documentation> 244 + </xs:annotation> 245 + </xs:enumeration> 246 + <xs:enumeration value="Respite"> 247 + <xs:annotation> 248 + <xs:documentation>The claim is stopped for further claimprocess steps until valid to data of respite or respite is removed.</xs:documentation> 249 + </xs:annotation> 250 + </xs:enumeration> 251 + <xs:enumeration value="StopRemoved"> 252 + <xs:annotation> 253 + <xs:documentation>Stop has been removed from claim.</xs:documentation> 254 + </xs:annotation> 255 + </xs:enumeration> 256 + <xs:enumeration value="RespiteRemoved"> 257 + <xs:annotation> 258 + <xs:documentation>Respite has been removed fro claim</xs:documentation> 259 + </xs:annotation> 260 + </xs:enumeration> 261 + </xs:restriction> 262 + </xs:simpleType> 263 + <xs:simpleType name="eComplaintStatus"> 264 + <xs:restriction base="xs:string"> 265 + <xs:enumeration value="ComplaintReceived"> 266 + <xs:annotation> 267 + <xs:documentation>Complaint has been registered</xs:documentation> 268 + </xs:annotation> 269 + </xs:enumeration> 270 + <xs:enumeration value="ComplaintResolved"> 271 + <xs:annotation> 272 + <xs:documentation>Complaint has been resolved</xs:documentation> 273 + </xs:annotation> 274 + </xs:enumeration> 275 + </xs:restriction> 276 + </xs:simpleType> 277 + <xs:simpleType name="eInvoiceStatus"> 278 + <xs:restriction base="xs:string"> 279 + <xs:enumeration value="Closed"> 280 + <xs:annotation> 281 + <xs:documentation>Status of the invoice in the accounts receivable has been set to closed</xs:documentation> 282 + </xs:annotation> 283 + </xs:enumeration> 284 + <xs:enumeration value="Rest"> 285 + <xs:annotation> 286 + <xs:documentation>Status of the invoice in the accounts receivable has been set to rest, meaning that remaing amount to settle is below or egual to configured amount.</xs:documentation> 287 + </xs:annotation> 288 + </xs:enumeration> 289 + </xs:restriction> 290 + </xs:simpleType> 291 + <xs:simpleType name="eClaimEvent"> 292 + <xs:restriction base="xs:string"> 293 + <xs:enumeration value="ReminderSent"> 294 + <xs:annotation> 295 + <xs:documentation>An invoice reminder has been sent to the customer</xs:documentation> 296 + </xs:annotation> 297 + </xs:enumeration> 298 + <xs:enumeration value="SecondReminderSent"> 299 + <xs:annotation> 300 + <xs:documentation>A second invoice reminder has been sent to the customer</xs:documentation> 301 + </xs:annotation> 302 + </xs:enumeration> 303 + <xs:enumeration value="CollectionClaimSent"> 304 + <xs:annotation> 305 + <xs:documentation>A collection claim has been sent to the customer</xs:documentation> 306 + </xs:annotation> 307 + </xs:enumeration> 308 + <xs:enumeration value="RestReminderSent"> 309 + <xs:annotation> 310 + <xs:documentation>A reminder including only interest and fees has been sent to the customer</xs:documentation> 311 + </xs:annotation> 312 + </xs:enumeration> 313 + <xs:enumeration value="DebtCollection"> 314 + <xs:annotation> 315 + <xs:documentation>The invoice has been transferred to collection</xs:documentation> 316 + </xs:annotation> 317 + </xs:enumeration> 318 + </xs:restriction> 319 + </xs:simpleType> 320 + <xs:simpleType name="eCurrencyType"> 321 + <xs:restriction base="xs:string"> 322 + <xs:enumeration value="SEK" /> 323 + <xs:enumeration value="NOK" /> 324 + <xs:enumeration value="DKK" /> 325 + <xs:enumeration value="EUR" /> 326 + </xs:restriction> 327 + </xs:simpleType> 328 + <xs:simpleType name="Money"> 329 + <xs:restriction base="xs:decimal"> 330 + <xs:fractionDigits value="2" /> 331 + <xs:minInclusive value="-100000000" /> 332 + <xs:maxInclusive value="100000000" /> 333 + </xs:restriction> 334 + </xs:simpleType> 335 + <xs:simpleType name="String10"> 336 + <xs:restriction base="PXString"> 337 + <xs:maxLength value="10" /> 338 + </xs:restriction> 339 + </xs:simpleType> 340 + <xs:simpleType name="String30"> 341 + <xs:restriction base="PXString"> 342 + <xs:maxLength value="30" /> 343 + </xs:restriction> 344 + </xs:simpleType> 345 + <xs:simpleType name="String25"> 346 + <xs:restriction base="PXString"> 347 + <xs:maxLength value="25" /> 348 + </xs:restriction> 349 + </xs:simpleType> 350 + <xs:simpleType name="InvoiceIdentifier15"> 351 + <xs:restriction base="xs:string"> 352 + <xs:pattern value="[A-Za-z0-9\-]+" /> 353 + <xs:maxLength value="15" /> 354 + </xs:restriction> 355 + </xs:simpleType> 356 + <xs:simpleType name="PXString"> 357 + <xs:restriction base="xs:string"> 358 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 359 + <xs:minLength value="1" /> 360 + </xs:restriction> 361 + </xs:simpleType> 362 +</xs:schema>
- BillJournal_[1.2].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.1 KB - Content
-
... ... @@ -1,0 +1,492 @@ 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="BillJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="BillJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an invoice.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="InvoiceNo" type="InvoiceIdentifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>InvoiceNo is your unique invoice identifier in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 18 + <xs:annotation> 19 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="InvoiceClaimEvents" minOccurs="0" maxOccurs="1"> 23 + <xs:annotation> 24 + <xs:documentation>Containing claim events on an invoice.</xs:documentation> 25 + </xs:annotation> 26 + <xs:complexType> 27 + <xs:sequence> 28 + <xs:element name="InvoiceClaimEvent" type="InvoiceClaimEvent" minOccurs="1" maxOccurs="unbounded"> 29 + <xs:annotation> 30 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 31 + </xs:annotation> 32 + </xs:element> 33 + </xs:sequence> 34 + </xs:complexType> 35 + </xs:element> 36 + <xs:element name="InvoiceStatusEvents" minOccurs="0" maxOccurs="1"> 37 + <xs:annotation> 38 + <xs:documentation>Containing status events on an invoice.</xs:documentation> 39 + </xs:annotation> 40 + <xs:complexType> 41 + <xs:sequence> 42 + <xs:element name="InvoiceStatusEvent" type="InvoiceStatusEvent" minOccurs="1" maxOccurs="unbounded"> 43 + <xs:annotation> 44 + <xs:documentation>Contains an invoice status event.</xs:documentation> 45 + </xs:annotation> 46 + </xs:element> 47 + </xs:sequence> 48 + </xs:complexType> 49 + </xs:element> 50 + <xs:element name="InvoiceClaimProcessPauseEvents" minOccurs="0" maxOccurs="1"> 51 + <xs:annotation> 52 + <xs:documentation>Containing claim process pause events on an invoice.</xs:documentation> 53 + </xs:annotation> 54 + <xs:complexType> 55 + <xs:sequence> 56 + <xs:element name="InvoiceClaimProcessPauseEvent" type="InvoiceClaimProcessPauseEvent" minOccurs="1" maxOccurs="unbounded"> 57 + <xs:annotation> 58 + <xs:documentation>Contains an invoice claim process pause event</xs:documentation> 59 + </xs:annotation> 60 + </xs:element> 61 + </xs:sequence> 62 + </xs:complexType> 63 + </xs:element> 64 + <xs:element name="InvoiceComplaintEvents" minOccurs="0" maxOccurs="1"> 65 + <xs:annotation> 66 + <xs:documentation>Containing complaint events on an invoice.</xs:documentation> 67 + </xs:annotation> 68 + <xs:complexType> 69 + <xs:sequence> 70 + <xs:element name="InvoiceComplaintEvent" type="InvoiceComplaintEvent" minOccurs="1" maxOccurs="unbounded"> 71 + <xs:annotation> 72 + <xs:documentation>Contains an invoice complaint event</xs:documentation> 73 + </xs:annotation> 74 + </xs:element> 75 + </xs:sequence> 76 + </xs:complexType> 77 + </xs:element> 78 + <xs:element name="InvoiceNotificationEvents" minOccurs="0" maxOccurs="1"> 79 + <xs:annotation> 80 + <xs:documentation>Containing Notification events on an invoice.</xs:documentation> 81 + </xs:annotation> 82 + <xs:complexType> 83 + <xs:sequence> 84 + <xs:element name="InvoiceNotificationEvent" type="InvoiceNotificationEvent" minOccurs="1" maxOccurs="unbounded"> 85 + <xs:annotation> 86 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 87 + </xs:annotation> 88 + </xs:element> 89 + </xs:sequence> 90 + </xs:complexType> 91 + </xs:element> 92 + <xs:element name="PaymentOrderEvents" minOccurs="0" maxOccurs="1"> 93 + <xs:annotation> 94 + <xs:documentation>Containing Payment Order events on an invoice.</xs:documentation> 95 + </xs:annotation> 96 + <xs:complexType> 97 + <xs:sequence> 98 + <xs:element name="PaymentOrderEvent" type="PaymentOrderEvent" minOccurs="1" maxOccurs="unbounded"> 99 + <xs:annotation> 100 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 101 + </xs:annotation> 102 + </xs:element> 103 + </xs:sequence> 104 + </xs:complexType> 105 + </xs:element> 106 + </xs:sequence> 107 + </xs:complexType> 108 + </xs:element> 109 + </xs:sequence> 110 + <xs:attribute name="Version" type="Version" use="required"> 111 + <xs:annotation> 112 + <xs:documentation>Versions supported by this schema</xs:documentation> 113 + </xs:annotation> 114 + </xs:attribute> 115 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 116 + <xs:annotation> 117 + <xs:documentation>The date and time when the file was created</xs:documentation> 118 + </xs:annotation> 119 + </xs:attribute> 120 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 121 + <xs:annotation> 122 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 123 + </xs:annotation> 124 + </xs:attribute> 125 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 126 + <xs:annotation> 127 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 128 + </xs:annotation> 129 + </xs:attribute> 130 + </xs:complexType> 131 + </xs:element> 132 + <xs:simpleType name="Identifier15"> 133 + <xs:restriction base="xs:string"> 134 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 135 + <xs:minLength value="1" /> 136 + <xs:maxLength value="15" /> 137 + </xs:restriction> 138 + </xs:simpleType> 139 + <xs:simpleType name="ISO3166"> 140 + <xs:restriction base="xs:string"> 141 + <xs:pattern value="[A-Z]*" /> 142 + <xs:minLength value="2" /> 143 + <xs:maxLength value="2" /> 144 + </xs:restriction> 145 + </xs:simpleType> 146 + <xs:simpleType name="CompanyNumber"> 147 + <xs:restriction base="xs:string"> 148 + <xs:pattern value="[0-9]*" /> 149 + <xs:minLength value="1" /> 150 + <xs:maxLength value="15" /> 151 + </xs:restriction> 152 + </xs:simpleType> 153 + <xs:simpleType name="ISO639"> 154 + <xs:restriction base="PXString"> 155 + <xs:enumeration value="SV" /> 156 + <xs:enumeration value="NO" /> 157 + <xs:enumeration value="DA" /> 158 + <xs:enumeration value="FI" /> 159 + <xs:enumeration value="EN" /> 160 + </xs:restriction> 161 + </xs:simpleType> 162 + <xs:simpleType name="String35"> 163 + <xs:restriction base="PXString"> 164 + <xs:maxLength value="35" /> 165 + </xs:restriction> 166 + </xs:simpleType> 167 + <xs:simpleType name="Email"> 168 + <xs:restriction base="PXString"> 169 + <xs:maxLength value="60" /> 170 + </xs:restriction> 171 + </xs:simpleType> 172 + <xs:simpleType name="String15"> 173 + <xs:restriction base="PXString"> 174 + <xs:maxLength value="15" /> 175 + </xs:restriction> 176 + </xs:simpleType> 177 + <xs:simpleType name="ZipCode"> 178 + <xs:restriction base="xs:string"> 179 + <xs:pattern value="[A-Z0-9\-]+" /> 180 + <xs:maxLength value="9" /> 181 + </xs:restriction> 182 + </xs:simpleType> 183 + <xs:simpleType name="VatNumber"> 184 + <xs:restriction base="xs:string"> 185 + <xs:pattern value="[A-Z]{2}.*" /> 186 + <xs:minLength value="7" /> 187 + <xs:maxLength value="14" /> 188 + </xs:restriction> 189 + </xs:simpleType> 190 + <xs:simpleType name="String50"> 191 + <xs:restriction base="xs:string"> 192 + <xs:maxLength value="50" /> 193 + </xs:restriction> 194 + </xs:simpleType> 195 + <xs:complexType name="InvoiceClaimEvent"> 196 + <xs:sequence> 197 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 198 + <xs:annotation> 199 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 200 + </xs:annotation> 201 + </xs:element> 202 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 203 + <xs:annotation> 204 + <xs:documentation>The date when the event occurred.</xs:documentation> 205 + </xs:annotation> 206 + </xs:element> 207 + <xs:element name="BillAmount" type="BillAmount" maxOccurs="1" minOccurs="1" nillable="false"> 208 + <xs:annotation> 209 + <xs:documentation>The claim amount at the time of the claimevent.</xs:documentation> 210 + </xs:annotation> 211 + </xs:element> 212 + </xs:sequence> 213 + </xs:complexType> 214 + <xs:complexType name="InvoiceStatusEvent"> 215 + <xs:sequence> 216 + <xs:element name="InvoiceStatus" type="eInvoiceStatus" minOccurs="1" maxOccurs="1" nillable="false"> 217 + <xs:annotation> 218 + <xs:documentation>Type of status event from enumeration.</xs:documentation> 219 + </xs:annotation> 220 + </xs:element> 221 + <xs:element name="InvoiceSubStatus" type="eInvoiceSubStatus" minOccurs="0" maxOccurs="1"> 222 + <xs:annotation> 223 + <xs:documentation>Used to clarify why the InvoiceStatus is set. Reasons is listed in the enumeration eInvoiceSubStatus.</xs:documentation> 224 + </xs:annotation> 225 + </xs:element> 226 + <xs:element name="StatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 227 + <xs:annotation> 228 + <xs:documentation>The date when the event occurred</xs:documentation> 229 + </xs:annotation> 230 + </xs:element> 231 + </xs:sequence> 232 + </xs:complexType> 233 + <xs:complexType name="InvoiceClaimProcessPauseEvent"> 234 + <xs:sequence> 235 + <xs:element name="ClaimProcessPauseEvent" type="eClaimProcessPauseEventType" minOccurs="1" maxOccurs="1" nillable="false"> 236 + <xs:annotation> 237 + <xs:documentation>Type of claim process pause event from enumeration.</xs:documentation> 238 + </xs:annotation> 239 + </xs:element> 240 + <xs:element name="ClaimProcessPauseEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 241 + <xs:annotation> 242 + <xs:documentation>The date when the event occurred</xs:documentation> 243 + </xs:annotation> 244 + </xs:element> 245 + <xs:element name="ValidToDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="false"> 246 + <xs:annotation> 247 + <xs:documentation>If exists, the date to which the claim process pause is valid to.</xs:documentation> 248 + </xs:annotation> 249 + </xs:element> 250 + </xs:sequence> 251 + </xs:complexType> 252 + <xs:complexType name="InvoiceComplaintEvent"> 253 + <xs:sequence> 254 + <xs:element name="ComplaintStatus" type="eComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false"> 255 + <xs:annotation> 256 + <xs:documentation>Type of complaint status from enumeration.</xs:documentation> 257 + </xs:annotation> 258 + </xs:element> 259 + <xs:element name="ComplaintEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 260 + <xs:annotation> 261 + <xs:documentation>The date when the event occurred</xs:documentation> 262 + </xs:annotation> 263 + </xs:element> 264 + </xs:sequence> 265 + </xs:complexType> 266 + <xs:complexType name="InvoiceNotificationEvent"> 267 + <xs:sequence> 268 + <xs:element name="NotificationType" type="eNotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 269 + <xs:annotation> 270 + <xs:documentation>Type of Notification event from enumeration.</xs:documentation> 271 + </xs:annotation> 272 + </xs:element> 273 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 274 + <xs:annotation> 275 + <xs:documentation>The date when the event occurred.</xs:documentation> 276 + </xs:annotation> 277 + </xs:element> 278 + </xs:sequence> 279 + </xs:complexType> 280 + <xs:complexType name="PaymentOrderEvent"> 281 + <xs:sequence> 282 + <xs:element name="PaymentOrderStatusCode" type="ePaymentOrderStatus" minOccurs="1" maxOccurs="1" nillable="false"> 283 + <xs:annotation> 284 + <xs:documentation>Payment order status from enumeration.</xs:documentation> 285 + </xs:annotation> 286 + </xs:element> 287 + <xs:element name="PaymentOrderEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 288 + <xs:annotation> 289 + <xs:documentation>The date when the event occurred.</xs:documentation> 290 + </xs:annotation> 291 + </xs:element> 292 + </xs:sequence> 293 + </xs:complexType> 294 + <xs:complexType name="BillAmount"> 295 + <xs:sequence> 296 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 297 + </xs:sequence> 298 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 299 + </xs:complexType> 300 + <xs:simpleType name="eClaimProcessPauseEventType"> 301 + <xs:restriction base="xs:string"> 302 + <xs:enumeration value="Stop"> 303 + <xs:annotation> 304 + <xs:documentation>The claim is stopped for further claim process steps until stop is removed.</xs:documentation> 305 + </xs:annotation> 306 + </xs:enumeration> 307 + <xs:enumeration value="Respite"> 308 + <xs:annotation> 309 + <xs:documentation>The claim is stopped for further claimprocess steps until valid to data of respite or respite is removed.</xs:documentation> 310 + </xs:annotation> 311 + </xs:enumeration> 312 + <xs:enumeration value="StopRemoved"> 313 + <xs:annotation> 314 + <xs:documentation>Stop has been removed from claim.</xs:documentation> 315 + </xs:annotation> 316 + </xs:enumeration> 317 + <xs:enumeration value="RespiteRemoved"> 318 + <xs:annotation> 319 + <xs:documentation>Respite has been removed fro claim</xs:documentation> 320 + </xs:annotation> 321 + </xs:enumeration> 322 + </xs:restriction> 323 + </xs:simpleType> 324 + <xs:simpleType name="eComplaintStatus"> 325 + <xs:restriction base="xs:string"> 326 + <xs:enumeration value="ComplaintReceived"> 327 + <xs:annotation> 328 + <xs:documentation>Complaint has been registered</xs:documentation> 329 + </xs:annotation> 330 + </xs:enumeration> 331 + <xs:enumeration value="ComplaintResolved"> 332 + <xs:annotation> 333 + <xs:documentation>Complaint has been resolved</xs:documentation> 334 + </xs:annotation> 335 + </xs:enumeration> 336 + </xs:restriction> 337 + </xs:simpleType> 338 + <xs:simpleType name="eInvoiceStatus"> 339 + <xs:restriction base="xs:string"> 340 + <xs:enumeration value="Closed"> 341 + <xs:annotation> 342 + <xs:documentation>Status of the invoice in the accounts receivable has been set to closed</xs:documentation> 343 + </xs:annotation> 344 + </xs:enumeration> 345 + <xs:enumeration value="Rest"> 346 + <xs:annotation> 347 + <xs:documentation>Status of the invoice in the accounts receivable has been set to rest, meaning that remaing amount to settle is below or egual to configured amount.</xs:documentation> 348 + </xs:annotation> 349 + </xs:enumeration> 350 + </xs:restriction> 351 + </xs:simpleType> 352 + <xs:simpleType name="eClaimEvent"> 353 + <xs:restriction base="xs:string"> 354 + <xs:enumeration value="ReminderSent"> 355 + <xs:annotation> 356 + <xs:documentation>An invoice reminder has been sent to the customer</xs:documentation> 357 + </xs:annotation> 358 + </xs:enumeration> 359 + <xs:enumeration value="SecondReminderSent"> 360 + <xs:annotation> 361 + <xs:documentation>A second invoice reminder has been sent to the customer</xs:documentation> 362 + </xs:annotation> 363 + </xs:enumeration> 364 + <xs:enumeration value="CollectionClaimSent"> 365 + <xs:annotation> 366 + <xs:documentation>A collection claim has been sent to the customer</xs:documentation> 367 + </xs:annotation> 368 + </xs:enumeration> 369 + <xs:enumeration value="RestReminderSent"> 370 + <xs:annotation> 371 + <xs:documentation>A reminder including only interest and fees has been sent to the customer</xs:documentation> 372 + </xs:annotation> 373 + </xs:enumeration> 374 + <xs:enumeration value="DebtCollection"> 375 + <xs:annotation> 376 + <xs:documentation>The invoice has been transferred to collection</xs:documentation> 377 + </xs:annotation> 378 + </xs:enumeration> 379 + </xs:restriction> 380 + </xs:simpleType> 381 + <xs:simpleType name="eNotificationType"> 382 + <xs:restriction base="xs:string"> 383 + <xs:enumeration value="PreDueDate"> 384 + <xs:annotation> 385 + <xs:documentation>Notification before the invoice due date</xs:documentation> 386 + </xs:annotation> 387 + </xs:enumeration> 388 + <xs:enumeration value="PreReminder"> 389 + <xs:annotation> 390 + <xs:documentation>Notification before the reminder is sent</xs:documentation> 391 + </xs:annotation> 392 + </xs:enumeration> 393 + <xs:enumeration value="PreCollectionClaim"> 394 + <xs:annotation> 395 + <xs:documentation>Notification before the collection claim is sent</xs:documentation> 396 + </xs:annotation> 397 + </xs:enumeration> 398 + </xs:restriction> 399 + </xs:simpleType> 400 + <xs:simpleType name="ePaymentOrderStatus"> 401 + <xs:restriction base="xs:string"> 402 + <xs:enumeration value="WillRetry"> 403 + <xs:annotation> 404 + <xs:documentation>Retries will be made</xs:documentation> 405 + </xs:annotation> 406 + </xs:enumeration> 407 + <xs:enumeration value="InsufficientFunds"> 408 + <xs:annotation> 409 + <xs:documentation>Insufficient funds in the account</xs:documentation> 410 + </xs:annotation> 411 + </xs:enumeration> 412 + </xs:restriction> 413 + </xs:simpleType> 414 + <xs:simpleType name="eCurrencyType"> 415 + <xs:restriction base="xs:string"> 416 + <xs:enumeration value="SEK" /> 417 + <xs:enumeration value="NOK" /> 418 + <xs:enumeration value="DKK" /> 419 + <xs:enumeration value="EUR" /> 420 + </xs:restriction> 421 + </xs:simpleType> 422 + <xs:simpleType name="eInvoiceSubStatus"> 423 + <xs:restriction base="xs:string"> 424 + <xs:enumeration value="Sold" > 425 + <xs:annotation> 426 + <xs:documentation>The invoice has been sold to another part</xs:documentation> 427 + </xs:annotation> 428 + </xs:enumeration> 429 + <xs:enumeration value="Loss" > 430 + <xs:annotation> 431 + <xs:documentation>Indicates that the invoice has been credited with loss</xs:documentation> 432 + </xs:annotation> 433 + </xs:enumeration> 434 + <xs:enumeration value="Converted" > 435 + <xs:annotation> 436 + <xs:documentation>The invoice has been converted to a credit account</xs:documentation> 437 + </xs:annotation> 438 + </xs:enumeration> 439 + <xs:enumeration value="Diff" > 440 + <xs:annotation> 441 + <xs:documentation>The invoice has been closed after having been listed (status Rest) for a certain time</xs:documentation> 442 + </xs:annotation> 443 + </xs:enumeration> 444 + <xs:enumeration value="Reversal"> 445 + <xs:annotation> 446 + <xs:documentation>The invoice has been fully credited or a chargeback has been made</xs:documentation> 447 + </xs:annotation> 448 + </xs:enumeration> 449 + </xs:restriction> 450 + </xs:simpleType> 451 + <xs:simpleType name="Version"> 452 + <xs:restriction base="xs:string"> 453 + <xs:enumeration value="1.0"/> 454 + <xs:enumeration value="1.1"/> 455 + <xs:enumeration value="1.2"/> 456 + </xs:restriction> 457 + </xs:simpleType> 458 + <xs:simpleType name="Money"> 459 + <xs:restriction base="xs:decimal"> 460 + <xs:fractionDigits value="2" /> 461 + <xs:minInclusive value="-100000000" /> 462 + <xs:maxInclusive value="100000000" /> 463 + </xs:restriction> 464 + </xs:simpleType> 465 + <xs:simpleType name="String10"> 466 + <xs:restriction base="PXString"> 467 + <xs:maxLength value="10" /> 468 + </xs:restriction> 469 + </xs:simpleType> 470 + <xs:simpleType name="String30"> 471 + <xs:restriction base="PXString"> 472 + <xs:maxLength value="30" /> 473 + </xs:restriction> 474 + </xs:simpleType> 475 + <xs:simpleType name="String25"> 476 + <xs:restriction base="PXString"> 477 + <xs:maxLength value="25" /> 478 + </xs:restriction> 479 + </xs:simpleType> 480 + <xs:simpleType name="InvoiceIdentifier15"> 481 + <xs:restriction base="xs:string"> 482 + <xs:pattern value="[A-Za-z0-9\-]+" /> 483 + <xs:maxLength value="15" /> 484 + </xs:restriction> 485 + </xs:simpleType> 486 + <xs:simpleType name="PXString"> 487 + <xs:restriction base="xs:string"> 488 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 489 + <xs:minLength value="1" /> 490 + </xs:restriction> 491 + </xs:simpleType> 492 +</xs:schema>
- BillJournal_367_20191030142104_439.XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.2 KB - Content
-
... ... @@ -1,0 +1,91 @@ 1 +<?xml version="1.0" encoding="utf-8" standalone="yes"?> 2 +<BillJournal Version="1.1" CreatedDateTime="2019-10-30T14:21:04" CompanyNo="367" CompanyName="Company Test"> 3 + <BillJournalInfo> 4 + <InvoiceNo>299887992F</InvoiceNo> 5 + <CustomerNo>2789456</CustomerNo> 6 + <InvoiceStatusEvents> 7 + <InvoiceStatusEvent> 8 + <InvoiceStatus>Closed</InvoiceStatus> 9 + <StatusEventDate>2019-10-29</StatusEventDate> 10 + </InvoiceStatusEvent> 11 + </InvoiceStatusEvents> 12 + </BillJournalInfo> 13 + <BillJournalInfo> 14 + <InvoiceNo>299887993G</InvoiceNo> 15 + <CustomerNo>2789458</CustomerNo> 16 + <InvoiceClaimProcessPauseEvents> 17 + <InvoiceClaimProcessPauseEvent> 18 + <ClaimProcessPauseEvent>Stop</ClaimProcessPauseEvent> 19 + <ClaimProcessPauseEventDate>2019-10-30</ClaimProcessPauseEventDate> 20 + </InvoiceClaimProcessPauseEvent> 21 + <InvoiceClaimProcessPauseEvent> 22 + <ClaimProcessPauseEvent>Respite</ClaimProcessPauseEvent> 23 + <ClaimProcessPauseEventDate>2019-10-30</ClaimProcessPauseEventDate> 24 + <ValidToDate>2019-11-08</ValidToDate> 25 + </InvoiceClaimProcessPauseEvent> 26 + <InvoiceClaimProcessPauseEvent> 27 + <ClaimProcessPauseEvent>StopRemoved</ClaimProcessPauseEvent> 28 + <ClaimProcessPauseEventDate>2019-10-30</ClaimProcessPauseEventDate> 29 + </InvoiceClaimProcessPauseEvent> 30 + </InvoiceClaimProcessPauseEvents> 31 + <InvoiceComplaintEvents> 32 + <InvoiceComplaintEvent> 33 + <ComplaintStatus>ComplaintReceived</ComplaintStatus> 34 + <ComplaintEventDate>2019-10-30</ComplaintEventDate> 35 + </InvoiceComplaintEvent> 36 + </InvoiceComplaintEvents> 37 + </BillJournalInfo> 38 + <BillJournalInfo> 39 + <InvoiceNo>7890123</InvoiceNo> 40 + <CustomerNo>123456</CustomerNo> 41 + <InvoiceClaimEvents> 42 + <InvoiceClaimEvent> 43 + <ClaimEvent>ReminderSent</ClaimEvent> 44 + <ClaimEventDate>2019-11-26</ClaimEventDate> 45 + <BillAmount Currency="SEK"> 46 + <AmountInclVat>411.53</AmountInclVat> 47 + </BillAmount> 48 + </InvoiceClaimEvent> 49 + </InvoiceClaimEvents> 50 + <InvoiceStatusEvents> 51 + <InvoiceStatusEvent> 52 + <InvoiceStatus>Closed</InvoiceStatus> 53 + <InvoiceSubStatus>Loss</InvoiceSubStatus> 54 + <StatusEventDate>2019-11-26</StatusEventDate> 55 + </InvoiceStatusEvent> 56 + </InvoiceStatusEvents> 57 +</BillJournalInfo> 58 +<BillJournalInfo> 59 + <InvoiceNo>1234567</InvoiceNo> 60 + <CustomerNo>8901234</CustomerNo> 61 + <InvoiceStatusEvents> 62 + <InvoiceStatusEvent> 63 + <InvoiceStatus>Closed</InvoiceStatus> 64 + <InvoiceSubStatus>Reversal</InvoiceSubStatus> 65 + <StatusEventDate>2019-11-20</StatusEventDate> 66 + </InvoiceStatusEvent> 67 + </InvoiceStatusEvents> 68 +</BillJournalInfo> 69 +<BillJournalInfo> 70 + <InvoiceNo>564789</InvoiceNo> 71 + <CustomerNo>4567812</CustomerNo> 72 + <InvoiceStatusEvents> 73 + <InvoiceStatusEvent> 74 + <InvoiceStatus>Closed</InvoiceStatus> 75 + <InvoiceSubStatus>Diff</InvoiceSubStatus> 76 + <StatusEventDate>2019-11-25</StatusEventDate> 77 + </InvoiceStatusEvent> 78 + </InvoiceStatusEvents> 79 +</BillJournalInfo> 80 +<BillJournalInfo> 81 + <InvoiceNo>56565656</InvoiceNo> 82 + <CustomerNo>89568568</CustomerNo> 83 + <InvoiceStatusEvents> 84 + <InvoiceStatusEvent> 85 + <InvoiceStatus>Closed</InvoiceStatus> 86 + <InvoiceSubStatus>Sold</InvoiceSubStatus> 87 + <StatusEventDate>2019-10-17</StatusEventDate> 88 + </InvoiceStatusEvent> 89 + </InvoiceStatusEvents> 90 +</BillJournalInfo> 91 +</BillJournal>
- ERRCUSIN_367_20191030093613_0[CUSIN_367_20190911090044_93.xml].XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.7 KB - Content
-
... ... @@ -1,0 +1,833 @@ 1 +<?xml version="1.0" encoding="utf-8" standalone="yes"?> 2 +<Response CompanyNo="367" CompanyName="PayEx Sverige AB" CreatedDateTime="2019-10-30T09:36:13" Version="1.0"> 3 + <OriginItems> 4 + <CUSINInfo> 5 + <CustomerNo>1789456</CustomerNo> 6 + <CustomerInfo LegalEntity="Business"> 7 + <Name>Gale Harrison</Name> 8 + <RegNo CountryCode="SE">18121212-1212</RegNo> 9 + <VatNo>SE121212121201</VatNo> 10 + <DistributionAddressInfo> 11 + <Addresses> 12 + <Address AddressType="LegalAddress"> 13 + <Addressee>Gale Harrison</Addressee> 14 + <StreetAddress>LegalStreet</StreetAddress> 15 + <ZipCode>12345</ZipCode> 16 + <City>LegalCity</City> 17 + <CoAddress>Ross</CoAddress> 18 + <CountryCode>SE</CountryCode> 19 + </Address> 20 + <Address AddressType="BillingAddress"> 21 + <Addressee>Gale Harrison</Addressee> 22 + <StreetAddress>BillingStreet</StreetAddress> 23 + <ZipCode>54321</ZipCode> 24 + <City>BillingCity</City> 25 + <CoAddress>Ross</CoAddress> 26 + <CountryCode>SE</CountryCode> 27 + </Address> 28 + </Addresses> 29 + <E-MailAddress>123@123.123</E-MailAddress> 30 + <Cellphone>+46-755-5589</Cellphone> 31 + </DistributionAddressInfo> 32 + <PaymentInfo> 33 + <Set> 34 + <PaymentRules> 35 + <PaymentRule Rule="UseBGAGSE"> 36 + <Value>1</Value> 37 + </PaymentRule> 38 + </PaymentRules> 39 + </Set> 40 + </PaymentInfo> 41 + <DistributionInfo> 42 + <Set> 43 + <BillTypes> 44 + <BillType DistributionBillType="I_Invoice"> 45 + <DistributionType>EMail</DistributionType> 46 + </BillType> 47 + </BillTypes> 48 + </Set> 49 + </DistributionInfo> 50 + </CustomerInfo> 51 + <Invoices> 52 + <InvoiceWithDistribution> 53 + <InvoiceNo>199887992F</InvoiceNo> 54 + <ReferenceInfo> 55 + <ExternalInvoiceId>199887992F</ExternalInvoiceId> 56 + <ExternalReference>199887992F</ExternalReference> 57 + </ReferenceInfo> 58 + <InvoiceDate>2019-10-30</InvoiceDate> 59 + <PreferredDueDate>2019-11-27</PreferredDueDate> 60 + <Amount Currency="SEK"> 61 + <AmountExclVat>99.20</AmountExclVat> 62 + <VatAmount>24.80</VatAmount> 63 + </Amount> 64 + <DistributionInfo> 65 + <DistributionType>PostalService</DistributionType> 66 + <InvoicePrintInfo> 67 + <InvoicePrintBlocks> 68 + <StandardPrintBlock> 69 + <BasePrintBlock> 70 + <SubOrderBlocks> 71 + <SubOrderBlock TableType="A1"> 72 + <HeadLine>Vår Referens</HeadLine> 73 + <Rows> 74 + <Row> 75 + <Columns> 76 + <Column ColumnNo="1"> 77 + <Text>Firmans referens</Text> 78 + </Column> 79 + </Columns> 80 + </Row> 81 + <Row> 82 + <Columns> 83 + <Column ColumnNo="1"> 84 + <Text /> 85 + </Column> 86 + </Columns> 87 + </Row> 88 + </Rows> 89 + </SubOrderBlock> 90 + <SubOrderBlock TableType="A5"> 91 + <ColumnHeadLine> 92 + <Columns> 93 + <Column ColumnNo="1"> 94 + <Text>Beskrivning</Text> 95 + </Column> 96 + <Column ColumnNo="2"> 97 + <Text>Datum</Text> 98 + </Column> 99 + <Column ColumnNo="3"> 100 + <Text>Kvantitet </Text> 101 + </Column> 102 + <Column ColumnNo="4"> 103 + <Text>A-Pris</Text> 104 + </Column> 105 + <Column ColumnNo="5"> 106 + <Text>Belopp</Text> 107 + </Column> 108 + </Columns> 109 + </ColumnHeadLine> 110 + <Rows> 111 + <Row> 112 + <Columns> 113 + <Column ColumnNo="1"> 114 + <Text>Produkt 1</Text> 115 + </Column> 116 + <Column ColumnNo="2"> 117 + <Text>2019-09-27</Text> 118 + </Column> 119 + <Column ColumnNo="3"> 120 + <Text>1.00</Text> 121 + </Column> 122 + <Column ColumnNo="4"> 123 + <Text>0.00</Text> 124 + </Column> 125 + <Column ColumnNo="5"> 126 + <Text>0.00</Text> 127 + </Column> 128 + </Columns> 129 + </Row> 130 + <Row> 131 + <Columns> 132 + <Column ColumnNo="1"> 133 + <Text>Produkt 2</Text> 134 + </Column> 135 + <Column ColumnNo="2"> 136 + <Text>2019-09-27</Text> 137 + </Column> 138 + <Column ColumnNo="3"> 139 + <Text>1.00</Text> 140 + </Column> 141 + <Column ColumnNo="4"> 142 + <Text>123.75</Text> 143 + </Column> 144 + <Column ColumnNo="5"> 145 + <Text>123.75</Text> 146 + </Column> 147 + </Columns> 148 + </Row> 149 + <Row> 150 + <Columns> 151 + <Column ColumnNo="1"> 152 + <Text /> 153 + </Column> 154 + </Columns> 155 + </Row> 156 + </Rows> 157 + </SubOrderBlock> 158 + <SubOrderBlock TableType="A3"> 159 + <Rows> 160 + <Row> 161 + <Columns> 162 + <Column ColumnNo="2"> 163 + <Text>Summa</Text> 164 + </Column> 165 + <Column ColumnNo="3"> 166 + <Text>123.75</Text> 167 + </Column> 168 + </Columns> 169 + </Row> 170 + <Row> 171 + <Columns> 172 + <Column ColumnNo="2"> 173 + <Text>Varav moms</Text> 174 + </Column> 175 + <Column ColumnNo="3"> 176 + <Text>24.75</Text> 177 + </Column> 178 + </Columns> 179 + </Row> 180 + <Row> 181 + <Columns> 182 + <Column ColumnNo="2"> 183 + <Text>Öresavrundning</Text> 184 + </Column> 185 + <Column ColumnNo="3"> 186 + <Text>0.25</Text> 187 + </Column> 188 + </Columns> 189 + </Row> 190 + <Row> 191 + <Columns> 192 + <Column ColumnNo="2"> 193 + <Text>Att betala</Text> 194 + </Column> 195 + <Column ColumnNo="3"> 196 + <Text>124.00</Text> 197 + </Column> 198 + </Columns> 199 + </Row> 200 + <Row> 201 + <Columns> 202 + <Column ColumnNo="1"> 203 + <Text /> 204 + </Column> 205 + </Columns> 206 + </Row> 207 + <Row> 208 + <Columns> 209 + <Column ColumnNo="1"> 210 + <Text /> 211 + </Column> 212 + </Columns> 213 + </Row> 214 + <Row> 215 + <Columns> 216 + <Column ColumnNo="1"> 217 + <Text /> 218 + </Column> 219 + </Columns> 220 + </Row> 221 + </Rows> 222 + </SubOrderBlock> 223 + </SubOrderBlocks> 224 + </BasePrintBlock> 225 + </StandardPrintBlock> 226 + </InvoicePrintBlocks> 227 + </InvoicePrintInfo> 228 + </DistributionInfo> 229 + </InvoiceWithDistribution> 230 + <InvoiceWithDistribution> 231 + <InvoiceNo>199888000F</InvoiceNo> 232 + <InvoiceDate>2019-10-30</InvoiceDate> 233 + <Amount Currency="SEK"> 234 + <AmountExclVat>-80.00</AmountExclVat> 235 + <VatAmount>-20.00</VatAmount> 236 + </Amount> 237 + <DistributionInfo> 238 + <InvoicePrintInfo> 239 + <InvoicePrintBlocks> 240 + <StandardPrintBlock> 241 + <BasePrintBlock> 242 + <SubOrderBlocks> 243 + <SubOrderBlock TableType="A1"> 244 + <HeadLine>Vår referens</HeadLine> 245 + <Rows> 246 + <Row> 247 + <Columns> 248 + <Column ColumnNo="1"> 249 + <Text>Firmans referens</Text> 250 + </Column> 251 + </Columns> 252 + </Row> 253 + <Row> 254 + <Columns> 255 + <Column ColumnNo="1"> 256 + <Text /> 257 + </Column> 258 + </Columns> 259 + </Row> 260 + <Row> 261 + <Columns> 262 + <Column ColumnNo="1"> 263 + <Text /> 264 + </Column> 265 + </Columns> 266 + </Row> 267 + </Rows> 268 + </SubOrderBlock> 269 + <SubOrderBlock TableType="A1"> 270 + <HeadLine>Med referens till fakturanummer xxxxxx</HeadLine> 271 + <Rows> 272 + <Row> 273 + <Columns> 274 + <Column ColumnNo="1"> 275 + <Text /> 276 + </Column> 277 + </Columns> 278 + </Row> 279 + <Row> 280 + <Columns> 281 + <Column ColumnNo="1"> 282 + <Text /> 283 + </Column> 284 + </Columns> 285 + </Row> 286 + </Rows> 287 + </SubOrderBlock> 288 + <SubOrderBlock TableType="A5"> 289 + <ColumnHeadLine> 290 + <Columns> 291 + <Column ColumnNo="1"> 292 + <Text>Artikel</Text> 293 + </Column> 294 + <Column ColumnNo="2"> 295 + <Text>Datum</Text> 296 + </Column> 297 + <Column ColumnNo="3"> 298 + <Text>Kvantitet </Text> 299 + </Column> 300 + <Column ColumnNo="4"> 301 + <Text>A-Pris</Text> 302 + </Column> 303 + <Column ColumnNo="5"> 304 + <Text>Belopp</Text> 305 + </Column> 306 + </Columns> 307 + </ColumnHeadLine> 308 + <Rows> 309 + <Row> 310 + <Columns> 311 + <Column ColumnNo="1"> 312 + <Text>Produkt 1</Text> 313 + </Column> 314 + <Column ColumnNo="2"> 315 + <Text>2019-09-27</Text> 316 + </Column> 317 + <Column ColumnNo="3"> 318 + <Text>-1.00</Text> 319 + </Column> 320 + <Column ColumnNo="4"> 321 + <Text>15.00</Text> 322 + </Column> 323 + <Column ColumnNo="5"> 324 + <Text>-15.00</Text> 325 + </Column> 326 + </Columns> 327 + </Row> 328 + <Row> 329 + <Columns> 330 + <Column ColumnNo="1"> 331 + <Text>Abonnemang 123</Text> 332 + </Column> 333 + <Column ColumnNo="2"> 334 + <Text>2019-09-27</Text> 335 + </Column> 336 + <Column ColumnNo="3"> 337 + <Text>-1.00</Text> 338 + </Column> 339 + <Column ColumnNo="4"> 340 + <Text>5459.74</Text> 341 + </Column> 342 + <Column ColumnNo="5"> 343 + <Text>-5459.74</Text> 344 + </Column> 345 + </Columns> 346 + </Row> 347 + <Row> 348 + <Columns> 349 + <Column ColumnNo="1"> 350 + <Text>ServiceTyp</Text> 351 + </Column> 352 + <Column ColumnNo="2"> 353 + <Text>2019-09-27</Text> 354 + </Column> 355 + <Column ColumnNo="3"> 356 + <Text>-6.00</Text> 357 + </Column> 358 + <Column ColumnNo="4"> 359 + <Text>0.00</Text> 360 + </Column> 361 + <Column ColumnNo="5"> 362 + <Text>0.00</Text> 363 + </Column> 364 + </Columns> 365 + </Row> 366 + <Row> 367 + <Columns> 368 + <Column ColumnNo="1"> 369 + <Text>Retur</Text> 370 + </Column> 371 + <Column ColumnNo="2"> 372 + <Text>2019-09-27</Text> 373 + </Column> 374 + <Column ColumnNo="3"> 375 + <Text>-1.00</Text> 376 + </Column> 377 + <Column ColumnNo="4"> 378 + <Text>633.60</Text> 379 + </Column> 380 + <Column ColumnNo="5"> 381 + <Text>-633.60</Text> 382 + </Column> 383 + </Columns> 384 + </Row> 385 + <Row> 386 + <Columns> 387 + <Column ColumnNo="1"> 388 + <Text /> 389 + </Column> 390 + </Columns> 391 + </Row> 392 + </Rows> 393 + </SubOrderBlock> 394 + <SubOrderBlock TableType="A3"> 395 + <Rows> 396 + <Row> 397 + <Columns> 398 + <Column ColumnNo="2"> 399 + <Text>Belopp före skattereduktion</Text> 400 + </Column> 401 + <Column ColumnNo="3"> 402 + <Text>-6108.34</Text> 403 + </Column> 404 + </Columns> 405 + </Row> 406 + <Row> 407 + <Columns> 408 + <Column ColumnNo="2"> 409 + <Text>Varav moms</Text> 410 + </Column> 411 + <Column ColumnNo="3"> 412 + <Text>-1221.67</Text> 413 + </Column> 414 + </Columns> 415 + </Row> 416 + <Row> 417 + <Columns> 418 + <Column ColumnNo="2"> 419 + <Text>Avgår skattereduktion</Text> 420 + </Column> 421 + <Column ColumnNo="3"> 422 + <Text>2729.00</Text> 423 + </Column> 424 + </Columns> 425 + </Row> 426 + <Row> 427 + <Columns> 428 + <Column ColumnNo="2"> 429 + <Text>Öresavrundning</Text> 430 + </Column> 431 + <Column ColumnNo="3"> 432 + <Text>0.34</Text> 433 + </Column> 434 + </Columns> 435 + </Row> 436 + <Row> 437 + <Columns> 438 + <Column ColumnNo="2"> 439 + <Text>Krediterat belopp</Text> 440 + </Column> 441 + <Column ColumnNo="3"> 442 + <Text>-3379.00</Text> 443 + </Column> 444 + </Columns> 445 + </Row> 446 + <Row> 447 + <Columns> 448 + <Column ColumnNo="1"> 449 + <Text /> 450 + </Column> 451 + </Columns> 452 + </Row> 453 + <Row> 454 + <Columns> 455 + <Column ColumnNo="1"> 456 + <Text /> 457 + </Column> 458 + </Columns> 459 + </Row> 460 + <Row> 461 + <Columns> 462 + <Column ColumnNo="1"> 463 + <Text /> 464 + </Column> 465 + </Columns> 466 + </Row> 467 + </Rows> 468 + </SubOrderBlock> 469 + </SubOrderBlocks> 470 + </BasePrintBlock> 471 + </StandardPrintBlock> 472 + </InvoicePrintBlocks> 473 + </InvoicePrintInfo> 474 + </DistributionInfo> 475 + <CreditInstructions> 476 + <CreditInstruction SendCopy="false"> 477 + <InvoiceIdentifier> 478 + <InvoiceNo>199887992F</InvoiceNo> 479 + </InvoiceIdentifier> 480 + <CreditAmount>100.00</CreditAmount> 481 + </CreditInstruction> 482 + </CreditInstructions> 483 + </InvoiceWithDistribution> 484 + </Invoices> 485 + </CUSINInfo> 486 + <CUSINInfo> 487 + <CustomerNo>1789458</CustomerNo> 488 + <CustomerInfo LegalEntity="Business"> 489 + <Name>EDI Business</Name> 490 + <RegNo CountryCode="SE">101010-1010</RegNo> 491 + <DistributionAddressInfo> 492 + <Addresses> 493 + <Address AddressType="LegalAddress"> 494 + <Addressee>EDI Business</Addressee> 495 + <StreetAddress>Streetaddress</StreetAddress> 496 + <ZipCode>10332</ZipCode> 497 + <City>City</City> 498 + <CountryCode>SE</CountryCode> 499 + </Address> 500 + </Addresses> 501 + </DistributionAddressInfo> 502 + <DistributionInfo> 503 + <Set> 504 + <BillTypes> 505 + <BillType DistributionBillType="I_Invoice"> 506 + <DistributionType>EInvoiceB2B</DistributionType> 507 + </BillType> 508 + </BillTypes> 509 + </Set> 510 + </DistributionInfo> 511 + </CustomerInfo> 512 + <Invoices> 513 + <InvoiceWithDistribution> 514 + <InvoiceNo>199887993G</InvoiceNo> 515 + <InvoiceDate>2019-10-30</InvoiceDate> 516 + <PreferredDueDate>2019-11-27</PreferredDueDate> 517 + <Amount Currency="SEK"> 518 + <AmountExclVat>99.25</AmountExclVat> 519 + <VatAmount>24.75</VatAmount> 520 + </Amount> 521 + <DistributionInfo> 522 + <InvoicePrintInfo> 523 + <InvoicePrintBlocks> 524 + <StandardPrintBlock> 525 + <BasePrintBlock> 526 + <SubOrderBlocks> 527 + <SubOrderBlock TableType="A1"> 528 + <HeadLine>Vår referens</HeadLine> 529 + <Rows> 530 + <Row> 531 + <Columns> 532 + <Column ColumnNo="1"> 533 + <Text>Kundservice 0200-11 45 50</Text> 534 + </Column> 535 + </Columns> 536 + </Row> 537 + </Rows> 538 + </SubOrderBlock> 539 + <SubOrderBlock TableType="A3"> 540 + <Rows> 541 + <Row> 542 + <Columns> 543 + <Column ColumnNo="1"> 544 + <Text /> 545 + </Column> 546 + </Columns> 547 + </Row> 548 + <Row> 549 + <Columns> 550 + <Column ColumnNo="1"> 551 + <Text /> 552 + </Column> 553 + </Columns> 554 + </Row> 555 + <Row> 556 + <Columns> 557 + <Column ColumnNo="1"> 558 + <Text /> 559 + </Column> 560 + </Columns> 561 + </Row> 562 + <Row> 563 + <Columns> 564 + <Column ColumnNo="1"> 565 + <Text /> 566 + </Column> 567 + </Columns> 568 + </Row> 569 + <Row> 570 + <Columns> 571 + <Column ColumnNo="1"> 572 + <Text /> 573 + </Column> 574 + </Columns> 575 + </Row> 576 + <Row> 577 + <Columns> 578 + <Column ColumnNo="1"> 579 + <Text /> 580 + </Column> 581 + </Columns> 582 + </Row> 583 + <Row> 584 + <Columns> 585 + <Column ColumnNo="1"> 586 + <Text /> 587 + </Column> 588 + </Columns> 589 + </Row> 590 + <Row> 591 + <Columns> 592 + <Column ColumnNo="1"> 593 + <Text /> 594 + </Column> 595 + </Columns> 596 + </Row> 597 + <Row> 598 + <Columns> 599 + <Column ColumnNo="1"> 600 + <Text>För specifikation se följande sidor</Text> 601 + </Column> 602 + </Columns> 603 + </Row> 604 + <Row> 605 + <Columns> 606 + <Column ColumnNo="1"> 607 + <Text /> 608 + </Column> 609 + </Columns> 610 + </Row> 611 + <Row> 612 + <Columns> 613 + <Column ColumnNo="1"> 614 + <Text /> 615 + </Column> 616 + </Columns> 617 + </Row> 618 + <Row> 619 + <Columns> 620 + <Column ColumnNo="1"> 621 + <Text /> 622 + </Column> 623 + </Columns> 624 + </Row> 625 + <Row> 626 + <Columns> 627 + <Column ColumnNo="1"> 628 + <Text /> 629 + </Column> 630 + </Columns> 631 + </Row> 632 + <Row> 633 + <Columns> 634 + <Column ColumnNo="2"> 635 + <Text>Belopp exkl. moms</Text> 636 + </Column> 637 + <Column ColumnNo="3"> 638 + <Text>99.00</Text> 639 + </Column> 640 + </Columns> 641 + </Row> 642 + <Row> 643 + <Columns> 644 + <Column ColumnNo="2"> 645 + <Text>Moms</Text> 646 + </Column> 647 + <Column ColumnNo="3"> 648 + <Text>24.75</Text> 649 + </Column> 650 + </Columns> 651 + </Row> 652 + <Row> 653 + <Columns> 654 + <Column ColumnNo="2"> 655 + <Text>Öresavrundning</Text> 656 + </Column> 657 + <Column ColumnNo="3"> 658 + <Text>0.25</Text> 659 + </Column> 660 + </Columns> 661 + </Row> 662 + </Rows> 663 + </SubOrderBlock> 664 + </SubOrderBlocks> 665 + </BasePrintBlock> 666 + </StandardPrintBlock> 667 + <StandardPrintBlock> 668 + <BasePrintBlock> 669 + <SubOrderBlocks> 670 + <SubOrderBlock TableType="A1"> 671 + <HeadLine>Jaxon Webb 101010</HeadLine> 672 + <Rows> 673 + <Row> 674 + <Columns> 675 + <Column ColumnNo="1"> 676 + <Text /> 677 + </Column> 678 + </Columns> 679 + </Row> 680 + </Rows> 681 + </SubOrderBlock> 682 + <SubOrderBlock TableType="A5"> 683 + <ColumnHeadLine> 684 + <Columns> 685 + <Column ColumnNo="1"> 686 + <Text>Artikel</Text> 687 + </Column> 688 + <Column ColumnNo="2"> 689 + <Text>Datum</Text> 690 + </Column> 691 + <Column ColumnNo="3"> 692 + <Text>Kvantitet </Text> 693 + </Column> 694 + <Column ColumnNo="4"> 695 + <Text>A-Pris</Text> 696 + </Column> 697 + <Column ColumnNo="5"> 698 + <Text>Belopp</Text> 699 + </Column> 700 + </Columns> 701 + </ColumnHeadLine> 702 + <Rows> 703 + <Row> 704 + <Columns> 705 + <Column ColumnNo="1"> 706 + <Text>Fraktavgift</Text> 707 + </Column> 708 + <Column ColumnNo="2"> 709 + <Text>2017-12-14</Text> 710 + </Column> 711 + <Column ColumnNo="3"> 712 + <Text>1.00</Text> 713 + </Column> 714 + <Column ColumnNo="4"> 715 + <Text>99.00</Text> 716 + </Column> 717 + <Column ColumnNo="5"> 718 + <Text>99.00</Text> 719 + </Column> 720 + </Columns> 721 + </Row> 722 + <Row> 723 + <Columns> 724 + <Column ColumnNo="1"> 725 + <Text /> 726 + </Column> 727 + </Columns> 728 + </Row> 729 + </Rows> 730 + </SubOrderBlock> 731 + <SubOrderBlock TableType="A2"> 732 + <Rows> 733 + <Row> 734 + <Columns> 735 + <Column ColumnNo="1"> 736 + <Text>Belopp före moms</Text> 737 + </Column> 738 + <Column ColumnNo="2"> 739 + <Text>99.00</Text> 740 + </Column> 741 + </Columns> 742 + </Row> 743 + <Row> 744 + <Columns> 745 + <Column ColumnNo="1"> 746 + <Text>Moms</Text> 747 + </Column> 748 + <Column ColumnNo="2"> 749 + <Text>24.75</Text> 750 + </Column> 751 + </Columns> 752 + </Row> 753 + <Row> 754 + <Columns> 755 + <Column ColumnNo="1"> 756 + <Text>Totalt delbelopp</Text> 757 + </Column> 758 + <Column ColumnNo="2"> 759 + <Text>123.75</Text> 760 + </Column> 761 + </Columns> 762 + </Row> 763 + </Rows> 764 + </SubOrderBlock> 765 + </SubOrderBlocks> 766 + </BasePrintBlock> 767 + <PrintBlockConfig PrecedingSheetBreak="true" /> 768 + </StandardPrintBlock> 769 + </InvoicePrintBlocks> 770 + </InvoicePrintInfo> 771 + <EDIInfo> 772 + <VAN>INEXCHANGE</VAN> 773 + <InterChangeRecipient>7365560138291</InterChangeRecipient> 774 + <SellerId>7300009030248</SellerId> 775 + <BuyerId>7365560138291</BuyerId> 776 + <InvoiceAddressee>EDI Business</InvoiceAddressee> 777 + <InvoiceRecipient>10144</InvoiceRecipient> 778 + <InvoiceReference>987654</InvoiceReference> 779 + <BuyerReference>123</BuyerReference> 780 + <EDIOrderRows> 781 + <EDIVatGroup> 782 + <VatInfo> 783 + <VatAmount>0</VatAmount> 784 + <VatRate>0</VatRate> 785 + </VatInfo> 786 + <EDIOrderRow> 787 + <Text>Öresavrundning (rounding)</Text> 788 + <Quantity>1</Quantity> 789 + <Unit>ST</Unit> 790 + <UnitPriceExclVat>0.25</UnitPriceExclVat> 791 + <AmountExclVat>0.25</AmountExclVat> 792 + <ContractType>EDI Business</ContractType> 793 + </EDIOrderRow> 794 + </EDIVatGroup> 795 + <EDIVatGroup> 796 + <VatInfo> 797 + <VatAmount>24.75</VatAmount> 798 + <VatRate>25.00</VatRate> 799 + </VatInfo> 800 + <EDIOrderRow> 801 + <ArticleId>340005</ArticleId> 802 + <ProductDate>2019-10-30</ProductDate> 803 + <Text>Fraktavgift</Text> 804 + <Quantity>100</Quantity> 805 + <Unit>ST</Unit> 806 + <UnitPriceExclVat>99.00</UnitPriceExclVat> 807 + <AmountExclVat>99.00</AmountExclVat> 808 + <ContractType>Jaxon Webb 101010</ContractType> 809 + </EDIOrderRow> 810 + </EDIVatGroup> 811 + </EDIOrderRows> 812 + </EDIInfo> 813 + </DistributionInfo> 814 + </InvoiceWithDistribution> 815 + </Invoices> 816 + </CUSINInfo> 817 + </OriginItems> 818 + <ResponseItems> 819 + <ResponseItem> 820 + <MessageCode>1210</MessageCode> 821 + <Message>AccountName must be unique!</Message> 822 + <ResponseType>Error</ResponseType> 823 + <Reference ReferenceType="XPath">/OriginItems/CUSINInfo[1]/Invoices/InvoiceWithDistribution[1]/InvoiceNo</Reference> 824 + </ResponseItem> 825 + <ResponseItem> 826 + <MessageCode>1210</MessageCode> 827 + <Message>AccountName must be unique!</Message> 828 + <ResponseType>Error</ResponseType> 829 + <Reference ReferenceType="XPath">/OriginItems/CUSINInfo[2]/Invoices/InvoiceWithDistribution[1]/InvoiceNo</Reference> 830 + </ResponseItem> 831 + </ResponseItems> 832 + <ProcessedFile>CUSIN_367_20190911090044_93.xml</ProcessedFile> 833 +</Response>
- ContractBilling_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.djr - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.3 KB - Content
-
... ... @@ -1,0 +1,338 @@ 1 +<?xml version="1.0" encoding="utf-8"?> 2 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> 3 + <xs:element name="ContractBilling"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="CustomerInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="CustomerNo" type="Identifier15" nillable="false" minOccurs="1" maxOccurs="1"> 10 + <xs:annotation> 11 + <xs:documentation>Unique identifier of customer, Customer number</xs:documentation> 12 + </xs:annotation> 13 + </xs:element> 14 + <xs:element name="BillingInfo" minOccurs="0" maxOccurs="1"> 15 + <xs:complexType> 16 + <xs:sequence> 17 + <xs:element name="PaymentInfo" minOccurs="0" maxOccurs="1"> 18 + <xs:complexType> 19 + <xs:choice> 20 + <xs:element name="Clear" minOccurs="0" maxOccurs="1" > 21 + <xs:annotation> 22 + <xs:documentation>Erases previously set payment info on customer</xs:documentation> 23 + </xs:annotation> 24 + </xs:element> 25 + <xs:element name="Set" minOccurs="0" maxOccurs="1"> 26 + <xs:annotation> 27 + <xs:documentation>Sets differing payment info on customer, fully replaces earlier settings</xs:documentation> 28 + </xs:annotation> 29 + <xs:complexType> 30 + <xs:sequence> 31 + <xs:element name="RecurringCardInfo" type="Card" minOccurs="1" maxOccurs="1"> 32 + <xs:annotation> 33 + <xs:documentation>Info about token and expiry date</xs:documentation> 34 + </xs:annotation> 35 + </xs:element> 36 + </xs:sequence> 37 + </xs:complexType> 38 + </xs:element> 39 + </xs:choice> 40 + </xs:complexType> 41 + </xs:element> 42 + </xs:sequence> 43 + </xs:complexType> 44 + </xs:element> 45 + <xs:element name="CustomerInfo" minOccurs="1" maxOccurs="1"> 46 + <xs:complexType> 47 + <xs:sequence> 48 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1"/> 49 + <xs:element name="RegNo" type="RegNo" minOccurs="1" maxOccurs="1"> 50 + <xs:annotation> 51 + <xs:documentation>Customer Social Security No</xs:documentation> 52 + </xs:annotation> 53 + </xs:element> 54 + <xs:element name="LegalAddressInfo" minOccurs="1" maxOccurs="1"> 55 + <xs:complexType> 56 + <xs:sequence> 57 + <xs:element name="LegalAddress" type="Address" minOccurs="1" maxOccurs="1"/> 58 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1"/> 59 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1"/> 60 + </xs:sequence> 61 + </xs:complexType> 62 + </xs:element> 63 + </xs:sequence> 64 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional"/> 65 + </xs:complexType> 66 + </xs:element> 67 + <xs:element name="BillingAddress" type="Address" minOccurs="0" maxOccurs="1"/> 68 + <xs:element name="BillInfo" minOccurs="0" maxOccurs="unbounded"> 69 + <xs:complexType> 70 + <xs:sequence> 71 + <xs:element name="ContractId" type="xs:unsignedInt" nillable="false" minOccurs="1" maxOccurs="1"> 72 + <xs:annotation> 73 + <xs:documentation>Unique identifier of each contract in the ledger</xs:documentation> 74 + </xs:annotation> 75 + </xs:element> 76 + <xs:element name="ReferenceInfo" type="ReferenceInfo" minOccurs="1" maxOccurs="1"/> 77 + <xs:element name="VatInfo" type="VatInfo" minOccurs="0" maxOccurs="5"> 78 + <xs:annotation> 79 + <xs:documentation>Aggregated amount per VATRate</xs:documentation> 80 + </xs:annotation> 81 + </xs:element> 82 + <xs:element name="Product" minOccurs="1" maxOccurs="unbounded"> 83 + <xs:complexType> 84 + <xs:sequence> 85 + <xs:element name="AmountInclVat" type="Amount" minOccurs="1" maxOccurs="1"/> 86 + <xs:element name="ProductDescription" type="String90" nillable="false" minOccurs="1" maxOccurs="1"> 87 + <xs:annotation> 88 + <xs:documentation>Textual description of the product</xs:documentation> 89 + </xs:annotation> 90 + </xs:element> 91 + <xs:element name="BillingPeriod" type="String35" minOccurs="0" maxOccurs="1"> 92 + <xs:annotation> 93 + <xs:documentation>Product billing period</xs:documentation> 94 + </xs:annotation> 95 + </xs:element> 96 + </xs:sequence> 97 + </xs:complexType> 98 + </xs:element> 99 + </xs:sequence> 100 + </xs:complexType> 101 + </xs:element> 102 + </xs:sequence> 103 + </xs:complexType> 104 + </xs:element> 105 + </xs:sequence> 106 + <xs:attribute name="Version" type="Version" use="required"> 107 + <xs:annotation> 108 + <xs:documentation>Versions supported by this schema</xs:documentation> 109 + </xs:annotation> 110 + </xs:attribute> 111 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 112 + <xs:annotation> 113 + <xs:documentation>Date and time when the file was created</xs:documentation> 114 + </xs:annotation> 115 + </xs:attribute> 116 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required"/> 117 + <xs:attribute name="CompanyName" type="xs:string" use="required"/> 118 + </xs:complexType> 119 + </xs:element> 120 + <xs:simpleType name="Money"> 121 + <xs:restriction base="xs:decimal"> 122 + <xs:fractionDigits value="2"/> 123 + <xs:minInclusive value="-100000000"/> 124 + <xs:maxInclusive value="100000000"/> 125 + </xs:restriction> 126 + </xs:simpleType> 127 + <xs:complexType name="Amount"> 128 + <xs:sequence> 129 + <xs:element name="AmountInclVat" type="Money" nillable="false" minOccurs="1" maxOccurs="1"/> 130 + </xs:sequence> 131 + <xs:attribute name="Currency" type="eCurrencyType" use="required"/> 132 + </xs:complexType> 133 + <xs:complexType name="Card"> 134 + <xs:sequence> 135 + <xs:element name="CardReference" type="String50" minOccurs="1" maxOccurs="1"/> 136 + <xs:element name="ExpiryDate" type="PXExpiryDate" minOccurs="1" maxOccurs="1"/> 137 + </xs:sequence> 138 + </xs:complexType> 139 + <xs:simpleType name="PXExpiryDate"> 140 + <xs:restriction base="xs:string"> 141 + <xs:length value="5"/> 142 + <xs:pattern value="(0[1-9]|1[012])/(\d{2})"/> 143 + </xs:restriction> 144 + </xs:simpleType> 145 + <xs:simpleType name="Version"> 146 + <xs:restriction base="xs:string"> 147 + <xs:enumeration value="1.0"> 148 + <xs:annotation> 149 + <xs:documentation>Original version</xs:documentation> 150 + </xs:annotation> 151 + </xs:enumeration> 152 + <xs:enumeration value="1.1"> 153 + <xs:annotation> 154 + <xs:documentation>PaymentInfo</xs:documentation> 155 + </xs:annotation> 156 + </xs:enumeration> 157 + </xs:restriction> 158 + </xs:simpleType> 159 + <xs:simpleType name="eCurrencyType"> 160 + <xs:restriction base="xs:string"> 161 + <xs:enumeration value="SEK"/> 162 + <xs:enumeration value="NOK"/> 163 + <xs:enumeration value="DKK"/> 164 + <xs:enumeration value="EUR"/> 165 + </xs:restriction> 166 + </xs:simpleType> 167 + <xs:simpleType name="Identifier15"> 168 + <xs:restriction base="xs:string"> 169 + <xs:minLength value="1"/> 170 + <xs:maxLength value="15"/> 171 + <xs:pattern value="[a-zA-Z0-9\-]*"/> 172 + </xs:restriction> 173 + </xs:simpleType> 174 + <xs:simpleType name="ISO3166"> 175 + <xs:restriction base="xs:string"> 176 + <xs:minLength value="2"/> 177 + <xs:maxLength value="2"/> 178 + <xs:pattern value="[A-Z]*"/> 179 + </xs:restriction> 180 + </xs:simpleType> 181 + <xs:simpleType name="CompanyNumber"> 182 + <xs:restriction base="xs:string"> 183 + <xs:minLength value="1"/> 184 + <xs:maxLength value="15"/> 185 + <xs:pattern value="[0-9]*"/> 186 + </xs:restriction> 187 + </xs:simpleType> 188 + <xs:simpleType name="String35"> 189 + <xs:restriction base="PXString"> 190 + <xs:maxLength value="35"/> 191 + </xs:restriction> 192 + </xs:simpleType> 193 + <xs:simpleType name="String90"> 194 + <xs:restriction base="PXString"> 195 + <xs:minLength value="1"/> 196 + <xs:maxLength value="90"/> 197 + </xs:restriction> 198 + </xs:simpleType> 199 + <xs:simpleType name="Email"> 200 + <xs:restriction base="PXString"> 201 + <xs:maxLength value="60"/> 202 + <xs:pattern value="[^@]+@[^\.]+\..+"/> 203 + </xs:restriction> 204 + </xs:simpleType> 205 + <xs:simpleType name="String15"> 206 + <xs:restriction base="PXString"> 207 + <xs:maxLength value="15"/> 208 + </xs:restriction> 209 + </xs:simpleType> 210 + <xs:simpleType name="ZipCode"> 211 + <xs:restriction base="xs:string"> 212 + <xs:maxLength value="9"/> 213 + <xs:pattern value="[A-Z0-9\-]+"/> 214 + </xs:restriction> 215 + </xs:simpleType> 216 + <xs:simpleType name="String50"> 217 + <xs:restriction base="PXString"> 218 + <xs:minLength value="1"/> 219 + <xs:maxLength value="50"/> 220 + </xs:restriction> 221 + </xs:simpleType> 222 + <xs:simpleType name="VatRate"> 223 + <xs:restriction base="xs:decimal"> 224 + <xs:enumeration value="0.00"/> 225 + <xs:enumeration value="6.00"/> 226 + <xs:enumeration value="8.00"/> 227 + <xs:enumeration value="12.00"/> 228 + <xs:enumeration value="13.00"/> 229 + <xs:enumeration value="14.00"/> 230 + <xs:enumeration value="22.00"/> 231 + <xs:enumeration value="23.00"/> 232 + <xs:enumeration value="24.00"/> 233 + <xs:enumeration value="25.00"/> 234 + </xs:restriction> 235 + </xs:simpleType> 236 + <xs:simpleType name="String20"> 237 + <xs:restriction base="PXString"> 238 + <xs:maxLength value="20"/> 239 + </xs:restriction> 240 + </xs:simpleType> 241 + <xs:simpleType name="NameAddressString35"> 242 + <xs:restriction base="PXNameAddressString"> 243 + <xs:minLength value="1"/> 244 + <xs:maxLength value="35"/> 245 + </xs:restriction> 246 + </xs:simpleType> 247 + <xs:simpleType name="NameAddressString36"> 248 + <xs:restriction base="PXNameAddressString"> 249 + <xs:minLength value="1"/> 250 + <xs:maxLength value="36"/> 251 + </xs:restriction> 252 + </xs:simpleType> 253 + <xs:simpleType name="NameAddressString27"> 254 + <xs:restriction base="PXNameAddressString"> 255 + <xs:minLength value="1"/> 256 + <xs:maxLength value="27"/> 257 + </xs:restriction> 258 + </xs:simpleType> 259 + <xs:simpleType name="PXString"> 260 + <xs:restriction base="xs:string"> 261 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´ %'-0À-ÖØ-öø-ú&]*"/> 262 + </xs:restriction> 263 + </xs:simpleType> 264 + <xs:simpleType name="PXNameAddressString"> 265 + <xs:restriction base="xs:string"> 266 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´ %'-0À-ÖØ-öø-úü&]*"/> 267 + </xs:restriction> 268 + </xs:simpleType> 269 + <xs:simpleType name="String74"> 270 + <xs:restriction base="xs:string"> 271 + <xs:maxLength value="74"/> 272 + </xs:restriction> 273 + </xs:simpleType> 274 + <xs:complexType name="ReferenceInfo"> 275 + <xs:sequence> 276 + <xs:element name="ExternalBillId" type="String20" nillable="false" minOccurs="1" maxOccurs="1"/> 277 + </xs:sequence> 278 + </xs:complexType> 279 + <xs:complexType name="RegNo"> 280 + <xs:simpleContent> 281 + <xs:extension base="String15"> 282 + <xs:attribute name="CountryCode" type="ISO3166"/> 283 + </xs:extension> 284 + </xs:simpleContent> 285 + </xs:complexType> 286 + <xs:simpleType name="LegalEntity"> 287 + <xs:restriction base="xs:string"> 288 + <xs:enumeration value="Private"/> 289 + </xs:restriction> 290 + </xs:simpleType> 291 + <xs:complexType name="VatInfo"> 292 + <xs:sequence> 293 + <xs:element name="Amount" type="Amount" minOccurs="1" maxOccurs="1"/> 294 + <xs:element name="VatAmount" type="Money" minOccurs="1" maxOccurs="1"/> 295 + <xs:element name="VatRate" type="VatRate" minOccurs="1" maxOccurs="1"/> 296 + </xs:sequence> 297 + </xs:complexType> 298 + <xs:simpleType name="NameAddressString72"> 299 + <xs:restriction base="PXNameAddressString"> 300 + <xs:minLength value="1"/> 301 + <xs:maxLength value="72"/> 302 + </xs:restriction> 303 + </xs:simpleType> 304 + <xs:complexType name="Address"> 305 + <xs:sequence> 306 + <xs:element name="Addressee" type="NameAddressString72" minOccurs="1" maxOccurs="1"> 307 + <xs:annotation> 308 + <xs:documentation>Full name of addressee</xs:documentation> 309 + </xs:annotation> 310 + </xs:element> 311 + <xs:element name="StreetAddress" type="NameAddressString35" nillable="false" minOccurs="0" maxOccurs="1"> 312 + <xs:annotation> 313 + <xs:documentation>Street address</xs:documentation> 314 + </xs:annotation> 315 + </xs:element> 316 + <xs:element name="ZipCode" type="ZipCode" nillable="false" minOccurs="1" maxOccurs="1"> 317 + <xs:annotation> 318 + <xs:documentation>Zipcode conforming to country standard</xs:documentation> 319 + </xs:annotation> 320 + </xs:element> 321 + <xs:element name="City" type="NameAddressString27" nillable="false" minOccurs="1" maxOccurs="1"> 322 + <xs:annotation> 323 + <xs:documentation>City</xs:documentation> 324 + </xs:annotation> 325 + </xs:element> 326 + <xs:element name="CoAddress" type="NameAddressString35" nillable="false" minOccurs="0" maxOccurs="1"> 327 + <xs:annotation> 328 + <xs:documentation>Care of address</xs:documentation> 329 + </xs:annotation> 330 + </xs:element> 331 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 332 + <xs:annotation> 333 + <xs:documentation>Country code according to ISO 3166</xs:documentation> 334 + </xs:annotation> 335 + </xs:element> 336 + </xs:sequence> 337 + </xs:complexType> 338 +</xs:schema>
- ARRCP01_367_20191030093755_0[CUSIN_367_20190911090044_93.xml].XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +392 bytes - Content
-
... ... @@ -1,0 +1,1 @@ 1 +<?xml version="1.0" encoding="utf-8"?><ActivityResults CompanyNo="367" CompanyName="PayEx Sverige AB" CreatedDateTime="2019-10-30T09:37:55" Version="1.0"><Activity Name="CUSIN" ProcessId="14403578"><ResultParameters><Parameter Name="FileName">CUSIN_367_20190911090044_93.xml</Parameter><Parameter Name="PassedXSDValidation">False</Parameter></ResultParameters></Activity></ActivityResults>
- BillJournal[1.2].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.1 KB - Content
-
... ... @@ -1,0 +1,492 @@ 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="BillJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="BillJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an invoice.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="InvoiceNo" type="InvoiceIdentifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>InvoiceNo is your unique invoice identifier in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 18 + <xs:annotation> 19 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="InvoiceClaimEvents" minOccurs="0" maxOccurs="1"> 23 + <xs:annotation> 24 + <xs:documentation>Containing claim events on an invoice.</xs:documentation> 25 + </xs:annotation> 26 + <xs:complexType> 27 + <xs:sequence> 28 + <xs:element name="InvoiceClaimEvent" type="InvoiceClaimEvent" minOccurs="1" maxOccurs="unbounded"> 29 + <xs:annotation> 30 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 31 + </xs:annotation> 32 + </xs:element> 33 + </xs:sequence> 34 + </xs:complexType> 35 + </xs:element> 36 + <xs:element name="InvoiceStatusEvents" minOccurs="0" maxOccurs="1"> 37 + <xs:annotation> 38 + <xs:documentation>Containing status events on an invoice.</xs:documentation> 39 + </xs:annotation> 40 + <xs:complexType> 41 + <xs:sequence> 42 + <xs:element name="InvoiceStatusEvent" type="InvoiceStatusEvent" minOccurs="1" maxOccurs="unbounded"> 43 + <xs:annotation> 44 + <xs:documentation>Contains an invoice status event.</xs:documentation> 45 + </xs:annotation> 46 + </xs:element> 47 + </xs:sequence> 48 + </xs:complexType> 49 + </xs:element> 50 + <xs:element name="InvoiceClaimProcessPauseEvents" minOccurs="0" maxOccurs="1"> 51 + <xs:annotation> 52 + <xs:documentation>Containing claim process pause events on an invoice.</xs:documentation> 53 + </xs:annotation> 54 + <xs:complexType> 55 + <xs:sequence> 56 + <xs:element name="InvoiceClaimProcessPauseEvent" type="InvoiceClaimProcessPauseEvent" minOccurs="1" maxOccurs="unbounded"> 57 + <xs:annotation> 58 + <xs:documentation>Contains an invoice claim process pause event</xs:documentation> 59 + </xs:annotation> 60 + </xs:element> 61 + </xs:sequence> 62 + </xs:complexType> 63 + </xs:element> 64 + <xs:element name="InvoiceComplaintEvents" minOccurs="0" maxOccurs="1"> 65 + <xs:annotation> 66 + <xs:documentation>Containing complaint events on an invoice.</xs:documentation> 67 + </xs:annotation> 68 + <xs:complexType> 69 + <xs:sequence> 70 + <xs:element name="InvoiceComplaintEvent" type="InvoiceComplaintEvent" minOccurs="1" maxOccurs="unbounded"> 71 + <xs:annotation> 72 + <xs:documentation>Contains an invoice complaint event</xs:documentation> 73 + </xs:annotation> 74 + </xs:element> 75 + </xs:sequence> 76 + </xs:complexType> 77 + </xs:element> 78 + <xs:element name="InvoiceNotificationEvents" minOccurs="0" maxOccurs="1"> 79 + <xs:annotation> 80 + <xs:documentation>Containing Notification events on an invoice.</xs:documentation> 81 + </xs:annotation> 82 + <xs:complexType> 83 + <xs:sequence> 84 + <xs:element name="InvoiceNotificationEvent" type="InvoiceNotificationEvent" minOccurs="1" maxOccurs="unbounded"> 85 + <xs:annotation> 86 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 87 + </xs:annotation> 88 + </xs:element> 89 + </xs:sequence> 90 + </xs:complexType> 91 + </xs:element> 92 + <xs:element name="PaymentOrderEvents" minOccurs="0" maxOccurs="1"> 93 + <xs:annotation> 94 + <xs:documentation>Containing Payment Order events on an invoice.</xs:documentation> 95 + </xs:annotation> 96 + <xs:complexType> 97 + <xs:sequence> 98 + <xs:element name="PaymentOrderEvent" type="PaymentOrderEvent" minOccurs="1" maxOccurs="unbounded"> 99 + <xs:annotation> 100 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 101 + </xs:annotation> 102 + </xs:element> 103 + </xs:sequence> 104 + </xs:complexType> 105 + </xs:element> 106 + </xs:sequence> 107 + </xs:complexType> 108 + </xs:element> 109 + </xs:sequence> 110 + <xs:attribute name="Version" type="Version" use="required"> 111 + <xs:annotation> 112 + <xs:documentation>Versions supported by this schema</xs:documentation> 113 + </xs:annotation> 114 + </xs:attribute> 115 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 116 + <xs:annotation> 117 + <xs:documentation>The date and time when the file was created</xs:documentation> 118 + </xs:annotation> 119 + </xs:attribute> 120 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 121 + <xs:annotation> 122 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 123 + </xs:annotation> 124 + </xs:attribute> 125 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 126 + <xs:annotation> 127 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 128 + </xs:annotation> 129 + </xs:attribute> 130 + </xs:complexType> 131 + </xs:element> 132 + <xs:simpleType name="Identifier15"> 133 + <xs:restriction base="xs:string"> 134 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 135 + <xs:minLength value="1" /> 136 + <xs:maxLength value="15" /> 137 + </xs:restriction> 138 + </xs:simpleType> 139 + <xs:simpleType name="ISO3166"> 140 + <xs:restriction base="xs:string"> 141 + <xs:pattern value="[A-Z]*" /> 142 + <xs:minLength value="2" /> 143 + <xs:maxLength value="2" /> 144 + </xs:restriction> 145 + </xs:simpleType> 146 + <xs:simpleType name="CompanyNumber"> 147 + <xs:restriction base="xs:string"> 148 + <xs:pattern value="[0-9]*" /> 149 + <xs:minLength value="1" /> 150 + <xs:maxLength value="15" /> 151 + </xs:restriction> 152 + </xs:simpleType> 153 + <xs:simpleType name="ISO639"> 154 + <xs:restriction base="PXString"> 155 + <xs:enumeration value="SV" /> 156 + <xs:enumeration value="NO" /> 157 + <xs:enumeration value="DA" /> 158 + <xs:enumeration value="FI" /> 159 + <xs:enumeration value="EN" /> 160 + </xs:restriction> 161 + </xs:simpleType> 162 + <xs:simpleType name="String35"> 163 + <xs:restriction base="PXString"> 164 + <xs:maxLength value="35" /> 165 + </xs:restriction> 166 + </xs:simpleType> 167 + <xs:simpleType name="Email"> 168 + <xs:restriction base="PXString"> 169 + <xs:maxLength value="60" /> 170 + </xs:restriction> 171 + </xs:simpleType> 172 + <xs:simpleType name="String15"> 173 + <xs:restriction base="PXString"> 174 + <xs:maxLength value="15" /> 175 + </xs:restriction> 176 + </xs:simpleType> 177 + <xs:simpleType name="ZipCode"> 178 + <xs:restriction base="xs:string"> 179 + <xs:pattern value="[A-Z0-9\-]+" /> 180 + <xs:maxLength value="9" /> 181 + </xs:restriction> 182 + </xs:simpleType> 183 + <xs:simpleType name="VatNumber"> 184 + <xs:restriction base="xs:string"> 185 + <xs:pattern value="[A-Z]{2}.*" /> 186 + <xs:minLength value="7" /> 187 + <xs:maxLength value="14" /> 188 + </xs:restriction> 189 + </xs:simpleType> 190 + <xs:simpleType name="String50"> 191 + <xs:restriction base="xs:string"> 192 + <xs:maxLength value="50" /> 193 + </xs:restriction> 194 + </xs:simpleType> 195 + <xs:complexType name="InvoiceClaimEvent"> 196 + <xs:sequence> 197 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 198 + <xs:annotation> 199 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 200 + </xs:annotation> 201 + </xs:element> 202 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 203 + <xs:annotation> 204 + <xs:documentation>The date when the event occurred.</xs:documentation> 205 + </xs:annotation> 206 + </xs:element> 207 + <xs:element name="BillAmount" type="BillAmount" maxOccurs="1" minOccurs="1" nillable="false"> 208 + <xs:annotation> 209 + <xs:documentation>The claim amount at the time of the claimevent.</xs:documentation> 210 + </xs:annotation> 211 + </xs:element> 212 + </xs:sequence> 213 + </xs:complexType> 214 + <xs:complexType name="InvoiceStatusEvent"> 215 + <xs:sequence> 216 + <xs:element name="InvoiceStatus" type="eInvoiceStatus" minOccurs="1" maxOccurs="1" nillable="false"> 217 + <xs:annotation> 218 + <xs:documentation>Type of status event from enumeration.</xs:documentation> 219 + </xs:annotation> 220 + </xs:element> 221 + <xs:element name="InvoiceSubStatus" type="eInvoiceSubStatus" minOccurs="0" maxOccurs="1"> 222 + <xs:annotation> 223 + <xs:documentation>Used to clarify why the InvoiceStatus is set. Reasons is listed in the enumeration eInvoiceSubStatus.</xs:documentation> 224 + </xs:annotation> 225 + </xs:element> 226 + <xs:element name="StatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 227 + <xs:annotation> 228 + <xs:documentation>The date when the event occurred</xs:documentation> 229 + </xs:annotation> 230 + </xs:element> 231 + </xs:sequence> 232 + </xs:complexType> 233 + <xs:complexType name="InvoiceClaimProcessPauseEvent"> 234 + <xs:sequence> 235 + <xs:element name="ClaimProcessPauseEvent" type="eClaimProcessPauseEventType" minOccurs="1" maxOccurs="1" nillable="false"> 236 + <xs:annotation> 237 + <xs:documentation>Type of claim process pause event from enumeration.</xs:documentation> 238 + </xs:annotation> 239 + </xs:element> 240 + <xs:element name="ClaimProcessPauseEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 241 + <xs:annotation> 242 + <xs:documentation>The date when the event occurred</xs:documentation> 243 + </xs:annotation> 244 + </xs:element> 245 + <xs:element name="ValidToDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="false"> 246 + <xs:annotation> 247 + <xs:documentation>If exists, the date to which the claim process pause is valid to.</xs:documentation> 248 + </xs:annotation> 249 + </xs:element> 250 + </xs:sequence> 251 + </xs:complexType> 252 + <xs:complexType name="InvoiceComplaintEvent"> 253 + <xs:sequence> 254 + <xs:element name="ComplaintStatus" type="eComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false"> 255 + <xs:annotation> 256 + <xs:documentation>Type of complaint status from enumeration.</xs:documentation> 257 + </xs:annotation> 258 + </xs:element> 259 + <xs:element name="ComplaintEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 260 + <xs:annotation> 261 + <xs:documentation>The date when the event occurred</xs:documentation> 262 + </xs:annotation> 263 + </xs:element> 264 + </xs:sequence> 265 + </xs:complexType> 266 + <xs:complexType name="InvoiceNotificationEvent"> 267 + <xs:sequence> 268 + <xs:element name="NotificationType" type="eNotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 269 + <xs:annotation> 270 + <xs:documentation>Type of Notification event from enumeration.</xs:documentation> 271 + </xs:annotation> 272 + </xs:element> 273 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 274 + <xs:annotation> 275 + <xs:documentation>The date when the event occurred.</xs:documentation> 276 + </xs:annotation> 277 + </xs:element> 278 + </xs:sequence> 279 + </xs:complexType> 280 + <xs:complexType name="PaymentOrderEvent"> 281 + <xs:sequence> 282 + <xs:element name="PaymentOrderStatusCode" type="ePaymentOrderStatus" minOccurs="1" maxOccurs="1" nillable="false"> 283 + <xs:annotation> 284 + <xs:documentation>Payment order status from enumeration.</xs:documentation> 285 + </xs:annotation> 286 + </xs:element> 287 + <xs:element name="PaymentOrderEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 288 + <xs:annotation> 289 + <xs:documentation>The date when the event occurred.</xs:documentation> 290 + </xs:annotation> 291 + </xs:element> 292 + </xs:sequence> 293 + </xs:complexType> 294 + <xs:complexType name="BillAmount"> 295 + <xs:sequence> 296 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 297 + </xs:sequence> 298 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 299 + </xs:complexType> 300 + <xs:simpleType name="eClaimProcessPauseEventType"> 301 + <xs:restriction base="xs:string"> 302 + <xs:enumeration value="Stop"> 303 + <xs:annotation> 304 + <xs:documentation>The claim is stopped for further claim process steps until stop is removed.</xs:documentation> 305 + </xs:annotation> 306 + </xs:enumeration> 307 + <xs:enumeration value="Respite"> 308 + <xs:annotation> 309 + <xs:documentation>The claim is stopped for further claimprocess steps until valid to data of respite or respite is removed.</xs:documentation> 310 + </xs:annotation> 311 + </xs:enumeration> 312 + <xs:enumeration value="StopRemoved"> 313 + <xs:annotation> 314 + <xs:documentation>Stop has been removed from claim.</xs:documentation> 315 + </xs:annotation> 316 + </xs:enumeration> 317 + <xs:enumeration value="RespiteRemoved"> 318 + <xs:annotation> 319 + <xs:documentation>Respite has been removed fro claim</xs:documentation> 320 + </xs:annotation> 321 + </xs:enumeration> 322 + </xs:restriction> 323 + </xs:simpleType> 324 + <xs:simpleType name="eComplaintStatus"> 325 + <xs:restriction base="xs:string"> 326 + <xs:enumeration value="ComplaintReceived"> 327 + <xs:annotation> 328 + <xs:documentation>Complaint has been registered</xs:documentation> 329 + </xs:annotation> 330 + </xs:enumeration> 331 + <xs:enumeration value="ComplaintResolved"> 332 + <xs:annotation> 333 + <xs:documentation>Complaint has been resolved</xs:documentation> 334 + </xs:annotation> 335 + </xs:enumeration> 336 + </xs:restriction> 337 + </xs:simpleType> 338 + <xs:simpleType name="eInvoiceStatus"> 339 + <xs:restriction base="xs:string"> 340 + <xs:enumeration value="Closed"> 341 + <xs:annotation> 342 + <xs:documentation>Status of the invoice in the accounts receivable has been set to closed</xs:documentation> 343 + </xs:annotation> 344 + </xs:enumeration> 345 + <xs:enumeration value="Rest"> 346 + <xs:annotation> 347 + <xs:documentation>Status of the invoice in the accounts receivable has been set to rest, meaning that remaing amount to settle is below or egual to configured amount.</xs:documentation> 348 + </xs:annotation> 349 + </xs:enumeration> 350 + </xs:restriction> 351 + </xs:simpleType> 352 + <xs:simpleType name="eClaimEvent"> 353 + <xs:restriction base="xs:string"> 354 + <xs:enumeration value="ReminderSent"> 355 + <xs:annotation> 356 + <xs:documentation>An invoice reminder has been sent to the customer</xs:documentation> 357 + </xs:annotation> 358 + </xs:enumeration> 359 + <xs:enumeration value="SecondReminderSent"> 360 + <xs:annotation> 361 + <xs:documentation>A second invoice reminder has been sent to the customer</xs:documentation> 362 + </xs:annotation> 363 + </xs:enumeration> 364 + <xs:enumeration value="CollectionClaimSent"> 365 + <xs:annotation> 366 + <xs:documentation>A collection claim has been sent to the customer</xs:documentation> 367 + </xs:annotation> 368 + </xs:enumeration> 369 + <xs:enumeration value="RestReminderSent"> 370 + <xs:annotation> 371 + <xs:documentation>A reminder including only interest and fees has been sent to the customer</xs:documentation> 372 + </xs:annotation> 373 + </xs:enumeration> 374 + <xs:enumeration value="DebtCollection"> 375 + <xs:annotation> 376 + <xs:documentation>The invoice has been transferred to collection</xs:documentation> 377 + </xs:annotation> 378 + </xs:enumeration> 379 + </xs:restriction> 380 + </xs:simpleType> 381 + <xs:simpleType name="eNotificationType"> 382 + <xs:restriction base="xs:string"> 383 + <xs:enumeration value="PreDueDate"> 384 + <xs:annotation> 385 + <xs:documentation>Notification before the invoice due date</xs:documentation> 386 + </xs:annotation> 387 + </xs:enumeration> 388 + <xs:enumeration value="PreReminder"> 389 + <xs:annotation> 390 + <xs:documentation>Notification before the reminder is sent</xs:documentation> 391 + </xs:annotation> 392 + </xs:enumeration> 393 + <xs:enumeration value="PreCollectionClaim"> 394 + <xs:annotation> 395 + <xs:documentation>Notification before the collection claim is sent</xs:documentation> 396 + </xs:annotation> 397 + </xs:enumeration> 398 + </xs:restriction> 399 + </xs:simpleType> 400 + <xs:simpleType name="ePaymentOrderStatus"> 401 + <xs:restriction base="xs:string"> 402 + <xs:enumeration value="WillRetry"> 403 + <xs:annotation> 404 + <xs:documentation>Retries will be made</xs:documentation> 405 + </xs:annotation> 406 + </xs:enumeration> 407 + <xs:enumeration value="InsufficientFunds"> 408 + <xs:annotation> 409 + <xs:documentation>Insufficient funds in the account</xs:documentation> 410 + </xs:annotation> 411 + </xs:enumeration> 412 + </xs:restriction> 413 + </xs:simpleType> 414 + <xs:simpleType name="eCurrencyType"> 415 + <xs:restriction base="xs:string"> 416 + <xs:enumeration value="SEK" /> 417 + <xs:enumeration value="NOK" /> 418 + <xs:enumeration value="DKK" /> 419 + <xs:enumeration value="EUR" /> 420 + </xs:restriction> 421 + </xs:simpleType> 422 + <xs:simpleType name="eInvoiceSubStatus"> 423 + <xs:restriction base="xs:string"> 424 + <xs:enumeration value="Sold" > 425 + <xs:annotation> 426 + <xs:documentation>The invoice has been sold to another part</xs:documentation> 427 + </xs:annotation> 428 + </xs:enumeration> 429 + <xs:enumeration value="Loss" > 430 + <xs:annotation> 431 + <xs:documentation>Indicates that the invoice has been credited with loss</xs:documentation> 432 + </xs:annotation> 433 + </xs:enumeration> 434 + <xs:enumeration value="Converted" > 435 + <xs:annotation> 436 + <xs:documentation>The invoice has been converted to a credit account</xs:documentation> 437 + </xs:annotation> 438 + </xs:enumeration> 439 + <xs:enumeration value="Diff" > 440 + <xs:annotation> 441 + <xs:documentation>The invoice has been closed after having been listed (status Rest) for a certain time</xs:documentation> 442 + </xs:annotation> 443 + </xs:enumeration> 444 + <xs:enumeration value="Reversal"> 445 + <xs:annotation> 446 + <xs:documentation>The invoice has been fully credited or a chargeback has been made</xs:documentation> 447 + </xs:annotation> 448 + </xs:enumeration> 449 + </xs:restriction> 450 + </xs:simpleType> 451 + <xs:simpleType name="Version"> 452 + <xs:restriction base="xs:string"> 453 + <xs:enumeration value="1.0"/> 454 + <xs:enumeration value="1.1"/> 455 + <xs:enumeration value="1.2"/> 456 + </xs:restriction> 457 + </xs:simpleType> 458 + <xs:simpleType name="Money"> 459 + <xs:restriction base="xs:decimal"> 460 + <xs:fractionDigits value="2" /> 461 + <xs:minInclusive value="-100000000" /> 462 + <xs:maxInclusive value="100000000" /> 463 + </xs:restriction> 464 + </xs:simpleType> 465 + <xs:simpleType name="String10"> 466 + <xs:restriction base="PXString"> 467 + <xs:maxLength value="10" /> 468 + </xs:restriction> 469 + </xs:simpleType> 470 + <xs:simpleType name="String30"> 471 + <xs:restriction base="PXString"> 472 + <xs:maxLength value="30" /> 473 + </xs:restriction> 474 + </xs:simpleType> 475 + <xs:simpleType name="String25"> 476 + <xs:restriction base="PXString"> 477 + <xs:maxLength value="25" /> 478 + </xs:restriction> 479 + </xs:simpleType> 480 + <xs:simpleType name="InvoiceIdentifier15"> 481 + <xs:restriction base="xs:string"> 482 + <xs:pattern value="[A-Za-z0-9\-]+" /> 483 + <xs:maxLength value="15" /> 484 + </xs:restriction> 485 + </xs:simpleType> 486 + <xs:simpleType name="PXString"> 487 + <xs:restriction base="xs:string"> 488 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 489 + <xs:minLength value="1" /> 490 + </xs:restriction> 491 + </xs:simpleType> 492 +</xs:schema>
- ARRCP01_367_20191030093613_0[CUSIN_367_20190911090044_93.xml].XML
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +768 bytes - Content
-
... ... @@ -1,0 +1,1 @@ 1 +<?xml version="1.0" encoding="utf-8"?><ActivityResults CompanyNo="367" CompanyName="PayEx Sverige AB" CreatedDateTime="2019-10-30T09:36:13" Version="1.0"><Activity Name="CUSIN" ProcessId="14403577"><ResultParameters><Parameter Name="FileName">CUSIN_367_20190911090044_93.xml</Parameter><Parameter Name="PassedXSDValidation">True</Parameter><Parameter Name="PreDistributionDate">2019-10-30</Parameter><Parameter Name="PreService">ARD1</Parameter><Parameter Name="PreStartOCRSeqNo" Unit="1">114326</Parameter><Parameter Name="NoOfCustomers">1</Parameter><Parameter Name="NoOfFailedCustomers">2</Parameter><Parameter Name="NoOfFailedInvoices">3</Parameter><Parameter Name="ErrorType" Unit="DuplicateBillNo">2</Parameter></ResultParameters></Activity></ActivityResults>
- FileResponse[1.0].doc
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +152.5 KB - Content
- SIE_filformat_ver_4B_SVENSKA.pdf
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +775.0 KB - Content
- CUSIN_[2.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.aha - Size
-
... ... @@ -1,0 +1,1 @@ 1 +94.0 KB - Content
- ARRCP_[1.0].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.dap - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.2 KB - Content
-
... ... @@ -1,0 +1,76 @@ 1 +<?xml version="1.0" encoding="UTF-8"?> 2 +<!-- edited with XMLSpy v2017 sp2 (x64) (http://www.altova.com) by Magnus (Mattsson) --> 3 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> 4 + <xs:element name="ActivityResults"> 5 + <xs:annotation> 6 + <xs:documentation>Activity results produced by a file process.</xs:documentation> 7 + </xs:annotation> 8 + <xs:complexType> 9 + <xs:sequence> 10 + <xs:element name="Activity" minOccurs="1" maxOccurs="1"> 11 + <xs:complexType> 12 + <xs:sequence> 13 + <xs:element name="ResultParameters" minOccurs="1" maxOccurs="1"> 14 + <xs:annotation> 15 + <xs:documentation>List of parameters. Each activity, identifed by activity name, has its individual set of result parameters.</xs:documentation> 16 + </xs:annotation> 17 + <xs:complexType> 18 + <xs:sequence> 19 + <xs:element name="Parameter" minOccurs="1" maxOccurs="unbounded"> 20 + <xs:complexType> 21 + <xs:simpleContent> 22 + <xs:extension base="xsd:string"> 23 + <xs:attribute name="Unit" type="xs:string"> 24 + <xs:annotation> 25 + <xs:documentation>Optional unit, e.g currency "SEK" if the parameter is an amount.</xs:documentation> 26 + </xs:annotation> 27 + </xs:attribute> 28 + <xs:attribute name="Name" type="xs:string" use="required"> 29 + <xs:annotation> 30 + <xs:documentation>Name of the parameter.</xs:documentation> 31 + </xs:annotation> 32 + </xs:attribute> 33 + </xs:extension> 34 + </xs:simpleContent> 35 + </xs:complexType> 36 + </xs:element> 37 + </xs:sequence> 38 + </xs:complexType> 39 + </xs:element> 40 + </xs:sequence> 41 + <xs:attribute name="ProcessId" type="xs:long"> 42 + <xs:annotation> 43 + <xs:documentation>PayEx process id. Used for tracking.</xs:documentation> 44 + </xs:annotation> 45 + </xs:attribute> 46 + <xs:attribute name="Name" type="xs:string"> 47 + <xs:annotation> 48 + <xs:documentation>Name of the activity.</xs:documentation> 49 + </xs:annotation> 50 + </xs:attribute> 51 + </xs:complexType> 52 + </xs:element> 53 + </xs:sequence> 54 + <xs:attribute name="Version" type="xs:string" use="required" fixed="1.0"> 55 + <xs:annotation> 56 + <xs:documentation>Describes which version of the xsd the xml is validated against.</xs:documentation> 57 + </xs:annotation> 58 + </xs:attribute> 59 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 60 + <xs:annotation> 61 + <xs:documentation>Date and time when the file was created.</xs:documentation> 62 + </xs:annotation> 63 + </xs:attribute> 64 + <xs:attribute name="CompanyNo" type="xs:string" use="required"> 65 + <xs:annotation> 66 + <xs:documentation>Your accountsreceivablenumber at PayEx.</xs:documentation> 67 + </xs:annotation> 68 + </xs:attribute> 69 + <xs:attribute name="CompanyName" type="xs:string" use="required"> 70 + <xs:annotation> 71 + <xs:documentation>The name of your company/accountsreceivable.</xs:documentation> 72 + </xs:annotation> 73 + </xs:attribute> 74 + </xs:complexType> 75 + </xs:element> 76 +</xs:schema>
- ContractBilling_[1.0] .xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.djr - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.9 KB - Content
-
... ... @@ -1,0 +1,290 @@ 1 +<?xml version="1.0" encoding="utf-8"?> 2 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> 3 + <xs:element name="ContractBilling"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="CustomerInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:complexType> 8 + <xs:sequence> 9 + <xs:element name="CustomerNo" type="Identifier15" nillable="false" minOccurs="1" maxOccurs="1"> 10 + <xs:annotation> 11 + <xs:documentation>Unique identifier of customer, Customer number</xs:documentation> 12 + </xs:annotation> 13 + </xs:element> 14 + <xs:element name="CustomerInfo" minOccurs="1" maxOccurs="1"> 15 + <xs:complexType> 16 + <xs:sequence> 17 + <xs:element name="Name" type="NameAddressString72" minOccurs="1" maxOccurs="1"/> 18 + <xs:element name="RegNo" type="RegNo" minOccurs="1" maxOccurs="1"> 19 + <xs:annotation> 20 + <xs:documentation>Customer Social Security No</xs:documentation> 21 + </xs:annotation> 22 + </xs:element> 23 + <xs:element name="LegalAddressInfo" minOccurs="1" maxOccurs="1"> 24 + <xs:complexType> 25 + <xs:sequence> 26 + <xs:element name="LegalAddress" type="Address" minOccurs="1" maxOccurs="1"/> 27 + <xs:element name="E-MailAddress" type="Email" minOccurs="0" maxOccurs="1"/> 28 + <xs:element name="Cellphone" type="String15" minOccurs="0" maxOccurs="1"/> 29 + </xs:sequence> 30 + </xs:complexType> 31 + </xs:element> 32 + </xs:sequence> 33 + <xs:attribute name="LegalEntity" type="LegalEntity" use="optional"/> 34 + </xs:complexType> 35 + </xs:element> 36 + <xs:element name="BillingAddress" type="Address" minOccurs="0" maxOccurs="1"/> 37 + <xs:element name="BillInfo" minOccurs="0" maxOccurs="unbounded"> 38 + <xs:complexType> 39 + <xs:sequence> 40 + <xs:element name="ContractId" type="xs:unsignedInt" nillable="false" minOccurs="1" maxOccurs="1"> 41 + <xs:annotation> 42 + <xs:documentation>Unique identifier of each contract in the ledger</xs:documentation> 43 + </xs:annotation> 44 + </xs:element> 45 + <xs:element name="ReferenceInfo" type="ReferenceInfo" minOccurs="1" maxOccurs="1"/> 46 + <xs:element name="VatInfo" type="VatInfo" minOccurs="0" maxOccurs="5"> 47 + <xs:annotation> 48 + <xs:documentation>Aggregated amount per VATRate</xs:documentation> 49 + </xs:annotation> 50 + </xs:element> 51 + <xs:element name="Product" minOccurs="1" maxOccurs="unbounded"> 52 + <xs:complexType> 53 + <xs:sequence> 54 + <xs:element name="AmountInclVat" type="Amount" minOccurs="1" maxOccurs="1"/> 55 + <xs:element name="ProductDescription" type="String90" nillable="false" minOccurs="1" maxOccurs="1"> 56 + <xs:annotation> 57 + <xs:documentation>Textual description of the product</xs:documentation> 58 + </xs:annotation> 59 + </xs:element> 60 + <xs:element name="BillingPeriod" type="String35" minOccurs="0" maxOccurs="1"> 61 + <xs:annotation> 62 + <xs:documentation>Product billing period</xs:documentation> 63 + </xs:annotation> 64 + </xs:element> 65 + </xs:sequence> 66 + </xs:complexType> 67 + </xs:element> 68 + </xs:sequence> 69 + </xs:complexType> 70 + </xs:element> 71 + </xs:sequence> 72 + </xs:complexType> 73 + </xs:element> 74 + </xs:sequence> 75 + <xs:attribute name="Version" type="Version" use="required"> 76 + <xs:annotation> 77 + <xs:documentation>Versions supported by this schema</xs:documentation> 78 + </xs:annotation> 79 + </xs:attribute> 80 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 81 + <xs:annotation> 82 + <xs:documentation>Date and time when the file was created</xs:documentation> 83 + </xs:annotation> 84 + </xs:attribute> 85 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required"/> 86 + <xs:attribute name="CompanyName" type="xs:string" use="required"/> 87 + </xs:complexType> 88 + </xs:element> 89 + <xs:simpleType name="Money"> 90 + <xs:restriction base="xs:decimal"> 91 + <xs:fractionDigits value="2"/> 92 + <xs:minInclusive value="-100000000"/> 93 + <xs:maxInclusive value="100000000"/> 94 + </xs:restriction> 95 + </xs:simpleType> 96 + <xs:complexType name="Amount"> 97 + <xs:sequence> 98 + <xs:element name="AmountInclVat" type="Money" nillable="false" minOccurs="1" maxOccurs="1"/> 99 + </xs:sequence> 100 + <xs:attribute name="Currency" type="eCurrencyType" use="required"/> 101 + </xs:complexType> 102 + <xs:simpleType name="Version"> 103 + <xs:restriction base="xs:string"> 104 + <xs:enumeration value="1.0"> 105 + <xs:annotation> 106 + <xs:documentation>Original version</xs:documentation> 107 + </xs:annotation> 108 + </xs:enumeration> 109 + </xs:restriction> 110 + </xs:simpleType> 111 + <xs:simpleType name="eCurrencyType"> 112 + <xs:restriction base="xs:string"> 113 + <xs:enumeration value="SEK"/> 114 + <xs:enumeration value="NOK"/> 115 + <xs:enumeration value="DKK"/> 116 + <xs:enumeration value="EUR"/> 117 + </xs:restriction> 118 + </xs:simpleType> 119 + <xs:simpleType name="Identifier15"> 120 + <xs:restriction base="xs:string"> 121 + <xs:minLength value="1"/> 122 + <xs:maxLength value="15"/> 123 + <xs:pattern value="[a-zA-Z0-9\-]*"/> 124 + </xs:restriction> 125 + </xs:simpleType> 126 + <xs:simpleType name="ISO3166"> 127 + <xs:restriction base="xs:string"> 128 + <xs:minLength value="2"/> 129 + <xs:maxLength value="2"/> 130 + <xs:pattern value="[A-Z]*"/> 131 + </xs:restriction> 132 + </xs:simpleType> 133 + <xs:simpleType name="CompanyNumber"> 134 + <xs:restriction base="xs:string"> 135 + <xs:minLength value="1"/> 136 + <xs:maxLength value="15"/> 137 + <xs:pattern value="[0-9]*"/> 138 + </xs:restriction> 139 + </xs:simpleType> 140 + <xs:simpleType name="String35"> 141 + <xs:restriction base="PXString"> 142 + <xs:maxLength value="35"/> 143 + </xs:restriction> 144 + </xs:simpleType> 145 + <xs:simpleType name="String90"> 146 + <xs:restriction base="PXString"> 147 + <xs:minLength value="1"/> 148 + <xs:maxLength value="90"/> 149 + </xs:restriction> 150 + </xs:simpleType> 151 + <xs:simpleType name="Email"> 152 + <xs:restriction base="PXString"> 153 + <xs:maxLength value="60"/> 154 + <xs:pattern value="[^@]+@[^\.]+\..+"/> 155 + </xs:restriction> 156 + </xs:simpleType> 157 + <xs:simpleType name="String15"> 158 + <xs:restriction base="PXString"> 159 + <xs:maxLength value="15"/> 160 + </xs:restriction> 161 + </xs:simpleType> 162 + <xs:simpleType name="ZipCode"> 163 + <xs:restriction base="xs:string"> 164 + <xs:maxLength value="9"/> 165 + <xs:pattern value="[A-Z0-9\-]+"/> 166 + </xs:restriction> 167 + </xs:simpleType> 168 + <xs:simpleType name="String50"> 169 + <xs:restriction base="PXString"> 170 + <xs:minLength value="1"/> 171 + <xs:maxLength value="50"/> 172 + </xs:restriction> 173 + </xs:simpleType> 174 + <xs:simpleType name="VatRate"> 175 + <xs:restriction base="xs:decimal"> 176 + <xs:enumeration value="0.00"/> 177 + <xs:enumeration value="6.00"/> 178 + <xs:enumeration value="8.00"/> 179 + <xs:enumeration value="12.00"/> 180 + <xs:enumeration value="13.00"/> 181 + <xs:enumeration value="14.00"/> 182 + <xs:enumeration value="22.00"/> 183 + <xs:enumeration value="23.00"/> 184 + <xs:enumeration value="24.00"/> 185 + <xs:enumeration value="25.00"/> 186 + </xs:restriction> 187 + </xs:simpleType> 188 + <xs:simpleType name="String20"> 189 + <xs:restriction base="PXString"> 190 + <xs:maxLength value="20"/> 191 + </xs:restriction> 192 + </xs:simpleType> 193 + <xs:simpleType name="NameAddressString35"> 194 + <xs:restriction base="PXNameAddressString"> 195 + <xs:minLength value="1"/> 196 + <xs:maxLength value="35"/> 197 + </xs:restriction> 198 + </xs:simpleType> 199 + <xs:simpleType name="NameAddressString36"> 200 + <xs:restriction base="PXNameAddressString"> 201 + <xs:minLength value="1"/> 202 + <xs:maxLength value="36"/> 203 + </xs:restriction> 204 + </xs:simpleType> 205 + <xs:simpleType name="NameAddressString27"> 206 + <xs:restriction base="PXNameAddressString"> 207 + <xs:minLength value="1"/> 208 + <xs:maxLength value="27"/> 209 + </xs:restriction> 210 + </xs:simpleType> 211 + <xs:simpleType name="PXString"> 212 + <xs:restriction base="xs:string"> 213 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´ %'-0À-ÖØ-öø-ú&]*"/> 214 + </xs:restriction> 215 + </xs:simpleType> 216 + <xs:simpleType name="PXNameAddressString"> 217 + <xs:restriction base="xs:string"> 218 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´ %'-0À-ÖØ-öø-úü&]*"/> 219 + </xs:restriction> 220 + </xs:simpleType> 221 + <xs:simpleType name="String74"> 222 + <xs:restriction base="xs:string"> 223 + <xs:maxLength value="74"/> 224 + </xs:restriction> 225 + </xs:simpleType> 226 + <xs:complexType name="ReferenceInfo"> 227 + <xs:sequence> 228 + <xs:element name="ExternalBillId" type="String20" nillable="false" minOccurs="1" maxOccurs="1"/> 229 + </xs:sequence> 230 + </xs:complexType> 231 + <xs:complexType name="RegNo"> 232 + <xs:simpleContent> 233 + <xs:extension base="String15"> 234 + <xs:attribute name="CountryCode" type="ISO3166"/> 235 + </xs:extension> 236 + </xs:simpleContent> 237 + </xs:complexType> 238 + <xs:simpleType name="LegalEntity"> 239 + <xs:restriction base="xs:string"> 240 + <xs:enumeration value="Private"/> 241 + </xs:restriction> 242 + </xs:simpleType> 243 + <xs:complexType name="VatInfo"> 244 + <xs:sequence> 245 + <xs:element name="Amount" type="Amount" minOccurs="1" maxOccurs="1"/> 246 + <xs:element name="VatAmount" type="Money" minOccurs="1" maxOccurs="1"/> 247 + <xs:element name="VatRate" type="VatRate" minOccurs="1" maxOccurs="1"/> 248 + </xs:sequence> 249 + </xs:complexType> 250 + <xs:simpleType name="NameAddressString72"> 251 + <xs:restriction base="PXNameAddressString"> 252 + <xs:minLength value="1"/> 253 + <xs:maxLength value="72"/> 254 + </xs:restriction> 255 + </xs:simpleType> 256 + <xs:complexType name="Address"> 257 + <xs:sequence> 258 + <xs:element name="Addressee" type="NameAddressString72" minOccurs="1" maxOccurs="1"> 259 + <xs:annotation> 260 + <xs:documentation>Full name of addressee</xs:documentation> 261 + </xs:annotation> 262 + </xs:element> 263 + <xs:element name="StreetAddress" type="NameAddressString35" nillable="false" minOccurs="0" maxOccurs="1"> 264 + <xs:annotation> 265 + <xs:documentation>Street address</xs:documentation> 266 + </xs:annotation> 267 + </xs:element> 268 + <xs:element name="ZipCode" type="ZipCode" nillable="false" minOccurs="1" maxOccurs="1"> 269 + <xs:annotation> 270 + <xs:documentation>Zipcode conforming to country standard</xs:documentation> 271 + </xs:annotation> 272 + </xs:element> 273 + <xs:element name="City" type="NameAddressString27" nillable="false" minOccurs="1" maxOccurs="1"> 274 + <xs:annotation> 275 + <xs:documentation>City</xs:documentation> 276 + </xs:annotation> 277 + </xs:element> 278 + <xs:element name="CoAddress" type="NameAddressString35" nillable="false" minOccurs="0" maxOccurs="1"> 279 + <xs:annotation> 280 + <xs:documentation>Care of address</xs:documentation> 281 + </xs:annotation> 282 + </xs:element> 283 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 284 + <xs:annotation> 285 + <xs:documentation>Country code according to ISO 3166</xs:documentation> 286 + </xs:annotation> 287 + </xs:element> 288 + </xs:sequence> 289 + </xs:complexType> 290 +</xs:schema>
- BillJournal_[1.X].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.2 KB - Content
-
... ... @@ -1,0 +1,449 @@ 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="BillJournal"> 4 + <xs:complexType> 5 + <xs:sequence> 6 + <xs:element name="BillJournalInfo" minOccurs="1" maxOccurs="unbounded"> 7 + <xs:annotation> 8 + <xs:documentation>Contains events affecting an invoice.</xs:documentation> 9 + </xs:annotation> 10 + <xs:complexType> 11 + <xs:sequence> 12 + <xs:element name="InvoiceNo" type="InvoiceIdentifier15" minOccurs="1" maxOccurs="1" nillable="false"> 13 + <xs:annotation> 14 + <xs:documentation>InvoiceNo is your unique invoice identifier in the accounts receivable.</xs:documentation> 15 + </xs:annotation> 16 + </xs:element> 17 + <xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false"> 18 + <xs:annotation> 19 + <xs:documentation>CustomerNo is your unique identifier of the customer in the accounts receivable.</xs:documentation> 20 + </xs:annotation> 21 + </xs:element> 22 + <xs:element name="InvoiceClaimEvents" minOccurs="0" maxOccurs="1"> 23 + <xs:annotation> 24 + <xs:documentation>Containing claim events on an invoice.</xs:documentation> 25 + </xs:annotation> 26 + <xs:complexType> 27 + <xs:sequence> 28 + <xs:element name="InvoiceClaimEvent" type="InvoiceClaimEvent" minOccurs="1" maxOccurs="unbounded"> 29 + <xs:annotation> 30 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 31 + </xs:annotation> 32 + </xs:element> 33 + </xs:sequence> 34 + </xs:complexType> 35 + </xs:element> 36 + <xs:element name="InvoiceStatusEvents" minOccurs="0" maxOccurs="1"> 37 + <xs:annotation> 38 + <xs:documentation>Containing status events on an invoice.</xs:documentation> 39 + </xs:annotation> 40 + <xs:complexType> 41 + <xs:sequence> 42 + <xs:element name="InvoiceStatusEvent" type="InvoiceStatusEvent" minOccurs="1" maxOccurs="unbounded"> 43 + <xs:annotation> 44 + <xs:documentation>Contains an invoice status event.</xs:documentation> 45 + </xs:annotation> 46 + </xs:element> 47 + </xs:sequence> 48 + </xs:complexType> 49 + </xs:element> 50 + <xs:element name="InvoiceClaimProcessPauseEvents" minOccurs="0" maxOccurs="1"> 51 + <xs:annotation> 52 + <xs:documentation>Containing claim process pause events on an invoice.</xs:documentation> 53 + </xs:annotation> 54 + <xs:complexType> 55 + <xs:sequence> 56 + <xs:element name="InvoiceClaimProcessPauseEvent" type="InvoiceClaimProcessPauseEvent" minOccurs="1" maxOccurs="unbounded"> 57 + <xs:annotation> 58 + <xs:documentation>Contains an invoice claim process pause event</xs:documentation> 59 + </xs:annotation> 60 + </xs:element> 61 + </xs:sequence> 62 + </xs:complexType> 63 + </xs:element> 64 + <xs:element name="InvoiceComplaintEvents" minOccurs="0" maxOccurs="1"> 65 + <xs:annotation> 66 + <xs:documentation>Containing complaint events on an invoice.</xs:documentation> 67 + </xs:annotation> 68 + <xs:complexType> 69 + <xs:sequence> 70 + <xs:element name="InvoiceComplaintEvent" type="InvoiceComplaintEvent" minOccurs="1" maxOccurs="unbounded"> 71 + <xs:annotation> 72 + <xs:documentation>Contains an invoice complaint event</xs:documentation> 73 + </xs:annotation> 74 + </xs:element> 75 + </xs:sequence> 76 + </xs:complexType> 77 + </xs:element> 78 + <xs:element name="InvoiceNotificationEvents" minOccurs="0" maxOccurs="1"> 79 + <xs:annotation> 80 + <xs:documentation>Containing Notification events on an invoice.</xs:documentation> 81 + </xs:annotation> 82 + <xs:complexType> 83 + <xs:sequence> 84 + <xs:element name="InvoiceNotificationEvent" type="InvoiceNotificationEvent" minOccurs="1" maxOccurs="unbounded"> 85 + <xs:annotation> 86 + <xs:documentation>Contains an invoice claim event.</xs:documentation> 87 + </xs:annotation> 88 + </xs:element> 89 + </xs:sequence> 90 + </xs:complexType> 91 + </xs:element> 92 + </xs:sequence> 93 + </xs:complexType> 94 + </xs:element> 95 + </xs:sequence> 96 + <xs:attribute name="Version" type="Version" use="required"> 97 + <xs:annotation> 98 + <xs:documentation>Versions supported by this schema</xs:documentation> 99 + </xs:annotation> 100 + </xs:attribute> 101 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 102 + <xs:annotation> 103 + <xs:documentation>The date and time when the file was created</xs:documentation> 104 + </xs:annotation> 105 + </xs:attribute> 106 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 107 + <xs:annotation> 108 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 109 + </xs:annotation> 110 + </xs:attribute> 111 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 112 + <xs:annotation> 113 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 114 + </xs:annotation> 115 + </xs:attribute> 116 + </xs:complexType> 117 + </xs:element> 118 + <xs:simpleType name="Identifier15"> 119 + <xs:restriction base="xs:string"> 120 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 121 + <xs:minLength value="1" /> 122 + <xs:maxLength value="15" /> 123 + </xs:restriction> 124 + </xs:simpleType> 125 + <xs:simpleType name="ISO3166"> 126 + <xs:restriction base="xs:string"> 127 + <xs:pattern value="[A-Z]*" /> 128 + <xs:minLength value="2" /> 129 + <xs:maxLength value="2" /> 130 + </xs:restriction> 131 + </xs:simpleType> 132 + <xs:simpleType name="CompanyNumber"> 133 + <xs:restriction base="xs:string"> 134 + <xs:pattern value="[0-9]*" /> 135 + <xs:minLength value="1" /> 136 + <xs:maxLength value="15" /> 137 + </xs:restriction> 138 + </xs:simpleType> 139 + <xs:simpleType name="ISO639"> 140 + <xs:restriction base="PXString"> 141 + <xs:enumeration value="SV" /> 142 + <xs:enumeration value="NO" /> 143 + <xs:enumeration value="DA" /> 144 + <xs:enumeration value="FI" /> 145 + <xs:enumeration value="EN" /> 146 + </xs:restriction> 147 + </xs:simpleType> 148 + <xs:simpleType name="String35"> 149 + <xs:restriction base="PXString"> 150 + <xs:maxLength value="35" /> 151 + </xs:restriction> 152 + </xs:simpleType> 153 + <xs:simpleType name="Email"> 154 + <xs:restriction base="PXString"> 155 + <xs:maxLength value="60" /> 156 + </xs:restriction> 157 + </xs:simpleType> 158 + <xs:simpleType name="String15"> 159 + <xs:restriction base="PXString"> 160 + <xs:maxLength value="15" /> 161 + </xs:restriction> 162 + </xs:simpleType> 163 + <xs:simpleType name="ZipCode"> 164 + <xs:restriction base="xs:string"> 165 + <xs:pattern value="[A-Z0-9\-]+" /> 166 + <xs:maxLength value="9" /> 167 + </xs:restriction> 168 + </xs:simpleType> 169 + <xs:simpleType name="VatNumber"> 170 + <xs:restriction base="xs:string"> 171 + <xs:pattern value="[A-Z]{2}.*" /> 172 + <xs:minLength value="7" /> 173 + <xs:maxLength value="14" /> 174 + </xs:restriction> 175 + </xs:simpleType> 176 + <xs:simpleType name="String50"> 177 + <xs:restriction base="xs:string"> 178 + <xs:maxLength value="50" /> 179 + </xs:restriction> 180 + </xs:simpleType> 181 + <xs:complexType name="InvoiceClaimEvent"> 182 + <xs:sequence> 183 + <xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false"> 184 + <xs:annotation> 185 + <xs:documentation>Type of claim event from enumeration.</xs:documentation> 186 + </xs:annotation> 187 + </xs:element> 188 + <xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 189 + <xs:annotation> 190 + <xs:documentation>The date when the event occurred.</xs:documentation> 191 + </xs:annotation> 192 + </xs:element> 193 + <xs:element name="BillAmount" type="BillAmount" maxOccurs="1" minOccurs="1" nillable="false"> 194 + <xs:annotation> 195 + <xs:documentation>The claim amount at the time of the claimevent.</xs:documentation> 196 + </xs:annotation> 197 + </xs:element> 198 + </xs:sequence> 199 + </xs:complexType> 200 + <xs:complexType name="InvoiceStatusEvent"> 201 + <xs:sequence> 202 + <xs:element name="InvoiceStatus" type="eInvoiceStatus" minOccurs="1" maxOccurs="1" nillable="false"> 203 + <xs:annotation> 204 + <xs:documentation>Type of status event from enumeration.</xs:documentation> 205 + </xs:annotation> 206 + </xs:element> 207 + <xs:element name="InvoiceSubStatus" type="eInvoiceSubStatus" minOccurs="0" maxOccurs="1"> 208 + <xs:annotation> 209 + <xs:documentation>Used to clarify why the InvoiceStatus is set. Reasons is listed in the enumeration eInvoiceSubStatus.</xs:documentation> 210 + </xs:annotation> 211 + </xs:element> 212 + <xs:element name="StatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 213 + <xs:annotation> 214 + <xs:documentation>The date when the event occurred</xs:documentation> 215 + </xs:annotation> 216 + </xs:element> 217 + </xs:sequence> 218 + </xs:complexType> 219 + <xs:complexType name="InvoiceClaimProcessPauseEvent"> 220 + <xs:sequence> 221 + <xs:element name="ClaimProcessPauseEvent" type="eClaimProcessPauseEventType" minOccurs="1" maxOccurs="1" nillable="false"> 222 + <xs:annotation> 223 + <xs:documentation>Type of claim process pause event from enumeration.</xs:documentation> 224 + </xs:annotation> 225 + </xs:element> 226 + <xs:element name="ClaimProcessPauseEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 227 + <xs:annotation> 228 + <xs:documentation>The date when the event occurred</xs:documentation> 229 + </xs:annotation> 230 + </xs:element> 231 + <xs:element name="ValidToDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="false"> 232 + <xs:annotation> 233 + <xs:documentation>If exists, the date to which the claim process pause is valid to.</xs:documentation> 234 + </xs:annotation> 235 + </xs:element> 236 + </xs:sequence> 237 + </xs:complexType> 238 + <xs:complexType name="InvoiceComplaintEvent"> 239 + <xs:sequence> 240 + <xs:element name="ComplaintStatus" type="eComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false"> 241 + <xs:annotation> 242 + <xs:documentation>Type of complaint status from enumeration.</xs:documentation> 243 + </xs:annotation> 244 + </xs:element> 245 + <xs:element name="ComplaintEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 246 + <xs:annotation> 247 + <xs:documentation>The date when the event occurred</xs:documentation> 248 + </xs:annotation> 249 + </xs:element> 250 + </xs:sequence> 251 + </xs:complexType> 252 + <xs:complexType name="InvoiceNotificationEvent"> 253 + <xs:sequence> 254 + <xs:element name="NotificationType" type="eNotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 255 + <xs:annotation> 256 + <xs:documentation>Type of Notification event from enumeration.</xs:documentation> 257 + </xs:annotation> 258 + </xs:element> 259 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 260 + <xs:annotation> 261 + <xs:documentation>The date when the event occurred.</xs:documentation> 262 + </xs:annotation> 263 + </xs:element> 264 + </xs:sequence> 265 + </xs:complexType> 266 + <xs:complexType name="BillAmount"> 267 + <xs:sequence> 268 + <xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/> 269 + </xs:sequence> 270 + <xs:attribute name="Currency" type="eCurrencyType" use="required" /> 271 + </xs:complexType> 272 + <xs:simpleType name="eClaimProcessPauseEventType"> 273 + <xs:restriction base="xs:string"> 274 + <xs:enumeration value="Stop"> 275 + <xs:annotation> 276 + <xs:documentation>The claim is stopped for further claim process steps until stop is removed.</xs:documentation> 277 + </xs:annotation> 278 + </xs:enumeration> 279 + <xs:enumeration value="Respite"> 280 + <xs:annotation> 281 + <xs:documentation>The claim is stopped for further claimprocess steps until valid to data of respite or respite is removed.</xs:documentation> 282 + </xs:annotation> 283 + </xs:enumeration> 284 + <xs:enumeration value="StopRemoved"> 285 + <xs:annotation> 286 + <xs:documentation>Stop has been removed from claim.</xs:documentation> 287 + </xs:annotation> 288 + </xs:enumeration> 289 + <xs:enumeration value="RespiteRemoved"> 290 + <xs:annotation> 291 + <xs:documentation>Respite has been removed fro claim</xs:documentation> 292 + </xs:annotation> 293 + </xs:enumeration> 294 + </xs:restriction> 295 + </xs:simpleType> 296 + <xs:simpleType name="eComplaintStatus"> 297 + <xs:restriction base="xs:string"> 298 + <xs:enumeration value="ComplaintReceived"> 299 + <xs:annotation> 300 + <xs:documentation>Complaint has been registered</xs:documentation> 301 + </xs:annotation> 302 + </xs:enumeration> 303 + <xs:enumeration value="ComplaintResolved"> 304 + <xs:annotation> 305 + <xs:documentation>Complaint has been resolved</xs:documentation> 306 + </xs:annotation> 307 + </xs:enumeration> 308 + </xs:restriction> 309 + </xs:simpleType> 310 + <xs:simpleType name="eInvoiceStatus"> 311 + <xs:restriction base="xs:string"> 312 + <xs:enumeration value="Closed"> 313 + <xs:annotation> 314 + <xs:documentation>Status of the invoice in the accounts receivable has been set to closed</xs:documentation> 315 + </xs:annotation> 316 + </xs:enumeration> 317 + <xs:enumeration value="Rest"> 318 + <xs:annotation> 319 + <xs:documentation>Status of the invoice in the accounts receivable has been set to rest, meaning that remaing amount to settle is below or egual to configured amount.</xs:documentation> 320 + </xs:annotation> 321 + </xs:enumeration> 322 + </xs:restriction> 323 + </xs:simpleType> 324 + <xs:simpleType name="eClaimEvent"> 325 + <xs:restriction base="xs:string"> 326 + <xs:enumeration value="ReminderSent"> 327 + <xs:annotation> 328 + <xs:documentation>An invoice reminder has been sent to the customer</xs:documentation> 329 + </xs:annotation> 330 + </xs:enumeration> 331 + <xs:enumeration value="SecondReminderSent"> 332 + <xs:annotation> 333 + <xs:documentation>A second invoice reminder has been sent to the customer</xs:documentation> 334 + </xs:annotation> 335 + </xs:enumeration> 336 + <xs:enumeration value="CollectionClaimSent"> 337 + <xs:annotation> 338 + <xs:documentation>A collection claim has been sent to the customer</xs:documentation> 339 + </xs:annotation> 340 + </xs:enumeration> 341 + <xs:enumeration value="RestReminderSent"> 342 + <xs:annotation> 343 + <xs:documentation>A reminder including only interest and fees has been sent to the customer</xs:documentation> 344 + </xs:annotation> 345 + </xs:enumeration> 346 + <xs:enumeration value="DebtCollection"> 347 + <xs:annotation> 348 + <xs:documentation>The invoice has been transferred to collection</xs:documentation> 349 + </xs:annotation> 350 + </xs:enumeration> 351 + </xs:restriction> 352 + </xs:simpleType> 353 + <xs:simpleType name="eNotificationType"> 354 + <xs:restriction base="xs:string"> 355 + <xs:enumeration value="PreDueDate"> 356 + <xs:annotation> 357 + <xs:documentation>Notification before the invoice due date</xs:documentation> 358 + </xs:annotation> 359 + </xs:enumeration> 360 + <xs:enumeration value="PreReminder"> 361 + <xs:annotation> 362 + <xs:documentation>Notification before the reminder is sent</xs:documentation> 363 + </xs:annotation> 364 + </xs:enumeration> 365 + <xs:enumeration value="PreCollectionClaim"> 366 + <xs:annotation> 367 + <xs:documentation>Notification before the collection claim is sent</xs:documentation> 368 + </xs:annotation> 369 + </xs:enumeration> 370 + </xs:restriction> 371 + </xs:simpleType> 372 + <xs:simpleType name="eCurrencyType"> 373 + <xs:restriction base="xs:string"> 374 + <xs:enumeration value="SEK" /> 375 + <xs:enumeration value="NOK" /> 376 + <xs:enumeration value="DKK" /> 377 + <xs:enumeration value="EUR" /> 378 + </xs:restriction> 379 + </xs:simpleType> 380 + <xs:simpleType name="eInvoiceSubStatus"> 381 + <xs:restriction base="xs:string"> 382 + <xs:enumeration value="Sold" > 383 + <xs:annotation> 384 + <xs:documentation>The invoice has been sold to another part</xs:documentation> 385 + </xs:annotation> 386 + </xs:enumeration> 387 + <xs:enumeration value="Loss" > 388 + <xs:annotation> 389 + <xs:documentation>Indicates that the invoice has been credited with loss</xs:documentation> 390 + </xs:annotation> 391 + </xs:enumeration> 392 + <xs:enumeration value="Converted" > 393 + <xs:annotation> 394 + <xs:documentation>The invoice has been converted to a credit account</xs:documentation> 395 + </xs:annotation> 396 + </xs:enumeration> 397 + <xs:enumeration value="Diff" > 398 + <xs:annotation> 399 + <xs:documentation>The invoice has been closed after having been listed (status Rest) for a certain time</xs:documentation> 400 + </xs:annotation> 401 + </xs:enumeration> 402 + <xs:enumeration value="Reversal"> 403 + <xs:annotation> 404 + <xs:documentation>The invoice has been fully credited or a chargeback has been made</xs:documentation> 405 + </xs:annotation> 406 + </xs:enumeration> 407 + </xs:restriction> 408 + </xs:simpleType> 409 + <xs:simpleType name="Version"> 410 + <xs:restriction base="xs:string"> 411 + <xs:enumeration value="1.0"/> 412 + <xs:enumeration value="1.1"/> 413 + </xs:restriction> 414 + </xs:simpleType> 415 + <xs:simpleType name="Money"> 416 + <xs:restriction base="xs:decimal"> 417 + <xs:fractionDigits value="2" /> 418 + <xs:minInclusive value="-100000000" /> 419 + <xs:maxInclusive value="100000000" /> 420 + </xs:restriction> 421 + </xs:simpleType> 422 + <xs:simpleType name="String10"> 423 + <xs:restriction base="PXString"> 424 + <xs:maxLength value="10" /> 425 + </xs:restriction> 426 + </xs:simpleType> 427 + <xs:simpleType name="String30"> 428 + <xs:restriction base="PXString"> 429 + <xs:maxLength value="30" /> 430 + </xs:restriction> 431 + </xs:simpleType> 432 + <xs:simpleType name="String25"> 433 + <xs:restriction base="PXString"> 434 + <xs:maxLength value="25" /> 435 + </xs:restriction> 436 + </xs:simpleType> 437 + <xs:simpleType name="InvoiceIdentifier15"> 438 + <xs:restriction base="xs:string"> 439 + <xs:pattern value="[A-Za-z0-9\-]+" /> 440 + <xs:maxLength value="15" /> 441 + </xs:restriction> 442 + </xs:simpleType> 443 + <xs:simpleType name="PXString"> 444 + <xs:restriction base="xs:string"> 445 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 446 + <xs:minLength value="1" /> 447 + </xs:restriction> 448 + </xs:simpleType> 449 +</xs:schema>
- CustomerJournal_[1.0].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +18.1 KB - Content
-
... ... @@ -1,0 +1,414 @@ 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:sequence> 108 + </xs:complexType> 109 + </xs:element> 110 + </xs:sequence> 111 + <xs:attribute name="Version" type="Version" use="required"> 112 + <xs:annotation> 113 + <xs:documentation>Versions supported by this schema</xs:documentation> 114 + </xs:annotation> 115 + </xs:attribute> 116 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 117 + <xs:annotation> 118 + <xs:documentation>The date and time when the file was created</xs:documentation> 119 + </xs:annotation> 120 + </xs:attribute> 121 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 122 + <xs:annotation> 123 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 124 + </xs:annotation> 125 + </xs:attribute> 126 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 127 + <xs:annotation> 128 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 129 + </xs:annotation> 130 + </xs:attribute> 131 + </xs:complexType> 132 + </xs:element> 133 + <xs:simpleType name="Version"> 134 + <xs:restriction base="xs:string"> 135 + <xs:enumeration value="1.0"/> 136 + </xs:restriction> 137 + </xs:simpleType> 138 + <xs:simpleType name="Identifier15"> 139 + <xs:restriction base="xs:string"> 140 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 141 + <xs:minLength value="1" /> 142 + <xs:maxLength value="15" /> 143 + </xs:restriction> 144 + </xs:simpleType> 145 + <xs:simpleType name="ISO3166"> 146 + <xs:restriction base="xs:string"> 147 + <xs:pattern value="[A-Z]*" /> 148 + <xs:minLength value="2" /> 149 + <xs:maxLength value="2" /> 150 + </xs:restriction> 151 + </xs:simpleType> 152 + <xs:simpleType name="CompanyNumber"> 153 + <xs:restriction base="xs:string"> 154 + <xs:pattern value="[0-9]*" /> 155 + <xs:minLength value="1" /> 156 + <xs:maxLength value="15" /> 157 + </xs:restriction> 158 + </xs:simpleType> 159 + <xs:simpleType name="ISO639"> 160 + <xs:restriction base="PXString"> 161 + <xs:enumeration value="SV" /> 162 + <xs:enumeration value="NO" /> 163 + <xs:enumeration value="DA" /> 164 + <xs:enumeration value="FI" /> 165 + <xs:enumeration value="EN" /> 166 + </xs:restriction> 167 + </xs:simpleType> 168 + <xs:simpleType name="String35"> 169 + <xs:restriction base="PXString"> 170 + <xs:maxLength value="35" /> 171 + </xs:restriction> 172 + </xs:simpleType> 173 + <xs:simpleType name="Email"> 174 + <xs:restriction base="PXString"> 175 + <xs:maxLength value="60" /> 176 + </xs:restriction> 177 + </xs:simpleType> 178 + <xs:simpleType name="String15"> 179 + <xs:restriction base="PXString"> 180 + <xs:maxLength value="15" /> 181 + </xs:restriction> 182 + </xs:simpleType> 183 + <xs:simpleType name="ZipCode"> 184 + <xs:restriction base="xs:string"> 185 + <xs:pattern value="[A-Z0-9\-]+" /> 186 + <xs:maxLength value="9" /> 187 + </xs:restriction> 188 + </xs:simpleType> 189 + <xs:simpleType name="VatNumber"> 190 + <xs:restriction base="xs:string"> 191 + <xs:pattern value="[A-Z]{2}.*" /> 192 + <xs:minLength value="7" /> 193 + <xs:maxLength value="14" /> 194 + </xs:restriction> 195 + </xs:simpleType> 196 + <xs:simpleType name="String50"> 197 + <xs:restriction base="xs:string"> 198 + <xs:maxLength value="50" /> 199 + </xs:restriction> 200 + </xs:simpleType> 201 + <xs:complexType name="Address"> 202 + <xs:sequence> 203 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 204 + <xs:annotation> 205 + <xs:documentation>Current full name of addressee</xs:documentation> 206 + </xs:annotation> 207 + </xs:element> 208 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 209 + <xs:annotation> 210 + <xs:documentation>Current street address</xs:documentation> 211 + </xs:annotation> 212 + </xs:element> 213 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 214 + <xs:annotation> 215 + <xs:documentation>Current zip code</xs:documentation> 216 + </xs:annotation> 217 + </xs:element> 218 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 219 + <xs:annotation> 220 + <xs:documentation>Current city</xs:documentation> 221 + </xs:annotation> 222 + </xs:element> 223 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 224 + <xs:annotation> 225 + <xs:documentation>If exists current care of address</xs:documentation> 226 + </xs:annotation> 227 + </xs:element> 228 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 229 + <xs:annotation> 230 + <xs:documentation>Current countrycode</xs:documentation> 231 + </xs:annotation> 232 + </xs:element> 233 + </xs:sequence> 234 + <xs:attribute name="AddressType" type="AddressType" use="required"> 235 + <xs:annotation> 236 + <xs:documentation>Type of address</xs:documentation> 237 + </xs:annotation> 238 + </xs:attribute> 239 + </xs:complexType> 240 + <xs:complexType name="ConsentEvent"> 241 + <xs:sequence> 242 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 243 + <xs:annotation> 244 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 245 + </xs:annotation> 246 + </xs:element> 247 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 248 + <xs:annotation> 249 + <xs:documentation>The date when the event occurred</xs:documentation> 250 + </xs:annotation> 251 + </xs:element> 252 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 253 + <xs:annotation> 254 + <xs:documentation>The state of the consent due to the event</xs:documentation> 255 + </xs:annotation> 256 + </xs:element> 257 + </xs:sequence> 258 + </xs:complexType> 259 + <xs:simpleType name="ConsentType"> 260 + <xs:restriction base="xs:string"> 261 + <xs:enumeration value="BGAGSE"> 262 + <xs:annotation> 263 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 264 + </xs:annotation> 265 + </xs:enumeration> 266 + <xs:enumeration value="EInvoiceB2CSE"> 267 + <xs:annotation> 268 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 269 + </xs:annotation> 270 + </xs:enumeration> 271 + <xs:enumeration value="BKAGNO"> 272 + <xs:annotation> 273 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 274 + </xs:annotation> 275 + </xs:enumeration> 276 + <xs:enumeration value="EInvoiceB2CNO"> 277 + <xs:annotation> 278 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 279 + </xs:annotation> 280 + </xs:enumeration> 281 + <xs:enumeration value="KivraSE"> 282 + <xs:annotation> 283 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 284 + </xs:annotation> 285 + </xs:enumeration> 286 + </xs:restriction> 287 + </xs:simpleType> 288 + <xs:simpleType name="ConsentStatus"> 289 + <xs:restriction base="xs:string"> 290 + <xs:enumeration value="Active"> 291 + <xs:annotation> 292 + <xs:documentation>The consent has been activated</xs:documentation> 293 + </xs:annotation> 294 + </xs:enumeration> 295 + <xs:enumeration value="Cancelled"> 296 + <xs:annotation> 297 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 298 + </xs:annotation> 299 + </xs:enumeration> 300 + </xs:restriction> 301 + </xs:simpleType> 302 + <xs:complexType name="CustomerStatusEvent"> 303 + <xs:sequence> 304 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 305 + <xs:annotation> 306 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 307 + </xs:annotation> 308 + </xs:element> 309 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 310 + <xs:annotation> 311 + <xs:documentation>The date when the event occurred</xs:documentation> 312 + </xs:annotation> 313 + </xs:element> 314 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 315 + <xs:annotation> 316 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 317 + </xs:annotation> 318 + </xs:element> 319 + </xs:sequence> 320 + </xs:complexType> 321 + <xs:simpleType name="CustomerStatusType"> 322 + <xs:restriction base="xs:string"> 323 + <xs:enumeration value="Deceased"> 324 + <xs:annotation> 325 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 326 + </xs:annotation> 327 + </xs:enumeration> 328 + </xs:restriction> 329 + </xs:simpleType> 330 + <xs:simpleType name="CustomerStatus"> 331 + <xs:restriction base="xs:string"> 332 + <xs:enumeration value="Active"> 333 + <xs:annotation> 334 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 335 + </xs:annotation> 336 + </xs:enumeration> 337 + <xs:enumeration value="Cancelled"> 338 + <xs:annotation> 339 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 340 + </xs:annotation> 341 + </xs:enumeration> 342 + </xs:restriction> 343 + </xs:simpleType> 344 + <xs:simpleType name="AddressType"> 345 + <xs:restriction base="xs:string"> 346 + <xs:enumeration value="LegalAddress"> 347 + <xs:annotation> 348 + <xs:documentation>Refers to the customers legal address</xs:documentation> 349 + </xs:annotation> 350 + </xs:enumeration> 351 + <xs:enumeration value="BillingAddress"> 352 + <xs:annotation> 353 + <xs:documentation>Refers to a possible billing address</xs:documentation> 354 + </xs:annotation> 355 + </xs:enumeration> 356 + </xs:restriction> 357 + </xs:simpleType> 358 + <xs:simpleType name="String10"> 359 + <xs:restriction base="PXString"> 360 + <xs:maxLength value="10" /> 361 + </xs:restriction> 362 + </xs:simpleType> 363 + <xs:simpleType name="String30"> 364 + <xs:restriction base="PXString"> 365 + <xs:maxLength value="30" /> 366 + </xs:restriction> 367 + </xs:simpleType> 368 + <xs:simpleType name="String25"> 369 + <xs:restriction base="PXString"> 370 + <xs:maxLength value="25" /> 371 + </xs:restriction> 372 + </xs:simpleType> 373 + <xs:simpleType name="NameAddressString35"> 374 + <xs:restriction base="PXNameAddressString"> 375 + <xs:maxLength value="35" /> 376 + </xs:restriction> 377 + </xs:simpleType> 378 + <xs:simpleType name="NameAddressString72"> 379 + <xs:restriction base="PXNameAddressString"> 380 + <xs:minLength value="1" /> 381 + <xs:maxLength value="72" /> 382 + </xs:restriction> 383 + </xs:simpleType> 384 + <xs:simpleType name="NameAddressString27"> 385 + <xs:restriction base="PXNameAddressString"> 386 + <xs:minLength value="1" /> 387 + <xs:maxLength value="27" /> 388 + </xs:restriction> 389 + </xs:simpleType> 390 + <xs:simpleType name="PXString"> 391 + <xs:restriction base="xs:string"> 392 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 393 + <xs:minLength value="1" /> 394 + </xs:restriction> 395 + </xs:simpleType> 396 + <xs:simpleType name="PXNameAddressString"> 397 + <xs:restriction base="xs:string"> 398 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-úü]*" /> 399 + </xs:restriction> 400 + </xs:simpleType> 401 + <xs:complexType name="RegNo"> 402 + <xs:simpleContent> 403 + <xs:extension base="String15"> 404 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 405 + </xs:extension> 406 + </xs:simpleContent> 407 + </xs:complexType> 408 + <xs:simpleType name="LegalEntity"> 409 + <xs:restriction base="xs:string"> 410 + <xs:enumeration value="Private" /> 411 + <xs:enumeration value="Business" /> 412 + </xs:restriction> 413 + </xs:simpleType> 414 +</xs:schema>
- CustomerJournal_[1.1].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.kwd - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.8 KB - Content
-
... ... @@ -1,0 +1,428 @@ 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:sequence> 108 + </xs:complexType> 109 + </xs:element> 110 + </xs:sequence> 111 + <xs:attribute name="Version" type="Version" use="required"> 112 + <xs:annotation> 113 + <xs:documentation>Versions supported by this schema</xs:documentation> 114 + </xs:annotation> 115 + </xs:attribute> 116 + <xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required"> 117 + <xs:annotation> 118 + <xs:documentation>The date and time when the file was created</xs:documentation> 119 + </xs:annotation> 120 + </xs:attribute> 121 + <xs:attribute name="CompanyNo" type="CompanyNumber" use="required" > 122 + <xs:annotation> 123 + <xs:documentation>Your accounts receivable number at PayEx</xs:documentation> 124 + </xs:annotation> 125 + </xs:attribute> 126 + <xs:attribute name="CompanyName" type="xs:string" use="required" > 127 + <xs:annotation> 128 + <xs:documentation>The name of your company/accounts recievable at PayEx</xs:documentation> 129 + </xs:annotation> 130 + </xs:attribute> 131 + </xs:complexType> 132 + </xs:element> 133 + <xs:simpleType name="Version"> 134 + <xs:restriction base="xs:string"> 135 + <xs:enumeration value="1.1"> 136 + <xs:annotation> 137 + <xs:documentation>Added new ConsentTypes EInvoiceB2CFI & EInvoice20B2CNO</xs:documentation> 138 + </xs:annotation> 139 + </xs:enumeration> 140 + </xs:restriction> 141 + </xs:simpleType> 142 + <xs:simpleType name="Identifier15"> 143 + <xs:restriction base="xs:string"> 144 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 145 + <xs:minLength value="1" /> 146 + <xs:maxLength value="15" /> 147 + </xs:restriction> 148 + </xs:simpleType> 149 + <xs:simpleType name="ISO3166"> 150 + <xs:restriction base="xs:string"> 151 + <xs:pattern value="[A-Z]*" /> 152 + <xs:minLength value="2" /> 153 + <xs:maxLength value="2" /> 154 + </xs:restriction> 155 + </xs:simpleType> 156 + <xs:simpleType name="CompanyNumber"> 157 + <xs:restriction base="xs:string"> 158 + <xs:pattern value="[0-9]*" /> 159 + <xs:minLength value="1" /> 160 + <xs:maxLength value="15" /> 161 + </xs:restriction> 162 + </xs:simpleType> 163 + <xs:simpleType name="ISO639"> 164 + <xs:restriction base="PXString"> 165 + <xs:enumeration value="SV" /> 166 + <xs:enumeration value="NO" /> 167 + <xs:enumeration value="DA" /> 168 + <xs:enumeration value="FI" /> 169 + <xs:enumeration value="EN" /> 170 + </xs:restriction> 171 + </xs:simpleType> 172 + <xs:simpleType name="String35"> 173 + <xs:restriction base="PXString"> 174 + <xs:maxLength value="35" /> 175 + </xs:restriction> 176 + </xs:simpleType> 177 + <xs:simpleType name="Email"> 178 + <xs:restriction base="PXString"> 179 + <xs:maxLength value="60" /> 180 + </xs:restriction> 181 + </xs:simpleType> 182 + <xs:simpleType name="String15"> 183 + <xs:restriction base="PXString"> 184 + <xs:maxLength value="15" /> 185 + </xs:restriction> 186 + </xs:simpleType> 187 + <xs:simpleType name="ZipCode"> 188 + <xs:restriction base="xs:string"> 189 + <xs:pattern value="[A-Z0-9\-]+" /> 190 + <xs:maxLength value="9" /> 191 + </xs:restriction> 192 + </xs:simpleType> 193 + <xs:simpleType name="VatNumber"> 194 + <xs:restriction base="xs:string"> 195 + <xs:pattern value="[A-Z]{2}.*" /> 196 + <xs:minLength value="7" /> 197 + <xs:maxLength value="14" /> 198 + </xs:restriction> 199 + </xs:simpleType> 200 + <xs:simpleType name="String50"> 201 + <xs:restriction base="xs:string"> 202 + <xs:maxLength value="50" /> 203 + </xs:restriction> 204 + </xs:simpleType> 205 + <xs:complexType name="Address"> 206 + <xs:sequence> 207 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 208 + <xs:annotation> 209 + <xs:documentation>Current full name of addressee</xs:documentation> 210 + </xs:annotation> 211 + </xs:element> 212 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 213 + <xs:annotation> 214 + <xs:documentation>Current street address</xs:documentation> 215 + </xs:annotation> 216 + </xs:element> 217 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 218 + <xs:annotation> 219 + <xs:documentation>Current zip code</xs:documentation> 220 + </xs:annotation> 221 + </xs:element> 222 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 223 + <xs:annotation> 224 + <xs:documentation>Current city</xs:documentation> 225 + </xs:annotation> 226 + </xs:element> 227 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 228 + <xs:annotation> 229 + <xs:documentation>If exists current care of address</xs:documentation> 230 + </xs:annotation> 231 + </xs:element> 232 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 233 + <xs:annotation> 234 + <xs:documentation>Current countrycode</xs:documentation> 235 + </xs:annotation> 236 + </xs:element> 237 + </xs:sequence> 238 + <xs:attribute name="AddressType" type="AddressType" use="required"> 239 + <xs:annotation> 240 + <xs:documentation>Type of address</xs:documentation> 241 + </xs:annotation> 242 + </xs:attribute> 243 + </xs:complexType> 244 + <xs:complexType name="ConsentEvent"> 245 + <xs:sequence> 246 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 247 + <xs:annotation> 248 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 249 + </xs:annotation> 250 + </xs:element> 251 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 252 + <xs:annotation> 253 + <xs:documentation>The date when the event occurred</xs:documentation> 254 + </xs:annotation> 255 + </xs:element> 256 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 257 + <xs:annotation> 258 + <xs:documentation>The state of the consent due to the event</xs:documentation> 259 + </xs:annotation> 260 + </xs:element> 261 + </xs:sequence> 262 + </xs:complexType> 263 + <xs:simpleType name="ConsentType"> 264 + <xs:restriction base="xs:string"> 265 + <xs:enumeration value="BGAGSE"> 266 + <xs:annotation> 267 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 268 + </xs:annotation> 269 + </xs:enumeration> 270 + <xs:enumeration value="EInvoiceB2CSE"> 271 + <xs:annotation> 272 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 273 + </xs:annotation> 274 + </xs:enumeration> 275 + <xs:enumeration value="BKAGNO"> 276 + <xs:annotation> 277 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 278 + </xs:annotation> 279 + </xs:enumeration> 280 + <xs:enumeration value="EInvoiceB2CNO"> 281 + <xs:annotation> 282 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 283 + </xs:annotation> 284 + </xs:enumeration> 285 + <xs:enumeration value="KivraSE"> 286 + <xs:annotation> 287 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 288 + </xs:annotation> 289 + </xs:enumeration> 290 + <xs:enumeration value="EInvoiceB2CFI"> 291 + <xs:annotation> 292 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 293 + </xs:annotation> 294 + </xs:enumeration> 295 + <xs:enumeration value="EInvoice20B2CNO"> 296 + <xs:annotation> 297 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 298 + </xs:annotation> 299 + </xs:enumeration> 300 + </xs:restriction> 301 + </xs:simpleType> 302 + <xs:simpleType name="ConsentStatus"> 303 + <xs:restriction base="xs:string"> 304 + <xs:enumeration value="Active"> 305 + <xs:annotation> 306 + <xs:documentation>The consent has been activated</xs:documentation> 307 + </xs:annotation> 308 + </xs:enumeration> 309 + <xs:enumeration value="Cancelled"> 310 + <xs:annotation> 311 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 312 + </xs:annotation> 313 + </xs:enumeration> 314 + </xs:restriction> 315 + </xs:simpleType> 316 + <xs:complexType name="CustomerStatusEvent"> 317 + <xs:sequence> 318 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 319 + <xs:annotation> 320 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 321 + </xs:annotation> 322 + </xs:element> 323 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 324 + <xs:annotation> 325 + <xs:documentation>The date when the event occurred</xs:documentation> 326 + </xs:annotation> 327 + </xs:element> 328 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 329 + <xs:annotation> 330 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 331 + </xs:annotation> 332 + </xs:element> 333 + </xs:sequence> 334 + </xs:complexType> 335 + <xs:simpleType name="CustomerStatusType"> 336 + <xs:restriction base="xs:string"> 337 + <xs:enumeration value="Deceased"> 338 + <xs:annotation> 339 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 340 + </xs:annotation> 341 + </xs:enumeration> 342 + </xs:restriction> 343 + </xs:simpleType> 344 + <xs:simpleType name="CustomerStatus"> 345 + <xs:restriction base="xs:string"> 346 + <xs:enumeration value="Active"> 347 + <xs:annotation> 348 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 349 + </xs:annotation> 350 + </xs:enumeration> 351 + <xs:enumeration value="Cancelled"> 352 + <xs:annotation> 353 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 354 + </xs:annotation> 355 + </xs:enumeration> 356 + </xs:restriction> 357 + </xs:simpleType> 358 + <xs:simpleType name="AddressType"> 359 + <xs:restriction base="xs:string"> 360 + <xs:enumeration value="LegalAddress"> 361 + <xs:annotation> 362 + <xs:documentation>Refers to the customers legal address</xs:documentation> 363 + </xs:annotation> 364 + </xs:enumeration> 365 + <xs:enumeration value="BillingAddress"> 366 + <xs:annotation> 367 + <xs:documentation>Refers to a possible billing address</xs:documentation> 368 + </xs:annotation> 369 + </xs:enumeration> 370 + </xs:restriction> 371 + </xs:simpleType> 372 + <xs:simpleType name="String10"> 373 + <xs:restriction base="PXString"> 374 + <xs:maxLength value="10" /> 375 + </xs:restriction> 376 + </xs:simpleType> 377 + <xs:simpleType name="String30"> 378 + <xs:restriction base="PXString"> 379 + <xs:maxLength value="30" /> 380 + </xs:restriction> 381 + </xs:simpleType> 382 + <xs:simpleType name="String25"> 383 + <xs:restriction base="PXString"> 384 + <xs:maxLength value="25" /> 385 + </xs:restriction> 386 + </xs:simpleType> 387 + <xs:simpleType name="NameAddressString35"> 388 + <xs:restriction base="PXNameAddressString"> 389 + <xs:maxLength value="35" /> 390 + </xs:restriction> 391 + </xs:simpleType> 392 + <xs:simpleType name="NameAddressString72"> 393 + <xs:restriction base="PXNameAddressString"> 394 + <xs:minLength value="1" /> 395 + <xs:maxLength value="72" /> 396 + </xs:restriction> 397 + </xs:simpleType> 398 + <xs:simpleType name="NameAddressString27"> 399 + <xs:restriction base="PXNameAddressString"> 400 + <xs:minLength value="1" /> 401 + <xs:maxLength value="27" /> 402 + </xs:restriction> 403 + </xs:simpleType> 404 + <xs:simpleType name="PXString"> 405 + <xs:restriction base="xs:string"> 406 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 407 + <xs:minLength value="1" /> 408 + </xs:restriction> 409 + </xs:simpleType> 410 + <xs:simpleType name="PXNameAddressString"> 411 + <xs:restriction base="xs:string"> 412 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-úü]*" /> 413 + </xs:restriction> 414 + </xs:simpleType> 415 + <xs:complexType name="RegNo"> 416 + <xs:simpleContent> 417 + <xs:extension base="String15"> 418 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 419 + </xs:extension> 420 + </xs:simpleContent> 421 + </xs:complexType> 422 + <xs:simpleType name="LegalEntity"> 423 + <xs:restriction base="xs:string"> 424 + <xs:enumeration value="Private" /> 425 + <xs:enumeration value="Business" /> 426 + </xs:restriction> 427 + </xs:simpleType> 428 +</xs:schema>
- CustomerJournal_[1.2].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.kwd - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.0 KB - Content
-
... ... @@ -1,0 +1,483 @@ 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:restriction> 161 + </xs:simpleType> 162 + <xs:simpleType name="Identifier15"> 163 + <xs:restriction base="xs:string"> 164 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 165 + <xs:minLength value="1" /> 166 + <xs:maxLength value="15" /> 167 + </xs:restriction> 168 + </xs:simpleType> 169 + <xs:simpleType name="ISO3166"> 170 + <xs:restriction base="xs:string"> 171 + <xs:pattern value="[A-Z]*" /> 172 + <xs:minLength value="2" /> 173 + <xs:maxLength value="2" /> 174 + </xs:restriction> 175 + </xs:simpleType> 176 + <xs:simpleType name="CompanyNumber"> 177 + <xs:restriction base="xs:string"> 178 + <xs:pattern value="[0-9]*" /> 179 + <xs:minLength value="1" /> 180 + <xs:maxLength value="15" /> 181 + </xs:restriction> 182 + </xs:simpleType> 183 + <xs:simpleType name="ISO639"> 184 + <xs:restriction base="PXString"> 185 + <xs:enumeration value="SV" /> 186 + <xs:enumeration value="NO" /> 187 + <xs:enumeration value="DA" /> 188 + <xs:enumeration value="FI" /> 189 + <xs:enumeration value="EN" /> 190 + </xs:restriction> 191 + </xs:simpleType> 192 + <xs:simpleType name="String35"> 193 + <xs:restriction base="PXString"> 194 + <xs:maxLength value="35" /> 195 + </xs:restriction> 196 + </xs:simpleType> 197 + <xs:simpleType name="Email"> 198 + <xs:restriction base="PXString"> 199 + <xs:maxLength value="60" /> 200 + </xs:restriction> 201 + </xs:simpleType> 202 + <xs:simpleType name="String15"> 203 + <xs:restriction base="PXString"> 204 + <xs:maxLength value="15" /> 205 + </xs:restriction> 206 + </xs:simpleType> 207 + <xs:simpleType name="ZipCode"> 208 + <xs:restriction base="xs:string"> 209 + <xs:pattern value="[A-Z0-9\-]+" /> 210 + <xs:maxLength value="9" /> 211 + </xs:restriction> 212 + </xs:simpleType> 213 + <xs:simpleType name="VatNumber"> 214 + <xs:restriction base="xs:string"> 215 + <xs:pattern value="[A-Z]{2}.*" /> 216 + <xs:minLength value="7" /> 217 + <xs:maxLength value="14" /> 218 + </xs:restriction> 219 + </xs:simpleType> 220 + <xs:simpleType name="String50"> 221 + <xs:restriction base="xs:string"> 222 + <xs:maxLength value="50" /> 223 + </xs:restriction> 224 + </xs:simpleType> 225 + <xs:complexType name="Address"> 226 + <xs:sequence> 227 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 228 + <xs:annotation> 229 + <xs:documentation>Current full name of addressee</xs:documentation> 230 + </xs:annotation> 231 + </xs:element> 232 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 233 + <xs:annotation> 234 + <xs:documentation>Current street address</xs:documentation> 235 + </xs:annotation> 236 + </xs:element> 237 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 238 + <xs:annotation> 239 + <xs:documentation>Current zip code</xs:documentation> 240 + </xs:annotation> 241 + </xs:element> 242 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 243 + <xs:annotation> 244 + <xs:documentation>Current city</xs:documentation> 245 + </xs:annotation> 246 + </xs:element> 247 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 248 + <xs:annotation> 249 + <xs:documentation>If exists current care of address</xs:documentation> 250 + </xs:annotation> 251 + </xs:element> 252 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 253 + <xs:annotation> 254 + <xs:documentation>Current countrycode</xs:documentation> 255 + </xs:annotation> 256 + </xs:element> 257 + </xs:sequence> 258 + <xs:attribute name="AddressType" type="AddressType" use="required"> 259 + <xs:annotation> 260 + <xs:documentation>Type of address</xs:documentation> 261 + </xs:annotation> 262 + </xs:attribute> 263 + </xs:complexType> 264 + <xs:complexType name="ConsentEvent"> 265 + <xs:sequence> 266 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 267 + <xs:annotation> 268 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 269 + </xs:annotation> 270 + </xs:element> 271 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 272 + <xs:annotation> 273 + <xs:documentation>The date when the event occurred</xs:documentation> 274 + </xs:annotation> 275 + </xs:element> 276 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 277 + <xs:annotation> 278 + <xs:documentation>The state of the consent due to the event</xs:documentation> 279 + </xs:annotation> 280 + </xs:element> 281 + </xs:sequence> 282 + </xs:complexType> 283 + <xs:simpleType name="ConsentType"> 284 + <xs:restriction base="xs:string"> 285 + <xs:enumeration value="BGAGSE"> 286 + <xs:annotation> 287 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 288 + </xs:annotation> 289 + </xs:enumeration> 290 + <xs:enumeration value="EInvoiceB2CSE"> 291 + <xs:annotation> 292 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 293 + </xs:annotation> 294 + </xs:enumeration> 295 + <xs:enumeration value="BKAGNO"> 296 + <xs:annotation> 297 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 298 + </xs:annotation> 299 + </xs:enumeration> 300 + <xs:enumeration value="EInvoiceB2CNO"> 301 + <xs:annotation> 302 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 303 + </xs:annotation> 304 + </xs:enumeration> 305 + <xs:enumeration value="KivraSE"> 306 + <xs:annotation> 307 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 308 + </xs:annotation> 309 + </xs:enumeration> 310 + <xs:enumeration value="EInvoiceB2CFI"> 311 + <xs:annotation> 312 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 313 + </xs:annotation> 314 + </xs:enumeration> 315 + <xs:enumeration value="EInvoice20B2CNO"> 316 + <xs:annotation> 317 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 318 + </xs:annotation> 319 + </xs:enumeration> 320 + </xs:restriction> 321 + </xs:simpleType> 322 + <xs:simpleType name="ConsentStatus"> 323 + <xs:restriction base="xs:string"> 324 + <xs:enumeration value="Active"> 325 + <xs:annotation> 326 + <xs:documentation>The consent has been activated</xs:documentation> 327 + </xs:annotation> 328 + </xs:enumeration> 329 + <xs:enumeration value="Cancelled"> 330 + <xs:annotation> 331 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 332 + </xs:annotation> 333 + </xs:enumeration> 334 + </xs:restriction> 335 + </xs:simpleType> 336 + <xs:complexType name="CustomerStatusEvent"> 337 + <xs:sequence> 338 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 339 + <xs:annotation> 340 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 341 + </xs:annotation> 342 + </xs:element> 343 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 344 + <xs:annotation> 345 + <xs:documentation>The date when the event occurred</xs:documentation> 346 + </xs:annotation> 347 + </xs:element> 348 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 349 + <xs:annotation> 350 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 351 + </xs:annotation> 352 + </xs:element> 353 + </xs:sequence> 354 + </xs:complexType> 355 + <xs:complexType name="CustomerNotificationEvent"> 356 + <xs:sequence> 357 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 358 + <xs:annotation> 359 + <xs:documentation>Reason for notification.</xs:documentation> 360 + </xs:annotation> 361 + </xs:element> 362 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 363 + <xs:annotation> 364 + <xs:documentation>The date when the event occurred</xs:documentation> 365 + </xs:annotation> 366 + </xs:element> 367 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 368 + <xs:annotation> 369 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 370 + </xs:annotation> 371 + </xs:element> 372 + </xs:sequence> 373 + </xs:complexType> 374 + <xs:simpleType name="NotificationType"> 375 + <xs:restriction base="xs:string"> 376 + <xs:enumeration value="DisbursementReturn"> 377 + <xs:annotation> 378 + <xs:documentation>Failed disbursement</xs:documentation> 379 + </xs:annotation> 380 + </xs:enumeration> 381 + </xs:restriction> 382 + </xs:simpleType> 383 + <xs:simpleType name="Money"> 384 + <xs:restriction base="xs:decimal"> 385 + <xs:fractionDigits value="2" /> 386 + <xs:minInclusive value="-100000000" /> 387 + <xs:maxInclusive value="100000000" /> 388 + </xs:restriction> 389 + </xs:simpleType> 390 + <xs:simpleType name="CustomerStatusType"> 391 + <xs:restriction base="xs:string"> 392 + <xs:enumeration value="Deceased"> 393 + <xs:annotation> 394 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 395 + </xs:annotation> 396 + </xs:enumeration> 397 + </xs:restriction> 398 + </xs:simpleType> 399 + <xs:simpleType name="CustomerStatus"> 400 + <xs:restriction base="xs:string"> 401 + <xs:enumeration value="Active"> 402 + <xs:annotation> 403 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 404 + </xs:annotation> 405 + </xs:enumeration> 406 + <xs:enumeration value="Cancelled"> 407 + <xs:annotation> 408 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 409 + </xs:annotation> 410 + </xs:enumeration> 411 + </xs:restriction> 412 + </xs:simpleType> 413 + <xs:simpleType name="AddressType"> 414 + <xs:restriction base="xs:string"> 415 + <xs:enumeration value="LegalAddress"> 416 + <xs:annotation> 417 + <xs:documentation>Refers to the customers legal address</xs:documentation> 418 + </xs:annotation> 419 + </xs:enumeration> 420 + <xs:enumeration value="BillingAddress"> 421 + <xs:annotation> 422 + <xs:documentation>Refers to a possible billing address</xs:documentation> 423 + </xs:annotation> 424 + </xs:enumeration> 425 + </xs:restriction> 426 + </xs:simpleType> 427 + <xs:simpleType name="String10"> 428 + <xs:restriction base="PXString"> 429 + <xs:maxLength value="10" /> 430 + </xs:restriction> 431 + </xs:simpleType> 432 + <xs:simpleType name="String30"> 433 + <xs:restriction base="PXString"> 434 + <xs:maxLength value="30" /> 435 + </xs:restriction> 436 + </xs:simpleType> 437 + <xs:simpleType name="String25"> 438 + <xs:restriction base="PXString"> 439 + <xs:maxLength value="25" /> 440 + </xs:restriction> 441 + </xs:simpleType> 442 + <xs:simpleType name="NameAddressString35"> 443 + <xs:restriction base="PXNameAddressString"> 444 + <xs:maxLength value="35" /> 445 + </xs:restriction> 446 + </xs:simpleType> 447 + <xs:simpleType name="NameAddressString72"> 448 + <xs:restriction base="PXNameAddressString"> 449 + <xs:minLength value="1" /> 450 + <xs:maxLength value="72" /> 451 + </xs:restriction> 452 + </xs:simpleType> 453 + <xs:simpleType name="NameAddressString27"> 454 + <xs:restriction base="PXNameAddressString"> 455 + <xs:minLength value="1" /> 456 + <xs:maxLength value="27" /> 457 + </xs:restriction> 458 + </xs:simpleType> 459 + <xs:simpleType name="PXString"> 460 + <xs:restriction base="xs:string"> 461 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 462 + <xs:minLength value="1" /> 463 + </xs:restriction> 464 + </xs:simpleType> 465 + <xs:simpleType name="PXNameAddressString"> 466 + <xs:restriction base="xs:string"> 467 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-úü]*" /> 468 + </xs:restriction> 469 + </xs:simpleType> 470 + <xs:complexType name="RegNo"> 471 + <xs:simpleContent> 472 + <xs:extension base="String15"> 473 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 474 + </xs:extension> 475 + </xs:simpleContent> 476 + </xs:complexType> 477 + <xs:simpleType name="LegalEntity"> 478 + <xs:restriction base="xs:string"> 479 + <xs:enumeration value="Private" /> 480 + <xs:enumeration value="Business" /> 481 + </xs:restriction> 482 + </xs:simpleType> 483 +</xs:schema>
- CustomerJournal_[1.3].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.6 KB - Content
-
... ... @@ -1,0 +1,493 @@ 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:restriction> 166 + </xs:simpleType> 167 + <xs:simpleType name="Identifier15"> 168 + <xs:restriction base="xs:string"> 169 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 170 + <xs:minLength value="1" /> 171 + <xs:maxLength value="15" /> 172 + </xs:restriction> 173 + </xs:simpleType> 174 + <xs:simpleType name="ISO3166"> 175 + <xs:restriction base="xs:string"> 176 + <xs:pattern value="[A-Z]*" /> 177 + <xs:minLength value="2" /> 178 + <xs:maxLength value="2" /> 179 + </xs:restriction> 180 + </xs:simpleType> 181 + <xs:simpleType name="CompanyNumber"> 182 + <xs:restriction base="xs:string"> 183 + <xs:pattern value="[0-9]*" /> 184 + <xs:minLength value="1" /> 185 + <xs:maxLength value="15" /> 186 + </xs:restriction> 187 + </xs:simpleType> 188 + <xs:simpleType name="ISO639"> 189 + <xs:restriction base="PXString"> 190 + <xs:enumeration value="SV" /> 191 + <xs:enumeration value="NO" /> 192 + <xs:enumeration value="DA" /> 193 + <xs:enumeration value="FI" /> 194 + <xs:enumeration value="EN" /> 195 + </xs:restriction> 196 + </xs:simpleType> 197 + <xs:simpleType name="String35"> 198 + <xs:restriction base="PXString"> 199 + <xs:maxLength value="35" /> 200 + </xs:restriction> 201 + </xs:simpleType> 202 + <xs:simpleType name="Email"> 203 + <xs:restriction base="PXString"> 204 + <xs:maxLength value="60" /> 205 + </xs:restriction> 206 + </xs:simpleType> 207 + <xs:simpleType name="String15"> 208 + <xs:restriction base="PXString"> 209 + <xs:maxLength value="15" /> 210 + </xs:restriction> 211 + </xs:simpleType> 212 + <xs:simpleType name="ZipCode"> 213 + <xs:restriction base="xs:string"> 214 + <xs:pattern value="[A-Z0-9\-]+" /> 215 + <xs:maxLength value="9" /> 216 + </xs:restriction> 217 + </xs:simpleType> 218 + <xs:simpleType name="VatNumber"> 219 + <xs:restriction base="xs:string"> 220 + <xs:pattern value="[A-Z]{2}.*" /> 221 + <xs:minLength value="7" /> 222 + <xs:maxLength value="14" /> 223 + </xs:restriction> 224 + </xs:simpleType> 225 + <xs:simpleType name="String50"> 226 + <xs:restriction base="xs:string"> 227 + <xs:maxLength value="50" /> 228 + </xs:restriction> 229 + </xs:simpleType> 230 + <xs:complexType name="Address"> 231 + <xs:sequence> 232 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 233 + <xs:annotation> 234 + <xs:documentation>Current full name of addressee</xs:documentation> 235 + </xs:annotation> 236 + </xs:element> 237 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 238 + <xs:annotation> 239 + <xs:documentation>Current street address</xs:documentation> 240 + </xs:annotation> 241 + </xs:element> 242 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 243 + <xs:annotation> 244 + <xs:documentation>Current zip code</xs:documentation> 245 + </xs:annotation> 246 + </xs:element> 247 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 248 + <xs:annotation> 249 + <xs:documentation>Current city</xs:documentation> 250 + </xs:annotation> 251 + </xs:element> 252 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 253 + <xs:annotation> 254 + <xs:documentation>If exists current care of address</xs:documentation> 255 + </xs:annotation> 256 + </xs:element> 257 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 258 + <xs:annotation> 259 + <xs:documentation>Current countrycode</xs:documentation> 260 + </xs:annotation> 261 + </xs:element> 262 + </xs:sequence> 263 + <xs:attribute name="AddressType" type="AddressType" use="required"> 264 + <xs:annotation> 265 + <xs:documentation>Type of address</xs:documentation> 266 + </xs:annotation> 267 + </xs:attribute> 268 + </xs:complexType> 269 + <xs:complexType name="ConsentEvent"> 270 + <xs:sequence> 271 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 272 + <xs:annotation> 273 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 274 + </xs:annotation> 275 + </xs:element> 276 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 277 + <xs:annotation> 278 + <xs:documentation>The date when the event occurred</xs:documentation> 279 + </xs:annotation> 280 + </xs:element> 281 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 282 + <xs:annotation> 283 + <xs:documentation>The state of the consent due to the event</xs:documentation> 284 + </xs:annotation> 285 + </xs:element> 286 + </xs:sequence> 287 + </xs:complexType> 288 + <xs:simpleType name="ConsentType"> 289 + <xs:restriction base="xs:string"> 290 + <xs:enumeration value="BGAGSE"> 291 + <xs:annotation> 292 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 293 + </xs:annotation> 294 + </xs:enumeration> 295 + <xs:enumeration value="EInvoiceB2CSE"> 296 + <xs:annotation> 297 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 298 + </xs:annotation> 299 + </xs:enumeration> 300 + <xs:enumeration value="BKAGNO"> 301 + <xs:annotation> 302 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 303 + </xs:annotation> 304 + </xs:enumeration> 305 + <xs:enumeration value="EInvoiceB2CNO"> 306 + <xs:annotation> 307 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 308 + </xs:annotation> 309 + </xs:enumeration> 310 + <xs:enumeration value="KivraSE"> 311 + <xs:annotation> 312 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 313 + </xs:annotation> 314 + </xs:enumeration> 315 + <xs:enumeration value="EInvoiceB2CFI"> 316 + <xs:annotation> 317 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 318 + </xs:annotation> 319 + </xs:enumeration> 320 + <xs:enumeration value="EInvoice20B2CNO"> 321 + <xs:annotation> 322 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 323 + </xs:annotation> 324 + </xs:enumeration> 325 + </xs:restriction> 326 + </xs:simpleType> 327 + <xs:simpleType name="ConsentStatus"> 328 + <xs:restriction base="xs:string"> 329 + <xs:enumeration value="Active"> 330 + <xs:annotation> 331 + <xs:documentation>The consent has been activated</xs:documentation> 332 + </xs:annotation> 333 + </xs:enumeration> 334 + <xs:enumeration value="Cancelled"> 335 + <xs:annotation> 336 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 337 + </xs:annotation> 338 + </xs:enumeration> 339 + </xs:restriction> 340 + </xs:simpleType> 341 + <xs:complexType name="CustomerStatusEvent"> 342 + <xs:sequence> 343 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 344 + <xs:annotation> 345 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 346 + </xs:annotation> 347 + </xs:element> 348 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 349 + <xs:annotation> 350 + <xs:documentation>The date when the event occurred</xs:documentation> 351 + </xs:annotation> 352 + </xs:element> 353 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 354 + <xs:annotation> 355 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 356 + </xs:annotation> 357 + </xs:element> 358 + </xs:sequence> 359 + </xs:complexType> 360 + <xs:complexType name="CustomerNotificationEvent"> 361 + <xs:sequence> 362 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 363 + <xs:annotation> 364 + <xs:documentation>Reason for notification.</xs:documentation> 365 + </xs:annotation> 366 + </xs:element> 367 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 368 + <xs:annotation> 369 + <xs:documentation>The date when the event occurred</xs:documentation> 370 + </xs:annotation> 371 + </xs:element> 372 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 373 + <xs:annotation> 374 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 375 + </xs:annotation> 376 + </xs:element> 377 + </xs:sequence> 378 + </xs:complexType> 379 + <xs:simpleType name="NotificationType"> 380 + <xs:restriction base="xs:string"> 381 + <xs:enumeration value="DisbursementReturn"> 382 + <xs:annotation> 383 + <xs:documentation>Failed disbursement</xs:documentation> 384 + </xs:annotation> 385 + </xs:enumeration> 386 + </xs:restriction> 387 + </xs:simpleType> 388 + <xs:simpleType name="Money"> 389 + <xs:restriction base="xs:decimal"> 390 + <xs:fractionDigits value="2" /> 391 + <xs:minInclusive value="-100000000" /> 392 + <xs:maxInclusive value="100000000" /> 393 + </xs:restriction> 394 + </xs:simpleType> 395 + <xs:simpleType name="CustomerStatusType"> 396 + <xs:restriction base="xs:string"> 397 + <xs:enumeration value="Deceased"> 398 + <xs:annotation> 399 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 400 + </xs:annotation> 401 + </xs:enumeration> 402 + <xs:enumeration value="BarringLevel"> 403 + <xs:annotation> 404 + <xs:documentation>A status type that can be set on consumers based on current claimlevels</xs:documentation> 405 + </xs:annotation> 406 + </xs:enumeration> 407 + </xs:restriction> 408 + </xs:simpleType> 409 + <xs:simpleType name="CustomerStatus"> 410 + <xs:restriction base="xs:string"> 411 + <xs:enumeration value="Active"> 412 + <xs:annotation> 413 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 414 + </xs:annotation> 415 + </xs:enumeration> 416 + <xs:enumeration value="Cancelled"> 417 + <xs:annotation> 418 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 419 + </xs:annotation> 420 + </xs:enumeration> 421 + </xs:restriction> 422 + </xs:simpleType> 423 + <xs:simpleType name="AddressType"> 424 + <xs:restriction base="xs:string"> 425 + <xs:enumeration value="LegalAddress"> 426 + <xs:annotation> 427 + <xs:documentation>Refers to the customers legal address</xs:documentation> 428 + </xs:annotation> 429 + </xs:enumeration> 430 + <xs:enumeration value="BillingAddress"> 431 + <xs:annotation> 432 + <xs:documentation>Refers to a possible billing address</xs:documentation> 433 + </xs:annotation> 434 + </xs:enumeration> 435 + </xs:restriction> 436 + </xs:simpleType> 437 + <xs:simpleType name="String10"> 438 + <xs:restriction base="PXString"> 439 + <xs:maxLength value="10" /> 440 + </xs:restriction> 441 + </xs:simpleType> 442 + <xs:simpleType name="String30"> 443 + <xs:restriction base="PXString"> 444 + <xs:maxLength value="30" /> 445 + </xs:restriction> 446 + </xs:simpleType> 447 + <xs:simpleType name="String25"> 448 + <xs:restriction base="PXString"> 449 + <xs:maxLength value="25" /> 450 + </xs:restriction> 451 + </xs:simpleType> 452 + <xs:simpleType name="NameAddressString35"> 453 + <xs:restriction base="PXNameAddressString"> 454 + <xs:maxLength value="35" /> 455 + </xs:restriction> 456 + </xs:simpleType> 457 + <xs:simpleType name="NameAddressString72"> 458 + <xs:restriction base="PXNameAddressString"> 459 + <xs:minLength value="1" /> 460 + <xs:maxLength value="72" /> 461 + </xs:restriction> 462 + </xs:simpleType> 463 + <xs:simpleType name="NameAddressString27"> 464 + <xs:restriction base="PXNameAddressString"> 465 + <xs:minLength value="1" /> 466 + <xs:maxLength value="27" /> 467 + </xs:restriction> 468 + </xs:simpleType> 469 + <xs:simpleType name="PXString"> 470 + <xs:restriction base="xs:string"> 471 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 472 + <xs:minLength value="1" /> 473 + </xs:restriction> 474 + </xs:simpleType> 475 + <xs:simpleType name="PXNameAddressString"> 476 + <xs:restriction base="xs:string"> 477 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-úü]*" /> 478 + </xs:restriction> 479 + </xs:simpleType> 480 + <xs:complexType name="RegNo"> 481 + <xs:simpleContent> 482 + <xs:extension base="String15"> 483 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 484 + </xs:extension> 485 + </xs:simpleContent> 486 + </xs:complexType> 487 + <xs:simpleType name="LegalEntity"> 488 + <xs:restriction base="xs:string"> 489 + <xs:enumeration value="Private" /> 490 + <xs:enumeration value="Business" /> 491 + </xs:restriction> 492 + </xs:simpleType> 493 +</xs:schema>
- CustomerJournal_[1.4].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.2 KB - Content
-
... ... @@ -1,0 +1,508 @@ 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:restriction> 171 + </xs:simpleType> 172 + <xs:simpleType name="Identifier15"> 173 + <xs:restriction base="xs:string"> 174 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 175 + <xs:minLength value="1" /> 176 + <xs:maxLength value="15" /> 177 + </xs:restriction> 178 + </xs:simpleType> 179 + <xs:simpleType name="ISO3166"> 180 + <xs:restriction base="xs:string"> 181 + <xs:pattern value="[A-Z]*" /> 182 + <xs:minLength value="2" /> 183 + <xs:maxLength value="2" /> 184 + </xs:restriction> 185 + </xs:simpleType> 186 + <xs:simpleType name="CompanyNumber"> 187 + <xs:restriction base="xs:string"> 188 + <xs:pattern value="[0-9]*" /> 189 + <xs:minLength value="1" /> 190 + <xs:maxLength value="15" /> 191 + </xs:restriction> 192 + </xs:simpleType> 193 + <xs:simpleType name="ISO639"> 194 + <xs:restriction base="PXString"> 195 + <xs:enumeration value="SV" /> 196 + <xs:enumeration value="NO" /> 197 + <xs:enumeration value="DA" /> 198 + <xs:enumeration value="FI" /> 199 + <xs:enumeration value="EN" /> 200 + </xs:restriction> 201 + </xs:simpleType> 202 + <xs:simpleType name="String35"> 203 + <xs:restriction base="PXString"> 204 + <xs:maxLength value="35" /> 205 + </xs:restriction> 206 + </xs:simpleType> 207 + <xs:simpleType name="Email"> 208 + <xs:restriction base="PXString"> 209 + <xs:maxLength value="60" /> 210 + </xs:restriction> 211 + </xs:simpleType> 212 + <xs:simpleType name="String15"> 213 + <xs:restriction base="PXString"> 214 + <xs:maxLength value="15" /> 215 + </xs:restriction> 216 + </xs:simpleType> 217 + <xs:simpleType name="ZipCode"> 218 + <xs:restriction base="xs:string"> 219 + <xs:pattern value="[A-Z0-9\-]+" /> 220 + <xs:maxLength value="9" /> 221 + </xs:restriction> 222 + </xs:simpleType> 223 + <xs:simpleType name="VatNumber"> 224 + <xs:restriction base="xs:string"> 225 + <xs:pattern value="[A-Z]{2}.*" /> 226 + <xs:minLength value="7" /> 227 + <xs:maxLength value="14" /> 228 + </xs:restriction> 229 + </xs:simpleType> 230 + <xs:simpleType name="String50"> 231 + <xs:restriction base="xs:string"> 232 + <xs:maxLength value="50" /> 233 + </xs:restriction> 234 + </xs:simpleType> 235 + <xs:complexType name="Address"> 236 + <xs:sequence> 237 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 238 + <xs:annotation> 239 + <xs:documentation>Current full name of addressee</xs:documentation> 240 + </xs:annotation> 241 + </xs:element> 242 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 243 + <xs:annotation> 244 + <xs:documentation>Current street address</xs:documentation> 245 + </xs:annotation> 246 + </xs:element> 247 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 248 + <xs:annotation> 249 + <xs:documentation>Current zip code</xs:documentation> 250 + </xs:annotation> 251 + </xs:element> 252 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 253 + <xs:annotation> 254 + <xs:documentation>Current city</xs:documentation> 255 + </xs:annotation> 256 + </xs:element> 257 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 258 + <xs:annotation> 259 + <xs:documentation>If exists current care of address</xs:documentation> 260 + </xs:annotation> 261 + </xs:element> 262 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 263 + <xs:annotation> 264 + <xs:documentation>Current countrycode</xs:documentation> 265 + </xs:annotation> 266 + </xs:element> 267 + </xs:sequence> 268 + <xs:attribute name="AddressType" type="AddressType" use="required"> 269 + <xs:annotation> 270 + <xs:documentation>Type of address</xs:documentation> 271 + </xs:annotation> 272 + </xs:attribute> 273 + </xs:complexType> 274 + <xs:complexType name="ConsentEvent"> 275 + <xs:sequence> 276 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 277 + <xs:annotation> 278 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 279 + </xs:annotation> 280 + </xs:element> 281 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 282 + <xs:annotation> 283 + <xs:documentation>The date when the event occurred</xs:documentation> 284 + </xs:annotation> 285 + </xs:element> 286 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 287 + <xs:annotation> 288 + <xs:documentation>The state of the consent due to the event</xs:documentation> 289 + </xs:annotation> 290 + </xs:element> 291 + </xs:sequence> 292 + </xs:complexType> 293 + <xs:simpleType name="ConsentType"> 294 + <xs:restriction base="xs:string"> 295 + <xs:enumeration value="BGAGSE"> 296 + <xs:annotation> 297 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 298 + </xs:annotation> 299 + </xs:enumeration> 300 + <xs:enumeration value="EInvoiceB2CSE"> 301 + <xs:annotation> 302 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 303 + </xs:annotation> 304 + </xs:enumeration> 305 + <xs:enumeration value="BKAGNO"> 306 + <xs:annotation> 307 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 308 + </xs:annotation> 309 + </xs:enumeration> 310 + <xs:enumeration value="EInvoiceB2CNO"> 311 + <xs:annotation> 312 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 313 + </xs:annotation> 314 + </xs:enumeration> 315 + <xs:enumeration value="KivraSE"> 316 + <xs:annotation> 317 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 318 + </xs:annotation> 319 + </xs:enumeration> 320 + <xs:enumeration value="EInvoiceB2CFI"> 321 + <xs:annotation> 322 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 323 + </xs:annotation> 324 + </xs:enumeration> 325 + <xs:enumeration value="EInvoice20B2CNO"> 326 + <xs:annotation> 327 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 328 + </xs:annotation> 329 + </xs:enumeration> 330 + <xs:enumeration value="AGDK"> 331 + <xs:annotation> 332 + <xs:documentation>Refers to Danish direct debit consent.</xs:documentation> 333 + </xs:annotation> 334 + </xs:enumeration> 335 + <xs:enumeration value="PSPRecurringCardConsent"> 336 + <xs:annotation> 337 + <xs:documentation>Refers to a PSPRecurringCardConsent</xs:documentation> 338 + </xs:annotation> 339 + </xs:enumeration> 340 + </xs:restriction> 341 + </xs:simpleType> 342 + <xs:simpleType name="ConsentStatus"> 343 + <xs:restriction base="xs:string"> 344 + <xs:enumeration value="Active"> 345 + <xs:annotation> 346 + <xs:documentation>The consent has been activated</xs:documentation> 347 + </xs:annotation> 348 + </xs:enumeration> 349 + <xs:enumeration value="Cancelled"> 350 + <xs:annotation> 351 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 352 + </xs:annotation> 353 + </xs:enumeration> 354 + </xs:restriction> 355 + </xs:simpleType> 356 + <xs:complexType name="CustomerStatusEvent"> 357 + <xs:sequence> 358 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 359 + <xs:annotation> 360 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 361 + </xs:annotation> 362 + </xs:element> 363 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 364 + <xs:annotation> 365 + <xs:documentation>The date when the event occurred</xs:documentation> 366 + </xs:annotation> 367 + </xs:element> 368 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 369 + <xs:annotation> 370 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 371 + </xs:annotation> 372 + </xs:element> 373 + </xs:sequence> 374 + </xs:complexType> 375 + <xs:complexType name="CustomerNotificationEvent"> 376 + <xs:sequence> 377 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 378 + <xs:annotation> 379 + <xs:documentation>Reason for notification.</xs:documentation> 380 + </xs:annotation> 381 + </xs:element> 382 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 383 + <xs:annotation> 384 + <xs:documentation>The date when the event occurred</xs:documentation> 385 + </xs:annotation> 386 + </xs:element> 387 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 388 + <xs:annotation> 389 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 390 + </xs:annotation> 391 + </xs:element> 392 + </xs:sequence> 393 + </xs:complexType> 394 + <xs:simpleType name="NotificationType"> 395 + <xs:restriction base="xs:string"> 396 + <xs:enumeration value="DisbursementReturn"> 397 + <xs:annotation> 398 + <xs:documentation>Failed disbursement</xs:documentation> 399 + </xs:annotation> 400 + </xs:enumeration> 401 + </xs:restriction> 402 + </xs:simpleType> 403 + <xs:simpleType name="Money"> 404 + <xs:restriction base="xs:decimal"> 405 + <xs:fractionDigits value="2" /> 406 + <xs:minInclusive value="-100000000" /> 407 + <xs:maxInclusive value="100000000" /> 408 + </xs:restriction> 409 + </xs:simpleType> 410 + <xs:simpleType name="CustomerStatusType"> 411 + <xs:restriction base="xs:string"> 412 + <xs:enumeration value="Deceased"> 413 + <xs:annotation> 414 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 415 + </xs:annotation> 416 + </xs:enumeration> 417 + <xs:enumeration value="BarringLevel"> 418 + <xs:annotation> 419 + <xs:documentation>A status type that can be set on consumers based on current claimlevels</xs:documentation> 420 + </xs:annotation> 421 + </xs:enumeration> 422 + </xs:restriction> 423 + </xs:simpleType> 424 + <xs:simpleType name="CustomerStatus"> 425 + <xs:restriction base="xs:string"> 426 + <xs:enumeration value="Active"> 427 + <xs:annotation> 428 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 429 + </xs:annotation> 430 + </xs:enumeration> 431 + <xs:enumeration value="Cancelled"> 432 + <xs:annotation> 433 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 434 + </xs:annotation> 435 + </xs:enumeration> 436 + </xs:restriction> 437 + </xs:simpleType> 438 + <xs:simpleType name="AddressType"> 439 + <xs:restriction base="xs:string"> 440 + <xs:enumeration value="LegalAddress"> 441 + <xs:annotation> 442 + <xs:documentation>Refers to the customers legal address</xs:documentation> 443 + </xs:annotation> 444 + </xs:enumeration> 445 + <xs:enumeration value="BillingAddress"> 446 + <xs:annotation> 447 + <xs:documentation>Refers to a possible billing address</xs:documentation> 448 + </xs:annotation> 449 + </xs:enumeration> 450 + </xs:restriction> 451 + </xs:simpleType> 452 + <xs:simpleType name="String10"> 453 + <xs:restriction base="PXString"> 454 + <xs:maxLength value="10" /> 455 + </xs:restriction> 456 + </xs:simpleType> 457 + <xs:simpleType name="String30"> 458 + <xs:restriction base="PXString"> 459 + <xs:maxLength value="30" /> 460 + </xs:restriction> 461 + </xs:simpleType> 462 + <xs:simpleType name="String25"> 463 + <xs:restriction base="PXString"> 464 + <xs:maxLength value="25" /> 465 + </xs:restriction> 466 + </xs:simpleType> 467 + <xs:simpleType name="NameAddressString35"> 468 + <xs:restriction base="PXNameAddressString"> 469 + <xs:maxLength value="35" /> 470 + </xs:restriction> 471 + </xs:simpleType> 472 + <xs:simpleType name="NameAddressString72"> 473 + <xs:restriction base="PXNameAddressString"> 474 + <xs:minLength value="1" /> 475 + <xs:maxLength value="72" /> 476 + </xs:restriction> 477 + </xs:simpleType> 478 + <xs:simpleType name="NameAddressString27"> 479 + <xs:restriction base="PXNameAddressString"> 480 + <xs:minLength value="1" /> 481 + <xs:maxLength value="27" /> 482 + </xs:restriction> 483 + </xs:simpleType> 484 + <xs:simpleType name="PXString"> 485 + <xs:restriction base="xs:string"> 486 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 487 + <xs:minLength value="1" /> 488 + </xs:restriction> 489 + </xs:simpleType> 490 + <xs:simpleType name="PXNameAddressString"> 491 + <xs:restriction base="xs:string"> 492 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-úü]*" /> 493 + </xs:restriction> 494 + </xs:simpleType> 495 + <xs:complexType name="RegNo"> 496 + <xs:simpleContent> 497 + <xs:extension base="String15"> 498 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 499 + </xs:extension> 500 + </xs:simpleContent> 501 + </xs:complexType> 502 + <xs:simpleType name="LegalEntity"> 503 + <xs:restriction base="xs:string"> 504 + <xs:enumeration value="Private" /> 505 + <xs:enumeration value="Business" /> 506 + </xs:restriction> 507 + </xs:simpleType> 508 +</xs:schema>
- SIE4I_10_20161214093949_0[SEK_Claimant_BAS 2000].SI
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.frn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +569 bytes - Content
-
... ... @@ -1,0 +1,26 @@ 1 +#FLAGGA 0 2 +#PROGRAM PayEx.AR.Batch.SIE4I 2016.12.344.1 3 +#FORMAT PC8 4 +#GEN 20161214 1321557 5 +#SIETYP 4 6 +#KPTYP "BAS 2000" 7 +#VALUTA SEK 8 +#FNAMN "TestFirma 10" 9 +#ORGNR 556735-56710 10 +#KONTO 1510 "Kundfordingar PayEx" 11 +#KTYP 1510 O 12 +#KONTO 1684 "Kortfristig fordran PayEx" 13 +#KTYP 1684 O 14 +#KONTO 3710 "Nedskrivningar av int�kter" 15 +#KTYP 3710 I 16 +#VER C 77002 20161213 17 +{ 18 + #TRANS 1510 {} -250.00 20161213 19 + #TRANS 1510 {} 250.00 20161213 20 +} 21 +#VER C 77003 20161213 22 +{ 23 + #TRANS 1510 {} -2500.00 20161222 24 + #TRANS 1684 {} 2499.50 20161222 25 + #TRANS 3710 {} 0.50 20161222 26 +}
- CustomerJournal_[1.5].xsd
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.rae - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.6 KB - Content
-
... ... @@ -1,0 +1,518 @@ 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:restriction> 176 + </xs:simpleType> 177 + <xs:simpleType name="Identifier15"> 178 + <xs:restriction base="xs:string"> 179 + <xs:pattern value="[a-zA-Z0-9äåöÄÅÖ&/_ -.]*" /> 180 + <xs:minLength value="1" /> 181 + <xs:maxLength value="15" /> 182 + </xs:restriction> 183 + </xs:simpleType> 184 + <xs:simpleType name="ISO3166"> 185 + <xs:restriction base="xs:string"> 186 + <xs:pattern value="[A-Z]*" /> 187 + <xs:minLength value="2" /> 188 + <xs:maxLength value="2" /> 189 + </xs:restriction> 190 + </xs:simpleType> 191 + <xs:simpleType name="CompanyNumber"> 192 + <xs:restriction base="xs:string"> 193 + <xs:pattern value="[0-9]*" /> 194 + <xs:minLength value="1" /> 195 + <xs:maxLength value="15" /> 196 + </xs:restriction> 197 + </xs:simpleType> 198 + <xs:simpleType name="ISO639"> 199 + <xs:restriction base="PXString"> 200 + <xs:enumeration value="SV" /> 201 + <xs:enumeration value="NO" /> 202 + <xs:enumeration value="DA" /> 203 + <xs:enumeration value="FI" /> 204 + <xs:enumeration value="EN" /> 205 + </xs:restriction> 206 + </xs:simpleType> 207 + <xs:simpleType name="String35"> 208 + <xs:restriction base="PXString"> 209 + <xs:maxLength value="35" /> 210 + </xs:restriction> 211 + </xs:simpleType> 212 + <xs:simpleType name="Email"> 213 + <xs:restriction base="PXString"> 214 + <xs:maxLength value="60" /> 215 + </xs:restriction> 216 + </xs:simpleType> 217 + <xs:simpleType name="String15"> 218 + <xs:restriction base="PXString"> 219 + <xs:maxLength value="15" /> 220 + </xs:restriction> 221 + </xs:simpleType> 222 + <xs:simpleType name="ZipCode"> 223 + <xs:restriction base="xs:string"> 224 + <xs:pattern value="[A-Z0-9\-]+" /> 225 + <xs:maxLength value="9" /> 226 + </xs:restriction> 227 + </xs:simpleType> 228 + <xs:simpleType name="VatNumber"> 229 + <xs:restriction base="xs:string"> 230 + <xs:pattern value="[A-Z]{2}.*" /> 231 + <xs:minLength value="7" /> 232 + <xs:maxLength value="14" /> 233 + </xs:restriction> 234 + </xs:simpleType> 235 + <xs:simpleType name="String50"> 236 + <xs:restriction base="xs:string"> 237 + <xs:maxLength value="50" /> 238 + </xs:restriction> 239 + </xs:simpleType> 240 + <xs:complexType name="Address"> 241 + <xs:sequence> 242 + <xs:element minOccurs="1" maxOccurs="1" type="NameAddressString72" name="Addressee"> 243 + <xs:annotation> 244 + <xs:documentation>Current full name of addressee</xs:documentation> 245 + </xs:annotation> 246 + </xs:element> 247 + <xs:element name="StreetAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 248 + <xs:annotation> 249 + <xs:documentation>Current street address</xs:documentation> 250 + </xs:annotation> 251 + </xs:element> 252 + <xs:element name="ZipCode" type="ZipCode" maxOccurs="1" minOccurs="1" nillable="false"> 253 + <xs:annotation> 254 + <xs:documentation>Current zip code</xs:documentation> 255 + </xs:annotation> 256 + </xs:element> 257 + <xs:element name="City" type="NameAddressString27" minOccurs="1" maxOccurs="1" nillable="false"> 258 + <xs:annotation> 259 + <xs:documentation>Current city</xs:documentation> 260 + </xs:annotation> 261 + </xs:element> 262 + <xs:element name="CoAddress" type="NameAddressString35" minOccurs="0" maxOccurs="1" nillable="false"> 263 + <xs:annotation> 264 + <xs:documentation>If exists current care of address</xs:documentation> 265 + </xs:annotation> 266 + </xs:element> 267 + <xs:element name="CountryCode" type="ISO3166" minOccurs="1" maxOccurs="1"> 268 + <xs:annotation> 269 + <xs:documentation>Current countrycode</xs:documentation> 270 + </xs:annotation> 271 + </xs:element> 272 + </xs:sequence> 273 + <xs:attribute name="AddressType" type="AddressType" use="required"> 274 + <xs:annotation> 275 + <xs:documentation>Type of address</xs:documentation> 276 + </xs:annotation> 277 + </xs:attribute> 278 + </xs:complexType> 279 + <xs:complexType name="ConsentEvent"> 280 + <xs:sequence> 281 + <xs:element type="ConsentType" name="ConsentType" minOccurs="1" maxOccurs="1" nillable="false"> 282 + <xs:annotation> 283 + <xs:documentation>The type of consent affected by the event/change</xs:documentation> 284 + </xs:annotation> 285 + </xs:element> 286 + <xs:element name="ConsentEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 287 + <xs:annotation> 288 + <xs:documentation>The date when the event occurred</xs:documentation> 289 + </xs:annotation> 290 + </xs:element> 291 + <xs:element name="Status" type="ConsentStatus" maxOccurs="1" minOccurs="1" nillable="false"> 292 + <xs:annotation> 293 + <xs:documentation>The state of the consent due to the event</xs:documentation> 294 + </xs:annotation> 295 + </xs:element> 296 + </xs:sequence> 297 + </xs:complexType> 298 + <xs:simpleType name="ConsentType"> 299 + <xs:restriction base="xs:string"> 300 + <xs:enumeration value="BGAGSE"> 301 + <xs:annotation> 302 + <xs:documentation>Refers to a Swedish direct debit consent.</xs:documentation> 303 + </xs:annotation> 304 + </xs:enumeration> 305 + <xs:enumeration value="EInvoiceB2CSE"> 306 + <xs:annotation> 307 + <xs:documentation>Refers to a Swedish B2C E-invoice consent.</xs:documentation> 308 + </xs:annotation> 309 + </xs:enumeration> 310 + <xs:enumeration value="BKAGNO"> 311 + <xs:annotation> 312 + <xs:documentation>Refers to a Norwegian direct debit consent.</xs:documentation> 313 + </xs:annotation> 314 + </xs:enumeration> 315 + <xs:enumeration value="EInvoiceB2CNO"> 316 + <xs:annotation> 317 + <xs:documentation>Refers to a Norwegian B2C E-invoice consent.</xs:documentation> 318 + </xs:annotation> 319 + </xs:enumeration> 320 + <xs:enumeration value="KivraSE"> 321 + <xs:annotation> 322 + <xs:documentation>Refers to a Kivra digital distribution consent.</xs:documentation> 323 + </xs:annotation> 324 + </xs:enumeration> 325 + <xs:enumeration value="EInvoiceB2CFI"> 326 + <xs:annotation> 327 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 328 + </xs:annotation> 329 + </xs:enumeration> 330 + <xs:enumeration value="EInvoice20B2CNO"> 331 + <xs:annotation> 332 + <xs:documentation>Refers to a Finnish B2C E-invoice consent.</xs:documentation> 333 + </xs:annotation> 334 + </xs:enumeration> 335 + <xs:enumeration value="AGDK"> 336 + <xs:annotation> 337 + <xs:documentation>Refers to Danish direct debit consent.</xs:documentation> 338 + </xs:annotation> 339 + </xs:enumeration> 340 + <xs:enumeration value="PSPRecurringCardConsent"> 341 + <xs:annotation> 342 + <xs:documentation>Refers to a PSPRecurringCardConsent</xs:documentation> 343 + </xs:annotation> 344 + </xs:enumeration> 345 + <xs:enumeration value="eBoks"> 346 + <xs:annotation> 347 + <xs:documentation>Refers to a eBoks digital distribution consent.</xs:documentation> 348 + </xs:annotation> 349 + </xs:enumeration> 350 + </xs:restriction> 351 + </xs:simpleType> 352 + <xs:simpleType name="ConsentStatus"> 353 + <xs:restriction base="xs:string"> 354 + <xs:enumeration value="Active"> 355 + <xs:annotation> 356 + <xs:documentation>The consent has been activated</xs:documentation> 357 + </xs:annotation> 358 + </xs:enumeration> 359 + <xs:enumeration value="Cancelled"> 360 + <xs:annotation> 361 + <xs:documentation>The consent has been deactivated/cancelled</xs:documentation> 362 + </xs:annotation> 363 + </xs:enumeration> 364 + </xs:restriction> 365 + </xs:simpleType> 366 + <xs:complexType name="CustomerStatusEvent"> 367 + <xs:sequence> 368 + <xs:element type="CustomerStatusType" name="CustomerStatusType" minOccurs="1" maxOccurs="1" nillable="false"> 369 + <xs:annotation> 370 + <xs:documentation>The type of status that has been affected by the event/change.</xs:documentation> 371 + </xs:annotation> 372 + </xs:element> 373 + <xs:element name="CustomerStatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 374 + <xs:annotation> 375 + <xs:documentation>The date when the event occurred</xs:documentation> 376 + </xs:annotation> 377 + </xs:element> 378 + <xs:element name="Status" type="CustomerStatus" maxOccurs="1" minOccurs="1" nillable="false"> 379 + <xs:annotation> 380 + <xs:documentation>The state of the customer status due to the event</xs:documentation> 381 + </xs:annotation> 382 + </xs:element> 383 + </xs:sequence> 384 + </xs:complexType> 385 + <xs:complexType name="CustomerNotificationEvent"> 386 + <xs:sequence> 387 + <xs:element type="NotificationType" name="NotificationType" minOccurs="1" maxOccurs="1" nillable="false"> 388 + <xs:annotation> 389 + <xs:documentation>Reason for notification.</xs:documentation> 390 + </xs:annotation> 391 + </xs:element> 392 + <xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false"> 393 + <xs:annotation> 394 + <xs:documentation>The date when the event occurred</xs:documentation> 395 + </xs:annotation> 396 + </xs:element> 397 + <xs:element name="Amount" type="Money" maxOccurs="1" minOccurs="1" nillable="false"> 398 + <xs:annotation> 399 + <xs:documentation>Amount returned on failed disbursement</xs:documentation> 400 + </xs:annotation> 401 + </xs:element> 402 + </xs:sequence> 403 + </xs:complexType> 404 + <xs:simpleType name="NotificationType"> 405 + <xs:restriction base="xs:string"> 406 + <xs:enumeration value="DisbursementReturn"> 407 + <xs:annotation> 408 + <xs:documentation>Failed disbursement</xs:documentation> 409 + </xs:annotation> 410 + </xs:enumeration> 411 + </xs:restriction> 412 + </xs:simpleType> 413 + <xs:simpleType name="Money"> 414 + <xs:restriction base="xs:decimal"> 415 + <xs:fractionDigits value="2" /> 416 + <xs:minInclusive value="-100000000" /> 417 + <xs:maxInclusive value="100000000" /> 418 + </xs:restriction> 419 + </xs:simpleType> 420 + <xs:simpleType name="CustomerStatusType"> 421 + <xs:restriction base="xs:string"> 422 + <xs:enumeration value="Deceased"> 423 + <xs:annotation> 424 + <xs:documentation>A status type that can be set on consumers</xs:documentation> 425 + </xs:annotation> 426 + </xs:enumeration> 427 + <xs:enumeration value="BarringLevel"> 428 + <xs:annotation> 429 + <xs:documentation>A status type that can be set on consumers based on current claimlevels</xs:documentation> 430 + </xs:annotation> 431 + </xs:enumeration> 432 + </xs:restriction> 433 + </xs:simpleType> 434 + <xs:simpleType name="CustomerStatus"> 435 + <xs:restriction base="xs:string"> 436 + <xs:enumeration value="Active"> 437 + <xs:annotation> 438 + <xs:documentation>The status has been activated on the customer.</xs:documentation> 439 + </xs:annotation> 440 + </xs:enumeration> 441 + <xs:enumeration value="Cancelled"> 442 + <xs:annotation> 443 + <xs:documentation>The status has been deactivted on the customer.</xs:documentation> 444 + </xs:annotation> 445 + </xs:enumeration> 446 + </xs:restriction> 447 + </xs:simpleType> 448 + <xs:simpleType name="AddressType"> 449 + <xs:restriction base="xs:string"> 450 + <xs:enumeration value="LegalAddress"> 451 + <xs:annotation> 452 + <xs:documentation>Refers to the customers legal address</xs:documentation> 453 + </xs:annotation> 454 + </xs:enumeration> 455 + <xs:enumeration value="BillingAddress"> 456 + <xs:annotation> 457 + <xs:documentation>Refers to a possible billing address</xs:documentation> 458 + </xs:annotation> 459 + </xs:enumeration> 460 + </xs:restriction> 461 + </xs:simpleType> 462 + <xs:simpleType name="String10"> 463 + <xs:restriction base="PXString"> 464 + <xs:maxLength value="10" /> 465 + </xs:restriction> 466 + </xs:simpleType> 467 + <xs:simpleType name="String30"> 468 + <xs:restriction base="PXString"> 469 + <xs:maxLength value="30" /> 470 + </xs:restriction> 471 + </xs:simpleType> 472 + <xs:simpleType name="String25"> 473 + <xs:restriction base="PXString"> 474 + <xs:maxLength value="25" /> 475 + </xs:restriction> 476 + </xs:simpleType> 477 + <xs:simpleType name="NameAddressString35"> 478 + <xs:restriction base="PXNameAddressString"> 479 + <xs:maxLength value="35" /> 480 + </xs:restriction> 481 + </xs:simpleType> 482 + <xs:simpleType name="NameAddressString72"> 483 + <xs:restriction base="PXNameAddressString"> 484 + <xs:minLength value="1" /> 485 + <xs:maxLength value="72" /> 486 + </xs:restriction> 487 + </xs:simpleType> 488 + <xs:simpleType name="NameAddressString27"> 489 + <xs:restriction base="PXNameAddressString"> 490 + <xs:minLength value="1" /> 491 + <xs:maxLength value="27" /> 492 + </xs:restriction> 493 + </xs:simpleType> 494 + <xs:simpleType name="PXString"> 495 + <xs:restriction base="xs:string"> 496 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-ú]*" /> 497 + <xs:minLength value="1" /> 498 + </xs:restriction> 499 + </xs:simpleType> 500 + <xs:simpleType name="PXNameAddressString"> 501 + <xs:restriction base="xs:string"> 502 + <xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/À-ÖØ-öø-úü]*" /> 503 + </xs:restriction> 504 + </xs:simpleType> 505 + <xs:complexType name="RegNo"> 506 + <xs:simpleContent> 507 + <xs:extension base="String15"> 508 + <xs:attribute name="CountryCode" type="ISO3166" use="required" /> 509 + </xs:extension> 510 + </xs:simpleContent> 511 + </xs:complexType> 512 + <xs:simpleType name="LegalEntity"> 513 + <xs:restriction base="xs:string"> 514 + <xs:enumeration value="Private" /> 515 + <xs:enumeration value="Business" /> 516 + </xs:restriction> 517 + </xs:simpleType> 518 +</xs:schema>