odoo-addon-ebill-postfinance 16.0.1.0.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/ebill_postfinance/README.rst +130 -0
- odoo/addons/ebill_postfinance/__init__.py +1 -0
- odoo/addons/ebill_postfinance/__manifest__.py +35 -0
- odoo/addons/ebill_postfinance/data/ir_cron.xml +14 -0
- odoo/addons/ebill_postfinance/data/mail_activity_type.xml +10 -0
- odoo/addons/ebill_postfinance/data/transmit.method.xml +10 -0
- odoo/addons/ebill_postfinance/i18n/ebill_postfinance.pot +533 -0
- odoo/addons/ebill_postfinance/messages/invoice-2003A.jinja +238 -0
- odoo/addons/ebill_postfinance/messages/invoice-yellowbill.jinja +227 -0
- odoo/addons/ebill_postfinance/messages/ybInvoice_V2.0.4.xsd +1395 -0
- odoo/addons/ebill_postfinance/models/__init__.py +5 -0
- odoo/addons/ebill_postfinance/models/account_move.py +140 -0
- odoo/addons/ebill_postfinance/models/ebill_payment_contract.py +73 -0
- odoo/addons/ebill_postfinance/models/ebill_postfinance_invoice_message.py +404 -0
- odoo/addons/ebill_postfinance/models/ebill_postfinance_service.py +154 -0
- odoo/addons/ebill_postfinance/models/sale_order.py +19 -0
- odoo/addons/ebill_postfinance/readme/CONFIGURE.rst +13 -0
- odoo/addons/ebill_postfinance/readme/CONTRIBUTORS.rst +1 -0
- odoo/addons/ebill_postfinance/readme/DESCRIPTION.rst +1 -0
- odoo/addons/ebill_postfinance/readme/INSTALL.rst +2 -0
- odoo/addons/ebill_postfinance/readme/ROADMAP.rst +10 -0
- odoo/addons/ebill_postfinance/readme/USAGE.rst +5 -0
- odoo/addons/ebill_postfinance/security/ir.model.access.csv +5 -0
- odoo/addons/ebill_postfinance/static/description/icon.png +0 -0
- odoo/addons/ebill_postfinance/static/description/index.html +470 -0
- odoo/addons/ebill_postfinance/tests/__init__.py +3 -0
- odoo/addons/ebill_postfinance/tests/common.py +194 -0
- odoo/addons/ebill_postfinance/tests/examples/credit_note_yb.xml +176 -0
- odoo/addons/ebill_postfinance/tests/examples/invoice_qr_yb.xml +182 -0
- odoo/addons/ebill_postfinance/tests/examples/yellowbill_qr_iban.xml +178 -0
- odoo/addons/ebill_postfinance/tests/fixtures/cassettes/test_ping_service.yaml +1057 -0
- odoo/addons/ebill_postfinance/tests/fixtures/cassettes/test_search_invoices.yaml +564 -0
- odoo/addons/ebill_postfinance/tests/fixtures/cassettes/test_upload_file.yaml +561 -0
- odoo/addons/ebill_postfinance/tests/test_ebill_postfinance.py +50 -0
- odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb.py +65 -0
- odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb_creditnote.py +67 -0
- odoo/addons/ebill_postfinance/views/ebill_payment_contract.xml +56 -0
- odoo/addons/ebill_postfinance/views/ebill_postfinance_invoice_message.xml +81 -0
- odoo/addons/ebill_postfinance/views/ebill_postfinance_service.xml +136 -0
- odoo/addons/ebill_postfinance/views/message_template.xml +8 -0
- odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/METADATA +149 -0
- odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/RECORD +44 -0
- odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/WHEEL +5 -0
- odoo_addon_ebill_postfinance-16.0.1.0.0.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
interactions:
|
|
2
|
+
- request:
|
|
3
|
+
body: null
|
|
4
|
+
headers:
|
|
5
|
+
Accept:
|
|
6
|
+
- '*/*'
|
|
7
|
+
Accept-Encoding:
|
|
8
|
+
- gzip, deflate
|
|
9
|
+
Connection:
|
|
10
|
+
- keep-alive
|
|
11
|
+
User-Agent:
|
|
12
|
+
- Zeep/3.2.0 (www.python-zeep.org)
|
|
13
|
+
method: GET
|
|
14
|
+
uri: https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd0
|
|
15
|
+
response:
|
|
16
|
+
body:
|
|
17
|
+
string: <?xml version="1.0" encoding="utf-8"?><xs:schema elementFormDefault="qualified"
|
|
18
|
+
targetNamespace="http://ch.swisspost.ebill.b2bservice" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
19
|
+
xmlns:tns="http://ch.swisspost.ebill.b2bservice"><xs:import schemaLocation="https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd2"
|
|
20
|
+
namespace="http://swisspost_ch.ebs.ebill.b2bservice"/><xs:import schemaLocation="https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd4"
|
|
21
|
+
namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xs:element
|
|
22
|
+
name="GetInvoiceListBiller"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
23
|
+
name="BillerID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
24
|
+
name="ArchiveData" type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
25
|
+
name="GetInvoiceListBillerResponse"><xs:complexType><xs:sequence><xs:element
|
|
26
|
+
minOccurs="0" name="GetInvoiceListBillerResult" nillable="true" type="q1:ArrayOfInvoiceReport"
|
|
27
|
+
xmlns:q1="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
28
|
+
name="GetInvoiceBiller"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
29
|
+
name="BillerID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
30
|
+
name="TransactionID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
31
|
+
name="BillDetail" type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
32
|
+
name="GetInvoiceBillerResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0"
|
|
33
|
+
name="GetInvoiceBillerResult" nillable="true" type="q2:ArrayOfDownloadFile"
|
|
34
|
+
xmlns:q2="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
35
|
+
name="GetProcessProtocolList"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
36
|
+
name="BillerID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
37
|
+
name="ArchiveData" type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
38
|
+
name="GetProcessProtocolListResponse"><xs:complexType><xs:sequence><xs:element
|
|
39
|
+
minOccurs="0" name="GetProcessProtocolListResult" nillable="true" type="q3:ArrayOfProtocolReport"
|
|
40
|
+
xmlns:q3="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
41
|
+
name="GetProcessProtocol"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
42
|
+
name="BillerID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
43
|
+
name="CreateDate" type="xs:dateTime"/><xs:element minOccurs="1" name="ArchiveData"
|
|
44
|
+
type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
45
|
+
name="GetProcessProtocolResponse"><xs:complexType><xs:sequence><xs:element
|
|
46
|
+
minOccurs="0" name="GetProcessProtocolResult" nillable="true" type="q4:ArrayOfDownloadFile"
|
|
47
|
+
xmlns:q4="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
48
|
+
name="GetRegistrationProtocolList"><xs:complexType><xs:sequence><xs:element
|
|
49
|
+
minOccurs="1" name="BillerID" nillable="true" type="xs:string"/><xs:element
|
|
50
|
+
minOccurs="1" name="ArchiveData" type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
51
|
+
name="GetRegistrationProtocolListResponse"><xs:complexType><xs:sequence><xs:element
|
|
52
|
+
minOccurs="0" name="GetRegistrationProtocolListResult" nillable="true" type="q5:ArrayOfProtocolReport"
|
|
53
|
+
xmlns:q5="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
54
|
+
name="GetRegistrationProtocol"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
55
|
+
name="BillerID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
56
|
+
name="CreateDate" type="xs:dateTime"/><xs:element minOccurs="1" name="ArchiveData"
|
|
57
|
+
type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
58
|
+
name="GetRegistrationProtocolResponse"><xs:complexType><xs:sequence><xs:element
|
|
59
|
+
minOccurs="0" name="GetRegistrationProtocolResult" nillable="true" type="q6:ArrayOfDownloadFile"
|
|
60
|
+
xmlns:q6="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
61
|
+
name="UploadFilesReport"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
62
|
+
name="invoices" nillable="true" type="q7:ArrayOfInvoice" xmlns:q7="http://swisspost_ch.ebs.ebill.b2bservice"/><xs:element
|
|
63
|
+
minOccurs="1" name="BillerID" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
64
|
+
name="UploadFilesReportResponse"><xs:complexType><xs:sequence><xs:element
|
|
65
|
+
minOccurs="0" name="UploadFilesReportResult" nillable="true" type="q8:ArrayOfProcessedInvoice"
|
|
66
|
+
xmlns:q8="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
67
|
+
name="SearchInvoices"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
68
|
+
name="Parameter" nillable="true" type="q9:SearchInvoiceParameter" xmlns:q9="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
69
|
+
name="SearchInvoicesResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0"
|
|
70
|
+
name="SearchInvoicesResult" nillable="true" type="q10:SearchInvoicesResponse"
|
|
71
|
+
xmlns:q10="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
72
|
+
name="GetEBillRecipientSubscriptionStatus"><xs:complexType><xs:sequence><xs:element
|
|
73
|
+
minOccurs="1" name="BillerID" nillable="true" type="xs:string"/><xs:element
|
|
74
|
+
minOccurs="1" name="RecipientID" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
75
|
+
name="GetEBillRecipientSubscriptionStatusResponse"><xs:complexType><xs:sequence><xs:element
|
|
76
|
+
minOccurs="0" name="GetEBillRecipientSubscriptionStatusResult" nillable="true"
|
|
77
|
+
type="q11:ArrayOfEBillRecipientSubscriptionStatus" xmlns:q11="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
78
|
+
name="GetEBillRecipientSubscriptionStatusBulk"><xs:complexType><xs:sequence><xs:element
|
|
79
|
+
minOccurs="1" name="BillerID" nillable="true" type="xs:string"/><xs:element
|
|
80
|
+
minOccurs="1" name="RecipientID" nillable="true" type="q12:ArrayOfstring"
|
|
81
|
+
xmlns:q12="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
82
|
+
name="GetEBillRecipientSubscriptionStatusBulkResponse"><xs:complexType><xs:sequence><xs:element
|
|
83
|
+
minOccurs="0" name="GetEBillRecipientSubscriptionStatusBulkResult" nillable="true"
|
|
84
|
+
type="q13:EBillRecipientSubscriptionStatusBulk" xmlns:q13="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
85
|
+
name="InitiateEBillRecipientSubscription"><xs:complexType><xs:sequence><xs:element
|
|
86
|
+
minOccurs="1" name="BillerID" nillable="true" type="xs:string"/><xs:element
|
|
87
|
+
minOccurs="1" name="SubscriptionInitiationEmailAddress" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
88
|
+
name="InitiateEBillRecipientSubscriptionResponse"><xs:complexType><xs:sequence><xs:element
|
|
89
|
+
minOccurs="0" name="InitiateEBillRecipientSubscriptionResult" nillable="true"
|
|
90
|
+
type="q14:EBillRecipientSubscriptionInitiation" xmlns:q14="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
91
|
+
name="ConfirmEBillRecipientSubscription"><xs:complexType><xs:sequence><xs:element
|
|
92
|
+
minOccurs="1" name="BillerID" nillable="true" type="xs:string"/><xs:element
|
|
93
|
+
minOccurs="1" name="SubscriptionInitiationToken" nillable="true" type="xs:string"/><xs:element
|
|
94
|
+
minOccurs="1" name="SubscriptionInitiationActivationCode" nillable="true"
|
|
95
|
+
type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
96
|
+
name="ConfirmEBillRecipientSubscriptionResponse"><xs:complexType><xs:sequence><xs:element
|
|
97
|
+
minOccurs="0" name="ConfirmEBillRecipientSubscriptionResult" nillable="true"
|
|
98
|
+
type="q15:EBillRecipientSubscriptionConfirmation" xmlns:q15="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
99
|
+
name="GetInvoicePayer"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
100
|
+
name="eBillAccountID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
101
|
+
name="BillerID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
102
|
+
name="TransactionID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
103
|
+
name="FileType" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
104
|
+
name="GetInvoicePayerResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0"
|
|
105
|
+
name="GetInvoicePayerResult" nillable="true" type="q16:DownloadFile" xmlns:q16="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
106
|
+
name="GetInvoiceListPayer"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
107
|
+
name="eBillAccountID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
108
|
+
name="ArchiveData" type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
109
|
+
name="GetInvoiceListPayerResponse"><xs:complexType><xs:sequence><xs:element
|
|
110
|
+
minOccurs="0" name="GetInvoiceListPayerResult" nillable="true" type="q17:ArrayOfInvoiceReport"
|
|
111
|
+
xmlns:q17="http://swisspost_ch.ebs.ebill.b2bservice"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
112
|
+
name="ExecutePing"><xs:complexType><xs:sequence><xs:element minOccurs="1"
|
|
113
|
+
name="BillerID" nillable="true" type="xs:string"/><xs:element minOccurs="1"
|
|
114
|
+
name="eBillAccountID" nillable="true" type="xs:string"/><xs:element minOccurs="0"
|
|
115
|
+
name="ErrorTest" nillable="true" type="xs:boolean"/><xs:element minOccurs="0"
|
|
116
|
+
name="ExceptionTest" nillable="true" type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element
|
|
117
|
+
name="ExecutePingResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0"
|
|
118
|
+
name="ExecutePingResult" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element></xs:schema>
|
|
119
|
+
headers:
|
|
120
|
+
Connection:
|
|
121
|
+
- close
|
|
122
|
+
Content-Type:
|
|
123
|
+
- text/xml; charset=UTF-8
|
|
124
|
+
Date:
|
|
125
|
+
- Fri, 13 May 2022 05:57:53 GMT
|
|
126
|
+
Referrer-Policy:
|
|
127
|
+
- no-referrer-when-downgrade
|
|
128
|
+
Server:
|
|
129
|
+
- Apache (proxied)
|
|
130
|
+
Set-Cookie:
|
|
131
|
+
- ittrksessid=b8278c09.5dede5af62f48;HttpOnly;Secure; path=/; domain=.postfinance.ch;
|
|
132
|
+
SameSite=None; Secure; HttpOnly
|
|
133
|
+
Strict-Transport-Security:
|
|
134
|
+
- max-age=31536000
|
|
135
|
+
Vary:
|
|
136
|
+
- Accept-Encoding
|
|
137
|
+
X-Content-Type-Options:
|
|
138
|
+
- nosniff
|
|
139
|
+
X-Frame-Options:
|
|
140
|
+
- SAMEORIGIN
|
|
141
|
+
X-RP-UNIQUE_ID:
|
|
142
|
+
- Yn3zYS25lnOenWMr5onEaAAABwg
|
|
143
|
+
X-Xss-Protection:
|
|
144
|
+
- 1; mode=block
|
|
145
|
+
content-length:
|
|
146
|
+
- '9632'
|
|
147
|
+
status:
|
|
148
|
+
code: 200
|
|
149
|
+
message: OK
|
|
150
|
+
- request:
|
|
151
|
+
body: null
|
|
152
|
+
headers:
|
|
153
|
+
Accept:
|
|
154
|
+
- '*/*'
|
|
155
|
+
Accept-Encoding:
|
|
156
|
+
- gzip, deflate
|
|
157
|
+
Connection:
|
|
158
|
+
- keep-alive
|
|
159
|
+
Cookie:
|
|
160
|
+
- ittrksessid=b8278c09.5dede5af62f48
|
|
161
|
+
User-Agent:
|
|
162
|
+
- Zeep/3.2.0 (www.python-zeep.org)
|
|
163
|
+
method: GET
|
|
164
|
+
uri: https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd2
|
|
165
|
+
response:
|
|
166
|
+
body:
|
|
167
|
+
string: <?xml version="1.0" encoding="utf-8"?><xs:schema elementFormDefault="qualified"
|
|
168
|
+
targetNamespace="http://swisspost_ch.ebs.ebill.b2bservice" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
169
|
+
xmlns:tns="http://swisspost_ch.ebs.ebill.b2bservice"><xs:import schemaLocation="https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd3"
|
|
170
|
+
namespace="http://schemas.datacontract.org/2004/07/eBill.B2BServiceLib.Logic"/><xs:complexType
|
|
171
|
+
name="ArrayOfInvoiceReport"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded"
|
|
172
|
+
name="InvoiceReport" nillable="true" type="tns:InvoiceReport"/></xs:sequence></xs:complexType><xs:element
|
|
173
|
+
name="ArrayOfInvoiceReport" nillable="true" type="tns:ArrayOfInvoiceReport"/><xs:complexType
|
|
174
|
+
name="InvoiceReport"><xs:sequence><xs:element minOccurs="0" name="BillerID"
|
|
175
|
+
nillable="true" type="xs:string"/><xs:element minOccurs="0" name="TransactionID"
|
|
176
|
+
nillable="true" type="xs:string"/><xs:element minOccurs="0" name="DeliveryDate"
|
|
177
|
+
type="xs:dateTime"/><xs:element minOccurs="0" name="FileType" nillable="true"
|
|
178
|
+
type="xs:string"/></xs:sequence></xs:complexType><xs:element name="InvoiceReport"
|
|
179
|
+
nillable="true" type="tns:InvoiceReport"/><xs:complexType name="ArrayOfDownloadFile"><xs:sequence><xs:element
|
|
180
|
+
minOccurs="0" maxOccurs="unbounded" name="DownloadFile" nillable="true" type="tns:DownloadFile"/></xs:sequence></xs:complexType><xs:element
|
|
181
|
+
name="ArrayOfDownloadFile" nillable="true" type="tns:ArrayOfDownloadFile"/><xs:complexType
|
|
182
|
+
name="DownloadFile"><xs:sequence><xs:element minOccurs="0" name="Data" nillable="true"
|
|
183
|
+
type="xs:base64Binary"/><xs:element minOccurs="0" name="Filename" nillable="true"
|
|
184
|
+
type="xs:string"/></xs:sequence></xs:complexType><xs:element name="DownloadFile"
|
|
185
|
+
nillable="true" type="tns:DownloadFile"/><xs:complexType name="ArrayOfProtocolReport"><xs:sequence><xs:element
|
|
186
|
+
minOccurs="0" maxOccurs="unbounded" name="ProtocolReport" nillable="true"
|
|
187
|
+
type="tns:ProtocolReport"/></xs:sequence></xs:complexType><xs:element name="ArrayOfProtocolReport"
|
|
188
|
+
nillable="true" type="tns:ArrayOfProtocolReport"/><xs:complexType name="ProtocolReport"><xs:sequence><xs:element
|
|
189
|
+
minOccurs="0" name="CreateDate" type="xs:dateTime"/><xs:element minOccurs="0"
|
|
190
|
+
name="FileType" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
191
|
+
name="ProtocolReport" nillable="true" type="tns:ProtocolReport"/><xs:complexType
|
|
192
|
+
name="ArrayOfInvoice"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded"
|
|
193
|
+
name="Invoice" nillable="true" type="tns:Invoice"/></xs:sequence></xs:complexType><xs:element
|
|
194
|
+
name="ArrayOfInvoice" nillable="true" type="tns:ArrayOfInvoice"/><xs:complexType
|
|
195
|
+
name="Invoice"><xs:sequence><xs:element minOccurs="0" name="FileType" nillable="true"
|
|
196
|
+
type="xs:string"/><xs:element minOccurs="0" name="TransactionID" nillable="true"
|
|
197
|
+
type="xs:string"/><xs:element minOccurs="0" name="Data" nillable="true" type="xs:base64Binary"/></xs:sequence></xs:complexType><xs:element
|
|
198
|
+
name="Invoice" nillable="true" type="tns:Invoice"/><xs:complexType name="ArrayOfProcessedInvoice"><xs:sequence><xs:element
|
|
199
|
+
minOccurs="0" maxOccurs="unbounded" name="ProcessedInvoice" nillable="true"
|
|
200
|
+
type="tns:ProcessedInvoice"/></xs:sequence></xs:complexType><xs:element name="ArrayOfProcessedInvoice"
|
|
201
|
+
nillable="true" type="tns:ArrayOfProcessedInvoice"/><xs:complexType name="ProcessedInvoice"><xs:sequence><xs:element
|
|
202
|
+
minOccurs="0" name="FileType" nillable="true" type="xs:string"/><xs:element
|
|
203
|
+
minOccurs="0" name="SubmitDate" type="xs:dateTime"/><xs:element minOccurs="0"
|
|
204
|
+
name="TransactionID" nillable="true" type="xs:string"/><xs:element minOccurs="0"
|
|
205
|
+
name="ProcessingState" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
206
|
+
name="ProcessedInvoice" nillable="true" type="tns:ProcessedInvoice"/><xs:complexType
|
|
207
|
+
name="SearchInvoiceParameter"><xs:sequence><xs:element name="BillerID" nillable="true"
|
|
208
|
+
type="xs:string"/><xs:element minOccurs="0" name="TransactionID" nillable="true"
|
|
209
|
+
type="xs:string"/><xs:element minOccurs="0" name="eBillAccountID" nillable="true"
|
|
210
|
+
type="xs:string"/><xs:element minOccurs="0" name="AmountFrom" type="xs:decimal"/><xs:element
|
|
211
|
+
minOccurs="0" name="AmountTo" type="xs:decimal"/><xs:element minOccurs="0"
|
|
212
|
+
name="State" nillable="true" type="q1:State" xmlns:q1="http://schemas.datacontract.org/2004/07/eBill.B2BServiceLib.Logic"/><xs:element
|
|
213
|
+
minOccurs="0" name="DeliveryDateFrom" type="xs:dateTime"/><xs:element minOccurs="0"
|
|
214
|
+
name="DeliveryDateTo" type="xs:dateTime"/><xs:element minOccurs="0" name="PaymentDueDateFrom"
|
|
215
|
+
type="xs:dateTime"/><xs:element minOccurs="0" name="PaymentDueDateTo" type="xs:dateTime"/></xs:sequence></xs:complexType><xs:element
|
|
216
|
+
name="SearchInvoiceParameter" nillable="true" type="tns:SearchInvoiceParameter"/><xs:complexType
|
|
217
|
+
name="SearchInvoicesResponse"><xs:sequence><xs:element minOccurs="0" name="InvoiceCount"
|
|
218
|
+
type="xs:int"/><xs:element minOccurs="0" name="TotalInvoiceCount" type="xs:int"/><xs:element
|
|
219
|
+
minOccurs="0" name="InvoiceList" nillable="true" type="tns:ArrayOfSearchInvoice"/></xs:sequence></xs:complexType><xs:element
|
|
220
|
+
name="SearchInvoicesResponse" nillable="true" type="tns:SearchInvoicesResponse"/><xs:complexType
|
|
221
|
+
name="ArrayOfSearchInvoice"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded"
|
|
222
|
+
name="SearchInvoice" nillable="true" type="tns:SearchInvoice"/></xs:sequence></xs:complexType><xs:element
|
|
223
|
+
name="ArrayOfSearchInvoice" nillable="true" type="tns:ArrayOfSearchInvoice"/><xs:complexType
|
|
224
|
+
name="SearchInvoice"><xs:sequence><xs:element minOccurs="0" name="BillerId"
|
|
225
|
+
nillable="true" type="xs:string"/><xs:element minOccurs="0" name="TransactionId"
|
|
226
|
+
nillable="true" type="xs:string"/><xs:element minOccurs="0" name="eBillAccountId"
|
|
227
|
+
nillable="true" type="xs:string"/><xs:element minOccurs="0" name="Amount"
|
|
228
|
+
nillable="true" type="xs:decimal"/><xs:element minOccurs="0" name="State"
|
|
229
|
+
type="q2:State" xmlns:q2="http://schemas.datacontract.org/2004/07/eBill.B2BServiceLib.Logic"/><xs:element
|
|
230
|
+
minOccurs="0" name="PaymentType" nillable="true" type="xs:string"/><xs:element
|
|
231
|
+
minOccurs="0" name="ESRReferenceNbr" nillable="true" type="xs:string"/><xs:element
|
|
232
|
+
minOccurs="0" name="DeliveryDate" nillable="true" type="xs:dateTime"/><xs:element
|
|
233
|
+
minOccurs="0" name="PaymentDueDate" nillable="true" type="xs:dateTime"/><xs:element
|
|
234
|
+
minOccurs="0" name="ReasonCode" nillable="true" type="xs:string"/><xs:element
|
|
235
|
+
minOccurs="0" name="ReasonText" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
236
|
+
name="SearchInvoice" nillable="true" type="tns:SearchInvoice"/><xs:complexType
|
|
237
|
+
name="ArrayOfEBillRecipientSubscriptionStatus"><xs:sequence><xs:element minOccurs="0"
|
|
238
|
+
maxOccurs="unbounded" name="EBillRecipientSubscriptionStatus" nillable="true"
|
|
239
|
+
type="tns:EBillRecipientSubscriptionStatus"/></xs:sequence></xs:complexType><xs:element
|
|
240
|
+
name="ArrayOfEBillRecipientSubscriptionStatus" nillable="true" type="tns:ArrayOfEBillRecipientSubscriptionStatus"/><xs:complexType
|
|
241
|
+
name="EBillRecipientSubscriptionStatus"><xs:sequence><xs:element minOccurs="0"
|
|
242
|
+
name="EbillAccountID" nillable="true" type="xs:string"/><xs:element minOccurs="0"
|
|
243
|
+
name="EmailAddress" nillable="true" type="xs:string"/><xs:element minOccurs="0"
|
|
244
|
+
name="UIDHR" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="Message"
|
|
245
|
+
nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
246
|
+
name="EBillRecipientSubscriptionStatus" nillable="true" type="tns:EBillRecipientSubscriptionStatus"/><xs:complexType
|
|
247
|
+
name="EBillRecipientSubscriptionStatusBulk"><xs:sequence><xs:element minOccurs="0"
|
|
248
|
+
name="BillRecipients" nillable="true" type="tns:ArrayOfBillRecipient"/><xs:element
|
|
249
|
+
minOccurs="0" name="Message" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
250
|
+
name="EBillRecipientSubscriptionStatusBulk" nillable="true" type="tns:EBillRecipientSubscriptionStatusBulk"/><xs:complexType
|
|
251
|
+
name="ArrayOfBillRecipient"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded"
|
|
252
|
+
name="BillRecipient" nillable="true" type="tns:BillRecipient"/></xs:sequence></xs:complexType><xs:element
|
|
253
|
+
name="ArrayOfBillRecipient" nillable="true" type="tns:ArrayOfBillRecipient"/><xs:complexType
|
|
254
|
+
name="BillRecipient"><xs:sequence><xs:element minOccurs="0" name="EbillAccountID"
|
|
255
|
+
nillable="true" type="xs:string"/><xs:element minOccurs="0" name="EmailAddress"
|
|
256
|
+
nillable="true" type="xs:string"/><xs:element minOccurs="0" name="UIDHR" nillable="true"
|
|
257
|
+
type="xs:string"/><xs:element name="SubmissionStatus" type="q3:SubmissionStatus"
|
|
258
|
+
xmlns:q3="http://schemas.datacontract.org/2004/07/eBill.B2BServiceLib.Logic"/></xs:sequence></xs:complexType><xs:element
|
|
259
|
+
name="BillRecipient" nillable="true" type="tns:BillRecipient"/><xs:complexType
|
|
260
|
+
name="EBillRecipientSubscriptionInitiation"><xs:sequence><xs:element minOccurs="0"
|
|
261
|
+
name="SubscriptionInitiationToken" nillable="true" type="xs:string"/><xs:element
|
|
262
|
+
minOccurs="0" name="Message" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
263
|
+
name="EBillRecipientSubscriptionInitiation" nillable="true" type="tns:EBillRecipientSubscriptionInitiation"/><xs:complexType
|
|
264
|
+
name="EBillRecipientSubscriptionConfirmation"><xs:sequence><xs:element minOccurs="0"
|
|
265
|
+
name="EbillAccountID" nillable="true" type="xs:string"/><xs:element minOccurs="0"
|
|
266
|
+
name="EmailAddress" nillable="true" type="xs:string"/><xs:element minOccurs="0"
|
|
267
|
+
name="UIDHR" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="Type"
|
|
268
|
+
type="q4:EPartyType" xmlns:q4="http://schemas.datacontract.org/2004/07/eBill.B2BServiceLib.Logic"/><xs:element
|
|
269
|
+
minOccurs="0" name="Language" nillable="true" type="xs:string"/><xs:element
|
|
270
|
+
minOccurs="0" name="Party" nillable="true" type="tns:Party"/><xs:element minOccurs="0"
|
|
271
|
+
name="Message" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
272
|
+
name="EBillRecipientSubscriptionConfirmation" nillable="true" type="tns:EBillRecipientSubscriptionConfirmation"/><xs:complexType
|
|
273
|
+
name="Party"><xs:sequence><xs:element minOccurs="0" name="Address" nillable="true"
|
|
274
|
+
type="tns:Address"/></xs:sequence></xs:complexType><xs:element name="Party"
|
|
275
|
+
nillable="true" type="tns:Party"/><xs:complexType name="Address"><xs:sequence><xs:element
|
|
276
|
+
minOccurs="0" name="CompanyName" nillable="true" type="xs:string"/><xs:element
|
|
277
|
+
minOccurs="0" name="FamilyName" nillable="true" type="xs:string"/><xs:element
|
|
278
|
+
minOccurs="0" name="GivenName" nillable="true" type="xs:string"/><xs:element
|
|
279
|
+
minOccurs="0" name="Address1" nillable="true" type="xs:string"/><xs:element
|
|
280
|
+
minOccurs="0" name="ZIP" nillable="true" type="xs:string"/><xs:element minOccurs="0"
|
|
281
|
+
name="City" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="Country"
|
|
282
|
+
nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
283
|
+
name="Address" nillable="true" type="tns:Address"/></xs:schema>
|
|
284
|
+
headers:
|
|
285
|
+
Connection:
|
|
286
|
+
- close
|
|
287
|
+
Content-Type:
|
|
288
|
+
- text/xml; charset=UTF-8
|
|
289
|
+
Date:
|
|
290
|
+
- Fri, 13 May 2022 05:57:53 GMT
|
|
291
|
+
Referrer-Policy:
|
|
292
|
+
- no-referrer-when-downgrade
|
|
293
|
+
Server:
|
|
294
|
+
- Apache (proxied)
|
|
295
|
+
Strict-Transport-Security:
|
|
296
|
+
- max-age=31536000
|
|
297
|
+
Vary:
|
|
298
|
+
- Accept-Encoding
|
|
299
|
+
X-Content-Type-Options:
|
|
300
|
+
- nosniff
|
|
301
|
+
X-Frame-Options:
|
|
302
|
+
- SAMEORIGIN
|
|
303
|
+
X-RP-UNIQUE_ID:
|
|
304
|
+
- Yn3zYusdGrL3swMNpDRV7AAACBg
|
|
305
|
+
X-Xss-Protection:
|
|
306
|
+
- 1; mode=block
|
|
307
|
+
content-length:
|
|
308
|
+
- '10710'
|
|
309
|
+
status:
|
|
310
|
+
code: 200
|
|
311
|
+
message: OK
|
|
312
|
+
- request:
|
|
313
|
+
body: null
|
|
314
|
+
headers:
|
|
315
|
+
Accept:
|
|
316
|
+
- '*/*'
|
|
317
|
+
Accept-Encoding:
|
|
318
|
+
- gzip, deflate
|
|
319
|
+
Connection:
|
|
320
|
+
- keep-alive
|
|
321
|
+
Cookie:
|
|
322
|
+
- ittrksessid=b8278c09.5dede5af62f48
|
|
323
|
+
User-Agent:
|
|
324
|
+
- Zeep/3.2.0 (www.python-zeep.org)
|
|
325
|
+
method: GET
|
|
326
|
+
uri: https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd3
|
|
327
|
+
response:
|
|
328
|
+
body:
|
|
329
|
+
string: <?xml version="1.0" encoding="utf-8"?><xs:schema elementFormDefault="qualified"
|
|
330
|
+
targetNamespace="http://schemas.datacontract.org/2004/07/eBill.B2BServiceLib.Logic"
|
|
331
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/eBill.B2BServiceLib.Logic"><xs:import
|
|
332
|
+
schemaLocation="https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd1"
|
|
333
|
+
namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xs:simpleType
|
|
334
|
+
name="State"><xs:restriction base="xs:string"><xs:enumeration value="Open"><xs:annotation><xs:appinfo><EnumerationValue
|
|
335
|
+
xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
336
|
+
value="Paid"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
337
|
+
value="Rejected"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
338
|
+
value="Processing"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
339
|
+
value="Incomplete"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
340
|
+
value="Invalid"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
341
|
+
value="Deleted"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
342
|
+
value="Unsigned"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">50</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType><xs:element
|
|
343
|
+
name="State" nillable="true" type="tns:State"/><xs:simpleType name="SubmissionStatus"><xs:restriction
|
|
344
|
+
base="xs:string"><xs:enumeration value="NOT_ALLOWED"/><xs:enumeration value="ALLOWED"/></xs:restriction></xs:simpleType><xs:element
|
|
345
|
+
name="SubmissionStatus" nillable="true" type="tns:SubmissionStatus"/><xs:simpleType
|
|
346
|
+
name="EPartyType"><xs:restriction base="xs:string"><xs:enumeration value="PRIVATE"><xs:annotation><xs:appinfo><EnumerationValue
|
|
347
|
+
xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration><xs:enumeration
|
|
348
|
+
value="COMPANY"><xs:annotation><xs:appinfo><EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue></xs:appinfo></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType><xs:element
|
|
349
|
+
name="EPartyType" nillable="true" type="tns:EPartyType"/></xs:schema>
|
|
350
|
+
headers:
|
|
351
|
+
Connection:
|
|
352
|
+
- close
|
|
353
|
+
Content-Type:
|
|
354
|
+
- text/xml; charset=UTF-8
|
|
355
|
+
Date:
|
|
356
|
+
- Fri, 13 May 2022 05:57:54 GMT
|
|
357
|
+
Referrer-Policy:
|
|
358
|
+
- no-referrer-when-downgrade
|
|
359
|
+
Server:
|
|
360
|
+
- Apache (proxied)
|
|
361
|
+
Strict-Transport-Security:
|
|
362
|
+
- max-age=31536000
|
|
363
|
+
Vary:
|
|
364
|
+
- Accept-Encoding
|
|
365
|
+
X-Content-Type-Options:
|
|
366
|
+
- nosniff
|
|
367
|
+
X-Frame-Options:
|
|
368
|
+
- SAMEORIGIN
|
|
369
|
+
X-RP-UNIQUE_ID:
|
|
370
|
+
- Yn3zYhFe1qhLp6voSVLKEwAACRU
|
|
371
|
+
X-Xss-Protection:
|
|
372
|
+
- 1; mode=block
|
|
373
|
+
content-length:
|
|
374
|
+
- '3068'
|
|
375
|
+
status:
|
|
376
|
+
code: 200
|
|
377
|
+
message: OK
|
|
378
|
+
- request:
|
|
379
|
+
body: null
|
|
380
|
+
headers:
|
|
381
|
+
Accept:
|
|
382
|
+
- '*/*'
|
|
383
|
+
Accept-Encoding:
|
|
384
|
+
- gzip, deflate
|
|
385
|
+
Connection:
|
|
386
|
+
- keep-alive
|
|
387
|
+
Cookie:
|
|
388
|
+
- ittrksessid=b8278c09.5dede5af62f48
|
|
389
|
+
User-Agent:
|
|
390
|
+
- Zeep/3.2.0 (www.python-zeep.org)
|
|
391
|
+
method: GET
|
|
392
|
+
uri: https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd1
|
|
393
|
+
response:
|
|
394
|
+
body:
|
|
395
|
+
string: <?xml version="1.0" encoding="utf-8"?><xs:schema attributeFormDefault="qualified"
|
|
396
|
+
elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/"
|
|
397
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/"><xs:element
|
|
398
|
+
name="anyType" nillable="true" type="xs:anyType"/><xs:element name="anyURI"
|
|
399
|
+
nillable="true" type="xs:anyURI"/><xs:element name="base64Binary" nillable="true"
|
|
400
|
+
type="xs:base64Binary"/><xs:element name="boolean" nillable="true" type="xs:boolean"/><xs:element
|
|
401
|
+
name="byte" nillable="true" type="xs:byte"/><xs:element name="dateTime" nillable="true"
|
|
402
|
+
type="xs:dateTime"/><xs:element name="decimal" nillable="true" type="xs:decimal"/><xs:element
|
|
403
|
+
name="double" nillable="true" type="xs:double"/><xs:element name="float" nillable="true"
|
|
404
|
+
type="xs:float"/><xs:element name="int" nillable="true" type="xs:int"/><xs:element
|
|
405
|
+
name="long" nillable="true" type="xs:long"/><xs:element name="QName" nillable="true"
|
|
406
|
+
type="xs:QName"/><xs:element name="short" nillable="true" type="xs:short"/><xs:element
|
|
407
|
+
name="string" nillable="true" type="xs:string"/><xs:element name="unsignedByte"
|
|
408
|
+
nillable="true" type="xs:unsignedByte"/><xs:element name="unsignedInt" nillable="true"
|
|
409
|
+
type="xs:unsignedInt"/><xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/><xs:element
|
|
410
|
+
name="unsignedShort" nillable="true" type="xs:unsignedShort"/><xs:element
|
|
411
|
+
name="char" nillable="true" type="tns:char"/><xs:simpleType name="char"><xs:restriction
|
|
412
|
+
base="xs:int"/></xs:simpleType><xs:element name="duration" nillable="true"
|
|
413
|
+
type="tns:duration"/><xs:simpleType name="duration"><xs:restriction base="xs:duration"><xs:pattern
|
|
414
|
+
value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/><xs:minInclusive value="-P10675199DT2H48M5.4775808S"/><xs:maxInclusive
|
|
415
|
+
value="P10675199DT2H48M5.4775807S"/></xs:restriction></xs:simpleType><xs:element
|
|
416
|
+
name="guid" nillable="true" type="tns:guid"/><xs:simpleType name="guid"><xs:restriction
|
|
417
|
+
base="xs:string"><xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/></xs:restriction></xs:simpleType><xs:attribute
|
|
418
|
+
name="FactoryType" type="xs:QName"/><xs:attribute name="Id" type="xs:ID"/><xs:attribute
|
|
419
|
+
name="Ref" type="xs:IDREF"/></xs:schema>
|
|
420
|
+
headers:
|
|
421
|
+
Connection:
|
|
422
|
+
- close
|
|
423
|
+
Content-Type:
|
|
424
|
+
- text/xml; charset=UTF-8
|
|
425
|
+
Date:
|
|
426
|
+
- Fri, 13 May 2022 05:57:54 GMT
|
|
427
|
+
Referrer-Policy:
|
|
428
|
+
- no-referrer-when-downgrade
|
|
429
|
+
Server:
|
|
430
|
+
- Apache (proxied)
|
|
431
|
+
Strict-Transport-Security:
|
|
432
|
+
- max-age=31536000
|
|
433
|
+
Vary:
|
|
434
|
+
- Accept-Encoding
|
|
435
|
+
X-Content-Type-Options:
|
|
436
|
+
- nosniff
|
|
437
|
+
X-Frame-Options:
|
|
438
|
+
- SAMEORIGIN
|
|
439
|
+
X-RP-UNIQUE_ID:
|
|
440
|
+
- Yn3zY-sdGrL3swMNpDRV7QAACAw
|
|
441
|
+
X-Xss-Protection:
|
|
442
|
+
- 1; mode=block
|
|
443
|
+
content-length:
|
|
444
|
+
- '2273'
|
|
445
|
+
status:
|
|
446
|
+
code: 200
|
|
447
|
+
message: OK
|
|
448
|
+
- request:
|
|
449
|
+
body: null
|
|
450
|
+
headers:
|
|
451
|
+
Accept:
|
|
452
|
+
- '*/*'
|
|
453
|
+
Accept-Encoding:
|
|
454
|
+
- gzip, deflate
|
|
455
|
+
Connection:
|
|
456
|
+
- keep-alive
|
|
457
|
+
Cookie:
|
|
458
|
+
- ittrksessid=b8278c09.5dede5af62f48
|
|
459
|
+
User-Agent:
|
|
460
|
+
- Zeep/3.2.0 (www.python-zeep.org)
|
|
461
|
+
method: GET
|
|
462
|
+
uri: https://ebill-ki.postfinance.ch/B2BService/B2BService.svc?xsd=xsd4
|
|
463
|
+
response:
|
|
464
|
+
body:
|
|
465
|
+
string: <?xml version="1.0" encoding="utf-8"?><xs:schema elementFormDefault="qualified"
|
|
466
|
+
targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
|
|
467
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><xs:complexType
|
|
468
|
+
name="ArrayOfstring"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded"
|
|
469
|
+
name="string" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element
|
|
470
|
+
name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring"/></xs:schema>
|
|
471
|
+
headers:
|
|
472
|
+
Connection:
|
|
473
|
+
- close
|
|
474
|
+
Content-Type:
|
|
475
|
+
- text/xml; charset=UTF-8
|
|
476
|
+
Date:
|
|
477
|
+
- Fri, 13 May 2022 05:57:55 GMT
|
|
478
|
+
Referrer-Policy:
|
|
479
|
+
- no-referrer-when-downgrade
|
|
480
|
+
Server:
|
|
481
|
+
- Apache (proxied)
|
|
482
|
+
Strict-Transport-Security:
|
|
483
|
+
- max-age=31536000
|
|
484
|
+
Vary:
|
|
485
|
+
- Accept-Encoding
|
|
486
|
+
X-Content-Type-Options:
|
|
487
|
+
- nosniff
|
|
488
|
+
X-Frame-Options:
|
|
489
|
+
- SAMEORIGIN
|
|
490
|
+
X-RP-UNIQUE_ID:
|
|
491
|
+
- Yn3zYy25lnOenWMr5onEaQAABxY
|
|
492
|
+
X-Xss-Protection:
|
|
493
|
+
- 1; mode=block
|
|
494
|
+
content-length:
|
|
495
|
+
- '534'
|
|
496
|
+
status:
|
|
497
|
+
code: 200
|
|
498
|
+
message: OK
|
|
499
|
+
- request:
|
|
500
|
+
body: "<?xml version='1.0' encoding='utf-8'?>\n<soap-env:Envelope xmlns:soap-env=\"http://www.w3.org/2003/05/soap-envelope\"><soap-env:Header
|
|
501
|
+
xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"><wsa:Action>http://ch.swisspost.ebill.b2bservice/B2BService/SearchInvoices</wsa:Action><wsa:MessageID>urn:uuid:702a1145-d198-4922-bce3-fd1101657330</wsa:MessageID><wsa:To>https://ebill-ki.postfinance.ch/B2BService/B2BService.svc</wsa:To><wsse:Security
|
|
502
|
+
xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\"><wsse:UsernameToken><wsse:Username>yb1021209</wsse:Username><wsse:Password
|
|
503
|
+
Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">\xA3cAmp\xA3339955</wsse:Password></wsse:UsernameToken></wsse:Security></soap-env:Header><soap-env:Body><ns0:SearchInvoices
|
|
504
|
+
xmlns:ns0=\"http://ch.swisspost.ebill.b2bservice\"><ns0:Parameter><ns1:BillerID
|
|
505
|
+
xmlns:ns1=\"http://swisspost_ch.ebs.ebill.b2bservice\">41101000001021209</ns1:BillerID><ns2:TransactionID
|
|
506
|
+
xmlns:ns2=\"http://swisspost_ch.ebs.ebill.b2bservice\">test-transaction-123</ns2:TransactionID></ns0:Parameter></ns0:SearchInvoices></soap-env:Body></soap-env:Envelope>"
|
|
507
|
+
headers:
|
|
508
|
+
Accept:
|
|
509
|
+
- '*/*'
|
|
510
|
+
Accept-Encoding:
|
|
511
|
+
- gzip, deflate
|
|
512
|
+
Connection:
|
|
513
|
+
- keep-alive
|
|
514
|
+
Content-Length:
|
|
515
|
+
- '1174'
|
|
516
|
+
Content-Type:
|
|
517
|
+
- application/soap+xml; charset=utf-8; action="http://ch.swisspost.ebill.b2bservice/B2BService/SearchInvoices"
|
|
518
|
+
Cookie:
|
|
519
|
+
- ittrksessid=b8278c09.5dede5af62f48
|
|
520
|
+
SOAPAction:
|
|
521
|
+
- '"http://ch.swisspost.ebill.b2bservice/B2BService/SearchInvoices"'
|
|
522
|
+
User-Agent:
|
|
523
|
+
- Zeep/3.2.0 (www.python-zeep.org)
|
|
524
|
+
method: POST
|
|
525
|
+
uri: https://ebill-ki.postfinance.ch/B2BService/B2BService.svc
|
|
526
|
+
response:
|
|
527
|
+
body:
|
|
528
|
+
string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"
|
|
529
|
+
xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><s:Header><a:Action
|
|
530
|
+
s:mustUnderstand="1">http://ch.swisspost.ebill.b2bservice/B2BService/SearchInvoicesResponse</a:Action><ActivityId
|
|
531
|
+
CorrelationId="7645db82-3ac8-47ee-ab0c-64a0946b409f" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">00000000-0000-0000-0000-000000000000</ActivityId><a:RelatesTo>urn:uuid:702a1145-d198-4922-bce3-fd1101657330</a:RelatesTo><o:Security
|
|
532
|
+
s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><u:Timestamp
|
|
533
|
+
u:Id="_0"><u:Created>2022-05-13T05:57:56.570Z</u:Created><u:Expires>2022-05-13T06:02:56.570Z</u:Expires></u:Timestamp></o:Security></s:Header><s:Body><SearchInvoicesResponse
|
|
534
|
+
xmlns="http://ch.swisspost.ebill.b2bservice"><SearchInvoicesResult xmlns:b="http://swisspost_ch.ebs.ebill.b2bservice"
|
|
535
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:InvoiceCount>1</b:InvoiceCount><b:TotalInvoiceCount>1</b:TotalInvoiceCount><b:InvoiceList><b:SearchInvoice><b:BillerId>41101000001021209</b:BillerId><b:TransactionId>test-transaction-123</b:TransactionId><b:eBillAccountId>41100000259278521</b:eBillAccountId><b:Amount>340</b:Amount><b:State>Invalid</b:State><b:PaymentType/><b:ESRReferenceNbr/><b:DeliveryDate>2022-05-13T07:32:04.38</b:DeliveryDate><b:PaymentDueDate
|
|
536
|
+
i:nil="true"/><b:ReasonCode>09</b:ReasonCode><b:ReasonText>TransactionID in
|
|
537
|
+
file name (test-transaction-123) and XML (QR-IBAN) not equal</b:ReasonText></b:SearchInvoice></b:InvoiceList></SearchInvoicesResult></SearchInvoicesResponse></s:Body></s:Envelope>
|
|
538
|
+
headers:
|
|
539
|
+
Connection:
|
|
540
|
+
- close
|
|
541
|
+
Content-Length:
|
|
542
|
+
- '1737'
|
|
543
|
+
Content-Type:
|
|
544
|
+
- application/soap+xml; charset=utf-8
|
|
545
|
+
Date:
|
|
546
|
+
- Fri, 13 May 2022 05:57:55 GMT
|
|
547
|
+
Referrer-Policy:
|
|
548
|
+
- no-referrer-when-downgrade
|
|
549
|
+
Server:
|
|
550
|
+
- Apache (proxied)
|
|
551
|
+
Strict-Transport-Security:
|
|
552
|
+
- max-age=31536000
|
|
553
|
+
X-Content-Type-Options:
|
|
554
|
+
- nosniff
|
|
555
|
+
X-Frame-Options:
|
|
556
|
+
- SAMEORIGIN
|
|
557
|
+
X-RP-UNIQUE_ID:
|
|
558
|
+
- Yn3zZBFe1qhLp6voSVLKFAAACRM
|
|
559
|
+
X-Xss-Protection:
|
|
560
|
+
- 1; mode=block
|
|
561
|
+
status:
|
|
562
|
+
code: 200
|
|
563
|
+
message: OK
|
|
564
|
+
version: 1
|