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