Wiki source code of 05. CustomerJournal

Last modified by Thomas Hedström on 2025/12/11 10:08
Hide last authors
David Persson 2.1 1 (% class="jumbotron" %)
2 (((
3 (% class="container" %)
4 (((
Fredrik Nilsson 7.1 5 This is a technical overview of the response file Customer Journal you retrieve from PayEx. The CustomerJournal displays changes in customer status that relates to contracted services.
David Persson 2.1 6 )))
7 )))
8
9 {{warning}}
10 Please note that your Response files might only utilize and/or contain a subset of all elements described below. See the XSD version for your response files to learn more.
11 {{/warning}}
12
13 == Overview ==
14
15 The Customer Journal displays changes in Customer status - in Accounts receivable - that relates to contracted services.
16
17 Entries in the Customer Journal could stem from events such as:
18
19 * A new legal address has been identified.
Fredrik Nilsson 34.1 20 * Activation / deactivation of payment methods, i.e. direct debit.
21 * Activation / deactivation of distribution methods, i.e. eFaktura B2C.
David Persson 2.1 22 * That the end customer has been registered as deceased,
23
David Persson 4.1 24 [[image:https://developer.payex.com/xwiki/wiki/developer/download/Main/Invoicing-copy/invoice-service-overview/technical-reference/5.%20CustomerJournal/WebHome/CustomerJournal%20%2814%29.svg?width=445&height=897||alt="CustomerJournal (14).svg" height="911" width="452"]]
David Persson 2.1 25
26 (% id="HRecordDescription" %)
27 == Name Convention ==
28
29 ##CUSTOMERJOURNAL_<CompanyNumber>_<DatumTime>_<SerialNumber>.xml##
30
31 (% class="table-bordered table-striped" %)
Jens Kral 23.1 32 |=Name components|=Description
David Persson 2.1 33 |CompanyNumber|The company number in our ledger system
Daniel Franzén 13.1 34 |DateTime|The date and time that the file was created. Uses ISO 8601 format, ##YYYYMMDDhhmmdd##
Jens Kral 22.1 35 |SerialNumber|Should follow an uninterrupted number series, 1, 2, 3 and so on.
David Persson 2.1 36
37 E.g. ##CUSTOMERJOURNAL_9999_20080923124422_1.xml##
38
39 == Current XML schema description ==
40
41 (% class="wikigeneratedid" %)
Fredrik Nilsson 19.1 42 A detailed description of the elements in the current version of the XML schema definition file (XSD) can be found [[here>>doc:Main.Invoicing.invoice-service.Implementation guide.Technical reference.CustomerJournal.XML Schema specification.WebHome]]
David Persson 2.1 43
Fredrik Nilsson 8.1 44 == Download current XML schema file ==
David Persson 2.1 45
46 (% class="row" %)
47 (((
48 (% class="col-xs-12" %)
49 (((
50 (% border="0" style="width:1023px" %)
51 |=(% style="width: 208px; background-color: rgb(237, 237, 237);" %)Fileversion|=(% style="width: 213px; background-color: rgb(237, 237, 237);" %)Version|=(% style="width: 288px; background-color: rgb(237, 237, 237);" %)Releasedate|=(% style="width: 585px; background-color: rgb(237, 237, 237);" %)Comment
Thomas Hedström 36.1 52 |(% style="width:208px" %)[[CustomerJournal_[1.6].xsd>>attach:CustomerJournal_[1.6].xsd]]|(% style="width:213px" %)1.6|(% style="width:288px" %)2022|(% style="width:585px" %)Allows a wider range of chars for Name, Addressee, StreetAddress, COAddress and City.
Thomas Hedström 35.1 53 Supports StreetAddress and COAddress with up to 72 chars in length.
David Persson 2.1 54
Fredrik Nilsson 9.1 55 == Change Log ==
David Persson 2.1 56
Rasmus Enekvist 18.1 57 (% id="HVersion1.1" %)
Kent Westerlund 32.1 58 ==== **Version 1.7** ====
59
60 (% id="HJanuary2C2016" %)
Thomas Hedström 37.1 61 ===== TBD =====
Kent Westerlund 32.1 62
63 [[CustomerJournal_[1.7].xsd>>attach:CustomerJournal_[1.7].xsd]]
64
65 (% class="box" %)
66 (((
67 New events in CustomerStatusEvent,
68 - DeleteOrderReceived
69 - (% style="background-color:inherit; color:inherit; font-family:inherit; font-size:inherit" %)Deleted
Kent Westerlund 33.1 70 For deleteing endcustomers from database.(%%)
71 \\New optional param in CustomerStatusEvent, [CustomerNo] used for Deleted customer.
Kent Westerlund 32.1 72 )))
73
74 (% id="HVersion1.1" %)
Tobias Karlsson 26.1 75 ==== **Version 1.6** ====
76
77 (% id="HJanuary2C2016" %)
78 ===== October, 2022 =====
79
80 [[CustomerJournal_[1.6].xsd>>attach:CustomerJournal_[1.6].xsd]]
81
82 (% class="box" %)
83 (((
84 Allows a wider range of chars for Name, Addressee, StreetAddress, COAddress and City.
85 Supports StreetAddress and COAddress with up to 72 chars in length.
86 )))
87
88 (% id="HVersion1.1" %)
Rasmus Enekvist 21.1 89 ==== **Version 1.5** ====
90
91 (% id="HJanuary2C2016" %)
92 ===== December, 2021 =====
93
94 [[CustomerJournal_[1.5].xsd>>attach:Main.Invoicing.invoice-service.Implementation guide.Technical reference.WebHome@CustomerJournal_[1.5].xsd]]
95
96 (% class="box" %)
97 (((
98 Added new ConsentType eBoks
99 )))
100
101 (% id="HVersion1.1" %)
102 ==== **Version 1.4** ====
103
104 (% id="HJanuary2C2016" %)
105 ===== September, 2021 =====
106
107 [[CustomerJournal_[1.4].xsd>>attach:Main.Invoicing.invoice-service.Implementation guide.Technical reference.WebHome@CustomerJournal_[1.4].xsd]]
108
109 (% class="box" %)
110 (((
111 Added new CustomerStatusType, BarringLevel
112 )))
113
114 (% id="HVersion1.1" %)
Rasmus Enekvist 18.1 115 ==== **Version 1.3** ====
Rasmus Enekvist 12.1 116
Rasmus Enekvist 18.1 117 (% id="HJanuary2C2016" %)
118 ===== June, 2021 =====
119
120 [[CustomerJournal_[1.3].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.3].xsd]]
121
122 (% class="box" %)
123 (((
124 Added new CustomerStatusType, BarringLevel
125 )))
126
David Persson 2.1 127 (% id="HVersion1.1" %)
Kent Westerlund 16.1 128 ==== **Version 1.2** ====
129
130 (% id="HJanuary2C2016" %)
131 ===== Februari, 2021 =====
132
133 [[CustomerJournal_[1.2].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.2].xsd]]
134
135 (% class="box" %)
136 (((
137 Added new event type, CustomerNotification
138 )))
139
Rasmus Enekvist 12.1 140 ==== **Version 1.1** ====
141
142 (% id="HJanuary2C2016" %)
Kent Westerlund 14.1 143 ===== November, 2020 =====
144
Kent Westerlund 15.1 145 [[CustomerJournal_[1.1].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.1].xsd]]
Kent Westerlund 14.1 146
147 (% class="box" %)
148 (((
149 Added new ConsentType EInvoice20B2CNO
150
Rasmus Enekvist 12.1 151 Added new ConsentType EInvoiceB2CFI
152 )))
153
David Persson 2.1 154 ==== **Version 1.0** ====
155
156 (% id="HJanuary2C2016" %)
157 ===== January, 2019 =====
158
Rasmus Enekvist 12.1 159 [[CustomerJournal_[1.0].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_[1.0].xsd]]
David Persson 2.1 160
161 (% class="box" %)
162 (((
163 Initial version (latest documented version)
164 )))
165
166 ----
167
Fredrik Nilsson 9.1 168 == Download sample file ==
169
Fredrik Nilsson 11.1 170 [[CustomerJournal_367_20191030141104_422>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@CustomerJournal_367_20191030141104_422.XML]]
David Persson 2.1 171 )))
172 )))