Merge lp:~akretion-team/banking-addons/70-sepa-direct-debit into lp:banking-addons

Proposed by Alexis de Lattre
Status: Rejected
Rejected by: Alexis de Lattre
Proposed branch: lp:~akretion-team/banking-addons/70-sepa-direct-debit
Merge into: lp:banking-addons
Diff against target: 5939 lines (+5675/-32)
32 files modified
account_banking_payment/__openerp__.py (+1/-0)
account_banking_payment/model/__init__.py (+1/-1)
account_banking_payment/model/account_payment.py (+1/-0)
account_banking_payment/model/payment_mode.py (+4/-0)
account_banking_payment/view/payment_mode.xml (+1/-0)
account_banking_payment/view/payment_order_create_view.xml (+23/-0)
account_banking_sepa_direct_debit/__init__.py (+25/-0)
account_banking_sepa_direct_debit/__openerp__.py (+59/-0)
account_banking_sepa_direct_debit/account_banking_sdd.py (+365/-0)
account_banking_sepa_direct_debit/account_banking_sdd_view.xml (+82/-0)
account_banking_sepa_direct_debit/account_invoice_view.xml (+22/-0)
account_banking_sepa_direct_debit/account_payment_view.xml (+26/-0)
account_banking_sepa_direct_debit/company.py (+83/-0)
account_banking_sepa_direct_debit/company_view.xml (+22/-0)
account_banking_sepa_direct_debit/data/mandate_reference_sequence.xml (+21/-0)
account_banking_sepa_direct_debit/data/pain.008.001.02.xsd (+879/-0)
account_banking_sepa_direct_debit/data/pain.008.001.03.xsd (+925/-0)
account_banking_sepa_direct_debit/data/pain.008.001.04.xsd (+892/-0)
account_banking_sepa_direct_debit/data/payment_type_sdd.xml (+37/-0)
account_banking_sepa_direct_debit/i18n/account_banking_sepa_direct_debit.pot (+643/-0)
account_banking_sepa_direct_debit/i18n/fr.po (+652/-0)
account_banking_sepa_direct_debit/mandate_expire_cron.xml (+26/-0)
account_banking_sepa_direct_debit/res_partner_bank_view.xml (+48/-0)
account_banking_sepa_direct_debit/sdd_mandate_view.xml (+147/-0)
account_banking_sepa_direct_debit/security/ir.model.access.csv (+4/-0)
account_banking_sepa_direct_debit/wizard/__init__.py (+23/-0)
account_banking_sepa_direct_debit/wizard/export_sdd.py (+588/-0)
account_banking_sepa_direct_debit/wizard/export_sdd_view.xml (+38/-0)
account_direct_debit/model/account_invoice.py (+3/-3)
account_direct_debit/model/account_move_line.py (+31/-0)
account_direct_debit/model/account_payment.py (+0/-28)
account_direct_debit/view/account_payment.xml (+3/-0)
To merge this branch: bzr merge lp:~akretion-team/banking-addons/70-sepa-direct-debit
Reviewer Review Type Date Requested Status
Raphaël Valyi - http://www.akretion.com Approve
Review via email: mp+195139@code.launchpad.net

Description of the change

February 1st 2014 is approaching, so OpenERP needs to be SEPA-ready not just on Credit Transfers but also on Direct Debits ! Here comes the module "account_banking_sepa_direct_debit" !

I have already successfully made a direct debit with a French bank using an XML file generated by this module.

To post a comment you must log in.
200. By Alexis de Lattre

Remove fields_view_get() on payment.order because dynamic domain is now possible and I implemented it in a previous commit.
Minor usability improvements in mandate menu and views
Refresh partner_id field on mandate in the on_change of partner_bank_id

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

LGTM, no tests. I like the _description = __doc__ trick.

review: Approve
Revision history for this message
Erwin van der Ploeg (BAS Solutions) (erwin-bassolutions-deactivatedaccount) wrote :

Hi, i'm testing the module. But i keep getting: Error: Missing SEPA Direct Debit mandate on the payment line with partner 'Leverancier_sepa_test' and Invoice ref '20134760001'.

I have added mandate on bak account of supplier. What do i do wrong? Little help needed. Then i can send file to bank for testing.

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

@Erwin :

Direct Debit is for customers, not for suppliers ! :)

The error message means that you haven't selected the mandate of your customer on the line of the direct debit order. A customer can have several mandates, so you need to select the appropriate mandate on the payment line.

When you use the wizard "Select invoices to pay" on the direct debit order :
- if a mandate has been select on the invoice, it will set this mandate on the payment line
- otherwise, it will take the first valid mandate of the customer and set it on the payment line

Revision history for this message
Erwin van der Ploeg (BAS Solutions) (erwin-bassolutions-deactivatedaccount) wrote :

Grrrr. I'm mixed up, thanks for the quick repley. I go testing again!

Revision history for this message
Erwin van der Ploeg (BAS Solutions) (erwin-bassolutions-deactivatedaccount) wrote :

Files are on the way to the bank. Wait for 1 week.

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

The review of this merge proposal took too much time, so the code is now outdated. I will now cancel this merge proposal and propose a new one with the up-to-date code.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_banking_payment/__openerp__.py'
2--- account_banking_payment/__openerp__.py 2013-08-13 09:18:15 +0000
3+++ account_banking_payment/__openerp__.py 2013-11-20 23:27:56 +0000
4@@ -39,6 +39,7 @@
5 'view/banking_transaction_wizard.xml',
6 'view/payment_mode.xml',
7 'view/payment_mode_type.xml',
8+ 'view/payment_order_create_view.xml',
9 'workflow/account_payment.xml',
10 ],
11 'description': '''
12
13=== modified file 'account_banking_payment/model/__init__.py'
14--- account_banking_payment/model/__init__.py 2013-08-13 09:18:15 +0000
15+++ account_banking_payment/model/__init__.py 2013-11-20 23:27:56 +0000
16@@ -1,7 +1,7 @@
17 import account_payment
18 import payment_line
19+import payment_mode_type
20 import payment_mode
21-import payment_mode_type
22 import payment_order_create
23 import banking_import_transaction
24 import banking_transaction_wizard
25
26=== modified file 'account_banking_payment/model/account_payment.py'
27--- account_banking_payment/model/account_payment.py 2013-10-14 11:18:42 +0000
28+++ account_banking_payment/model/account_payment.py 2013-11-20 23:27:56 +0000
29@@ -107,6 +107,7 @@
30 'payment_order_type': fields.selection(
31 [('payment', 'Payment'),('debit', 'Direct debit')],
32 'Payment order type', required=True,
33+ readonly=True, states={'draft': [('readonly', False)]},
34 ),
35 'date_sent': fields.date('Send date', readonly=True),
36 }
37
38=== modified file 'account_banking_payment/model/payment_mode.py'
39--- account_banking_payment/model/payment_mode.py 2013-08-13 09:18:15 +0000
40+++ account_banking_payment/model/payment_mode.py 2013-11-20 23:27:56 +0000
41@@ -50,4 +50,8 @@
42 help=('Limit selected invoices to invoices with these payment '
43 'terms')
44 ),
45+ 'payment_order_type': fields.related(
46+ 'type', 'payment_order_type', readonly=True, type='selection',
47+ selection=[('payment', 'Payment'), ('debit', 'Direct debit')],
48+ string="Payment Order Type"),
49 }
50
51=== modified file 'account_banking_payment/view/payment_mode.xml'
52--- account_banking_payment/view/payment_mode.xml 2013-08-13 09:18:15 +0000
53+++ account_banking_payment/view/payment_mode.xml 2013-11-20 23:27:56 +0000
54@@ -11,6 +11,7 @@
55 <field name="inherit_id" ref="account_banking_payment_export.view_payment_mode_form_inherit"/>
56 <field name="arch" type="xml">
57 <field name="type" position="after">
58+ <field name="payment_order_type"/>
59 <group colspan="4" col="4">
60 <group colspan="2">
61 <separator colspan="2"
62
63=== added file 'account_banking_payment/view/payment_order_create_view.xml'
64--- account_banking_payment/view/payment_order_create_view.xml 1970-01-01 00:00:00 +0000
65+++ account_banking_payment/view/payment_order_create_view.xml 2013-11-20 23:27:56 +0000
66@@ -0,0 +1,23 @@
67+<?xml version="1.0" encoding="utf-8"?>
68+<!--
69+ Copyright (C) 2013 Akretion (http://www.akretion.com)
70+ @author: Alexis de Lattre <alexis.delattre@akretion.com>
71+ The licence is in the file __openerp__.py
72+-->
73+<openerp>
74+<data>
75+
76+<record id="view_create_payment_order_lines" model="ir.ui.view">
77+ <field name="name">add.context.to.display.maturity.date</field>
78+ <field name="model">payment.order.create</field>
79+ <field name="inherit_id" ref="account_payment.view_create_payment_order_lines"/>
80+ <field name="arch" type="xml">
81+ <field name="entries" position="attributes">
82+ <attribute name="context">{'journal_type': 'sale'}</attribute>
83+ <attribute name="nolabel">1</attribute>
84+ </field>
85+ </field>
86+</record>
87+
88+</data>
89+</openerp>
90
91=== added directory 'account_banking_sepa_direct_debit'
92=== added file 'account_banking_sepa_direct_debit/__init__.py'
93--- account_banking_sepa_direct_debit/__init__.py 1970-01-01 00:00:00 +0000
94+++ account_banking_sepa_direct_debit/__init__.py 2013-11-20 23:27:56 +0000
95@@ -0,0 +1,25 @@
96+# -*- encoding: utf-8 -*-
97+##############################################################################
98+#
99+# SEPA Direct Debit module for OpenERP
100+# Copyright (C) 2013 Akretion (http://www.akretion.com)
101+# @author: Alexis de Lattre <alexis.delattre@akretion.com>
102+#
103+# This program is free software: you can redistribute it and/or modify
104+# it under the terms of the GNU Affero General Public License as
105+# published by the Free Software Foundation, either version 3 of the
106+# License, or (at your option) any later version.
107+#
108+# This program is distributed in the hope that it will be useful,
109+# but WITHOUT ANY WARRANTY; without even the implied warranty of
110+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
111+# GNU Affero General Public License for more details.
112+#
113+# You should have received a copy of the GNU Affero General Public License
114+# along with this program. If not, see <http://www.gnu.org/licenses/>.
115+#
116+##############################################################################
117+
118+from . import company
119+from . import wizard
120+from . import account_banking_sdd
121
122=== added file 'account_banking_sepa_direct_debit/__openerp__.py'
123--- account_banking_sepa_direct_debit/__openerp__.py 1970-01-01 00:00:00 +0000
124+++ account_banking_sepa_direct_debit/__openerp__.py 2013-11-20 23:27:56 +0000
125@@ -0,0 +1,59 @@
126+##############################################################################
127+#
128+# SEPA Direct Debit module for OpenERP
129+# Copyright (C) 2013 Akretion (http://www.akretion.com)
130+# @author: Alexis de Lattre <alexis.delattre@akretion.com>
131+#
132+# This program is free software: you can redistribute it and/or modify
133+# it under the terms of the GNU Affero General Public License as
134+# published by the Free Software Foundation, either version 3 of the
135+# License, or (at your option) any later version.
136+#
137+# This program is distributed in the hope that it will be useful,
138+# but WITHOUT ANY WARRANTY; without even the implied warranty of
139+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
140+# GNU Affero General Public License for more details.
141+#
142+# You should have received a copy of the GNU Affero General Public License
143+# along with this program. If not, see <http://www.gnu.org/licenses/>.
144+#
145+##############################################################################
146+{
147+ 'name': 'Account Banking SEPA Direct Debit',
148+ 'summary': 'Create SEPA files for Direct Debit',
149+ 'version': '0.1',
150+ 'license': 'AGPL-3',
151+ 'author': 'Akretion',
152+ 'website': 'http://www.akretion.com',
153+ 'category': 'Banking addons',
154+ 'depends': ['account_direct_debit'],
155+ 'external_dependencies': {
156+ 'python': ['unidecode', 'lxml'],
157+ },
158+ 'data': [
159+ 'account_banking_sdd_view.xml',
160+ 'sdd_mandate_view.xml',
161+ 'res_partner_bank_view.xml',
162+ 'account_payment_view.xml',
163+ 'company_view.xml',
164+ 'mandate_expire_cron.xml',
165+ 'account_invoice_view.xml',
166+ 'wizard/export_sdd_view.xml',
167+ 'data/payment_type_sdd.xml',
168+ 'data/mandate_reference_sequence.xml',
169+ 'security/ir.model.access.csv',
170+ ],
171+ 'description': '''
172+Module to export direct debit payment orders in SEPA XML file format.
173+
174+SEPA PAIN (PAyment INitiation) is the new european standard for Customer-to-Bank payment instructions. This module implements SEPA Direct Debit (SDD), more specifically PAIN versions 008.001.02, 008.001.03 and 008.001.04. It is part of the ISO 20022 standard, available on http://www.iso20022.org.
175+
176+The Implementation Guidelines for SEPA Direct Debit published by the European Payments Council (http://http://www.europeanpaymentscouncil.eu) use PAIN version 008.001.02. So if you don't know which version your bank supports, you should try version 008.001.02 first.
177+
178+This module uses the framework provided by the banking addons, cf https://launchpad.net/banking-addons
179+
180+Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.
181+ ''',
182+ 'active': False,
183+ 'installable': True,
184+}
185
186=== added file 'account_banking_sepa_direct_debit/account_banking_sdd.py'
187--- account_banking_sepa_direct_debit/account_banking_sdd.py 1970-01-01 00:00:00 +0000
188+++ account_banking_sepa_direct_debit/account_banking_sdd.py 2013-11-20 23:27:56 +0000
189@@ -0,0 +1,365 @@
190+##############################################################################
191+#
192+# SEPA Direct Debit module for OpenERP
193+# Copyright (C) 2013 Akretion (http://www.akretion.com)
194+# @author: Alexis de Lattre <alexis.delattre@akretion.com>
195+#
196+# This program is free software: you can redistribute it and/or modify
197+# it under the terms of the GNU Affero General Public License as
198+# published by the Free Software Foundation, either version 3 of the
199+# License, or (at your option) any later version.
200+#
201+# This program is distributed in the hope that it will be useful,
202+# but WITHOUT ANY WARRANTY; without even the implied warranty of
203+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
204+# GNU Affero General Public License for more details.
205+#
206+# You should have received a copy of the GNU Affero General Public License
207+# along with this program. If not, see <http://www.gnu.org/licenses/>.
208+#
209+##############################################################################
210+
211+from openerp.osv import orm, fields
212+from openerp.tools.translate import _
213+from openerp.addons.decimal_precision import decimal_precision as dp
214+from unidecode import unidecode
215+from datetime import datetime
216+from dateutil.relativedelta import relativedelta
217+import logging
218+
219+NUMBER_OF_UNUSED_MONTHS_BEFORE_EXPIRY = 36
220+
221+logger = logging.getLogger(__name__)
222+
223+
224+class banking_export_sdd(orm.Model):
225+ '''SEPA Direct Debit export'''
226+ _name = 'banking.export.sdd'
227+ _description = __doc__
228+ _rec_name = 'filename'
229+
230+ def _generate_filename(self, cr, uid, ids, name, arg, context=None):
231+ res = {}
232+ for sepa_file in self.browse(cr, uid, ids, context=context):
233+ ref = sepa_file.payment_order_ids[0].reference
234+ if ref:
235+ label = unidecode(ref.replace('/', '-'))
236+ else:
237+ label = 'error'
238+ res[sepa_file.id] = 'sdd_%s.xml' % label
239+ return res
240+
241+ _columns = {
242+ 'payment_order_ids': fields.many2many(
243+ 'payment.order',
244+ 'account_payment_order_sdd_rel',
245+ 'banking_export_sepa_id', 'account_order_id',
246+ 'Payment Orders',
247+ readonly=True),
248+ 'requested_collec_date': fields.date(
249+ 'Requested Collection Date', readonly=True),
250+ 'nb_transactions': fields.integer(
251+ 'Number of Transactions', readonly=True),
252+ 'total_amount': fields.float(
253+ 'Total Amount', digits_compute=dp.get_precision('Account'),
254+ readonly=True),
255+ 'batch_booking': fields.boolean(
256+ 'Batch Booking', readonly=True,
257+ help="If true, the bank statement will display only one credit line for all the direct debits of the SEPA file ; if false, the bank statement will display one credit line per direct debit of the SEPA file."),
258+ 'charge_bearer': fields.selection([
259+ ('SLEV', 'Following Service Level'),
260+ ('SHAR', 'Shared'),
261+ ('CRED', 'Borne by Creditor'),
262+ ('DEBT', 'Borne by Debtor'),
263+ ], 'Charge Bearer', readonly=True,
264+ help='Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor.'),
265+ 'create_date': fields.datetime('Generation Date', readonly=True),
266+ 'file': fields.binary('SEPA File', readonly=True),
267+ 'filename': fields.function(
268+ _generate_filename, type='char', size=256,
269+ string='Filename', readonly=True, store=True),
270+ 'state': fields.selection([
271+ ('draft', 'Draft'),
272+ ('sent', 'Sent'),
273+ ('done', 'Reconciled'),
274+ ], 'State', readonly=True),
275+ }
276+
277+ _defaults = {
278+ 'state': 'draft',
279+ }
280+
281+
282+class sdd_mandate(orm.Model):
283+ '''SEPA Direct Debit Mandate'''
284+ _name = 'sdd.mandate'
285+ _description = __doc__
286+ _rec_name = 'unique_mandate_reference'
287+ _inherit = ['mail.thread']
288+ _order = 'signature_date desc'
289+ _track = {
290+ 'state': {
291+ 'account_banking_sepa_direct_debit.mandate_valid':
292+ lambda self, cr, uid, obj, ctx=None: obj['state'] == 'valid',
293+ 'account_banking_sepa_direct_debit.mandate_expired':
294+ lambda self, cr, uid, obj, ctx=None: obj['state'] == 'expired',
295+ 'account_banking_sepa_direct_debit.mandate_cancel':
296+ lambda self, cr, uid, obj, ctx=None: obj['state'] == 'cancel',
297+ },
298+ 'recurrent_sequence_type': {
299+ 'account_banking_sepa_direct_debit.recurrent_sequence_type_first':
300+ lambda self, cr, uid, obj, ctx=None:
301+ obj['recurrent_sequence_type'] == 'first',
302+ 'account_banking_sepa_direct_debit.recurrent_sequence_type_recurring':
303+ lambda self, cr, uid, obj, ctx=None:
304+ obj['recurrent_sequence_type'] == 'recurring',
305+ 'account_banking_sepa_direct_debit.recurrent_sequence_type_final':
306+ lambda self, cr, uid, obj, ctx=None:
307+ obj['recurrent_sequence_type'] == 'final',
308+ }
309+ }
310+
311+ _columns = {
312+ 'partner_bank_id': fields.many2one('res.partner.bank', 'Bank Account'),
313+ 'partner_id': fields.related(
314+ 'partner_bank_id', 'partner_id', type='many2one',
315+ relation='res.partner', string='Partner', readonly=True),
316+ 'company_id': fields.many2one('res.company', 'Company', required=True),
317+ 'unique_mandate_reference': fields.char(
318+ 'Unique Mandate Reference', size=35, readonly=True),
319+ 'type': fields.selection([
320+ ('recurrent', 'Recurrent'),
321+ ('oneoff', 'One-Off'),
322+ ], 'Type of Mandate', required=True),
323+ 'recurrent_sequence_type': fields.selection([
324+ ('first', 'First'),
325+ ('recurring', 'Recurring'),
326+ ('final', 'Final'),
327+ ], 'Sequence Type for Next Debit',
328+ help="This field is only used for Recurrent mandates, not for One-Off mandates."),
329+ 'signature_date': fields.date('Date of Signature of the Mandate'),
330+ 'scan': fields.binary('Scan of the Mandate'),
331+ 'last_debit_date': fields.date(
332+ 'Date of the Last Debit', readonly=True),
333+ 'state': fields.selection([
334+ ('draft', 'Draft'),
335+ ('valid', 'Valid'),
336+ ('expired', 'Expired'),
337+ ('cancel', 'Cancelled'),
338+ ], 'Status',
339+ help="Only valid mandates can be used in a payment line. A cancelled mandate is a mandate that has been cancelled by the customer. A one-off mandate expires after its first use. A recurrent mandate expires after it's final use or if it hasn't been used for 36 months."),
340+ 'payment_line_ids': fields.one2many(
341+ 'payment.line', 'sdd_mandate_id', "Related Payment Lines"),
342+ }
343+
344+ _defaults = {
345+ 'company_id': lambda self, cr, uid, context:
346+ self.pool['res.company'].\
347+ _company_default_get(cr, uid, 'sdd.mandate', context=context),
348+ 'unique_mandate_reference': lambda self, cr, uid, ctx:
349+ self.pool['ir.sequence'].get(cr, uid, 'sdd.mandate.reference'),
350+ 'state': 'draft',
351+ }
352+
353+ _sql_constraints = [(
354+ 'mandate_ref_company_uniq',
355+ 'unique(unique_mandate_reference, company_id)',
356+ 'A Mandate with the same reference already exists for this company !'
357+ )]
358+
359+ def _check_sdd_mandate(self, cr, uid, ids, context=None):
360+ for mandate in self.read(cr, uid, ids, [
361+ 'last_debit_date', 'signature_date',
362+ 'unique_mandate_reference', 'state', 'partner_bank_id',
363+ 'type', 'recurrent_sequence_type',
364+ ], context=context):
365+ if (mandate['signature_date'] and
366+ mandate['signature_date'] >
367+ datetime.today().strftime('%Y-%m-%d')):
368+ raise orm.except_orm(
369+ _('Error:'),
370+ _("The date of signature of mandate '%s' is in the future!")
371+ % mandate['unique_mandate_reference'])
372+ if mandate['state'] == 'valid' and not mandate['signature_date']:
373+ raise orm.except_orm(
374+ _('Error:'),
375+ _("Cannot validate the mandate '%s' without a date of signature.")
376+ % mandate['unique_mandate_reference'])
377+ if mandate['state'] == 'valid' and not mandate['partner_bank_id']:
378+ raise orm.except_orm(
379+ _('Error:'),
380+ _("Cannot validate the mandate '%s' because it is not attached to a bank account.")
381+ % mandate['unique_mandate_reference'])
382+
383+ if (mandate['signature_date'] and mandate['last_debit_date'] and
384+ mandate['signature_date'] > mandate['last_debit_date']):
385+ raise orm.except_orm(
386+ _('Error:'),
387+ _("The mandate '%s' can't have a date of last debit before the date of signature.")
388+ % mandate['unique_mandate_reference'])
389+ if (mandate['type'] == 'recurrent'
390+ and not mandate['recurrent_sequence_type']):
391+ raise orm.except_orm(
392+ _('Error:'),
393+ _("The recurrent mandate '%s' must have a sequence type.")
394+ % mandate['unique_mandate_reference'])
395+ return True
396+
397+ _constraints = [
398+ (_check_sdd_mandate, "Error msg in raise", [
399+ 'last_debit_date', 'signature_date', 'state', 'partner_bank_id',
400+ 'type', 'recurrent_sequence_type',
401+ ]),
402+ ]
403+
404+ def mandate_type_change(self, cr, uid, ids, type):
405+ if type == 'recurrent':
406+ recurrent_sequence_type = 'first'
407+ else:
408+ recurrent_sequence_type = False
409+ res = {'value': {'recurrent_sequence_type': recurrent_sequence_type}}
410+ return res
411+
412+ def mandate_partner_bank_change(
413+ self, cr, uid, ids, partner_bank_id, type, recurrent_sequence_type,
414+ last_debit_date, state):
415+ res = {'value': {}}
416+ if partner_bank_id:
417+ partner_bank_read = self.pool['res.partner.bank'].read(
418+ cr, uid, partner_bank_id, ['partner_id'])['partner_id']
419+ if partner_bank_read:
420+ res['value']['partner_id'] = partner_bank_read[0]
421+ if (state == 'valid' and partner_bank_id
422+ and type == 'recurrent'
423+ and recurrent_sequence_type != 'first'):
424+ res['value']['recurrent_sequence_type'] = 'first'
425+ res['warning'] = {
426+ 'title': _('Mandate update'),
427+ 'message': _("As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'."),
428+ }
429+ return res
430+
431+ def validate(self, cr, uid, ids, context=None):
432+ to_validate_ids = []
433+ for mandate in self.browse(cr, uid, ids, context=context):
434+ assert mandate.state == 'draft', 'Mandate should be in draft state'
435+ to_validate_ids.append(mandate.id)
436+ self.write(
437+ cr, uid, to_validate_ids, {'state': 'valid'}, context=context)
438+ return True
439+
440+ def cancel(self, cr, uid, ids, context=None):
441+ to_cancel_ids = []
442+ for mandate in self.browse(cr, uid, ids, context=context):
443+ assert mandate.state in ('draft', 'valid'),\
444+ 'Mandate should be in draft or valid state'
445+ to_cancel_ids.append(mandate.id)
446+ self.write(
447+ cr, uid, to_cancel_ids, {'state': 'cancel'}, context=context)
448+ return True
449+
450+ def _sdd_mandate_set_state_to_expired(self, cr, uid, context=None):
451+ logger.info('Searching for SDD Mandates that must be set to Expired')
452+ expire_limit_date = datetime.today() + \
453+ relativedelta(months=-NUMBER_OF_UNUSED_MONTHS_BEFORE_EXPIRY)
454+ expire_limit_date_str = expire_limit_date.strftime('%Y-%m-%d')
455+ expired_mandate_ids = self.search(cr, uid, [
456+ '|',
457+ ('last_debit_date', '=', False),
458+ ('last_debit_date', '<=', expire_limit_date_str),
459+ ('state', '=', 'valid'),
460+ ('signature_date', '<=', expire_limit_date_str),
461+ ], context=context)
462+ if expired_mandate_ids:
463+ self.write(
464+ cr, uid, expired_mandate_ids, {'state': 'expired'},
465+ context=context)
466+ logger.info(
467+ 'The following SDD Mandate IDs has been set to expired: %s'
468+ % expired_mandate_ids)
469+ else:
470+ logger.info('0 SDD Mandates must be set to Expired')
471+ return True
472+
473+
474+class res_partner_bank(orm.Model):
475+ _inherit = 'res.partner.bank'
476+
477+ _columns = {
478+ 'sdd_mandate_ids': fields.one2many(
479+ 'sdd.mandate', 'partner_bank_id', 'SEPA Direct Debit Mandates'),
480+ }
481+
482+
483+class payment_line(orm.Model):
484+ _inherit = 'payment.line'
485+
486+ _columns = {
487+ 'sdd_mandate_id': fields.many2one(
488+ 'sdd.mandate', 'SEPA Direct Debit Mandate',
489+ domain=[('state', '=', 'valid')]),
490+ }
491+
492+ def create(self, cr, uid, vals, context=None):
493+ '''If the customer invoice has a mandate, take it
494+ otherwise, take the first valid mandate of the bank account'''
495+ if context is None:
496+ context = {}
497+ if not vals:
498+ vals = {}
499+ partner_bank_id = vals.get('bank_id')
500+ move_line_id = vals.get('move_line_id')
501+ if (context.get('default_payment_order_type') == 'debit'
502+ and 'sdd_mandate_id' not in vals):
503+ if move_line_id:
504+ line = self.pool['account.move.line'].browse(
505+ cr, uid, move_line_id, context=context)
506+ if (line.invoice and line.invoice.type == 'out_invoice'
507+ and line.invoice.sdd_mandate_id):
508+ vals.update({
509+ 'sdd_mandate_id': line.invoice.sdd_mandate_id.id,
510+ 'bank_id':
511+ line.invoice.sdd_mandate_id.partner_bank_id.id,
512+ })
513+ if partner_bank_id and 'sdd_mandate_id' not in vals:
514+ mandate_ids = self.pool['sdd.mandate'].search(cr, uid, [
515+ ('partner_bank_id', '=', partner_bank_id),
516+ ('state', '=', 'valid'),
517+ ], context=context)
518+ if mandate_ids:
519+ vals['sdd_mandate_id'] = mandate_ids[0]
520+ return super(payment_line, self).create(cr, uid, vals, context=context)
521+
522+ def _check_mandate_bank_link(self, cr, uid, ids):
523+ for payline in self.browse(cr, uid, ids):
524+ if (payline.sdd_mandate_id and payline.bank_id
525+ and payline.sdd_mandate_id.partner_bank_id.id !=
526+ payline.bank_id.id):
527+ raise orm.except_orm(
528+ _('Error:'),
529+ _("The payment line with reference '%s' has the bank account '%s' which is not attached to the mandate '%s' (this mandate is attached to the bank account '%s').")
530+ % (payline.name,
531+ self.pool['res.partner.bank'].name_get(
532+ cr, uid, [payline.bank_id.id])[0][1],
533+ payline.sdd_mandate_id.unique_mandate_reference,
534+ self.pool['res.partner.bank'].name_get(
535+ cr, uid,
536+ [payline.sdd_mandate_id.partner_bank_id.id])[0][1],
537+ ))
538+ return True
539+
540+ _constraints = [
541+ (_check_mandate_bank_link, 'Error msg in raise',
542+ ['sdd_mandate_id', 'bank_id']),
543+ ]
544+
545+
546+class account_invoice(orm.Model):
547+ _inherit = 'account.invoice'
548+
549+ _columns = {
550+ 'sdd_mandate_id': fields.many2one(
551+ 'sdd.mandate', 'SEPA Direct Debit Mandate',
552+ domain=[('state', '=', 'valid')], readonly=True,
553+ states={'draft': [('readonly', False)]})
554+ }
555
556=== added file 'account_banking_sepa_direct_debit/account_banking_sdd_view.xml'
557--- account_banking_sepa_direct_debit/account_banking_sdd_view.xml 1970-01-01 00:00:00 +0000
558+++ account_banking_sepa_direct_debit/account_banking_sdd_view.xml 2013-11-20 23:27:56 +0000
559@@ -0,0 +1,82 @@
560+<?xml version="1.0" encoding="utf-8"?>
561+<!--
562+ Copyright (C) 2013 Akretion (http://www.akretion.com)
563+ @author: Alexis de Lattre <alexis.delattre@akretion.com>
564+ The licence is in the file __openerp__.py
565+-->
566+<openerp>
567+<data>
568+
569+<record id="view_banking_export_sdd_form" model="ir.ui.view">
570+ <field name="name">account.banking.export.sdd.form</field>
571+ <field name="model">banking.export.sdd</field>
572+ <field name="arch" type="xml">
573+ <form string="SEPA Direct Debit">
574+ <notebook>
575+ <page string="General Information">
576+ <field name="total_amount" />
577+ <field name="nb_transactions" />
578+ <field name="requested_collec_date" />
579+ <field name="batch_booking" />
580+ <field name="charge_bearer"/>
581+ <field name="create_date" />
582+ <newline />
583+ <field name="file" filename="filename"/>
584+ <field name="filename" invisible="True"/>
585+ </page>
586+ <page string="Payment Orders">
587+ <field name="payment_order_ids" colspan="4" nolabel="1">
588+ <tree colors="blue:state in ('draft');gray:state in ('cancel','done');black:state in ('open')" string="Payment Orders">
589+ <field name="reference"/>
590+ <field name="date_created"/>
591+ <field name="date_done"/>
592+ <field name="total"/>
593+ <field name="state"/>
594+ </tree>
595+ </field>
596+ </page>
597+ </notebook>
598+ </form>
599+ </field>
600+</record>
601+
602+
603+<record id="view_banking_export_sdd_tree" model="ir.ui.view">
604+ <field name="name">account.banking.export.sdd.tree</field>
605+ <field name="model">banking.export.sdd</field>
606+ <field name="arch" type="xml">
607+ <tree string="SEPA Direct Debit">
608+ <field name="filename"/>
609+ <field name="requested_collec_date"/>
610+ <field name="create_date"/>
611+ <field name="nb_transactions"/>
612+ </tree>
613+ </field>
614+</record>
615+
616+
617+<record id="action_account_banking_sdd" model="ir.actions.act_window">
618+ <field name="name">Generated SEPA Direct Debit Files</field>
619+ <field name="res_model">banking.export.sdd</field>
620+ <field name="view_type">form</field>
621+ <field name="view_mode">tree,form</field>
622+</record>
623+
624+
625+<menuitem id="menu_account_banking_sdd"
626+ parent="account_payment.menu_main_payment"
627+ action="action_account_banking_sdd"
628+ sequence="20"
629+ />
630+
631+<act_window id="act_banking_export_sdd_payment_order"
632+ name="Generated SEPA Direct Debit Files"
633+ domain="[('payment_order_ids', '=', active_id)]"
634+ res_model="banking.export.sdd"
635+ src_model="payment.order"
636+ view_type="form"
637+ view_mode="tree,form"
638+/>
639+
640+</data>
641+</openerp>
642
643=== added file 'account_banking_sepa_direct_debit/account_invoice_view.xml'
644--- account_banking_sepa_direct_debit/account_invoice_view.xml 1970-01-01 00:00:00 +0000
645+++ account_banking_sepa_direct_debit/account_invoice_view.xml 2013-11-20 23:27:56 +0000
646@@ -0,0 +1,22 @@
647+<?xml version="1.0" encoding="utf-8"?>
648+<!--
649+ Copyright (C) 2013 Akretion (http://www.akretion.com)
650+ @author: Alexis de Lattre <alexis.delattre@akretion.com>
651+ The licence is in the file __openerp__.py
652+-->
653+<openerp>
654+<data>
655+
656+<record id="invoice_form" model="ir.ui.view">
657+ <field name="name">add.sdd.mandate.on.customer.invoice.form</field>
658+ <field name="model">account.invoice</field>
659+ <field name="inherit_id" ref="account.invoice_form"/>
660+ <field name="arch" type="xml">
661+ <field name="partner_bank_id" position="after">
662+ <field name="sdd_mandate_id" domain="[('partner_id', '=', partner_id), ('state', '=', 'valid')]" attrs="{'invisible': [('type', '=', 'out_refund')]}"/>
663+ </field>
664+ </field>
665+</record>
666+
667+</data>
668+</openerp>
669
670=== added file 'account_banking_sepa_direct_debit/account_payment_view.xml'
671--- account_banking_sepa_direct_debit/account_payment_view.xml 1970-01-01 00:00:00 +0000
672+++ account_banking_sepa_direct_debit/account_payment_view.xml 2013-11-20 23:27:56 +0000
673@@ -0,0 +1,26 @@
674+<?xml version="1.0" encoding="utf-8"?>
675+<!--
676+ Copyright (C) 2013 Akretion (http://www.akretion.com)
677+ @author: Alexis de Lattre <alexis.delattre@akretion.com>
678+ The licence is in the file __openerp__.py
679+-->
680+<openerp>
681+<data>
682+
683+<record id="sdd_view_payment_order_form" model="ir.ui.view">
684+ <field name="name">sdd.payment.order.form</field>
685+ <field name="model">payment.order</field>
686+ <field name="inherit_id" ref="account_payment.view_payment_order_form"/>
687+ <field name="arch" type="xml">
688+ <xpath expr="//field[@name='line_ids']/form/notebook/page/group/field[@name='bank_id']" position="after">
689+ <field name="sdd_mandate_id" domain="[('partner_bank_id', '=', bank_id), ('state', '=', 'valid')]" invisible="context.get('default_payment_order_type')!='debit'" context="{'default_partner_bank_id': bank_id}"/>
690+ <newline />
691+ </xpath>
692+ <xpath expr="//field[@name='line_ids']/tree/field[@name='bank_id']" position="after">
693+ <field name="sdd_mandate_id" string="SDD Mandate" invisible="context.get('default_payment_order_type')!='debit'"/>
694+ </xpath>
695+ </field>
696+</record>
697+
698+</data>
699+</openerp>
700
701=== added file 'account_banking_sepa_direct_debit/company.py'
702--- account_banking_sepa_direct_debit/company.py 1970-01-01 00:00:00 +0000
703+++ account_banking_sepa_direct_debit/company.py 2013-11-20 23:27:56 +0000
704@@ -0,0 +1,83 @@
705+##############################################################################
706+#
707+# SEPA Direct Debit module for OpenERP
708+# Copyright (C) 2013 Akretion (http://www.akretion.com)
709+# @author: Alexis de Lattre <alexis.delattre@akretion.com>
710+#
711+# This program is free software: you can redistribute it and/or modify
712+# it under the terms of the GNU Affero General Public License as
713+# published by the Free Software Foundation, either version 3 of the
714+# License, or (at your option) any later version.
715+#
716+# This program is distributed in the hope that it will be useful,
717+# but WITHOUT ANY WARRANTY; without even the implied warranty of
718+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
719+# GNU Affero General Public License for more details.
720+#
721+# You should have received a copy of the GNU Affero General Public License
722+# along with this program. If not, see <http://www.gnu.org/licenses/>.
723+#
724+##############################################################################
725+
726+from openerp.osv import orm, fields
727+import logging
728+
729+logger = logging.getLogger(__name__)
730+
731+
732+class res_company(orm.Model):
733+ _inherit = 'res.company'
734+
735+ _columns = {
736+ 'sepa_creditor_identifier': fields.char(
737+ 'SEPA Creditor Identifier', size=35,
738+ help="Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. This identifier is composed of :\n- your country ISO code (2 letters)\n- a 2-digits checkum\n- a 3-letters business code\n- a country-specific identifier"),
739+ }
740+
741+ def is_sepa_creditor_identifier_valid(
742+ self, cr, uid, sepa_creditor_identifier, context=None):
743+ """Check if SEPA Creditor Identifier is valid
744+ @param sepa_creditor_identifier: SEPA Creditor Identifier as str
745+ or unicode
746+ @return: True if valid, False otherwise
747+ """
748+ if not isinstance(sepa_creditor_identifier, (str, unicode)):
749+ return False
750+ try:
751+ sci_str = str(sepa_creditor_identifier)
752+ except:
753+ logger.warning(
754+ "SEPA Creditor ID should contain only ASCII caracters.")
755+ return False
756+ sci = sci_str.lower()
757+ if len(sci) < 9:
758+ return False
759+ before_replacement = sci[7:] + sci[0:2] + '00'
760+ logger.debug(
761+ "SEPA ID check before_replacement = %s" % before_replacement)
762+ after_replacement = ''
763+ for char in before_replacement:
764+ if char.isalpha():
765+ after_replacement += str(ord(char)-87)
766+ else:
767+ after_replacement += char
768+ logger.debug(
769+ "SEPA ID check after_replacement = %s" % after_replacement)
770+ if int(sci[2:4]) == (98 - (int(after_replacement) % 97)):
771+ return True
772+ else:
773+ return False
774+
775+ def _check_sepa_creditor_identifier(self, cr, uid, ids):
776+ for company in self.browse(cr, uid, ids):
777+ if company.sepa_creditor_identifier:
778+ if not self.is_sepa_creditor_identifier_valid(
779+ cr, uid, company.sepa_creditor_identifier):
780+ return False
781+ return True
782+
783+ _constraints = [
784+ (_check_sepa_creditor_identifier,
785+ "Invalid SEPA Creditor Identifier.",
786+ ['sepa_creditor_identifier']),
787+ ]
788
789=== added file 'account_banking_sepa_direct_debit/company_view.xml'
790--- account_banking_sepa_direct_debit/company_view.xml 1970-01-01 00:00:00 +0000
791+++ account_banking_sepa_direct_debit/company_view.xml 2013-11-20 23:27:56 +0000
792@@ -0,0 +1,22 @@
793+<?xml version="1.0" encoding="utf-8"?>
794+<!--
795+ Copyright (C) 2013 Akretion (http://www.akretion.com)
796+ @author: Alexis de Lattre <alexis.delattre@akretion.com>
797+ The licence is in the file __openerp__.py
798+-->
799+<openerp>
800+<data>
801+
802+<record id="sdd_res_company_form" model="ir.ui.view">
803+ <field name="name">sepa_direct_debit.res.company.form</field>
804+ <field name="model">res.company</field>
805+ <field name="inherit_id" ref="base.view_company_form"/>
806+ <field name="arch" type="xml">
807+ <field name="currency_id" position="after">
808+ <field name="sepa_creditor_identifier"/>
809+ </field>
810+ </field>
811+</record>
812+
813+</data>
814+</openerp>
815
816=== added directory 'account_banking_sepa_direct_debit/data'
817=== added file 'account_banking_sepa_direct_debit/data/mandate_reference_sequence.xml'
818--- account_banking_sepa_direct_debit/data/mandate_reference_sequence.xml 1970-01-01 00:00:00 +0000
819+++ account_banking_sepa_direct_debit/data/mandate_reference_sequence.xml 2013-11-20 23:27:56 +0000
820@@ -0,0 +1,21 @@
821+<?xml version="1.0" encoding="utf-8"?>
822+<openerp>
823+<data noupdate="1">
824+
825+
826+<record id="sdd_mandate_seq_type" model="ir.sequence.type">
827+ <field name="name">SDD Mandate Reference</field>
828+ <field name="code">sdd.mandate.reference</field>
829+</record>
830+
831+<record id="sdd_mandate_seq" model="ir.sequence">
832+ <field name="name">SDD Mandate Reference</field>
833+ <field name="code">sdd.mandate.reference</field>
834+ <field name="prefix">RUM</field>
835+ <field name="padding" eval="7"/>
836+ <!-- remember that max size for the mandate ref is 35 -->
837+</record>
838+
839+
840+</data>
841+</openerp>
842
843=== added file 'account_banking_sepa_direct_debit/data/pain.008.001.02.xsd'
844--- account_banking_sepa_direct_debit/data/pain.008.001.02.xsd 1970-01-01 00:00:00 +0000
845+++ account_banking_sepa_direct_debit/data/pain.008.001.02.xsd 2013-11-20 23:27:56 +0000
846@@ -0,0 +1,879 @@
847+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
848+<!--Generated by SWIFTStandards Workstation (build:R6.1.0.2) on 2009 Jan 08 17:30:53-->
849+<xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02">
850+ <xs:element name="Document" type="Document"/>
851+ <xs:complexType name="AccountIdentification4Choice">
852+ <xs:sequence>
853+ <xs:choice>
854+ <xs:element name="IBAN" type="IBAN2007Identifier"/>
855+ <xs:element name="Othr" type="GenericAccountIdentification1"/>
856+ </xs:choice>
857+ </xs:sequence>
858+ </xs:complexType>
859+ <xs:complexType name="AccountSchemeName1Choice">
860+ <xs:sequence>
861+ <xs:choice>
862+ <xs:element name="Cd" type="ExternalAccountIdentification1Code"/>
863+ <xs:element name="Prtry" type="Max35Text"/>
864+ </xs:choice>
865+ </xs:sequence>
866+ </xs:complexType>
867+ <xs:simpleType name="ActiveOrHistoricCurrencyAndAmount_SimpleType">
868+ <xs:restriction base="xs:decimal">
869+ <xs:minInclusive value="0"/>
870+ <xs:fractionDigits value="5"/>
871+ <xs:totalDigits value="18"/>
872+ </xs:restriction>
873+ </xs:simpleType>
874+ <xs:complexType name="ActiveOrHistoricCurrencyAndAmount">
875+ <xs:simpleContent>
876+ <xs:extension base="ActiveOrHistoricCurrencyAndAmount_SimpleType">
877+ <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCode" use="required"/>
878+ </xs:extension>
879+ </xs:simpleContent>
880+ </xs:complexType>
881+ <xs:simpleType name="ActiveOrHistoricCurrencyCode">
882+ <xs:restriction base="xs:string">
883+ <xs:pattern value="[A-Z]{3,3}"/>
884+ </xs:restriction>
885+ </xs:simpleType>
886+ <xs:simpleType name="AddressType2Code">
887+ <xs:restriction base="xs:string">
888+ <xs:enumeration value="ADDR"/>
889+ <xs:enumeration value="PBOX"/>
890+ <xs:enumeration value="HOME"/>
891+ <xs:enumeration value="BIZZ"/>
892+ <xs:enumeration value="MLTO"/>
893+ <xs:enumeration value="DLVY"/>
894+ </xs:restriction>
895+ </xs:simpleType>
896+ <xs:complexType name="AmendmentInformationDetails6">
897+ <xs:sequence>
898+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlMndtId" type="Max35Text"/>
899+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrSchmeId" type="PartyIdentification32"/>
900+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrAgt" type="BranchAndFinancialInstitutionIdentification4"/>
901+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrAgtAcct" type="CashAccount16"/>
902+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtr" type="PartyIdentification32"/>
903+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAcct" type="CashAccount16"/>
904+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAgt" type="BranchAndFinancialInstitutionIdentification4"/>
905+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAgtAcct" type="CashAccount16"/>
906+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlFnlColltnDt" type="ISODate"/>
907+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlFrqcy" type="Frequency1Code"/>
908+ </xs:sequence>
909+ </xs:complexType>
910+ <xs:simpleType name="AnyBICIdentifier">
911+ <xs:restriction base="xs:string">
912+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
913+ </xs:restriction>
914+ </xs:simpleType>
915+ <xs:complexType name="Authorisation1Choice">
916+ <xs:sequence>
917+ <xs:choice>
918+ <xs:element name="Cd" type="Authorisation1Code"/>
919+ <xs:element name="Prtry" type="Max128Text"/>
920+ </xs:choice>
921+ </xs:sequence>
922+ </xs:complexType>
923+ <xs:simpleType name="Authorisation1Code">
924+ <xs:restriction base="xs:string">
925+ <xs:enumeration value="AUTH"/>
926+ <xs:enumeration value="FDET"/>
927+ <xs:enumeration value="FSUM"/>
928+ <xs:enumeration value="ILEV"/>
929+ </xs:restriction>
930+ </xs:simpleType>
931+ <xs:simpleType name="BICIdentifier">
932+ <xs:restriction base="xs:string">
933+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
934+ </xs:restriction>
935+ </xs:simpleType>
936+ <xs:simpleType name="BatchBookingIndicator">
937+ <xs:restriction base="xs:boolean"/>
938+ </xs:simpleType>
939+ <xs:complexType name="BranchAndFinancialInstitutionIdentification4">
940+ <xs:sequence>
941+ <xs:element name="FinInstnId" type="FinancialInstitutionIdentification7"/>
942+ <xs:element maxOccurs="1" minOccurs="0" name="BrnchId" type="BranchData2"/>
943+ </xs:sequence>
944+ </xs:complexType>
945+ <xs:complexType name="BranchData2">
946+ <xs:sequence>
947+ <xs:element maxOccurs="1" minOccurs="0" name="Id" type="Max35Text"/>
948+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
949+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
950+ </xs:sequence>
951+ </xs:complexType>
952+ <xs:complexType name="CashAccount16">
953+ <xs:sequence>
954+ <xs:element name="Id" type="AccountIdentification4Choice"/>
955+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="CashAccountType2"/>
956+ <xs:element maxOccurs="1" minOccurs="0" name="Ccy" type="ActiveOrHistoricCurrencyCode"/>
957+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max70Text"/>
958+ </xs:sequence>
959+ </xs:complexType>
960+ <xs:complexType name="CashAccountType2">
961+ <xs:sequence>
962+ <xs:choice>
963+ <xs:element name="Cd" type="CashAccountType4Code"/>
964+ <xs:element name="Prtry" type="Max35Text"/>
965+ </xs:choice>
966+ </xs:sequence>
967+ </xs:complexType>
968+ <xs:simpleType name="CashAccountType4Code">
969+ <xs:restriction base="xs:string">
970+ <xs:enumeration value="CASH"/>
971+ <xs:enumeration value="CHAR"/>
972+ <xs:enumeration value="COMM"/>
973+ <xs:enumeration value="TAXE"/>
974+ <xs:enumeration value="CISH"/>
975+ <xs:enumeration value="TRAS"/>
976+ <xs:enumeration value="SACC"/>
977+ <xs:enumeration value="CACC"/>
978+ <xs:enumeration value="SVGS"/>
979+ <xs:enumeration value="ONDP"/>
980+ <xs:enumeration value="MGLD"/>
981+ <xs:enumeration value="NREX"/>
982+ <xs:enumeration value="MOMA"/>
983+ <xs:enumeration value="LOAN"/>
984+ <xs:enumeration value="SLRY"/>
985+ <xs:enumeration value="ODFT"/>
986+ </xs:restriction>
987+ </xs:simpleType>
988+ <xs:complexType name="CategoryPurpose1Choice">
989+ <xs:sequence>
990+ <xs:choice>
991+ <xs:element name="Cd" type="ExternalCategoryPurpose1Code"/>
992+ <xs:element name="Prtry" type="Max35Text"/>
993+ </xs:choice>
994+ </xs:sequence>
995+ </xs:complexType>
996+ <xs:simpleType name="ChargeBearerType1Code">
997+ <xs:restriction base="xs:string">
998+ <xs:enumeration value="DEBT"/>
999+ <xs:enumeration value="CRED"/>
1000+ <xs:enumeration value="SHAR"/>
1001+ <xs:enumeration value="SLEV"/>
1002+ </xs:restriction>
1003+ </xs:simpleType>
1004+ <xs:complexType name="ClearingSystemIdentification2Choice">
1005+ <xs:sequence>
1006+ <xs:choice>
1007+ <xs:element name="Cd" type="ExternalClearingSystemIdentification1Code"/>
1008+ <xs:element name="Prtry" type="Max35Text"/>
1009+ </xs:choice>
1010+ </xs:sequence>
1011+ </xs:complexType>
1012+ <xs:complexType name="ClearingSystemMemberIdentification2">
1013+ <xs:sequence>
1014+ <xs:element maxOccurs="1" minOccurs="0" name="ClrSysId" type="ClearingSystemIdentification2Choice"/>
1015+ <xs:element name="MmbId" type="Max35Text"/>
1016+ </xs:sequence>
1017+ </xs:complexType>
1018+ <xs:complexType name="ContactDetails2">
1019+ <xs:sequence>
1020+ <xs:element maxOccurs="1" minOccurs="0" name="NmPrfx" type="NamePrefix1Code"/>
1021+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
1022+ <xs:element maxOccurs="1" minOccurs="0" name="PhneNb" type="PhoneNumber"/>
1023+ <xs:element maxOccurs="1" minOccurs="0" name="MobNb" type="PhoneNumber"/>
1024+ <xs:element maxOccurs="1" minOccurs="0" name="FaxNb" type="PhoneNumber"/>
1025+ <xs:element maxOccurs="1" minOccurs="0" name="EmailAdr" type="Max2048Text"/>
1026+ <xs:element maxOccurs="1" minOccurs="0" name="Othr" type="Max35Text"/>
1027+ </xs:sequence>
1028+ </xs:complexType>
1029+ <xs:simpleType name="CountryCode">
1030+ <xs:restriction base="xs:string">
1031+ <xs:pattern value="[A-Z]{2,2}"/>
1032+ </xs:restriction>
1033+ </xs:simpleType>
1034+ <xs:simpleType name="CreditDebitCode">
1035+ <xs:restriction base="xs:string">
1036+ <xs:enumeration value="CRDT"/>
1037+ <xs:enumeration value="DBIT"/>
1038+ </xs:restriction>
1039+ </xs:simpleType>
1040+ <xs:complexType name="CreditorReferenceInformation2">
1041+ <xs:sequence>
1042+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="CreditorReferenceType2"/>
1043+ <xs:element maxOccurs="1" minOccurs="0" name="Ref" type="Max35Text"/>
1044+ </xs:sequence>
1045+ </xs:complexType>
1046+ <xs:complexType name="CreditorReferenceType1Choice">
1047+ <xs:sequence>
1048+ <xs:choice>
1049+ <xs:element name="Cd" type="DocumentType3Code"/>
1050+ <xs:element name="Prtry" type="Max35Text"/>
1051+ </xs:choice>
1052+ </xs:sequence>
1053+ </xs:complexType>
1054+ <xs:complexType name="CreditorReferenceType2">
1055+ <xs:sequence>
1056+ <xs:element name="CdOrPrtry" type="CreditorReferenceType1Choice"/>
1057+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
1058+ </xs:sequence>
1059+ </xs:complexType>
1060+ <xs:complexType name="CustomerDirectDebitInitiationV02">
1061+ <xs:sequence>
1062+ <xs:element name="GrpHdr" type="GroupHeader39"/>
1063+ <xs:element maxOccurs="unbounded" minOccurs="1" name="PmtInf" type="PaymentInstructionInformation4"/>
1064+ </xs:sequence>
1065+ </xs:complexType>
1066+ <xs:complexType name="DateAndPlaceOfBirth">
1067+ <xs:sequence>
1068+ <xs:element name="BirthDt" type="ISODate"/>
1069+ <xs:element maxOccurs="1" minOccurs="0" name="PrvcOfBirth" type="Max35Text"/>
1070+ <xs:element name="CityOfBirth" type="Max35Text"/>
1071+ <xs:element name="CtryOfBirth" type="CountryCode"/>
1072+ </xs:sequence>
1073+ </xs:complexType>
1074+ <xs:complexType name="DatePeriodDetails">
1075+ <xs:sequence>
1076+ <xs:element name="FrDt" type="ISODate"/>
1077+ <xs:element name="ToDt" type="ISODate"/>
1078+ </xs:sequence>
1079+ </xs:complexType>
1080+ <xs:simpleType name="DecimalNumber">
1081+ <xs:restriction base="xs:decimal">
1082+ <xs:fractionDigits value="17"/>
1083+ <xs:totalDigits value="18"/>
1084+ </xs:restriction>
1085+ </xs:simpleType>
1086+ <xs:complexType name="DirectDebitTransaction6">
1087+ <xs:sequence>
1088+ <xs:element maxOccurs="1" minOccurs="0" name="MndtRltdInf" type="MandateRelatedInformation6"/>
1089+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrSchmeId" type="PartyIdentification32"/>
1090+ <xs:element maxOccurs="1" minOccurs="0" name="PreNtfctnId" type="Max35Text"/>
1091+ <xs:element maxOccurs="1" minOccurs="0" name="PreNtfctnDt" type="ISODate"/>
1092+ </xs:sequence>
1093+ </xs:complexType>
1094+ <xs:complexType name="DirectDebitTransactionInformation9">
1095+ <xs:sequence>
1096+ <xs:element name="PmtId" type="PaymentIdentification1"/>
1097+ <xs:element maxOccurs="1" minOccurs="0" name="PmtTpInf" type="PaymentTypeInformation20"/>
1098+ <xs:element name="InstdAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1099+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgBr" type="ChargeBearerType1Code"/>
1100+ <xs:element maxOccurs="1" minOccurs="0" name="DrctDbtTx" type="DirectDebitTransaction6"/>
1101+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtCdtr" type="PartyIdentification32"/>
1102+ <xs:element name="DbtrAgt" type="BranchAndFinancialInstitutionIdentification4"/>
1103+ <xs:element maxOccurs="1" minOccurs="0" name="DbtrAgtAcct" type="CashAccount16"/>
1104+ <xs:element name="Dbtr" type="PartyIdentification32"/>
1105+ <xs:element name="DbtrAcct" type="CashAccount16"/>
1106+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtDbtr" type="PartyIdentification32"/>
1107+ <xs:element maxOccurs="1" minOccurs="0" name="InstrForCdtrAgt" type="Max140Text"/>
1108+ <xs:element maxOccurs="1" minOccurs="0" name="Purp" type="Purpose2Choice"/>
1109+ <xs:element maxOccurs="10" minOccurs="0" name="RgltryRptg" type="RegulatoryReporting3"/>
1110+ <xs:element maxOccurs="1" minOccurs="0" name="Tax" type="TaxInformation3"/>
1111+ <xs:element maxOccurs="10" minOccurs="0" name="RltdRmtInf" type="RemittanceLocation2"/>
1112+ <xs:element maxOccurs="1" minOccurs="0" name="RmtInf" type="RemittanceInformation5"/>
1113+ </xs:sequence>
1114+ </xs:complexType>
1115+ <xs:complexType name="Document">
1116+ <xs:sequence>
1117+ <xs:element name="CstmrDrctDbtInitn" type="CustomerDirectDebitInitiationV02"/>
1118+ </xs:sequence>
1119+ </xs:complexType>
1120+ <xs:complexType name="DocumentAdjustment1">
1121+ <xs:sequence>
1122+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
1123+ <xs:element maxOccurs="1" minOccurs="0" name="CdtDbtInd" type="CreditDebitCode"/>
1124+ <xs:element maxOccurs="1" minOccurs="0" name="Rsn" type="Max4Text"/>
1125+ <xs:element maxOccurs="1" minOccurs="0" name="AddtlInf" type="Max140Text"/>
1126+ </xs:sequence>
1127+ </xs:complexType>
1128+ <xs:simpleType name="DocumentType3Code">
1129+ <xs:restriction base="xs:string">
1130+ <xs:enumeration value="RADM"/>
1131+ <xs:enumeration value="RPIN"/>
1132+ <xs:enumeration value="FXDR"/>
1133+ <xs:enumeration value="DISP"/>
1134+ <xs:enumeration value="PUOR"/>
1135+ <xs:enumeration value="SCOR"/>
1136+ </xs:restriction>
1137+ </xs:simpleType>
1138+ <xs:simpleType name="DocumentType5Code">
1139+ <xs:restriction base="xs:string">
1140+ <xs:enumeration value="MSIN"/>
1141+ <xs:enumeration value="CNFA"/>
1142+ <xs:enumeration value="DNFA"/>
1143+ <xs:enumeration value="CINV"/>
1144+ <xs:enumeration value="CREN"/>
1145+ <xs:enumeration value="DEBN"/>
1146+ <xs:enumeration value="HIRI"/>
1147+ <xs:enumeration value="SBIN"/>
1148+ <xs:enumeration value="CMCN"/>
1149+ <xs:enumeration value="SOAC"/>
1150+ <xs:enumeration value="DISP"/>
1151+ <xs:enumeration value="BOLD"/>
1152+ <xs:enumeration value="VCHR"/>
1153+ <xs:enumeration value="AROI"/>
1154+ <xs:enumeration value="TSUT"/>
1155+ </xs:restriction>
1156+ </xs:simpleType>
1157+ <xs:simpleType name="ExternalAccountIdentification1Code">
1158+ <xs:restriction base="xs:string">
1159+ <xs:minLength value="1"/>
1160+ <xs:maxLength value="4"/>
1161+ </xs:restriction>
1162+ </xs:simpleType>
1163+ <xs:simpleType name="ExternalCategoryPurpose1Code">
1164+ <xs:restriction base="xs:string">
1165+ <xs:minLength value="1"/>
1166+ <xs:maxLength value="4"/>
1167+ </xs:restriction>
1168+ </xs:simpleType>
1169+ <xs:simpleType name="ExternalClearingSystemIdentification1Code">
1170+ <xs:restriction base="xs:string">
1171+ <xs:minLength value="1"/>
1172+ <xs:maxLength value="5"/>
1173+ </xs:restriction>
1174+ </xs:simpleType>
1175+ <xs:simpleType name="ExternalFinancialInstitutionIdentification1Code">
1176+ <xs:restriction base="xs:string">
1177+ <xs:minLength value="1"/>
1178+ <xs:maxLength value="4"/>
1179+ </xs:restriction>
1180+ </xs:simpleType>
1181+ <xs:simpleType name="ExternalLocalInstrument1Code">
1182+ <xs:restriction base="xs:string">
1183+ <xs:minLength value="1"/>
1184+ <xs:maxLength value="35"/>
1185+ </xs:restriction>
1186+ </xs:simpleType>
1187+ <xs:simpleType name="ExternalOrganisationIdentification1Code">
1188+ <xs:restriction base="xs:string">
1189+ <xs:minLength value="1"/>
1190+ <xs:maxLength value="4"/>
1191+ </xs:restriction>
1192+ </xs:simpleType>
1193+ <xs:simpleType name="ExternalPersonIdentification1Code">
1194+ <xs:restriction base="xs:string">
1195+ <xs:minLength value="1"/>
1196+ <xs:maxLength value="4"/>
1197+ </xs:restriction>
1198+ </xs:simpleType>
1199+ <xs:simpleType name="ExternalPurpose1Code">
1200+ <xs:restriction base="xs:string">
1201+ <xs:minLength value="1"/>
1202+ <xs:maxLength value="4"/>
1203+ </xs:restriction>
1204+ </xs:simpleType>
1205+ <xs:simpleType name="ExternalServiceLevel1Code">
1206+ <xs:restriction base="xs:string">
1207+ <xs:minLength value="1"/>
1208+ <xs:maxLength value="4"/>
1209+ </xs:restriction>
1210+ </xs:simpleType>
1211+ <xs:complexType name="FinancialIdentificationSchemeName1Choice">
1212+ <xs:sequence>
1213+ <xs:choice>
1214+ <xs:element name="Cd" type="ExternalFinancialInstitutionIdentification1Code"/>
1215+ <xs:element name="Prtry" type="Max35Text"/>
1216+ </xs:choice>
1217+ </xs:sequence>
1218+ </xs:complexType>
1219+ <xs:complexType name="FinancialInstitutionIdentification7">
1220+ <xs:sequence>
1221+ <xs:element maxOccurs="1" minOccurs="0" name="BIC" type="BICIdentifier"/>
1222+ <xs:element maxOccurs="1" minOccurs="0" name="ClrSysMmbId" type="ClearingSystemMemberIdentification2"/>
1223+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
1224+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
1225+ <xs:element maxOccurs="1" minOccurs="0" name="Othr" type="GenericFinancialIdentification1"/>
1226+ </xs:sequence>
1227+ </xs:complexType>
1228+ <xs:simpleType name="Frequency1Code">
1229+ <xs:restriction base="xs:string">
1230+ <xs:enumeration value="YEAR"/>
1231+ <xs:enumeration value="MNTH"/>
1232+ <xs:enumeration value="QURT"/>
1233+ <xs:enumeration value="MIAN"/>
1234+ <xs:enumeration value="WEEK"/>
1235+ <xs:enumeration value="DAIL"/>
1236+ <xs:enumeration value="ADHO"/>
1237+ <xs:enumeration value="INDA"/>
1238+ </xs:restriction>
1239+ </xs:simpleType>
1240+ <xs:complexType name="GenericAccountIdentification1">
1241+ <xs:sequence>
1242+ <xs:element name="Id" type="Max34Text"/>
1243+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="AccountSchemeName1Choice"/>
1244+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
1245+ </xs:sequence>
1246+ </xs:complexType>
1247+ <xs:complexType name="GenericFinancialIdentification1">
1248+ <xs:sequence>
1249+ <xs:element name="Id" type="Max35Text"/>
1250+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="FinancialIdentificationSchemeName1Choice"/>
1251+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
1252+ </xs:sequence>
1253+ </xs:complexType>
1254+ <xs:complexType name="GenericOrganisationIdentification1">
1255+ <xs:sequence>
1256+ <xs:element name="Id" type="Max35Text"/>
1257+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="OrganisationIdentificationSchemeName1Choice"/>
1258+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
1259+ </xs:sequence>
1260+ </xs:complexType>
1261+ <xs:complexType name="GenericPersonIdentification1">
1262+ <xs:sequence>
1263+ <xs:element name="Id" type="Max35Text"/>
1264+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="PersonIdentificationSchemeName1Choice"/>
1265+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
1266+ </xs:sequence>
1267+ </xs:complexType>
1268+ <xs:complexType name="GroupHeader39">
1269+ <xs:sequence>
1270+ <xs:element name="MsgId" type="Max35Text"/>
1271+ <xs:element name="CreDtTm" type="ISODateTime"/>
1272+ <xs:element maxOccurs="2" minOccurs="0" name="Authstn" type="Authorisation1Choice"/>
1273+ <xs:element name="NbOfTxs" type="Max15NumericText"/>
1274+ <xs:element maxOccurs="1" minOccurs="0" name="CtrlSum" type="DecimalNumber"/>
1275+ <xs:element name="InitgPty" type="PartyIdentification32"/>
1276+ <xs:element maxOccurs="1" minOccurs="0" name="FwdgAgt" type="BranchAndFinancialInstitutionIdentification4"/>
1277+ </xs:sequence>
1278+ </xs:complexType>
1279+ <xs:simpleType name="IBAN2007Identifier">
1280+ <xs:restriction base="xs:string">
1281+ <xs:pattern value="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}"/>
1282+ </xs:restriction>
1283+ </xs:simpleType>
1284+ <xs:simpleType name="ISODate">
1285+ <xs:restriction base="xs:date"/>
1286+ </xs:simpleType>
1287+ <xs:simpleType name="ISODateTime">
1288+ <xs:restriction base="xs:dateTime"/>
1289+ </xs:simpleType>
1290+ <xs:complexType name="LocalInstrument2Choice">
1291+ <xs:sequence>
1292+ <xs:choice>
1293+ <xs:element name="Cd" type="ExternalLocalInstrument1Code"/>
1294+ <xs:element name="Prtry" type="Max35Text"/>
1295+ </xs:choice>
1296+ </xs:sequence>
1297+ </xs:complexType>
1298+ <xs:complexType name="MandateRelatedInformation6">
1299+ <xs:sequence>
1300+ <xs:element maxOccurs="1" minOccurs="0" name="MndtId" type="Max35Text"/>
1301+ <xs:element maxOccurs="1" minOccurs="0" name="DtOfSgntr" type="ISODate"/>
1302+ <xs:element maxOccurs="1" minOccurs="0" name="AmdmntInd" type="TrueFalseIndicator"/>
1303+ <xs:element maxOccurs="1" minOccurs="0" name="AmdmntInfDtls" type="AmendmentInformationDetails6"/>
1304+ <xs:element maxOccurs="1" minOccurs="0" name="ElctrncSgntr" type="Max1025Text"/>
1305+ <xs:element maxOccurs="1" minOccurs="0" name="FrstColltnDt" type="ISODate"/>
1306+ <xs:element maxOccurs="1" minOccurs="0" name="FnlColltnDt" type="ISODate"/>
1307+ <xs:element maxOccurs="1" minOccurs="0" name="Frqcy" type="Frequency1Code"/>
1308+ </xs:sequence>
1309+ </xs:complexType>
1310+ <xs:simpleType name="Max1025Text">
1311+ <xs:restriction base="xs:string">
1312+ <xs:minLength value="1"/>
1313+ <xs:maxLength value="1025"/>
1314+ </xs:restriction>
1315+ </xs:simpleType>
1316+ <xs:simpleType name="Max10Text">
1317+ <xs:restriction base="xs:string">
1318+ <xs:minLength value="1"/>
1319+ <xs:maxLength value="10"/>
1320+ </xs:restriction>
1321+ </xs:simpleType>
1322+ <xs:simpleType name="Max128Text">
1323+ <xs:restriction base="xs:string">
1324+ <xs:minLength value="1"/>
1325+ <xs:maxLength value="128"/>
1326+ </xs:restriction>
1327+ </xs:simpleType>
1328+ <xs:simpleType name="Max140Text">
1329+ <xs:restriction base="xs:string">
1330+ <xs:minLength value="1"/>
1331+ <xs:maxLength value="140"/>
1332+ </xs:restriction>
1333+ </xs:simpleType>
1334+ <xs:simpleType name="Max15NumericText">
1335+ <xs:restriction base="xs:string">
1336+ <xs:pattern value="[0-9]{1,15}"/>
1337+ </xs:restriction>
1338+ </xs:simpleType>
1339+ <xs:simpleType name="Max16Text">
1340+ <xs:restriction base="xs:string">
1341+ <xs:minLength value="1"/>
1342+ <xs:maxLength value="16"/>
1343+ </xs:restriction>
1344+ </xs:simpleType>
1345+ <xs:simpleType name="Max2048Text">
1346+ <xs:restriction base="xs:string">
1347+ <xs:minLength value="1"/>
1348+ <xs:maxLength value="2048"/>
1349+ </xs:restriction>
1350+ </xs:simpleType>
1351+ <xs:simpleType name="Max34Text">
1352+ <xs:restriction base="xs:string">
1353+ <xs:minLength value="1"/>
1354+ <xs:maxLength value="34"/>
1355+ </xs:restriction>
1356+ </xs:simpleType>
1357+ <xs:simpleType name="Max35Text">
1358+ <xs:restriction base="xs:string">
1359+ <xs:minLength value="1"/>
1360+ <xs:maxLength value="35"/>
1361+ </xs:restriction>
1362+ </xs:simpleType>
1363+ <xs:simpleType name="Max4Text">
1364+ <xs:restriction base="xs:string">
1365+ <xs:minLength value="1"/>
1366+ <xs:maxLength value="4"/>
1367+ </xs:restriction>
1368+ </xs:simpleType>
1369+ <xs:simpleType name="Max70Text">
1370+ <xs:restriction base="xs:string">
1371+ <xs:minLength value="1"/>
1372+ <xs:maxLength value="70"/>
1373+ </xs:restriction>
1374+ </xs:simpleType>
1375+ <xs:complexType name="NameAndAddress10">
1376+ <xs:sequence>
1377+ <xs:element name="Nm" type="Max140Text"/>
1378+ <xs:element name="Adr" type="PostalAddress6"/>
1379+ </xs:sequence>
1380+ </xs:complexType>
1381+ <xs:simpleType name="NamePrefix1Code">
1382+ <xs:restriction base="xs:string">
1383+ <xs:enumeration value="DOCT"/>
1384+ <xs:enumeration value="MIST"/>
1385+ <xs:enumeration value="MISS"/>
1386+ <xs:enumeration value="MADM"/>
1387+ </xs:restriction>
1388+ </xs:simpleType>
1389+ <xs:simpleType name="Number">
1390+ <xs:restriction base="xs:decimal">
1391+ <xs:fractionDigits value="0"/>
1392+ <xs:totalDigits value="18"/>
1393+ </xs:restriction>
1394+ </xs:simpleType>
1395+ <xs:complexType name="OrganisationIdentification4">
1396+ <xs:sequence>
1397+ <xs:element maxOccurs="1" minOccurs="0" name="BICOrBEI" type="AnyBICIdentifier"/>
1398+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Othr" type="GenericOrganisationIdentification1"/>
1399+ </xs:sequence>
1400+ </xs:complexType>
1401+ <xs:complexType name="OrganisationIdentificationSchemeName1Choice">
1402+ <xs:sequence>
1403+ <xs:choice>
1404+ <xs:element name="Cd" type="ExternalOrganisationIdentification1Code"/>
1405+ <xs:element name="Prtry" type="Max35Text"/>
1406+ </xs:choice>
1407+ </xs:sequence>
1408+ </xs:complexType>
1409+ <xs:complexType name="Party6Choice">
1410+ <xs:sequence>
1411+ <xs:choice>
1412+ <xs:element name="OrgId" type="OrganisationIdentification4"/>
1413+ <xs:element name="PrvtId" type="PersonIdentification5"/>
1414+ </xs:choice>
1415+ </xs:sequence>
1416+ </xs:complexType>
1417+ <xs:complexType name="PartyIdentification32">
1418+ <xs:sequence>
1419+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
1420+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
1421+ <xs:element maxOccurs="1" minOccurs="0" name="Id" type="Party6Choice"/>
1422+ <xs:element maxOccurs="1" minOccurs="0" name="CtryOfRes" type="CountryCode"/>
1423+ <xs:element maxOccurs="1" minOccurs="0" name="CtctDtls" type="ContactDetails2"/>
1424+ </xs:sequence>
1425+ </xs:complexType>
1426+ <xs:complexType name="PaymentIdentification1">
1427+ <xs:sequence>
1428+ <xs:element maxOccurs="1" minOccurs="0" name="InstrId" type="Max35Text"/>
1429+ <xs:element name="EndToEndId" type="Max35Text"/>
1430+ </xs:sequence>
1431+ </xs:complexType>
1432+ <xs:complexType name="PaymentInstructionInformation4">
1433+ <xs:sequence>
1434+ <xs:element name="PmtInfId" type="Max35Text"/>
1435+ <xs:element name="PmtMtd" type="PaymentMethod2Code"/>
1436+ <xs:element maxOccurs="1" minOccurs="0" name="BtchBookg" type="BatchBookingIndicator"/>
1437+ <xs:element maxOccurs="1" minOccurs="0" name="NbOfTxs" type="Max15NumericText"/>
1438+ <xs:element maxOccurs="1" minOccurs="0" name="CtrlSum" type="DecimalNumber"/>
1439+ <xs:element maxOccurs="1" minOccurs="0" name="PmtTpInf" type="PaymentTypeInformation20"/>
1440+ <xs:element name="ReqdColltnDt" type="ISODate"/>
1441+ <xs:element name="Cdtr" type="PartyIdentification32"/>
1442+ <xs:element name="CdtrAcct" type="CashAccount16"/>
1443+ <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentification4"/>
1444+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrAgtAcct" type="CashAccount16"/>
1445+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtCdtr" type="PartyIdentification32"/>
1446+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgBr" type="ChargeBearerType1Code"/>
1447+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgsAcct" type="CashAccount16"/>
1448+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgsAcctAgt" type="BranchAndFinancialInstitutionIdentification4"/>
1449+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrSchmeId" type="PartyIdentification32"/>
1450+ <xs:element maxOccurs="unbounded" minOccurs="1" name="DrctDbtTxInf" type="DirectDebitTransactionInformation9"/>
1451+ </xs:sequence>
1452+ </xs:complexType>
1453+ <xs:simpleType name="PaymentMethod2Code">
1454+ <xs:restriction base="xs:string">
1455+ <xs:enumeration value="DD"/>
1456+ </xs:restriction>
1457+ </xs:simpleType>
1458+ <xs:complexType name="PaymentTypeInformation20">
1459+ <xs:sequence>
1460+ <xs:element maxOccurs="1" minOccurs="0" name="InstrPrty" type="Priority2Code"/>
1461+ <xs:element maxOccurs="1" minOccurs="0" name="SvcLvl" type="ServiceLevel8Choice"/>
1462+ <xs:element maxOccurs="1" minOccurs="0" name="LclInstrm" type="LocalInstrument2Choice"/>
1463+ <xs:element maxOccurs="1" minOccurs="0" name="SeqTp" type="SequenceType1Code"/>
1464+ <xs:element maxOccurs="1" minOccurs="0" name="CtgyPurp" type="CategoryPurpose1Choice"/>
1465+ </xs:sequence>
1466+ </xs:complexType>
1467+ <xs:simpleType name="PercentageRate">
1468+ <xs:restriction base="xs:decimal">
1469+ <xs:fractionDigits value="10"/>
1470+ <xs:totalDigits value="11"/>
1471+ </xs:restriction>
1472+ </xs:simpleType>
1473+ <xs:complexType name="PersonIdentification5">
1474+ <xs:sequence>
1475+ <xs:element maxOccurs="1" minOccurs="0" name="DtAndPlcOfBirth" type="DateAndPlaceOfBirth"/>
1476+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Othr" type="GenericPersonIdentification1"/>
1477+ </xs:sequence>
1478+ </xs:complexType>
1479+ <xs:complexType name="PersonIdentificationSchemeName1Choice">
1480+ <xs:sequence>
1481+ <xs:choice>
1482+ <xs:element name="Cd" type="ExternalPersonIdentification1Code"/>
1483+ <xs:element name="Prtry" type="Max35Text"/>
1484+ </xs:choice>
1485+ </xs:sequence>
1486+ </xs:complexType>
1487+ <xs:simpleType name="PhoneNumber">
1488+ <xs:restriction base="xs:string">
1489+ <xs:pattern value="\+[0-9]{1,3}-[0-9()+\-]{1,30}"/>
1490+ </xs:restriction>
1491+ </xs:simpleType>
1492+ <xs:complexType name="PostalAddress6">
1493+ <xs:sequence>
1494+ <xs:element maxOccurs="1" minOccurs="0" name="AdrTp" type="AddressType2Code"/>
1495+ <xs:element maxOccurs="1" minOccurs="0" name="Dept" type="Max70Text"/>
1496+ <xs:element maxOccurs="1" minOccurs="0" name="SubDept" type="Max70Text"/>
1497+ <xs:element maxOccurs="1" minOccurs="0" name="StrtNm" type="Max70Text"/>
1498+ <xs:element maxOccurs="1" minOccurs="0" name="BldgNb" type="Max16Text"/>
1499+ <xs:element maxOccurs="1" minOccurs="0" name="PstCd" type="Max16Text"/>
1500+ <xs:element maxOccurs="1" minOccurs="0" name="TwnNm" type="Max35Text"/>
1501+ <xs:element maxOccurs="1" minOccurs="0" name="CtrySubDvsn" type="Max35Text"/>
1502+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
1503+ <xs:element maxOccurs="7" minOccurs="0" name="AdrLine" type="Max70Text"/>
1504+ </xs:sequence>
1505+ </xs:complexType>
1506+ <xs:simpleType name="Priority2Code">
1507+ <xs:restriction base="xs:string">
1508+ <xs:enumeration value="HIGH"/>
1509+ <xs:enumeration value="NORM"/>
1510+ </xs:restriction>
1511+ </xs:simpleType>
1512+ <xs:complexType name="Purpose2Choice">
1513+ <xs:sequence>
1514+ <xs:choice>
1515+ <xs:element name="Cd" type="ExternalPurpose1Code"/>
1516+ <xs:element name="Prtry" type="Max35Text"/>
1517+ </xs:choice>
1518+ </xs:sequence>
1519+ </xs:complexType>
1520+ <xs:complexType name="ReferredDocumentInformation3">
1521+ <xs:sequence>
1522+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="ReferredDocumentType2"/>
1523+ <xs:element maxOccurs="1" minOccurs="0" name="Nb" type="Max35Text"/>
1524+ <xs:element maxOccurs="1" minOccurs="0" name="RltdDt" type="ISODate"/>
1525+ </xs:sequence>
1526+ </xs:complexType>
1527+ <xs:complexType name="ReferredDocumentType1Choice">
1528+ <xs:sequence>
1529+ <xs:choice>
1530+ <xs:element name="Cd" type="DocumentType5Code"/>
1531+ <xs:element name="Prtry" type="Max35Text"/>
1532+ </xs:choice>
1533+ </xs:sequence>
1534+ </xs:complexType>
1535+ <xs:complexType name="ReferredDocumentType2">
1536+ <xs:sequence>
1537+ <xs:element name="CdOrPrtry" type="ReferredDocumentType1Choice"/>
1538+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
1539+ </xs:sequence>
1540+ </xs:complexType>
1541+ <xs:complexType name="RegulatoryAuthority2">
1542+ <xs:sequence>
1543+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
1544+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
1545+ </xs:sequence>
1546+ </xs:complexType>
1547+ <xs:complexType name="RegulatoryReporting3">
1548+ <xs:sequence>
1549+ <xs:element maxOccurs="1" minOccurs="0" name="DbtCdtRptgInd" type="RegulatoryReportingType1Code"/>
1550+ <xs:element maxOccurs="1" minOccurs="0" name="Authrty" type="RegulatoryAuthority2"/>
1551+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Dtls" type="StructuredRegulatoryReporting3"/>
1552+ </xs:sequence>
1553+ </xs:complexType>
1554+ <xs:simpleType name="RegulatoryReportingType1Code">
1555+ <xs:restriction base="xs:string">
1556+ <xs:enumeration value="CRED"/>
1557+ <xs:enumeration value="DEBT"/>
1558+ <xs:enumeration value="BOTH"/>
1559+ </xs:restriction>
1560+ </xs:simpleType>
1561+ <xs:complexType name="RemittanceAmount1">
1562+ <xs:sequence>
1563+ <xs:element maxOccurs="1" minOccurs="0" name="DuePyblAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1564+ <xs:element maxOccurs="1" minOccurs="0" name="DscntApldAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1565+ <xs:element maxOccurs="1" minOccurs="0" name="CdtNoteAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1566+ <xs:element maxOccurs="1" minOccurs="0" name="TaxAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1567+ <xs:element maxOccurs="unbounded" minOccurs="0" name="AdjstmntAmtAndRsn" type="DocumentAdjustment1"/>
1568+ <xs:element maxOccurs="1" minOccurs="0" name="RmtdAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1569+ </xs:sequence>
1570+ </xs:complexType>
1571+ <xs:complexType name="RemittanceInformation5">
1572+ <xs:sequence>
1573+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Ustrd" type="Max140Text"/>
1574+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Strd" type="StructuredRemittanceInformation7"/>
1575+ </xs:sequence>
1576+ </xs:complexType>
1577+ <xs:complexType name="RemittanceLocation2">
1578+ <xs:sequence>
1579+ <xs:element maxOccurs="1" minOccurs="0" name="RmtId" type="Max35Text"/>
1580+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnMtd" type="RemittanceLocationMethod2Code"/>
1581+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnElctrncAdr" type="Max2048Text"/>
1582+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnPstlAdr" type="NameAndAddress10"/>
1583+ </xs:sequence>
1584+ </xs:complexType>
1585+ <xs:simpleType name="RemittanceLocationMethod2Code">
1586+ <xs:restriction base="xs:string">
1587+ <xs:enumeration value="FAXI"/>
1588+ <xs:enumeration value="EDIC"/>
1589+ <xs:enumeration value="URID"/>
1590+ <xs:enumeration value="EMAL"/>
1591+ <xs:enumeration value="POST"/>
1592+ <xs:enumeration value="SMSM"/>
1593+ </xs:restriction>
1594+ </xs:simpleType>
1595+ <xs:simpleType name="SequenceType1Code">
1596+ <xs:restriction base="xs:string">
1597+ <xs:enumeration value="FRST"/>
1598+ <xs:enumeration value="RCUR"/>
1599+ <xs:enumeration value="FNAL"/>
1600+ <xs:enumeration value="OOFF"/>
1601+ </xs:restriction>
1602+ </xs:simpleType>
1603+ <xs:complexType name="ServiceLevel8Choice">
1604+ <xs:sequence>
1605+ <xs:choice>
1606+ <xs:element name="Cd" type="ExternalServiceLevel1Code"/>
1607+ <xs:element name="Prtry" type="Max35Text"/>
1608+ </xs:choice>
1609+ </xs:sequence>
1610+ </xs:complexType>
1611+ <xs:complexType name="StructuredRegulatoryReporting3">
1612+ <xs:sequence>
1613+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="Max35Text"/>
1614+ <xs:element maxOccurs="1" minOccurs="0" name="Dt" type="ISODate"/>
1615+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
1616+ <xs:element maxOccurs="1" minOccurs="0" name="Cd" type="Max10Text"/>
1617+ <xs:element maxOccurs="1" minOccurs="0" name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
1618+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Inf" type="Max35Text"/>
1619+ </xs:sequence>
1620+ </xs:complexType>
1621+ <xs:complexType name="StructuredRemittanceInformation7">
1622+ <xs:sequence>
1623+ <xs:element maxOccurs="unbounded" minOccurs="0" name="RfrdDocInf" type="ReferredDocumentInformation3"/>
1624+ <xs:element maxOccurs="1" minOccurs="0" name="RfrdDocAmt" type="RemittanceAmount1"/>
1625+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrRefInf" type="CreditorReferenceInformation2"/>
1626+ <xs:element maxOccurs="1" minOccurs="0" name="Invcr" type="PartyIdentification32"/>
1627+ <xs:element maxOccurs="1" minOccurs="0" name="Invcee" type="PartyIdentification32"/>
1628+ <xs:element maxOccurs="3" minOccurs="0" name="AddtlRmtInf" type="Max140Text"/>
1629+ </xs:sequence>
1630+ </xs:complexType>
1631+ <xs:complexType name="TaxAmount1">
1632+ <xs:sequence>
1633+ <xs:element maxOccurs="1" minOccurs="0" name="Rate" type="PercentageRate"/>
1634+ <xs:element maxOccurs="1" minOccurs="0" name="TaxblBaseAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1635+ <xs:element maxOccurs="1" minOccurs="0" name="TtlAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1636+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Dtls" type="TaxRecordDetails1"/>
1637+ </xs:sequence>
1638+ </xs:complexType>
1639+ <xs:complexType name="TaxAuthorisation1">
1640+ <xs:sequence>
1641+ <xs:element maxOccurs="1" minOccurs="0" name="Titl" type="Max35Text"/>
1642+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
1643+ </xs:sequence>
1644+ </xs:complexType>
1645+ <xs:complexType name="TaxInformation3">
1646+ <xs:sequence>
1647+ <xs:element maxOccurs="1" minOccurs="0" name="Cdtr" type="TaxParty1"/>
1648+ <xs:element maxOccurs="1" minOccurs="0" name="Dbtr" type="TaxParty2"/>
1649+ <xs:element maxOccurs="1" minOccurs="0" name="AdmstnZn" type="Max35Text"/>
1650+ <xs:element maxOccurs="1" minOccurs="0" name="RefNb" type="Max140Text"/>
1651+ <xs:element maxOccurs="1" minOccurs="0" name="Mtd" type="Max35Text"/>
1652+ <xs:element maxOccurs="1" minOccurs="0" name="TtlTaxblBaseAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1653+ <xs:element maxOccurs="1" minOccurs="0" name="TtlTaxAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1654+ <xs:element maxOccurs="1" minOccurs="0" name="Dt" type="ISODate"/>
1655+ <xs:element maxOccurs="1" minOccurs="0" name="SeqNb" type="Number"/>
1656+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Rcrd" type="TaxRecord1"/>
1657+ </xs:sequence>
1658+ </xs:complexType>
1659+ <xs:complexType name="TaxParty1">
1660+ <xs:sequence>
1661+ <xs:element maxOccurs="1" minOccurs="0" name="TaxId" type="Max35Text"/>
1662+ <xs:element maxOccurs="1" minOccurs="0" name="RegnId" type="Max35Text"/>
1663+ <xs:element maxOccurs="1" minOccurs="0" name="TaxTp" type="Max35Text"/>
1664+ </xs:sequence>
1665+ </xs:complexType>
1666+ <xs:complexType name="TaxParty2">
1667+ <xs:sequence>
1668+ <xs:element maxOccurs="1" minOccurs="0" name="TaxId" type="Max35Text"/>
1669+ <xs:element maxOccurs="1" minOccurs="0" name="RegnId" type="Max35Text"/>
1670+ <xs:element maxOccurs="1" minOccurs="0" name="TaxTp" type="Max35Text"/>
1671+ <xs:element maxOccurs="1" minOccurs="0" name="Authstn" type="TaxAuthorisation1"/>
1672+ </xs:sequence>
1673+ </xs:complexType>
1674+ <xs:complexType name="TaxPeriod1">
1675+ <xs:sequence>
1676+ <xs:element maxOccurs="1" minOccurs="0" name="Yr" type="ISODate"/>
1677+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="TaxRecordPeriod1Code"/>
1678+ <xs:element maxOccurs="1" minOccurs="0" name="FrToDt" type="DatePeriodDetails"/>
1679+ </xs:sequence>
1680+ </xs:complexType>
1681+ <xs:complexType name="TaxRecord1">
1682+ <xs:sequence>
1683+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="Max35Text"/>
1684+ <xs:element maxOccurs="1" minOccurs="0" name="Ctgy" type="Max35Text"/>
1685+ <xs:element maxOccurs="1" minOccurs="0" name="CtgyDtls" type="Max35Text"/>
1686+ <xs:element maxOccurs="1" minOccurs="0" name="DbtrSts" type="Max35Text"/>
1687+ <xs:element maxOccurs="1" minOccurs="0" name="CertId" type="Max35Text"/>
1688+ <xs:element maxOccurs="1" minOccurs="0" name="FrmsCd" type="Max35Text"/>
1689+ <xs:element maxOccurs="1" minOccurs="0" name="Prd" type="TaxPeriod1"/>
1690+ <xs:element maxOccurs="1" minOccurs="0" name="TaxAmt" type="TaxAmount1"/>
1691+ <xs:element maxOccurs="1" minOccurs="0" name="AddtlInf" type="Max140Text"/>
1692+ </xs:sequence>
1693+ </xs:complexType>
1694+ <xs:complexType name="TaxRecordDetails1">
1695+ <xs:sequence>
1696+ <xs:element maxOccurs="1" minOccurs="0" name="Prd" type="TaxPeriod1"/>
1697+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
1698+ </xs:sequence>
1699+ </xs:complexType>
1700+ <xs:simpleType name="TaxRecordPeriod1Code">
1701+ <xs:restriction base="xs:string">
1702+ <xs:enumeration value="MM01"/>
1703+ <xs:enumeration value="MM02"/>
1704+ <xs:enumeration value="MM03"/>
1705+ <xs:enumeration value="MM04"/>
1706+ <xs:enumeration value="MM05"/>
1707+ <xs:enumeration value="MM06"/>
1708+ <xs:enumeration value="MM07"/>
1709+ <xs:enumeration value="MM08"/>
1710+ <xs:enumeration value="MM09"/>
1711+ <xs:enumeration value="MM10"/>
1712+ <xs:enumeration value="MM11"/>
1713+ <xs:enumeration value="MM12"/>
1714+ <xs:enumeration value="QTR1"/>
1715+ <xs:enumeration value="QTR2"/>
1716+ <xs:enumeration value="QTR3"/>
1717+ <xs:enumeration value="QTR4"/>
1718+ <xs:enumeration value="HLF1"/>
1719+ <xs:enumeration value="HLF2"/>
1720+ </xs:restriction>
1721+ </xs:simpleType>
1722+ <xs:simpleType name="TrueFalseIndicator">
1723+ <xs:restriction base="xs:boolean"/>
1724+ </xs:simpleType>
1725+</xs:schema>
1726
1727=== added file 'account_banking_sepa_direct_debit/data/pain.008.001.03.xsd'
1728--- account_banking_sepa_direct_debit/data/pain.008.001.03.xsd 1970-01-01 00:00:00 +0000
1729+++ account_banking_sepa_direct_debit/data/pain.008.001.03.xsd 2013-11-20 23:27:56 +0000
1730@@ -0,0 +1,925 @@
1731+<?xml version="1.0" encoding="UTF-8"?>
1732+<!--Generated by SWIFTStandards Workstation (build:R7.1.30.4) on 2012 Jun 07 20:47:19-->
1733+<xs:schema elementFormDefault="qualified" targetNamespace="urn:iso:std:iso:20022:tech:xsd:pain.008.001.03" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.03" xmlns:xs="http://www.w3.org/2001/XMLSchema">
1734+ <xs:element name="Document" type="Document"/>
1735+ <xs:complexType name="AccountIdentification4Choice">
1736+ <xs:sequence>
1737+ <xs:choice>
1738+ <xs:element name="IBAN" type="IBAN2007Identifier"/>
1739+ <xs:element name="Othr" type="GenericAccountIdentification1"/>
1740+ </xs:choice>
1741+ </xs:sequence>
1742+ </xs:complexType>
1743+ <xs:complexType name="AccountSchemeName1Choice">
1744+ <xs:sequence>
1745+ <xs:choice>
1746+ <xs:element name="Cd" type="ExternalAccountIdentification1Code"/>
1747+ <xs:element name="Prtry" type="Max35Text"/>
1748+ </xs:choice>
1749+ </xs:sequence>
1750+ </xs:complexType>
1751+ <xs:simpleType name="ActiveOrHistoricCurrencyAndAmount_SimpleType">
1752+ <xs:restriction base="xs:decimal">
1753+ <xs:fractionDigits value="5"/>
1754+ <xs:totalDigits value="18"/>
1755+ <xs:minInclusive value="0"/>
1756+ </xs:restriction>
1757+ </xs:simpleType>
1758+ <xs:complexType name="ActiveOrHistoricCurrencyAndAmount">
1759+ <xs:simpleContent>
1760+ <xs:extension base="ActiveOrHistoricCurrencyAndAmount_SimpleType">
1761+ <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCode" use="required"/>
1762+ </xs:extension>
1763+ </xs:simpleContent>
1764+ </xs:complexType>
1765+ <xs:simpleType name="ActiveOrHistoricCurrencyCode">
1766+ <xs:restriction base="xs:string">
1767+ <xs:pattern value="[A-Z]{3,3}"/>
1768+ </xs:restriction>
1769+ </xs:simpleType>
1770+ <xs:simpleType name="AddressType2Code">
1771+ <xs:restriction base="xs:string">
1772+ <xs:enumeration value="ADDR"/>
1773+ <xs:enumeration value="PBOX"/>
1774+ <xs:enumeration value="HOME"/>
1775+ <xs:enumeration value="BIZZ"/>
1776+ <xs:enumeration value="MLTO"/>
1777+ <xs:enumeration value="DLVY"/>
1778+ </xs:restriction>
1779+ </xs:simpleType>
1780+ <xs:complexType name="AmendmentInformationDetails8">
1781+ <xs:sequence>
1782+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlMndtId" type="Max35Text"/>
1783+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrSchmeId" type="PartyIdentification43"/>
1784+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
1785+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrAgtAcct" type="CashAccount24"/>
1786+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtr" type="PartyIdentification43"/>
1787+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAcct" type="CashAccount24"/>
1788+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
1789+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAgtAcct" type="CashAccount24"/>
1790+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlFnlColltnDt" type="ISODate"/>
1791+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlFrqcy" type="Frequency6Code"/>
1792+ </xs:sequence>
1793+ </xs:complexType>
1794+ <xs:simpleType name="AnyBICIdentifier">
1795+ <xs:restriction base="xs:string">
1796+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
1797+ </xs:restriction>
1798+ </xs:simpleType>
1799+ <xs:complexType name="Authorisation1Choice">
1800+ <xs:sequence>
1801+ <xs:choice>
1802+ <xs:element name="Cd" type="Authorisation1Code"/>
1803+ <xs:element name="Prtry" type="Max128Text"/>
1804+ </xs:choice>
1805+ </xs:sequence>
1806+ </xs:complexType>
1807+ <xs:simpleType name="Authorisation1Code">
1808+ <xs:restriction base="xs:string">
1809+ <xs:enumeration value="AUTH"/>
1810+ <xs:enumeration value="FDET"/>
1811+ <xs:enumeration value="FSUM"/>
1812+ <xs:enumeration value="ILEV"/>
1813+ </xs:restriction>
1814+ </xs:simpleType>
1815+ <xs:simpleType name="BICFIIdentifier">
1816+ <xs:restriction base="xs:string">
1817+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
1818+ </xs:restriction>
1819+ </xs:simpleType>
1820+ <xs:simpleType name="BatchBookingIndicator">
1821+ <xs:restriction base="xs:boolean"/>
1822+ </xs:simpleType>
1823+ <xs:complexType name="BranchAndFinancialInstitutionIdentification5">
1824+ <xs:sequence>
1825+ <xs:element name="FinInstnId" type="FinancialInstitutionIdentification8"/>
1826+ <xs:element maxOccurs="1" minOccurs="0" name="BrnchId" type="BranchData2"/>
1827+ </xs:sequence>
1828+ </xs:complexType>
1829+ <xs:complexType name="BranchData2">
1830+ <xs:sequence>
1831+ <xs:element maxOccurs="1" minOccurs="0" name="Id" type="Max35Text"/>
1832+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
1833+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
1834+ </xs:sequence>
1835+ </xs:complexType>
1836+ <xs:complexType name="CashAccount24">
1837+ <xs:sequence>
1838+ <xs:element name="Id" type="AccountIdentification4Choice"/>
1839+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="CashAccountType2Choice"/>
1840+ <xs:element maxOccurs="1" minOccurs="0" name="Ccy" type="ActiveOrHistoricCurrencyCode"/>
1841+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max70Text"/>
1842+ </xs:sequence>
1843+ </xs:complexType>
1844+ <xs:complexType name="CashAccountType2Choice">
1845+ <xs:sequence>
1846+ <xs:choice>
1847+ <xs:element name="Cd" type="ExternalCashAccountType1Code"/>
1848+ <xs:element name="Prtry" type="Max35Text"/>
1849+ </xs:choice>
1850+ </xs:sequence>
1851+ </xs:complexType>
1852+ <xs:complexType name="CategoryPurpose1Choice">
1853+ <xs:sequence>
1854+ <xs:choice>
1855+ <xs:element name="Cd" type="ExternalCategoryPurpose1Code"/>
1856+ <xs:element name="Prtry" type="Max35Text"/>
1857+ </xs:choice>
1858+ </xs:sequence>
1859+ </xs:complexType>
1860+ <xs:simpleType name="ChargeBearerType1Code">
1861+ <xs:restriction base="xs:string">
1862+ <xs:enumeration value="DEBT"/>
1863+ <xs:enumeration value="CRED"/>
1864+ <xs:enumeration value="SHAR"/>
1865+ <xs:enumeration value="SLEV"/>
1866+ </xs:restriction>
1867+ </xs:simpleType>
1868+ <xs:complexType name="ClearingSystemIdentification2Choice">
1869+ <xs:sequence>
1870+ <xs:choice>
1871+ <xs:element name="Cd" type="ExternalClearingSystemIdentification1Code"/>
1872+ <xs:element name="Prtry" type="Max35Text"/>
1873+ </xs:choice>
1874+ </xs:sequence>
1875+ </xs:complexType>
1876+ <xs:complexType name="ClearingSystemMemberIdentification2">
1877+ <xs:sequence>
1878+ <xs:element maxOccurs="1" minOccurs="0" name="ClrSysId" type="ClearingSystemIdentification2Choice"/>
1879+ <xs:element name="MmbId" type="Max35Text"/>
1880+ </xs:sequence>
1881+ </xs:complexType>
1882+ <xs:complexType name="ContactDetails2">
1883+ <xs:sequence>
1884+ <xs:element maxOccurs="1" minOccurs="0" name="NmPrfx" type="NamePrefix1Code"/>
1885+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
1886+ <xs:element maxOccurs="1" minOccurs="0" name="PhneNb" type="PhoneNumber"/>
1887+ <xs:element maxOccurs="1" minOccurs="0" name="MobNb" type="PhoneNumber"/>
1888+ <xs:element maxOccurs="1" minOccurs="0" name="FaxNb" type="PhoneNumber"/>
1889+ <xs:element maxOccurs="1" minOccurs="0" name="EmailAdr" type="Max2048Text"/>
1890+ <xs:element maxOccurs="1" minOccurs="0" name="Othr" type="Max35Text"/>
1891+ </xs:sequence>
1892+ </xs:complexType>
1893+ <xs:simpleType name="CountryCode">
1894+ <xs:restriction base="xs:string">
1895+ <xs:pattern value="[A-Z]{2,2}"/>
1896+ </xs:restriction>
1897+ </xs:simpleType>
1898+ <xs:simpleType name="CreditDebitCode">
1899+ <xs:restriction base="xs:string">
1900+ <xs:enumeration value="CRDT"/>
1901+ <xs:enumeration value="DBIT"/>
1902+ </xs:restriction>
1903+ </xs:simpleType>
1904+ <xs:complexType name="CreditorReferenceInformation2">
1905+ <xs:sequence>
1906+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="CreditorReferenceType2"/>
1907+ <xs:element maxOccurs="1" minOccurs="0" name="Ref" type="Max35Text"/>
1908+ </xs:sequence>
1909+ </xs:complexType>
1910+ <xs:complexType name="CreditorReferenceType1Choice">
1911+ <xs:sequence>
1912+ <xs:choice>
1913+ <xs:element name="Cd" type="DocumentType3Code"/>
1914+ <xs:element name="Prtry" type="Max35Text"/>
1915+ </xs:choice>
1916+ </xs:sequence>
1917+ </xs:complexType>
1918+ <xs:complexType name="CreditorReferenceType2">
1919+ <xs:sequence>
1920+ <xs:element name="CdOrPrtry" type="CreditorReferenceType1Choice"/>
1921+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
1922+ </xs:sequence>
1923+ </xs:complexType>
1924+ <xs:complexType name="CustomerDirectDebitInitiationV03">
1925+ <xs:sequence>
1926+ <xs:element name="GrpHdr" type="GroupHeader55"/>
1927+ <xs:element maxOccurs="unbounded" minOccurs="1" name="PmtInf" type="PaymentInstruction7"/>
1928+ <xs:element maxOccurs="unbounded" minOccurs="0" name="SplmtryData" type="SupplementaryData1"/>
1929+ </xs:sequence>
1930+ </xs:complexType>
1931+ <xs:complexType name="DateAndPlaceOfBirth">
1932+ <xs:sequence>
1933+ <xs:element name="BirthDt" type="ISODate"/>
1934+ <xs:element maxOccurs="1" minOccurs="0" name="PrvcOfBirth" type="Max35Text"/>
1935+ <xs:element name="CityOfBirth" type="Max35Text"/>
1936+ <xs:element name="CtryOfBirth" type="CountryCode"/>
1937+ </xs:sequence>
1938+ </xs:complexType>
1939+ <xs:complexType name="DatePeriodDetails">
1940+ <xs:sequence>
1941+ <xs:element name="FrDt" type="ISODate"/>
1942+ <xs:element name="ToDt" type="ISODate"/>
1943+ </xs:sequence>
1944+ </xs:complexType>
1945+ <xs:simpleType name="DecimalNumber">
1946+ <xs:restriction base="xs:decimal">
1947+ <xs:fractionDigits value="17"/>
1948+ <xs:totalDigits value="18"/>
1949+ </xs:restriction>
1950+ </xs:simpleType>
1951+ <xs:complexType name="DirectDebitTransaction7">
1952+ <xs:sequence>
1953+ <xs:element maxOccurs="1" minOccurs="0" name="MndtRltdInf" type="MandateRelatedInformation8"/>
1954+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrSchmeId" type="PartyIdentification43"/>
1955+ <xs:element maxOccurs="1" minOccurs="0" name="PreNtfctnId" type="Max35Text"/>
1956+ <xs:element maxOccurs="1" minOccurs="0" name="PreNtfctnDt" type="ISODate"/>
1957+ </xs:sequence>
1958+ </xs:complexType>
1959+ <xs:complexType name="DirectDebitTransactionInformation11">
1960+ <xs:sequence>
1961+ <xs:element name="PmtId" type="PaymentIdentification1"/>
1962+ <xs:element maxOccurs="1" minOccurs="0" name="PmtTpInf" type="PaymentTypeInformation24"/>
1963+ <xs:element name="InstdAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
1964+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgBr" type="ChargeBearerType1Code"/>
1965+ <xs:element maxOccurs="1" minOccurs="0" name="DrctDbtTx" type="DirectDebitTransaction7"/>
1966+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtCdtr" type="PartyIdentification43"/>
1967+ <xs:element name="DbtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
1968+ <xs:element maxOccurs="1" minOccurs="0" name="DbtrAgtAcct" type="CashAccount24"/>
1969+ <xs:element name="Dbtr" type="PartyIdentification43"/>
1970+ <xs:element name="DbtrAcct" type="CashAccount24"/>
1971+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtDbtr" type="PartyIdentification43"/>
1972+ <xs:element maxOccurs="1" minOccurs="0" name="InstrForCdtrAgt" type="Max140Text"/>
1973+ <xs:element maxOccurs="1" minOccurs="0" name="Purp" type="Purpose2Choice"/>
1974+ <xs:element maxOccurs="10" minOccurs="0" name="RgltryRptg" type="RegulatoryReporting3"/>
1975+ <xs:element maxOccurs="1" minOccurs="0" name="Tax" type="TaxInformation3"/>
1976+ <xs:element maxOccurs="10" minOccurs="0" name="RltdRmtInf" type="RemittanceLocation2"/>
1977+ <xs:element maxOccurs="1" minOccurs="0" name="RmtInf" type="RemittanceInformation7"/>
1978+ </xs:sequence>
1979+ </xs:complexType>
1980+ <xs:complexType name="DiscountAmountAndType1">
1981+ <xs:sequence>
1982+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="DiscountAmountType1Choice"/>
1983+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
1984+ </xs:sequence>
1985+ </xs:complexType>
1986+ <xs:complexType name="DiscountAmountType1Choice">
1987+ <xs:sequence>
1988+ <xs:choice>
1989+ <xs:element name="Cd" type="ExternalDiscountAmountType1Code"/>
1990+ <xs:element name="Prtry" type="Max35Text"/>
1991+ </xs:choice>
1992+ </xs:sequence>
1993+ </xs:complexType>
1994+ <xs:complexType name="Document">
1995+ <xs:sequence>
1996+ <xs:element name="CstmrDrctDbtInitn" type="CustomerDirectDebitInitiationV03"/>
1997+ </xs:sequence>
1998+ </xs:complexType>
1999+ <xs:complexType name="DocumentAdjustment1">
2000+ <xs:sequence>
2001+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
2002+ <xs:element maxOccurs="1" minOccurs="0" name="CdtDbtInd" type="CreditDebitCode"/>
2003+ <xs:element maxOccurs="1" minOccurs="0" name="Rsn" type="Max4Text"/>
2004+ <xs:element maxOccurs="1" minOccurs="0" name="AddtlInf" type="Max140Text"/>
2005+ </xs:sequence>
2006+ </xs:complexType>
2007+ <xs:simpleType name="DocumentType3Code">
2008+ <xs:restriction base="xs:string">
2009+ <xs:enumeration value="RADM"/>
2010+ <xs:enumeration value="RPIN"/>
2011+ <xs:enumeration value="FXDR"/>
2012+ <xs:enumeration value="DISP"/>
2013+ <xs:enumeration value="PUOR"/>
2014+ <xs:enumeration value="SCOR"/>
2015+ </xs:restriction>
2016+ </xs:simpleType>
2017+ <xs:simpleType name="DocumentType5Code">
2018+ <xs:restriction base="xs:string">
2019+ <xs:enumeration value="MSIN"/>
2020+ <xs:enumeration value="CNFA"/>
2021+ <xs:enumeration value="DNFA"/>
2022+ <xs:enumeration value="CINV"/>
2023+ <xs:enumeration value="CREN"/>
2024+ <xs:enumeration value="DEBN"/>
2025+ <xs:enumeration value="HIRI"/>
2026+ <xs:enumeration value="SBIN"/>
2027+ <xs:enumeration value="CMCN"/>
2028+ <xs:enumeration value="SOAC"/>
2029+ <xs:enumeration value="DISP"/>
2030+ <xs:enumeration value="BOLD"/>
2031+ <xs:enumeration value="VCHR"/>
2032+ <xs:enumeration value="AROI"/>
2033+ <xs:enumeration value="TSUT"/>
2034+ </xs:restriction>
2035+ </xs:simpleType>
2036+ <xs:simpleType name="ExternalAccountIdentification1Code">
2037+ <xs:restriction base="xs:string">
2038+ <xs:minLength value="1"/>
2039+ <xs:maxLength value="4"/>
2040+ </xs:restriction>
2041+ </xs:simpleType>
2042+ <xs:simpleType name="ExternalCashAccountType1Code">
2043+ <xs:restriction base="xs:string">
2044+ <xs:minLength value="1"/>
2045+ <xs:maxLength value="4"/>
2046+ </xs:restriction>
2047+ </xs:simpleType>
2048+ <xs:simpleType name="ExternalCategoryPurpose1Code">
2049+ <xs:restriction base="xs:string">
2050+ <xs:minLength value="1"/>
2051+ <xs:maxLength value="4"/>
2052+ </xs:restriction>
2053+ </xs:simpleType>
2054+ <xs:simpleType name="ExternalClearingSystemIdentification1Code">
2055+ <xs:restriction base="xs:string">
2056+ <xs:minLength value="1"/>
2057+ <xs:maxLength value="5"/>
2058+ </xs:restriction>
2059+ </xs:simpleType>
2060+ <xs:simpleType name="ExternalDiscountAmountType1Code">
2061+ <xs:restriction base="xs:string">
2062+ <xs:minLength value="1"/>
2063+ <xs:maxLength value="4"/>
2064+ </xs:restriction>
2065+ </xs:simpleType>
2066+ <xs:simpleType name="ExternalFinancialInstitutionIdentification1Code">
2067+ <xs:restriction base="xs:string">
2068+ <xs:minLength value="1"/>
2069+ <xs:maxLength value="4"/>
2070+ </xs:restriction>
2071+ </xs:simpleType>
2072+ <xs:simpleType name="ExternalLocalInstrument1Code">
2073+ <xs:restriction base="xs:string">
2074+ <xs:minLength value="1"/>
2075+ <xs:maxLength value="35"/>
2076+ </xs:restriction>
2077+ </xs:simpleType>
2078+ <xs:simpleType name="ExternalOrganisationIdentification1Code">
2079+ <xs:restriction base="xs:string">
2080+ <xs:minLength value="1"/>
2081+ <xs:maxLength value="4"/>
2082+ </xs:restriction>
2083+ </xs:simpleType>
2084+ <xs:simpleType name="ExternalPersonIdentification1Code">
2085+ <xs:restriction base="xs:string">
2086+ <xs:minLength value="1"/>
2087+ <xs:maxLength value="4"/>
2088+ </xs:restriction>
2089+ </xs:simpleType>
2090+ <xs:simpleType name="ExternalPurpose1Code">
2091+ <xs:restriction base="xs:string">
2092+ <xs:minLength value="1"/>
2093+ <xs:maxLength value="4"/>
2094+ </xs:restriction>
2095+ </xs:simpleType>
2096+ <xs:simpleType name="ExternalServiceLevel1Code">
2097+ <xs:restriction base="xs:string">
2098+ <xs:minLength value="1"/>
2099+ <xs:maxLength value="4"/>
2100+ </xs:restriction>
2101+ </xs:simpleType>
2102+ <xs:simpleType name="ExternalTaxAmountType1Code">
2103+ <xs:restriction base="xs:string">
2104+ <xs:minLength value="1"/>
2105+ <xs:maxLength value="4"/>
2106+ </xs:restriction>
2107+ </xs:simpleType>
2108+ <xs:complexType name="FinancialIdentificationSchemeName1Choice">
2109+ <xs:sequence>
2110+ <xs:choice>
2111+ <xs:element name="Cd" type="ExternalFinancialInstitutionIdentification1Code"/>
2112+ <xs:element name="Prtry" type="Max35Text"/>
2113+ </xs:choice>
2114+ </xs:sequence>
2115+ </xs:complexType>
2116+ <xs:complexType name="FinancialInstitutionIdentification8">
2117+ <xs:sequence>
2118+ <xs:element maxOccurs="1" minOccurs="0" name="BICFI" type="BICFIIdentifier"/>
2119+ <xs:element maxOccurs="1" minOccurs="0" name="ClrSysMmbId" type="ClearingSystemMemberIdentification2"/>
2120+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
2121+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
2122+ <xs:element maxOccurs="1" minOccurs="0" name="Othr" type="GenericFinancialIdentification1"/>
2123+ </xs:sequence>
2124+ </xs:complexType>
2125+ <xs:simpleType name="Frequency6Code">
2126+ <xs:restriction base="xs:string">
2127+ <xs:enumeration value="YEAR"/>
2128+ <xs:enumeration value="MNTH"/>
2129+ <xs:enumeration value="QURT"/>
2130+ <xs:enumeration value="MIAN"/>
2131+ <xs:enumeration value="WEEK"/>
2132+ <xs:enumeration value="DAIL"/>
2133+ <xs:enumeration value="ADHO"/>
2134+ <xs:enumeration value="INDA"/>
2135+ <xs:enumeration value="FRTN"/>
2136+ </xs:restriction>
2137+ </xs:simpleType>
2138+ <xs:complexType name="GenericAccountIdentification1">
2139+ <xs:sequence>
2140+ <xs:element name="Id" type="Max34Text"/>
2141+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="AccountSchemeName1Choice"/>
2142+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
2143+ </xs:sequence>
2144+ </xs:complexType>
2145+ <xs:complexType name="GenericFinancialIdentification1">
2146+ <xs:sequence>
2147+ <xs:element name="Id" type="Max35Text"/>
2148+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="FinancialIdentificationSchemeName1Choice"/>
2149+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
2150+ </xs:sequence>
2151+ </xs:complexType>
2152+ <xs:complexType name="GenericOrganisationIdentification1">
2153+ <xs:sequence>
2154+ <xs:element name="Id" type="Max35Text"/>
2155+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="OrganisationIdentificationSchemeName1Choice"/>
2156+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
2157+ </xs:sequence>
2158+ </xs:complexType>
2159+ <xs:complexType name="GenericPersonIdentification1">
2160+ <xs:sequence>
2161+ <xs:element name="Id" type="Max35Text"/>
2162+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="PersonIdentificationSchemeName1Choice"/>
2163+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
2164+ </xs:sequence>
2165+ </xs:complexType>
2166+ <xs:complexType name="GroupHeader55">
2167+ <xs:sequence>
2168+ <xs:element name="MsgId" type="Max35Text"/>
2169+ <xs:element name="CreDtTm" type="ISODateTime"/>
2170+ <xs:element maxOccurs="2" minOccurs="0" name="Authstn" type="Authorisation1Choice"/>
2171+ <xs:element name="NbOfTxs" type="Max15NumericText"/>
2172+ <xs:element maxOccurs="1" minOccurs="0" name="CtrlSum" type="DecimalNumber"/>
2173+ <xs:element name="InitgPty" type="PartyIdentification43"/>
2174+ <xs:element maxOccurs="1" minOccurs="0" name="FwdgAgt" type="BranchAndFinancialInstitutionIdentification5"/>
2175+ </xs:sequence>
2176+ </xs:complexType>
2177+ <xs:simpleType name="IBAN2007Identifier">
2178+ <xs:restriction base="xs:string">
2179+ <xs:pattern value="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}"/>
2180+ </xs:restriction>
2181+ </xs:simpleType>
2182+ <xs:simpleType name="ISODate">
2183+ <xs:restriction base="xs:date"/>
2184+ </xs:simpleType>
2185+ <xs:simpleType name="ISODateTime">
2186+ <xs:restriction base="xs:dateTime"/>
2187+ </xs:simpleType>
2188+ <xs:complexType name="LocalInstrument2Choice">
2189+ <xs:sequence>
2190+ <xs:choice>
2191+ <xs:element name="Cd" type="ExternalLocalInstrument1Code"/>
2192+ <xs:element name="Prtry" type="Max35Text"/>
2193+ </xs:choice>
2194+ </xs:sequence>
2195+ </xs:complexType>
2196+ <xs:complexType name="MandateRelatedInformation8">
2197+ <xs:sequence>
2198+ <xs:element maxOccurs="1" minOccurs="0" name="MndtId" type="Max35Text"/>
2199+ <xs:element maxOccurs="1" minOccurs="0" name="DtOfSgntr" type="ISODate"/>
2200+ <xs:element maxOccurs="1" minOccurs="0" name="AmdmntInd" type="TrueFalseIndicator"/>
2201+ <xs:element maxOccurs="1" minOccurs="0" name="AmdmntInfDtls" type="AmendmentInformationDetails8"/>
2202+ <xs:element maxOccurs="1" minOccurs="0" name="ElctrncSgntr" type="Max1025Text"/>
2203+ <xs:element maxOccurs="1" minOccurs="0" name="FrstColltnDt" type="ISODate"/>
2204+ <xs:element maxOccurs="1" minOccurs="0" name="FnlColltnDt" type="ISODate"/>
2205+ <xs:element maxOccurs="1" minOccurs="0" name="Frqcy" type="Frequency6Code"/>
2206+ </xs:sequence>
2207+ </xs:complexType>
2208+ <xs:simpleType name="Max1025Text">
2209+ <xs:restriction base="xs:string">
2210+ <xs:minLength value="1"/>
2211+ <xs:maxLength value="1025"/>
2212+ </xs:restriction>
2213+ </xs:simpleType>
2214+ <xs:simpleType name="Max10Text">
2215+ <xs:restriction base="xs:string">
2216+ <xs:minLength value="1"/>
2217+ <xs:maxLength value="10"/>
2218+ </xs:restriction>
2219+ </xs:simpleType>
2220+ <xs:simpleType name="Max128Text">
2221+ <xs:restriction base="xs:string">
2222+ <xs:minLength value="1"/>
2223+ <xs:maxLength value="128"/>
2224+ </xs:restriction>
2225+ </xs:simpleType>
2226+ <xs:simpleType name="Max140Text">
2227+ <xs:restriction base="xs:string">
2228+ <xs:minLength value="1"/>
2229+ <xs:maxLength value="140"/>
2230+ </xs:restriction>
2231+ </xs:simpleType>
2232+ <xs:simpleType name="Max15NumericText">
2233+ <xs:restriction base="xs:string">
2234+ <xs:pattern value="[0-9]{1,15}"/>
2235+ </xs:restriction>
2236+ </xs:simpleType>
2237+ <xs:simpleType name="Max16Text">
2238+ <xs:restriction base="xs:string">
2239+ <xs:minLength value="1"/>
2240+ <xs:maxLength value="16"/>
2241+ </xs:restriction>
2242+ </xs:simpleType>
2243+ <xs:simpleType name="Max2048Text">
2244+ <xs:restriction base="xs:string">
2245+ <xs:minLength value="1"/>
2246+ <xs:maxLength value="2048"/>
2247+ </xs:restriction>
2248+ </xs:simpleType>
2249+ <xs:simpleType name="Max34Text">
2250+ <xs:restriction base="xs:string">
2251+ <xs:minLength value="1"/>
2252+ <xs:maxLength value="34"/>
2253+ </xs:restriction>
2254+ </xs:simpleType>
2255+ <xs:simpleType name="Max350Text">
2256+ <xs:restriction base="xs:string">
2257+ <xs:minLength value="1"/>
2258+ <xs:maxLength value="350"/>
2259+ </xs:restriction>
2260+ </xs:simpleType>
2261+ <xs:simpleType name="Max35Text">
2262+ <xs:restriction base="xs:string">
2263+ <xs:minLength value="1"/>
2264+ <xs:maxLength value="35"/>
2265+ </xs:restriction>
2266+ </xs:simpleType>
2267+ <xs:simpleType name="Max4Text">
2268+ <xs:restriction base="xs:string">
2269+ <xs:minLength value="1"/>
2270+ <xs:maxLength value="4"/>
2271+ </xs:restriction>
2272+ </xs:simpleType>
2273+ <xs:simpleType name="Max70Text">
2274+ <xs:restriction base="xs:string">
2275+ <xs:minLength value="1"/>
2276+ <xs:maxLength value="70"/>
2277+ </xs:restriction>
2278+ </xs:simpleType>
2279+ <xs:complexType name="NameAndAddress10">
2280+ <xs:sequence>
2281+ <xs:element name="Nm" type="Max140Text"/>
2282+ <xs:element name="Adr" type="PostalAddress6"/>
2283+ </xs:sequence>
2284+ </xs:complexType>
2285+ <xs:simpleType name="NamePrefix1Code">
2286+ <xs:restriction base="xs:string">
2287+ <xs:enumeration value="DOCT"/>
2288+ <xs:enumeration value="MIST"/>
2289+ <xs:enumeration value="MISS"/>
2290+ <xs:enumeration value="MADM"/>
2291+ </xs:restriction>
2292+ </xs:simpleType>
2293+ <xs:simpleType name="Number">
2294+ <xs:restriction base="xs:decimal">
2295+ <xs:fractionDigits value="0"/>
2296+ <xs:totalDigits value="18"/>
2297+ </xs:restriction>
2298+ </xs:simpleType>
2299+ <xs:complexType name="OrganisationIdentification8">
2300+ <xs:sequence>
2301+ <xs:element maxOccurs="1" minOccurs="0" name="AnyBIC" type="AnyBICIdentifier"/>
2302+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Othr" type="GenericOrganisationIdentification1"/>
2303+ </xs:sequence>
2304+ </xs:complexType>
2305+ <xs:complexType name="OrganisationIdentificationSchemeName1Choice">
2306+ <xs:sequence>
2307+ <xs:choice>
2308+ <xs:element name="Cd" type="ExternalOrganisationIdentification1Code"/>
2309+ <xs:element name="Prtry" type="Max35Text"/>
2310+ </xs:choice>
2311+ </xs:sequence>
2312+ </xs:complexType>
2313+ <xs:complexType name="Party11Choice">
2314+ <xs:sequence>
2315+ <xs:choice>
2316+ <xs:element name="OrgId" type="OrganisationIdentification8"/>
2317+ <xs:element name="PrvtId" type="PersonIdentification5"/>
2318+ </xs:choice>
2319+ </xs:sequence>
2320+ </xs:complexType>
2321+ <xs:complexType name="PartyIdentification43">
2322+ <xs:sequence>
2323+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
2324+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
2325+ <xs:element maxOccurs="1" minOccurs="0" name="Id" type="Party11Choice"/>
2326+ <xs:element maxOccurs="1" minOccurs="0" name="CtryOfRes" type="CountryCode"/>
2327+ <xs:element maxOccurs="1" minOccurs="0" name="CtctDtls" type="ContactDetails2"/>
2328+ </xs:sequence>
2329+ </xs:complexType>
2330+ <xs:complexType name="PaymentIdentification1">
2331+ <xs:sequence>
2332+ <xs:element maxOccurs="1" minOccurs="0" name="InstrId" type="Max35Text"/>
2333+ <xs:element name="EndToEndId" type="Max35Text"/>
2334+ </xs:sequence>
2335+ </xs:complexType>
2336+ <xs:complexType name="PaymentInstruction7">
2337+ <xs:sequence>
2338+ <xs:element name="PmtInfId" type="Max35Text"/>
2339+ <xs:element name="PmtMtd" type="PaymentMethod2Code"/>
2340+ <xs:element maxOccurs="1" minOccurs="0" name="BtchBookg" type="BatchBookingIndicator"/>
2341+ <xs:element maxOccurs="1" minOccurs="0" name="NbOfTxs" type="Max15NumericText"/>
2342+ <xs:element maxOccurs="1" minOccurs="0" name="CtrlSum" type="DecimalNumber"/>
2343+ <xs:element maxOccurs="1" minOccurs="0" name="PmtTpInf" type="PaymentTypeInformation24"/>
2344+ <xs:element name="ReqdColltnDt" type="ISODate"/>
2345+ <xs:element name="Cdtr" type="PartyIdentification43"/>
2346+ <xs:element name="CdtrAcct" type="CashAccount24"/>
2347+ <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
2348+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrAgtAcct" type="CashAccount24"/>
2349+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtCdtr" type="PartyIdentification43"/>
2350+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgBr" type="ChargeBearerType1Code"/>
2351+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgsAcct" type="CashAccount24"/>
2352+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgsAcctAgt" type="BranchAndFinancialInstitutionIdentification5"/>
2353+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrSchmeId" type="PartyIdentification43"/>
2354+ <xs:element maxOccurs="unbounded" minOccurs="1" name="DrctDbtTxInf" type="DirectDebitTransactionInformation11"/>
2355+ </xs:sequence>
2356+ </xs:complexType>
2357+ <xs:simpleType name="PaymentMethod2Code">
2358+ <xs:restriction base="xs:string">
2359+ <xs:enumeration value="DD"/>
2360+ </xs:restriction>
2361+ </xs:simpleType>
2362+ <xs:complexType name="PaymentTypeInformation24">
2363+ <xs:sequence>
2364+ <xs:element maxOccurs="1" minOccurs="0" name="InstrPrty" type="Priority2Code"/>
2365+ <xs:element maxOccurs="1" minOccurs="0" name="SvcLvl" type="ServiceLevel8Choice"/>
2366+ <xs:element maxOccurs="1" minOccurs="0" name="LclInstrm" type="LocalInstrument2Choice"/>
2367+ <xs:element maxOccurs="1" minOccurs="0" name="SeqTp" type="SequenceType3Code"/>
2368+ <xs:element maxOccurs="1" minOccurs="0" name="CtgyPurp" type="CategoryPurpose1Choice"/>
2369+ </xs:sequence>
2370+ </xs:complexType>
2371+ <xs:simpleType name="PercentageRate">
2372+ <xs:restriction base="xs:decimal">
2373+ <xs:fractionDigits value="10"/>
2374+ <xs:totalDigits value="11"/>
2375+ </xs:restriction>
2376+ </xs:simpleType>
2377+ <xs:complexType name="PersonIdentification5">
2378+ <xs:sequence>
2379+ <xs:element maxOccurs="1" minOccurs="0" name="DtAndPlcOfBirth" type="DateAndPlaceOfBirth"/>
2380+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Othr" type="GenericPersonIdentification1"/>
2381+ </xs:sequence>
2382+ </xs:complexType>
2383+ <xs:complexType name="PersonIdentificationSchemeName1Choice">
2384+ <xs:sequence>
2385+ <xs:choice>
2386+ <xs:element name="Cd" type="ExternalPersonIdentification1Code"/>
2387+ <xs:element name="Prtry" type="Max35Text"/>
2388+ </xs:choice>
2389+ </xs:sequence>
2390+ </xs:complexType>
2391+ <xs:simpleType name="PhoneNumber">
2392+ <xs:restriction base="xs:string">
2393+ <xs:pattern value="\+[0-9]{1,3}-[0-9()+\-]{1,30}"/>
2394+ </xs:restriction>
2395+ </xs:simpleType>
2396+ <xs:complexType name="PostalAddress6">
2397+ <xs:sequence>
2398+ <xs:element maxOccurs="1" minOccurs="0" name="AdrTp" type="AddressType2Code"/>
2399+ <xs:element maxOccurs="1" minOccurs="0" name="Dept" type="Max70Text"/>
2400+ <xs:element maxOccurs="1" minOccurs="0" name="SubDept" type="Max70Text"/>
2401+ <xs:element maxOccurs="1" minOccurs="0" name="StrtNm" type="Max70Text"/>
2402+ <xs:element maxOccurs="1" minOccurs="0" name="BldgNb" type="Max16Text"/>
2403+ <xs:element maxOccurs="1" minOccurs="0" name="PstCd" type="Max16Text"/>
2404+ <xs:element maxOccurs="1" minOccurs="0" name="TwnNm" type="Max35Text"/>
2405+ <xs:element maxOccurs="1" minOccurs="0" name="CtrySubDvsn" type="Max35Text"/>
2406+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
2407+ <xs:element maxOccurs="7" minOccurs="0" name="AdrLine" type="Max70Text"/>
2408+ </xs:sequence>
2409+ </xs:complexType>
2410+ <xs:simpleType name="Priority2Code">
2411+ <xs:restriction base="xs:string">
2412+ <xs:enumeration value="HIGH"/>
2413+ <xs:enumeration value="NORM"/>
2414+ </xs:restriction>
2415+ </xs:simpleType>
2416+ <xs:complexType name="Purpose2Choice">
2417+ <xs:sequence>
2418+ <xs:choice>
2419+ <xs:element name="Cd" type="ExternalPurpose1Code"/>
2420+ <xs:element name="Prtry" type="Max35Text"/>
2421+ </xs:choice>
2422+ </xs:sequence>
2423+ </xs:complexType>
2424+ <xs:complexType name="ReferredDocumentInformation3">
2425+ <xs:sequence>
2426+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="ReferredDocumentType2"/>
2427+ <xs:element maxOccurs="1" minOccurs="0" name="Nb" type="Max35Text"/>
2428+ <xs:element maxOccurs="1" minOccurs="0" name="RltdDt" type="ISODate"/>
2429+ </xs:sequence>
2430+ </xs:complexType>
2431+ <xs:complexType name="ReferredDocumentType1Choice">
2432+ <xs:sequence>
2433+ <xs:choice>
2434+ <xs:element name="Cd" type="DocumentType5Code"/>
2435+ <xs:element name="Prtry" type="Max35Text"/>
2436+ </xs:choice>
2437+ </xs:sequence>
2438+ </xs:complexType>
2439+ <xs:complexType name="ReferredDocumentType2">
2440+ <xs:sequence>
2441+ <xs:element name="CdOrPrtry" type="ReferredDocumentType1Choice"/>
2442+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
2443+ </xs:sequence>
2444+ </xs:complexType>
2445+ <xs:complexType name="RegulatoryAuthority2">
2446+ <xs:sequence>
2447+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
2448+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
2449+ </xs:sequence>
2450+ </xs:complexType>
2451+ <xs:complexType name="RegulatoryReporting3">
2452+ <xs:sequence>
2453+ <xs:element maxOccurs="1" minOccurs="0" name="DbtCdtRptgInd" type="RegulatoryReportingType1Code"/>
2454+ <xs:element maxOccurs="1" minOccurs="0" name="Authrty" type="RegulatoryAuthority2"/>
2455+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Dtls" type="StructuredRegulatoryReporting3"/>
2456+ </xs:sequence>
2457+ </xs:complexType>
2458+ <xs:simpleType name="RegulatoryReportingType1Code">
2459+ <xs:restriction base="xs:string">
2460+ <xs:enumeration value="CRED"/>
2461+ <xs:enumeration value="DEBT"/>
2462+ <xs:enumeration value="BOTH"/>
2463+ </xs:restriction>
2464+ </xs:simpleType>
2465+ <xs:complexType name="RemittanceAmount2">
2466+ <xs:sequence>
2467+ <xs:element maxOccurs="1" minOccurs="0" name="DuePyblAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2468+ <xs:element maxOccurs="unbounded" minOccurs="0" name="DscntApldAmt" type="DiscountAmountAndType1"/>
2469+ <xs:element maxOccurs="1" minOccurs="0" name="CdtNoteAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2470+ <xs:element maxOccurs="unbounded" minOccurs="0" name="TaxAmt" type="TaxAmountAndType1"/>
2471+ <xs:element maxOccurs="unbounded" minOccurs="0" name="AdjstmntAmtAndRsn" type="DocumentAdjustment1"/>
2472+ <xs:element maxOccurs="1" minOccurs="0" name="RmtdAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2473+ </xs:sequence>
2474+ </xs:complexType>
2475+ <xs:complexType name="RemittanceInformation7">
2476+ <xs:sequence>
2477+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Ustrd" type="Max140Text"/>
2478+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Strd" type="StructuredRemittanceInformation9"/>
2479+ </xs:sequence>
2480+ </xs:complexType>
2481+ <xs:complexType name="RemittanceLocation2">
2482+ <xs:sequence>
2483+ <xs:element maxOccurs="1" minOccurs="0" name="RmtId" type="Max35Text"/>
2484+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnMtd" type="RemittanceLocationMethod2Code"/>
2485+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnElctrncAdr" type="Max2048Text"/>
2486+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnPstlAdr" type="NameAndAddress10"/>
2487+ </xs:sequence>
2488+ </xs:complexType>
2489+ <xs:simpleType name="RemittanceLocationMethod2Code">
2490+ <xs:restriction base="xs:string">
2491+ <xs:enumeration value="FAXI"/>
2492+ <xs:enumeration value="EDIC"/>
2493+ <xs:enumeration value="URID"/>
2494+ <xs:enumeration value="EMAL"/>
2495+ <xs:enumeration value="POST"/>
2496+ <xs:enumeration value="SMSM"/>
2497+ </xs:restriction>
2498+ </xs:simpleType>
2499+ <xs:simpleType name="SequenceType3Code">
2500+ <xs:restriction base="xs:string">
2501+ <xs:enumeration value="FRST"/>
2502+ <xs:enumeration value="RCUR"/>
2503+ <xs:enumeration value="FNAL"/>
2504+ <xs:enumeration value="OOFF"/>
2505+ <xs:enumeration value="RPRE"/>
2506+ </xs:restriction>
2507+ </xs:simpleType>
2508+ <xs:complexType name="ServiceLevel8Choice">
2509+ <xs:sequence>
2510+ <xs:choice>
2511+ <xs:element name="Cd" type="ExternalServiceLevel1Code"/>
2512+ <xs:element name="Prtry" type="Max35Text"/>
2513+ </xs:choice>
2514+ </xs:sequence>
2515+ </xs:complexType>
2516+ <xs:complexType name="StructuredRegulatoryReporting3">
2517+ <xs:sequence>
2518+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="Max35Text"/>
2519+ <xs:element maxOccurs="1" minOccurs="0" name="Dt" type="ISODate"/>
2520+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
2521+ <xs:element maxOccurs="1" minOccurs="0" name="Cd" type="Max10Text"/>
2522+ <xs:element maxOccurs="1" minOccurs="0" name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
2523+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Inf" type="Max35Text"/>
2524+ </xs:sequence>
2525+ </xs:complexType>
2526+ <xs:complexType name="StructuredRemittanceInformation9">
2527+ <xs:sequence>
2528+ <xs:element maxOccurs="unbounded" minOccurs="0" name="RfrdDocInf" type="ReferredDocumentInformation3"/>
2529+ <xs:element maxOccurs="1" minOccurs="0" name="RfrdDocAmt" type="RemittanceAmount2"/>
2530+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrRefInf" type="CreditorReferenceInformation2"/>
2531+ <xs:element maxOccurs="1" minOccurs="0" name="Invcr" type="PartyIdentification43"/>
2532+ <xs:element maxOccurs="1" minOccurs="0" name="Invcee" type="PartyIdentification43"/>
2533+ <xs:element maxOccurs="3" minOccurs="0" name="AddtlRmtInf" type="Max140Text"/>
2534+ </xs:sequence>
2535+ </xs:complexType>
2536+ <xs:complexType name="SupplementaryData1">
2537+ <xs:sequence>
2538+ <xs:element maxOccurs="1" minOccurs="0" name="PlcAndNm" type="Max350Text"/>
2539+ <xs:element name="Envlp" type="SupplementaryDataEnvelope1"/>
2540+ </xs:sequence>
2541+ </xs:complexType>
2542+ <xs:complexType name="SupplementaryDataEnvelope1">
2543+ <xs:sequence>
2544+ <xs:any namespace="##any" processContents="lax"/>
2545+ </xs:sequence>
2546+ </xs:complexType>
2547+ <xs:complexType name="TaxAmount1">
2548+ <xs:sequence>
2549+ <xs:element maxOccurs="1" minOccurs="0" name="Rate" type="PercentageRate"/>
2550+ <xs:element maxOccurs="1" minOccurs="0" name="TaxblBaseAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2551+ <xs:element maxOccurs="1" minOccurs="0" name="TtlAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2552+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Dtls" type="TaxRecordDetails1"/>
2553+ </xs:sequence>
2554+ </xs:complexType>
2555+ <xs:complexType name="TaxAmountAndType1">
2556+ <xs:sequence>
2557+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="TaxAmountType1Choice"/>
2558+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
2559+ </xs:sequence>
2560+ </xs:complexType>
2561+ <xs:complexType name="TaxAmountType1Choice">
2562+ <xs:sequence>
2563+ <xs:choice>
2564+ <xs:element name="Cd" type="ExternalTaxAmountType1Code"/>
2565+ <xs:element name="Prtry" type="Max35Text"/>
2566+ </xs:choice>
2567+ </xs:sequence>
2568+ </xs:complexType>
2569+ <xs:complexType name="TaxAuthorisation1">
2570+ <xs:sequence>
2571+ <xs:element maxOccurs="1" minOccurs="0" name="Titl" type="Max35Text"/>
2572+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
2573+ </xs:sequence>
2574+ </xs:complexType>
2575+ <xs:complexType name="TaxInformation3">
2576+ <xs:sequence>
2577+ <xs:element maxOccurs="1" minOccurs="0" name="Cdtr" type="TaxParty1"/>
2578+ <xs:element maxOccurs="1" minOccurs="0" name="Dbtr" type="TaxParty2"/>
2579+ <xs:element maxOccurs="1" minOccurs="0" name="AdmstnZn" type="Max35Text"/>
2580+ <xs:element maxOccurs="1" minOccurs="0" name="RefNb" type="Max140Text"/>
2581+ <xs:element maxOccurs="1" minOccurs="0" name="Mtd" type="Max35Text"/>
2582+ <xs:element maxOccurs="1" minOccurs="0" name="TtlTaxblBaseAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2583+ <xs:element maxOccurs="1" minOccurs="0" name="TtlTaxAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2584+ <xs:element maxOccurs="1" minOccurs="0" name="Dt" type="ISODate"/>
2585+ <xs:element maxOccurs="1" minOccurs="0" name="SeqNb" type="Number"/>
2586+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Rcrd" type="TaxRecord1"/>
2587+ </xs:sequence>
2588+ </xs:complexType>
2589+ <xs:complexType name="TaxParty1">
2590+ <xs:sequence>
2591+ <xs:element maxOccurs="1" minOccurs="0" name="TaxId" type="Max35Text"/>
2592+ <xs:element maxOccurs="1" minOccurs="0" name="RegnId" type="Max35Text"/>
2593+ <xs:element maxOccurs="1" minOccurs="0" name="TaxTp" type="Max35Text"/>
2594+ </xs:sequence>
2595+ </xs:complexType>
2596+ <xs:complexType name="TaxParty2">
2597+ <xs:sequence>
2598+ <xs:element maxOccurs="1" minOccurs="0" name="TaxId" type="Max35Text"/>
2599+ <xs:element maxOccurs="1" minOccurs="0" name="RegnId" type="Max35Text"/>
2600+ <xs:element maxOccurs="1" minOccurs="0" name="TaxTp" type="Max35Text"/>
2601+ <xs:element maxOccurs="1" minOccurs="0" name="Authstn" type="TaxAuthorisation1"/>
2602+ </xs:sequence>
2603+ </xs:complexType>
2604+ <xs:complexType name="TaxPeriod1">
2605+ <xs:sequence>
2606+ <xs:element maxOccurs="1" minOccurs="0" name="Yr" type="ISODate"/>
2607+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="TaxRecordPeriod1Code"/>
2608+ <xs:element maxOccurs="1" minOccurs="0" name="FrToDt" type="DatePeriodDetails"/>
2609+ </xs:sequence>
2610+ </xs:complexType>
2611+ <xs:complexType name="TaxRecord1">
2612+ <xs:sequence>
2613+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="Max35Text"/>
2614+ <xs:element maxOccurs="1" minOccurs="0" name="Ctgy" type="Max35Text"/>
2615+ <xs:element maxOccurs="1" minOccurs="0" name="CtgyDtls" type="Max35Text"/>
2616+ <xs:element maxOccurs="1" minOccurs="0" name="DbtrSts" type="Max35Text"/>
2617+ <xs:element maxOccurs="1" minOccurs="0" name="CertId" type="Max35Text"/>
2618+ <xs:element maxOccurs="1" minOccurs="0" name="FrmsCd" type="Max35Text"/>
2619+ <xs:element maxOccurs="1" minOccurs="0" name="Prd" type="TaxPeriod1"/>
2620+ <xs:element maxOccurs="1" minOccurs="0" name="TaxAmt" type="TaxAmount1"/>
2621+ <xs:element maxOccurs="1" minOccurs="0" name="AddtlInf" type="Max140Text"/>
2622+ </xs:sequence>
2623+ </xs:complexType>
2624+ <xs:complexType name="TaxRecordDetails1">
2625+ <xs:sequence>
2626+ <xs:element maxOccurs="1" minOccurs="0" name="Prd" type="TaxPeriod1"/>
2627+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
2628+ </xs:sequence>
2629+ </xs:complexType>
2630+ <xs:simpleType name="TaxRecordPeriod1Code">
2631+ <xs:restriction base="xs:string">
2632+ <xs:enumeration value="MM01"/>
2633+ <xs:enumeration value="MM02"/>
2634+ <xs:enumeration value="MM03"/>
2635+ <xs:enumeration value="MM04"/>
2636+ <xs:enumeration value="MM05"/>
2637+ <xs:enumeration value="MM06"/>
2638+ <xs:enumeration value="MM07"/>
2639+ <xs:enumeration value="MM08"/>
2640+ <xs:enumeration value="MM09"/>
2641+ <xs:enumeration value="MM10"/>
2642+ <xs:enumeration value="MM11"/>
2643+ <xs:enumeration value="MM12"/>
2644+ <xs:enumeration value="QTR1"/>
2645+ <xs:enumeration value="QTR2"/>
2646+ <xs:enumeration value="QTR3"/>
2647+ <xs:enumeration value="QTR4"/>
2648+ <xs:enumeration value="HLF1"/>
2649+ <xs:enumeration value="HLF2"/>
2650+ </xs:restriction>
2651+ </xs:simpleType>
2652+ <xs:simpleType name="TrueFalseIndicator">
2653+ <xs:restriction base="xs:boolean"/>
2654+ </xs:simpleType>
2655+</xs:schema>
2656\ No newline at end of file
2657
2658=== added file 'account_banking_sepa_direct_debit/data/pain.008.001.04.xsd'
2659--- account_banking_sepa_direct_debit/data/pain.008.001.04.xsd 1970-01-01 00:00:00 +0000
2660+++ account_banking_sepa_direct_debit/data/pain.008.001.04.xsd 2013-11-20 23:27:56 +0000
2661@@ -0,0 +1,892 @@
2662+<?xml version="1.0" encoding="UTF-8"?>
2663+<!--Generated by Standards Editor (build:R1.0.41.3) on 2013 Mar 05 13:39:40, ISO 20022 version : 2013-->
2664+<xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.04" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:iso:std:iso:20022:tech:xsd:pain.008.001.04">
2665+ <xs:element name="Document" type="Document"/>
2666+ <xs:complexType name="AccountIdentification4Choice">
2667+ <xs:choice>
2668+ <xs:element name="IBAN" type="IBAN2007Identifier"/>
2669+ <xs:element name="Othr" type="GenericAccountIdentification1"/>
2670+ </xs:choice>
2671+ </xs:complexType>
2672+ <xs:complexType name="AccountSchemeName1Choice">
2673+ <xs:choice>
2674+ <xs:element name="Cd" type="ExternalAccountIdentification1Code"/>
2675+ <xs:element name="Prtry" type="Max35Text"/>
2676+ </xs:choice>
2677+ </xs:complexType>
2678+ <xs:simpleType name="ActiveOrHistoricCurrencyAndAmount_SimpleType">
2679+ <xs:restriction base="xs:decimal">
2680+ <xs:fractionDigits value="5"/>
2681+ <xs:totalDigits value="18"/>
2682+ <xs:minInclusive value="0"/>
2683+ </xs:restriction>
2684+ </xs:simpleType>
2685+ <xs:complexType name="ActiveOrHistoricCurrencyAndAmount">
2686+ <xs:simpleContent>
2687+ <xs:extension base="ActiveOrHistoricCurrencyAndAmount_SimpleType">
2688+ <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCode" use="required"/>
2689+ </xs:extension>
2690+ </xs:simpleContent>
2691+ </xs:complexType>
2692+ <xs:simpleType name="ActiveOrHistoricCurrencyCode">
2693+ <xs:restriction base="xs:string">
2694+ <xs:pattern value="[A-Z]{3,3}"/>
2695+ </xs:restriction>
2696+ </xs:simpleType>
2697+ <xs:simpleType name="AddressType2Code">
2698+ <xs:restriction base="xs:string">
2699+ <xs:enumeration value="ADDR"/>
2700+ <xs:enumeration value="PBOX"/>
2701+ <xs:enumeration value="HOME"/>
2702+ <xs:enumeration value="BIZZ"/>
2703+ <xs:enumeration value="MLTO"/>
2704+ <xs:enumeration value="DLVY"/>
2705+ </xs:restriction>
2706+ </xs:simpleType>
2707+ <xs:complexType name="AmendmentInformationDetails8">
2708+ <xs:sequence>
2709+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlMndtId" type="Max35Text"/>
2710+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrSchmeId" type="PartyIdentification43"/>
2711+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
2712+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlCdtrAgtAcct" type="CashAccount24"/>
2713+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtr" type="PartyIdentification43"/>
2714+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAcct" type="CashAccount24"/>
2715+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
2716+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlDbtrAgtAcct" type="CashAccount24"/>
2717+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlFnlColltnDt" type="ISODate"/>
2718+ <xs:element maxOccurs="1" minOccurs="0" name="OrgnlFrqcy" type="Frequency6Code"/>
2719+ </xs:sequence>
2720+ </xs:complexType>
2721+ <xs:simpleType name="AnyBICIdentifier">
2722+ <xs:restriction base="xs:string">
2723+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
2724+ </xs:restriction>
2725+ </xs:simpleType>
2726+ <xs:complexType name="Authorisation1Choice">
2727+ <xs:choice>
2728+ <xs:element name="Cd" type="Authorisation1Code"/>
2729+ <xs:element name="Prtry" type="Max128Text"/>
2730+ </xs:choice>
2731+ </xs:complexType>
2732+ <xs:simpleType name="Authorisation1Code">
2733+ <xs:restriction base="xs:string">
2734+ <xs:enumeration value="AUTH"/>
2735+ <xs:enumeration value="FDET"/>
2736+ <xs:enumeration value="FSUM"/>
2737+ <xs:enumeration value="ILEV"/>
2738+ </xs:restriction>
2739+ </xs:simpleType>
2740+ <xs:simpleType name="BICFIIdentifier">
2741+ <xs:restriction base="xs:string">
2742+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
2743+ </xs:restriction>
2744+ </xs:simpleType>
2745+ <xs:simpleType name="BatchBookingIndicator">
2746+ <xs:restriction base="xs:boolean"/>
2747+ </xs:simpleType>
2748+ <xs:complexType name="BranchAndFinancialInstitutionIdentification5">
2749+ <xs:sequence>
2750+ <xs:element name="FinInstnId" type="FinancialInstitutionIdentification8"/>
2751+ <xs:element maxOccurs="1" minOccurs="0" name="BrnchId" type="BranchData2"/>
2752+ </xs:sequence>
2753+ </xs:complexType>
2754+ <xs:complexType name="BranchData2">
2755+ <xs:sequence>
2756+ <xs:element maxOccurs="1" minOccurs="0" name="Id" type="Max35Text"/>
2757+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
2758+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
2759+ </xs:sequence>
2760+ </xs:complexType>
2761+ <xs:complexType name="CashAccount24">
2762+ <xs:sequence>
2763+ <xs:element name="Id" type="AccountIdentification4Choice"/>
2764+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="CashAccountType2Choice"/>
2765+ <xs:element maxOccurs="1" minOccurs="0" name="Ccy" type="ActiveOrHistoricCurrencyCode"/>
2766+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max70Text"/>
2767+ </xs:sequence>
2768+ </xs:complexType>
2769+ <xs:complexType name="CashAccountType2Choice">
2770+ <xs:choice>
2771+ <xs:element name="Cd" type="ExternalCashAccountType1Code"/>
2772+ <xs:element name="Prtry" type="Max35Text"/>
2773+ </xs:choice>
2774+ </xs:complexType>
2775+ <xs:complexType name="CategoryPurpose1Choice">
2776+ <xs:choice>
2777+ <xs:element name="Cd" type="ExternalCategoryPurpose1Code"/>
2778+ <xs:element name="Prtry" type="Max35Text"/>
2779+ </xs:choice>
2780+ </xs:complexType>
2781+ <xs:simpleType name="ChargeBearerType1Code">
2782+ <xs:restriction base="xs:string">
2783+ <xs:enumeration value="DEBT"/>
2784+ <xs:enumeration value="CRED"/>
2785+ <xs:enumeration value="SHAR"/>
2786+ <xs:enumeration value="SLEV"/>
2787+ </xs:restriction>
2788+ </xs:simpleType>
2789+ <xs:complexType name="ClearingSystemIdentification2Choice">
2790+ <xs:choice>
2791+ <xs:element name="Cd" type="ExternalClearingSystemIdentification1Code"/>
2792+ <xs:element name="Prtry" type="Max35Text"/>
2793+ </xs:choice>
2794+ </xs:complexType>
2795+ <xs:complexType name="ClearingSystemMemberIdentification2">
2796+ <xs:sequence>
2797+ <xs:element maxOccurs="1" minOccurs="0" name="ClrSysId" type="ClearingSystemIdentification2Choice"/>
2798+ <xs:element name="MmbId" type="Max35Text"/>
2799+ </xs:sequence>
2800+ </xs:complexType>
2801+ <xs:complexType name="ContactDetails2">
2802+ <xs:sequence>
2803+ <xs:element maxOccurs="1" minOccurs="0" name="NmPrfx" type="NamePrefix1Code"/>
2804+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
2805+ <xs:element maxOccurs="1" minOccurs="0" name="PhneNb" type="PhoneNumber"/>
2806+ <xs:element maxOccurs="1" minOccurs="0" name="MobNb" type="PhoneNumber"/>
2807+ <xs:element maxOccurs="1" minOccurs="0" name="FaxNb" type="PhoneNumber"/>
2808+ <xs:element maxOccurs="1" minOccurs="0" name="EmailAdr" type="Max2048Text"/>
2809+ <xs:element maxOccurs="1" minOccurs="0" name="Othr" type="Max35Text"/>
2810+ </xs:sequence>
2811+ </xs:complexType>
2812+ <xs:simpleType name="CountryCode">
2813+ <xs:restriction base="xs:string">
2814+ <xs:pattern value="[A-Z]{2,2}"/>
2815+ </xs:restriction>
2816+ </xs:simpleType>
2817+ <xs:simpleType name="CreditDebitCode">
2818+ <xs:restriction base="xs:string">
2819+ <xs:enumeration value="CRDT"/>
2820+ <xs:enumeration value="DBIT"/>
2821+ </xs:restriction>
2822+ </xs:simpleType>
2823+ <xs:complexType name="CreditorReferenceInformation2">
2824+ <xs:sequence>
2825+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="CreditorReferenceType2"/>
2826+ <xs:element maxOccurs="1" minOccurs="0" name="Ref" type="Max35Text"/>
2827+ </xs:sequence>
2828+ </xs:complexType>
2829+ <xs:complexType name="CreditorReferenceType1Choice">
2830+ <xs:choice>
2831+ <xs:element name="Cd" type="DocumentType3Code"/>
2832+ <xs:element name="Prtry" type="Max35Text"/>
2833+ </xs:choice>
2834+ </xs:complexType>
2835+ <xs:complexType name="CreditorReferenceType2">
2836+ <xs:sequence>
2837+ <xs:element name="CdOrPrtry" type="CreditorReferenceType1Choice"/>
2838+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
2839+ </xs:sequence>
2840+ </xs:complexType>
2841+ <xs:complexType name="CustomerDirectDebitInitiationV04">
2842+ <xs:sequence>
2843+ <xs:element name="GrpHdr" type="GroupHeader55"/>
2844+ <xs:element maxOccurs="unbounded" minOccurs="1" name="PmtInf" type="PaymentInstruction10"/>
2845+ <xs:element maxOccurs="unbounded" minOccurs="0" name="SplmtryData" type="SupplementaryData1"/>
2846+ </xs:sequence>
2847+ </xs:complexType>
2848+ <xs:complexType name="DateAndPlaceOfBirth">
2849+ <xs:sequence>
2850+ <xs:element name="BirthDt" type="ISODate"/>
2851+ <xs:element maxOccurs="1" minOccurs="0" name="PrvcOfBirth" type="Max35Text"/>
2852+ <xs:element name="CityOfBirth" type="Max35Text"/>
2853+ <xs:element name="CtryOfBirth" type="CountryCode"/>
2854+ </xs:sequence>
2855+ </xs:complexType>
2856+ <xs:complexType name="DatePeriodDetails">
2857+ <xs:sequence>
2858+ <xs:element name="FrDt" type="ISODate"/>
2859+ <xs:element name="ToDt" type="ISODate"/>
2860+ </xs:sequence>
2861+ </xs:complexType>
2862+ <xs:simpleType name="DecimalNumber">
2863+ <xs:restriction base="xs:decimal">
2864+ <xs:fractionDigits value="17"/>
2865+ <xs:totalDigits value="18"/>
2866+ </xs:restriction>
2867+ </xs:simpleType>
2868+ <xs:complexType name="DirectDebitTransaction7">
2869+ <xs:sequence>
2870+ <xs:element maxOccurs="1" minOccurs="0" name="MndtRltdInf" type="MandateRelatedInformation8"/>
2871+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrSchmeId" type="PartyIdentification43"/>
2872+ <xs:element maxOccurs="1" minOccurs="0" name="PreNtfctnId" type="Max35Text"/>
2873+ <xs:element maxOccurs="1" minOccurs="0" name="PreNtfctnDt" type="ISODate"/>
2874+ </xs:sequence>
2875+ </xs:complexType>
2876+ <xs:complexType name="DirectDebitTransactionInformation13">
2877+ <xs:sequence>
2878+ <xs:element name="PmtId" type="PaymentIdentification1"/>
2879+ <xs:element maxOccurs="1" minOccurs="0" name="PmtTpInf" type="PaymentTypeInformation24"/>
2880+ <xs:element name="InstdAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
2881+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgBr" type="ChargeBearerType1Code"/>
2882+ <xs:element maxOccurs="1" minOccurs="0" name="DrctDbtTx" type="DirectDebitTransaction7"/>
2883+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtCdtr" type="PartyIdentification43"/>
2884+ <xs:element name="DbtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
2885+ <xs:element maxOccurs="1" minOccurs="0" name="DbtrAgtAcct" type="CashAccount24"/>
2886+ <xs:element name="Dbtr" type="PartyIdentification43"/>
2887+ <xs:element name="DbtrAcct" type="CashAccount24"/>
2888+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtDbtr" type="PartyIdentification43"/>
2889+ <xs:element maxOccurs="1" minOccurs="0" name="InstrForCdtrAgt" type="Max140Text"/>
2890+ <xs:element maxOccurs="1" minOccurs="0" name="Purp" type="Purpose2Choice"/>
2891+ <xs:element maxOccurs="10" minOccurs="0" name="RgltryRptg" type="RegulatoryReporting3"/>
2892+ <xs:element maxOccurs="1" minOccurs="0" name="Tax" type="TaxInformation3"/>
2893+ <xs:element maxOccurs="10" minOccurs="0" name="RltdRmtInf" type="RemittanceLocation2"/>
2894+ <xs:element maxOccurs="1" minOccurs="0" name="RmtInf" type="RemittanceInformation7"/>
2895+ <xs:element maxOccurs="unbounded" minOccurs="0" name="SplmtryData" type="SupplementaryData1"/>
2896+ </xs:sequence>
2897+ </xs:complexType>
2898+ <xs:complexType name="DiscountAmountAndType1">
2899+ <xs:sequence>
2900+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="DiscountAmountType1Choice"/>
2901+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
2902+ </xs:sequence>
2903+ </xs:complexType>
2904+ <xs:complexType name="DiscountAmountType1Choice">
2905+ <xs:choice>
2906+ <xs:element name="Cd" type="ExternalDiscountAmountType1Code"/>
2907+ <xs:element name="Prtry" type="Max35Text"/>
2908+ </xs:choice>
2909+ </xs:complexType>
2910+ <xs:complexType name="Document">
2911+ <xs:sequence>
2912+ <xs:element name="CstmrDrctDbtInitn" type="CustomerDirectDebitInitiationV04"/>
2913+ </xs:sequence>
2914+ </xs:complexType>
2915+ <xs:complexType name="DocumentAdjustment1">
2916+ <xs:sequence>
2917+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
2918+ <xs:element maxOccurs="1" minOccurs="0" name="CdtDbtInd" type="CreditDebitCode"/>
2919+ <xs:element maxOccurs="1" minOccurs="0" name="Rsn" type="Max4Text"/>
2920+ <xs:element maxOccurs="1" minOccurs="0" name="AddtlInf" type="Max140Text"/>
2921+ </xs:sequence>
2922+ </xs:complexType>
2923+ <xs:simpleType name="DocumentType3Code">
2924+ <xs:restriction base="xs:string">
2925+ <xs:enumeration value="RADM"/>
2926+ <xs:enumeration value="RPIN"/>
2927+ <xs:enumeration value="FXDR"/>
2928+ <xs:enumeration value="DISP"/>
2929+ <xs:enumeration value="PUOR"/>
2930+ <xs:enumeration value="SCOR"/>
2931+ </xs:restriction>
2932+ </xs:simpleType>
2933+ <xs:simpleType name="DocumentType5Code">
2934+ <xs:restriction base="xs:string">
2935+ <xs:enumeration value="MSIN"/>
2936+ <xs:enumeration value="CNFA"/>
2937+ <xs:enumeration value="DNFA"/>
2938+ <xs:enumeration value="CINV"/>
2939+ <xs:enumeration value="CREN"/>
2940+ <xs:enumeration value="DEBN"/>
2941+ <xs:enumeration value="HIRI"/>
2942+ <xs:enumeration value="SBIN"/>
2943+ <xs:enumeration value="CMCN"/>
2944+ <xs:enumeration value="SOAC"/>
2945+ <xs:enumeration value="DISP"/>
2946+ <xs:enumeration value="BOLD"/>
2947+ <xs:enumeration value="VCHR"/>
2948+ <xs:enumeration value="AROI"/>
2949+ <xs:enumeration value="TSUT"/>
2950+ </xs:restriction>
2951+ </xs:simpleType>
2952+ <xs:simpleType name="ExternalAccountIdentification1Code">
2953+ <xs:restriction base="xs:string">
2954+ <xs:minLength value="1"/>
2955+ <xs:maxLength value="4"/>
2956+ </xs:restriction>
2957+ </xs:simpleType>
2958+ <xs:simpleType name="ExternalCashAccountType1Code">
2959+ <xs:restriction base="xs:string">
2960+ <xs:minLength value="1"/>
2961+ <xs:maxLength value="4"/>
2962+ </xs:restriction>
2963+ </xs:simpleType>
2964+ <xs:simpleType name="ExternalCategoryPurpose1Code">
2965+ <xs:restriction base="xs:string">
2966+ <xs:minLength value="1"/>
2967+ <xs:maxLength value="4"/>
2968+ </xs:restriction>
2969+ </xs:simpleType>
2970+ <xs:simpleType name="ExternalClearingSystemIdentification1Code">
2971+ <xs:restriction base="xs:string">
2972+ <xs:minLength value="1"/>
2973+ <xs:maxLength value="5"/>
2974+ </xs:restriction>
2975+ </xs:simpleType>
2976+ <xs:simpleType name="ExternalDiscountAmountType1Code">
2977+ <xs:restriction base="xs:string">
2978+ <xs:minLength value="1"/>
2979+ <xs:maxLength value="4"/>
2980+ </xs:restriction>
2981+ </xs:simpleType>
2982+ <xs:simpleType name="ExternalFinancialInstitutionIdentification1Code">
2983+ <xs:restriction base="xs:string">
2984+ <xs:minLength value="1"/>
2985+ <xs:maxLength value="4"/>
2986+ </xs:restriction>
2987+ </xs:simpleType>
2988+ <xs:simpleType name="ExternalLocalInstrument1Code">
2989+ <xs:restriction base="xs:string">
2990+ <xs:minLength value="1"/>
2991+ <xs:maxLength value="35"/>
2992+ </xs:restriction>
2993+ </xs:simpleType>
2994+ <xs:simpleType name="ExternalOrganisationIdentification1Code">
2995+ <xs:restriction base="xs:string">
2996+ <xs:minLength value="1"/>
2997+ <xs:maxLength value="4"/>
2998+ </xs:restriction>
2999+ </xs:simpleType>
3000+ <xs:simpleType name="ExternalPersonIdentification1Code">
3001+ <xs:restriction base="xs:string">
3002+ <xs:minLength value="1"/>
3003+ <xs:maxLength value="4"/>
3004+ </xs:restriction>
3005+ </xs:simpleType>
3006+ <xs:simpleType name="ExternalPurpose1Code">
3007+ <xs:restriction base="xs:string">
3008+ <xs:minLength value="1"/>
3009+ <xs:maxLength value="4"/>
3010+ </xs:restriction>
3011+ </xs:simpleType>
3012+ <xs:simpleType name="ExternalServiceLevel1Code">
3013+ <xs:restriction base="xs:string">
3014+ <xs:minLength value="1"/>
3015+ <xs:maxLength value="4"/>
3016+ </xs:restriction>
3017+ </xs:simpleType>
3018+ <xs:simpleType name="ExternalTaxAmountType1Code">
3019+ <xs:restriction base="xs:string">
3020+ <xs:minLength value="1"/>
3021+ <xs:maxLength value="4"/>
3022+ </xs:restriction>
3023+ </xs:simpleType>
3024+ <xs:complexType name="FinancialIdentificationSchemeName1Choice">
3025+ <xs:choice>
3026+ <xs:element name="Cd" type="ExternalFinancialInstitutionIdentification1Code"/>
3027+ <xs:element name="Prtry" type="Max35Text"/>
3028+ </xs:choice>
3029+ </xs:complexType>
3030+ <xs:complexType name="FinancialInstitutionIdentification8">
3031+ <xs:sequence>
3032+ <xs:element maxOccurs="1" minOccurs="0" name="BICFI" type="BICFIIdentifier"/>
3033+ <xs:element maxOccurs="1" minOccurs="0" name="ClrSysMmbId" type="ClearingSystemMemberIdentification2"/>
3034+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
3035+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
3036+ <xs:element maxOccurs="1" minOccurs="0" name="Othr" type="GenericFinancialIdentification1"/>
3037+ </xs:sequence>
3038+ </xs:complexType>
3039+ <xs:simpleType name="Frequency6Code">
3040+ <xs:restriction base="xs:string">
3041+ <xs:enumeration value="YEAR"/>
3042+ <xs:enumeration value="MNTH"/>
3043+ <xs:enumeration value="QURT"/>
3044+ <xs:enumeration value="MIAN"/>
3045+ <xs:enumeration value="WEEK"/>
3046+ <xs:enumeration value="DAIL"/>
3047+ <xs:enumeration value="ADHO"/>
3048+ <xs:enumeration value="INDA"/>
3049+ <xs:enumeration value="FRTN"/>
3050+ </xs:restriction>
3051+ </xs:simpleType>
3052+ <xs:complexType name="GenericAccountIdentification1">
3053+ <xs:sequence>
3054+ <xs:element name="Id" type="Max34Text"/>
3055+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="AccountSchemeName1Choice"/>
3056+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
3057+ </xs:sequence>
3058+ </xs:complexType>
3059+ <xs:complexType name="GenericFinancialIdentification1">
3060+ <xs:sequence>
3061+ <xs:element name="Id" type="Max35Text"/>
3062+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="FinancialIdentificationSchemeName1Choice"/>
3063+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
3064+ </xs:sequence>
3065+ </xs:complexType>
3066+ <xs:complexType name="GenericOrganisationIdentification1">
3067+ <xs:sequence>
3068+ <xs:element name="Id" type="Max35Text"/>
3069+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="OrganisationIdentificationSchemeName1Choice"/>
3070+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
3071+ </xs:sequence>
3072+ </xs:complexType>
3073+ <xs:complexType name="GenericPersonIdentification1">
3074+ <xs:sequence>
3075+ <xs:element name="Id" type="Max35Text"/>
3076+ <xs:element maxOccurs="1" minOccurs="0" name="SchmeNm" type="PersonIdentificationSchemeName1Choice"/>
3077+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
3078+ </xs:sequence>
3079+ </xs:complexType>
3080+ <xs:complexType name="GroupHeader55">
3081+ <xs:sequence>
3082+ <xs:element name="MsgId" type="Max35Text"/>
3083+ <xs:element name="CreDtTm" type="ISODateTime"/>
3084+ <xs:element maxOccurs="2" minOccurs="0" name="Authstn" type="Authorisation1Choice"/>
3085+ <xs:element name="NbOfTxs" type="Max15NumericText"/>
3086+ <xs:element maxOccurs="1" minOccurs="0" name="CtrlSum" type="DecimalNumber"/>
3087+ <xs:element name="InitgPty" type="PartyIdentification43"/>
3088+ <xs:element maxOccurs="1" minOccurs="0" name="FwdgAgt" type="BranchAndFinancialInstitutionIdentification5"/>
3089+ </xs:sequence>
3090+ </xs:complexType>
3091+ <xs:simpleType name="IBAN2007Identifier">
3092+ <xs:restriction base="xs:string">
3093+ <xs:pattern value="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}"/>
3094+ </xs:restriction>
3095+ </xs:simpleType>
3096+ <xs:simpleType name="ISODate">
3097+ <xs:restriction base="xs:date"/>
3098+ </xs:simpleType>
3099+ <xs:simpleType name="ISODateTime">
3100+ <xs:restriction base="xs:dateTime"/>
3101+ </xs:simpleType>
3102+ <xs:complexType name="LocalInstrument2Choice">
3103+ <xs:choice>
3104+ <xs:element name="Cd" type="ExternalLocalInstrument1Code"/>
3105+ <xs:element name="Prtry" type="Max35Text"/>
3106+ </xs:choice>
3107+ </xs:complexType>
3108+ <xs:complexType name="MandateRelatedInformation8">
3109+ <xs:sequence>
3110+ <xs:element maxOccurs="1" minOccurs="0" name="MndtId" type="Max35Text"/>
3111+ <xs:element maxOccurs="1" minOccurs="0" name="DtOfSgntr" type="ISODate"/>
3112+ <xs:element maxOccurs="1" minOccurs="0" name="AmdmntInd" type="TrueFalseIndicator"/>
3113+ <xs:element maxOccurs="1" minOccurs="0" name="AmdmntInfDtls" type="AmendmentInformationDetails8"/>
3114+ <xs:element maxOccurs="1" minOccurs="0" name="ElctrncSgntr" type="Max1025Text"/>
3115+ <xs:element maxOccurs="1" minOccurs="0" name="FrstColltnDt" type="ISODate"/>
3116+ <xs:element maxOccurs="1" minOccurs="0" name="FnlColltnDt" type="ISODate"/>
3117+ <xs:element maxOccurs="1" minOccurs="0" name="Frqcy" type="Frequency6Code"/>
3118+ </xs:sequence>
3119+ </xs:complexType>
3120+ <xs:simpleType name="Max1025Text">
3121+ <xs:restriction base="xs:string">
3122+ <xs:minLength value="1"/>
3123+ <xs:maxLength value="1025"/>
3124+ </xs:restriction>
3125+ </xs:simpleType>
3126+ <xs:simpleType name="Max10Text">
3127+ <xs:restriction base="xs:string">
3128+ <xs:minLength value="1"/>
3129+ <xs:maxLength value="10"/>
3130+ </xs:restriction>
3131+ </xs:simpleType>
3132+ <xs:simpleType name="Max128Text">
3133+ <xs:restriction base="xs:string">
3134+ <xs:minLength value="1"/>
3135+ <xs:maxLength value="128"/>
3136+ </xs:restriction>
3137+ </xs:simpleType>
3138+ <xs:simpleType name="Max140Text">
3139+ <xs:restriction base="xs:string">
3140+ <xs:minLength value="1"/>
3141+ <xs:maxLength value="140"/>
3142+ </xs:restriction>
3143+ </xs:simpleType>
3144+ <xs:simpleType name="Max15NumericText">
3145+ <xs:restriction base="xs:string">
3146+ <xs:pattern value="[0-9]{1,15}"/>
3147+ </xs:restriction>
3148+ </xs:simpleType>
3149+ <xs:simpleType name="Max16Text">
3150+ <xs:restriction base="xs:string">
3151+ <xs:minLength value="1"/>
3152+ <xs:maxLength value="16"/>
3153+ </xs:restriction>
3154+ </xs:simpleType>
3155+ <xs:simpleType name="Max2048Text">
3156+ <xs:restriction base="xs:string">
3157+ <xs:minLength value="1"/>
3158+ <xs:maxLength value="2048"/>
3159+ </xs:restriction>
3160+ </xs:simpleType>
3161+ <xs:simpleType name="Max34Text">
3162+ <xs:restriction base="xs:string">
3163+ <xs:minLength value="1"/>
3164+ <xs:maxLength value="34"/>
3165+ </xs:restriction>
3166+ </xs:simpleType>
3167+ <xs:simpleType name="Max350Text">
3168+ <xs:restriction base="xs:string">
3169+ <xs:minLength value="1"/>
3170+ <xs:maxLength value="350"/>
3171+ </xs:restriction>
3172+ </xs:simpleType>
3173+ <xs:simpleType name="Max35Text">
3174+ <xs:restriction base="xs:string">
3175+ <xs:minLength value="1"/>
3176+ <xs:maxLength value="35"/>
3177+ </xs:restriction>
3178+ </xs:simpleType>
3179+ <xs:simpleType name="Max4Text">
3180+ <xs:restriction base="xs:string">
3181+ <xs:minLength value="1"/>
3182+ <xs:maxLength value="4"/>
3183+ </xs:restriction>
3184+ </xs:simpleType>
3185+ <xs:simpleType name="Max70Text">
3186+ <xs:restriction base="xs:string">
3187+ <xs:minLength value="1"/>
3188+ <xs:maxLength value="70"/>
3189+ </xs:restriction>
3190+ </xs:simpleType>
3191+ <xs:complexType name="NameAndAddress10">
3192+ <xs:sequence>
3193+ <xs:element name="Nm" type="Max140Text"/>
3194+ <xs:element name="Adr" type="PostalAddress6"/>
3195+ </xs:sequence>
3196+ </xs:complexType>
3197+ <xs:simpleType name="NamePrefix1Code">
3198+ <xs:restriction base="xs:string">
3199+ <xs:enumeration value="DOCT"/>
3200+ <xs:enumeration value="MIST"/>
3201+ <xs:enumeration value="MISS"/>
3202+ <xs:enumeration value="MADM"/>
3203+ </xs:restriction>
3204+ </xs:simpleType>
3205+ <xs:simpleType name="Number">
3206+ <xs:restriction base="xs:decimal">
3207+ <xs:fractionDigits value="0"/>
3208+ <xs:totalDigits value="18"/>
3209+ </xs:restriction>
3210+ </xs:simpleType>
3211+ <xs:complexType name="OrganisationIdentification8">
3212+ <xs:sequence>
3213+ <xs:element maxOccurs="1" minOccurs="0" name="AnyBIC" type="AnyBICIdentifier"/>
3214+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Othr" type="GenericOrganisationIdentification1"/>
3215+ </xs:sequence>
3216+ </xs:complexType>
3217+ <xs:complexType name="OrganisationIdentificationSchemeName1Choice">
3218+ <xs:choice>
3219+ <xs:element name="Cd" type="ExternalOrganisationIdentification1Code"/>
3220+ <xs:element name="Prtry" type="Max35Text"/>
3221+ </xs:choice>
3222+ </xs:complexType>
3223+ <xs:complexType name="Party11Choice">
3224+ <xs:choice>
3225+ <xs:element name="OrgId" type="OrganisationIdentification8"/>
3226+ <xs:element name="PrvtId" type="PersonIdentification5"/>
3227+ </xs:choice>
3228+ </xs:complexType>
3229+ <xs:complexType name="PartyIdentification43">
3230+ <xs:sequence>
3231+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
3232+ <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/>
3233+ <xs:element maxOccurs="1" minOccurs="0" name="Id" type="Party11Choice"/>
3234+ <xs:element maxOccurs="1" minOccurs="0" name="CtryOfRes" type="CountryCode"/>
3235+ <xs:element maxOccurs="1" minOccurs="0" name="CtctDtls" type="ContactDetails2"/>
3236+ </xs:sequence>
3237+ </xs:complexType>
3238+ <xs:complexType name="PaymentIdentification1">
3239+ <xs:sequence>
3240+ <xs:element maxOccurs="1" minOccurs="0" name="InstrId" type="Max35Text"/>
3241+ <xs:element name="EndToEndId" type="Max35Text"/>
3242+ </xs:sequence>
3243+ </xs:complexType>
3244+ <xs:complexType name="PaymentInstruction10">
3245+ <xs:sequence>
3246+ <xs:element name="PmtInfId" type="Max35Text"/>
3247+ <xs:element name="PmtMtd" type="PaymentMethod2Code"/>
3248+ <xs:element maxOccurs="1" minOccurs="0" name="BtchBookg" type="BatchBookingIndicator"/>
3249+ <xs:element maxOccurs="1" minOccurs="0" name="NbOfTxs" type="Max15NumericText"/>
3250+ <xs:element maxOccurs="1" minOccurs="0" name="CtrlSum" type="DecimalNumber"/>
3251+ <xs:element maxOccurs="1" minOccurs="0" name="PmtTpInf" type="PaymentTypeInformation24"/>
3252+ <xs:element name="ReqdColltnDt" type="ISODate"/>
3253+ <xs:element name="Cdtr" type="PartyIdentification43"/>
3254+ <xs:element name="CdtrAcct" type="CashAccount24"/>
3255+ <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentification5"/>
3256+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrAgtAcct" type="CashAccount24"/>
3257+ <xs:element maxOccurs="1" minOccurs="0" name="UltmtCdtr" type="PartyIdentification43"/>
3258+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgBr" type="ChargeBearerType1Code"/>
3259+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgsAcct" type="CashAccount24"/>
3260+ <xs:element maxOccurs="1" minOccurs="0" name="ChrgsAcctAgt" type="BranchAndFinancialInstitutionIdentification5"/>
3261+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrSchmeId" type="PartyIdentification43"/>
3262+ <xs:element maxOccurs="unbounded" minOccurs="1" name="DrctDbtTxInf" type="DirectDebitTransactionInformation13"/>
3263+ </xs:sequence>
3264+ </xs:complexType>
3265+ <xs:simpleType name="PaymentMethod2Code">
3266+ <xs:restriction base="xs:string">
3267+ <xs:enumeration value="DD"/>
3268+ </xs:restriction>
3269+ </xs:simpleType>
3270+ <xs:complexType name="PaymentTypeInformation24">
3271+ <xs:sequence>
3272+ <xs:element maxOccurs="1" minOccurs="0" name="InstrPrty" type="Priority2Code"/>
3273+ <xs:element maxOccurs="1" minOccurs="0" name="SvcLvl" type="ServiceLevel8Choice"/>
3274+ <xs:element maxOccurs="1" minOccurs="0" name="LclInstrm" type="LocalInstrument2Choice"/>
3275+ <xs:element maxOccurs="1" minOccurs="0" name="SeqTp" type="SequenceType3Code"/>
3276+ <xs:element maxOccurs="1" minOccurs="0" name="CtgyPurp" type="CategoryPurpose1Choice"/>
3277+ </xs:sequence>
3278+ </xs:complexType>
3279+ <xs:simpleType name="PercentageRate">
3280+ <xs:restriction base="xs:decimal">
3281+ <xs:fractionDigits value="10"/>
3282+ <xs:totalDigits value="11"/>
3283+ </xs:restriction>
3284+ </xs:simpleType>
3285+ <xs:complexType name="PersonIdentification5">
3286+ <xs:sequence>
3287+ <xs:element maxOccurs="1" minOccurs="0" name="DtAndPlcOfBirth" type="DateAndPlaceOfBirth"/>
3288+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Othr" type="GenericPersonIdentification1"/>
3289+ </xs:sequence>
3290+ </xs:complexType>
3291+ <xs:complexType name="PersonIdentificationSchemeName1Choice">
3292+ <xs:choice>
3293+ <xs:element name="Cd" type="ExternalPersonIdentification1Code"/>
3294+ <xs:element name="Prtry" type="Max35Text"/>
3295+ </xs:choice>
3296+ </xs:complexType>
3297+ <xs:simpleType name="PhoneNumber">
3298+ <xs:restriction base="xs:string">
3299+ <xs:pattern value="\+[0-9]{1,3}-[0-9()+\-]{1,30}"/>
3300+ </xs:restriction>
3301+ </xs:simpleType>
3302+ <xs:complexType name="PostalAddress6">
3303+ <xs:sequence>
3304+ <xs:element maxOccurs="1" minOccurs="0" name="AdrTp" type="AddressType2Code"/>
3305+ <xs:element maxOccurs="1" minOccurs="0" name="Dept" type="Max70Text"/>
3306+ <xs:element maxOccurs="1" minOccurs="0" name="SubDept" type="Max70Text"/>
3307+ <xs:element maxOccurs="1" minOccurs="0" name="StrtNm" type="Max70Text"/>
3308+ <xs:element maxOccurs="1" minOccurs="0" name="BldgNb" type="Max16Text"/>
3309+ <xs:element maxOccurs="1" minOccurs="0" name="PstCd" type="Max16Text"/>
3310+ <xs:element maxOccurs="1" minOccurs="0" name="TwnNm" type="Max35Text"/>
3311+ <xs:element maxOccurs="1" minOccurs="0" name="CtrySubDvsn" type="Max35Text"/>
3312+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
3313+ <xs:element maxOccurs="7" minOccurs="0" name="AdrLine" type="Max70Text"/>
3314+ </xs:sequence>
3315+ </xs:complexType>
3316+ <xs:simpleType name="Priority2Code">
3317+ <xs:restriction base="xs:string">
3318+ <xs:enumeration value="HIGH"/>
3319+ <xs:enumeration value="NORM"/>
3320+ </xs:restriction>
3321+ </xs:simpleType>
3322+ <xs:complexType name="Purpose2Choice">
3323+ <xs:choice>
3324+ <xs:element name="Cd" type="ExternalPurpose1Code"/>
3325+ <xs:element name="Prtry" type="Max35Text"/>
3326+ </xs:choice>
3327+ </xs:complexType>
3328+ <xs:complexType name="ReferredDocumentInformation3">
3329+ <xs:sequence>
3330+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="ReferredDocumentType2"/>
3331+ <xs:element maxOccurs="1" minOccurs="0" name="Nb" type="Max35Text"/>
3332+ <xs:element maxOccurs="1" minOccurs="0" name="RltdDt" type="ISODate"/>
3333+ </xs:sequence>
3334+ </xs:complexType>
3335+ <xs:complexType name="ReferredDocumentType1Choice">
3336+ <xs:choice>
3337+ <xs:element name="Cd" type="DocumentType5Code"/>
3338+ <xs:element name="Prtry" type="Max35Text"/>
3339+ </xs:choice>
3340+ </xs:complexType>
3341+ <xs:complexType name="ReferredDocumentType2">
3342+ <xs:sequence>
3343+ <xs:element name="CdOrPrtry" type="ReferredDocumentType1Choice"/>
3344+ <xs:element maxOccurs="1" minOccurs="0" name="Issr" type="Max35Text"/>
3345+ </xs:sequence>
3346+ </xs:complexType>
3347+ <xs:complexType name="RegulatoryAuthority2">
3348+ <xs:sequence>
3349+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
3350+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
3351+ </xs:sequence>
3352+ </xs:complexType>
3353+ <xs:complexType name="RegulatoryReporting3">
3354+ <xs:sequence>
3355+ <xs:element maxOccurs="1" minOccurs="0" name="DbtCdtRptgInd" type="RegulatoryReportingType1Code"/>
3356+ <xs:element maxOccurs="1" minOccurs="0" name="Authrty" type="RegulatoryAuthority2"/>
3357+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Dtls" type="StructuredRegulatoryReporting3"/>
3358+ </xs:sequence>
3359+ </xs:complexType>
3360+ <xs:simpleType name="RegulatoryReportingType1Code">
3361+ <xs:restriction base="xs:string">
3362+ <xs:enumeration value="CRED"/>
3363+ <xs:enumeration value="DEBT"/>
3364+ <xs:enumeration value="BOTH"/>
3365+ </xs:restriction>
3366+ </xs:simpleType>
3367+ <xs:complexType name="RemittanceAmount2">
3368+ <xs:sequence>
3369+ <xs:element maxOccurs="1" minOccurs="0" name="DuePyblAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
3370+ <xs:element maxOccurs="unbounded" minOccurs="0" name="DscntApldAmt" type="DiscountAmountAndType1"/>
3371+ <xs:element maxOccurs="1" minOccurs="0" name="CdtNoteAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
3372+ <xs:element maxOccurs="unbounded" minOccurs="0" name="TaxAmt" type="TaxAmountAndType1"/>
3373+ <xs:element maxOccurs="unbounded" minOccurs="0" name="AdjstmntAmtAndRsn" type="DocumentAdjustment1"/>
3374+ <xs:element maxOccurs="1" minOccurs="0" name="RmtdAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
3375+ </xs:sequence>
3376+ </xs:complexType>
3377+ <xs:complexType name="RemittanceInformation7">
3378+ <xs:sequence>
3379+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Ustrd" type="Max140Text"/>
3380+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Strd" type="StructuredRemittanceInformation9"/>
3381+ </xs:sequence>
3382+ </xs:complexType>
3383+ <xs:complexType name="RemittanceLocation2">
3384+ <xs:sequence>
3385+ <xs:element maxOccurs="1" minOccurs="0" name="RmtId" type="Max35Text"/>
3386+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnMtd" type="RemittanceLocationMethod2Code"/>
3387+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnElctrncAdr" type="Max2048Text"/>
3388+ <xs:element maxOccurs="1" minOccurs="0" name="RmtLctnPstlAdr" type="NameAndAddress10"/>
3389+ </xs:sequence>
3390+ </xs:complexType>
3391+ <xs:simpleType name="RemittanceLocationMethod2Code">
3392+ <xs:restriction base="xs:string">
3393+ <xs:enumeration value="FAXI"/>
3394+ <xs:enumeration value="EDIC"/>
3395+ <xs:enumeration value="URID"/>
3396+ <xs:enumeration value="EMAL"/>
3397+ <xs:enumeration value="POST"/>
3398+ <xs:enumeration value="SMSM"/>
3399+ </xs:restriction>
3400+ </xs:simpleType>
3401+ <xs:simpleType name="SequenceType3Code">
3402+ <xs:restriction base="xs:string">
3403+ <xs:enumeration value="FRST"/>
3404+ <xs:enumeration value="RCUR"/>
3405+ <xs:enumeration value="FNAL"/>
3406+ <xs:enumeration value="OOFF"/>
3407+ <xs:enumeration value="RPRE"/>
3408+ </xs:restriction>
3409+ </xs:simpleType>
3410+ <xs:complexType name="ServiceLevel8Choice">
3411+ <xs:choice>
3412+ <xs:element name="Cd" type="ExternalServiceLevel1Code"/>
3413+ <xs:element name="Prtry" type="Max35Text"/>
3414+ </xs:choice>
3415+ </xs:complexType>
3416+ <xs:complexType name="StructuredRegulatoryReporting3">
3417+ <xs:sequence>
3418+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="Max35Text"/>
3419+ <xs:element maxOccurs="1" minOccurs="0" name="Dt" type="ISODate"/>
3420+ <xs:element maxOccurs="1" minOccurs="0" name="Ctry" type="CountryCode"/>
3421+ <xs:element maxOccurs="1" minOccurs="0" name="Cd" type="Max10Text"/>
3422+ <xs:element maxOccurs="1" minOccurs="0" name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
3423+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Inf" type="Max35Text"/>
3424+ </xs:sequence>
3425+ </xs:complexType>
3426+ <xs:complexType name="StructuredRemittanceInformation9">
3427+ <xs:sequence>
3428+ <xs:element maxOccurs="unbounded" minOccurs="0" name="RfrdDocInf" type="ReferredDocumentInformation3"/>
3429+ <xs:element maxOccurs="1" minOccurs="0" name="RfrdDocAmt" type="RemittanceAmount2"/>
3430+ <xs:element maxOccurs="1" minOccurs="0" name="CdtrRefInf" type="CreditorReferenceInformation2"/>
3431+ <xs:element maxOccurs="1" minOccurs="0" name="Invcr" type="PartyIdentification43"/>
3432+ <xs:element maxOccurs="1" minOccurs="0" name="Invcee" type="PartyIdentification43"/>
3433+ <xs:element maxOccurs="3" minOccurs="0" name="AddtlRmtInf" type="Max140Text"/>
3434+ </xs:sequence>
3435+ </xs:complexType>
3436+ <xs:complexType name="SupplementaryData1">
3437+ <xs:sequence>
3438+ <xs:element maxOccurs="1" minOccurs="0" name="PlcAndNm" type="Max350Text"/>
3439+ <xs:element name="Envlp" type="SupplementaryDataEnvelope1"/>
3440+ </xs:sequence>
3441+ </xs:complexType>
3442+ <xs:complexType name="SupplementaryDataEnvelope1">
3443+ <xs:sequence>
3444+ <xs:any namespace="##any" processContents="lax"/>
3445+ </xs:sequence>
3446+ </xs:complexType>
3447+ <xs:complexType name="TaxAmount1">
3448+ <xs:sequence>
3449+ <xs:element maxOccurs="1" minOccurs="0" name="Rate" type="PercentageRate"/>
3450+ <xs:element maxOccurs="1" minOccurs="0" name="TaxblBaseAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
3451+ <xs:element maxOccurs="1" minOccurs="0" name="TtlAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
3452+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Dtls" type="TaxRecordDetails1"/>
3453+ </xs:sequence>
3454+ </xs:complexType>
3455+ <xs:complexType name="TaxAmountAndType1">
3456+ <xs:sequence>
3457+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="TaxAmountType1Choice"/>
3458+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
3459+ </xs:sequence>
3460+ </xs:complexType>
3461+ <xs:complexType name="TaxAmountType1Choice">
3462+ <xs:choice>
3463+ <xs:element name="Cd" type="ExternalTaxAmountType1Code"/>
3464+ <xs:element name="Prtry" type="Max35Text"/>
3465+ </xs:choice>
3466+ </xs:complexType>
3467+ <xs:complexType name="TaxAuthorisation1">
3468+ <xs:sequence>
3469+ <xs:element maxOccurs="1" minOccurs="0" name="Titl" type="Max35Text"/>
3470+ <xs:element maxOccurs="1" minOccurs="0" name="Nm" type="Max140Text"/>
3471+ </xs:sequence>
3472+ </xs:complexType>
3473+ <xs:complexType name="TaxInformation3">
3474+ <xs:sequence>
3475+ <xs:element maxOccurs="1" minOccurs="0" name="Cdtr" type="TaxParty1"/>
3476+ <xs:element maxOccurs="1" minOccurs="0" name="Dbtr" type="TaxParty2"/>
3477+ <xs:element maxOccurs="1" minOccurs="0" name="AdmstnZn" type="Max35Text"/>
3478+ <xs:element maxOccurs="1" minOccurs="0" name="RefNb" type="Max140Text"/>
3479+ <xs:element maxOccurs="1" minOccurs="0" name="Mtd" type="Max35Text"/>
3480+ <xs:element maxOccurs="1" minOccurs="0" name="TtlTaxblBaseAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
3481+ <xs:element maxOccurs="1" minOccurs="0" name="TtlTaxAmt" type="ActiveOrHistoricCurrencyAndAmount"/>
3482+ <xs:element maxOccurs="1" minOccurs="0" name="Dt" type="ISODate"/>
3483+ <xs:element maxOccurs="1" minOccurs="0" name="SeqNb" type="Number"/>
3484+ <xs:element maxOccurs="unbounded" minOccurs="0" name="Rcrd" type="TaxRecord1"/>
3485+ </xs:sequence>
3486+ </xs:complexType>
3487+ <xs:complexType name="TaxParty1">
3488+ <xs:sequence>
3489+ <xs:element maxOccurs="1" minOccurs="0" name="TaxId" type="Max35Text"/>
3490+ <xs:element maxOccurs="1" minOccurs="0" name="RegnId" type="Max35Text"/>
3491+ <xs:element maxOccurs="1" minOccurs="0" name="TaxTp" type="Max35Text"/>
3492+ </xs:sequence>
3493+ </xs:complexType>
3494+ <xs:complexType name="TaxParty2">
3495+ <xs:sequence>
3496+ <xs:element maxOccurs="1" minOccurs="0" name="TaxId" type="Max35Text"/>
3497+ <xs:element maxOccurs="1" minOccurs="0" name="RegnId" type="Max35Text"/>
3498+ <xs:element maxOccurs="1" minOccurs="0" name="TaxTp" type="Max35Text"/>
3499+ <xs:element maxOccurs="1" minOccurs="0" name="Authstn" type="TaxAuthorisation1"/>
3500+ </xs:sequence>
3501+ </xs:complexType>
3502+ <xs:complexType name="TaxPeriod1">
3503+ <xs:sequence>
3504+ <xs:element maxOccurs="1" minOccurs="0" name="Yr" type="ISODate"/>
3505+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="TaxRecordPeriod1Code"/>
3506+ <xs:element maxOccurs="1" minOccurs="0" name="FrToDt" type="DatePeriodDetails"/>
3507+ </xs:sequence>
3508+ </xs:complexType>
3509+ <xs:complexType name="TaxRecord1">
3510+ <xs:sequence>
3511+ <xs:element maxOccurs="1" minOccurs="0" name="Tp" type="Max35Text"/>
3512+ <xs:element maxOccurs="1" minOccurs="0" name="Ctgy" type="Max35Text"/>
3513+ <xs:element maxOccurs="1" minOccurs="0" name="CtgyDtls" type="Max35Text"/>
3514+ <xs:element maxOccurs="1" minOccurs="0" name="DbtrSts" type="Max35Text"/>
3515+ <xs:element maxOccurs="1" minOccurs="0" name="CertId" type="Max35Text"/>
3516+ <xs:element maxOccurs="1" minOccurs="0" name="FrmsCd" type="Max35Text"/>
3517+ <xs:element maxOccurs="1" minOccurs="0" name="Prd" type="TaxPeriod1"/>
3518+ <xs:element maxOccurs="1" minOccurs="0" name="TaxAmt" type="TaxAmount1"/>
3519+ <xs:element maxOccurs="1" minOccurs="0" name="AddtlInf" type="Max140Text"/>
3520+ </xs:sequence>
3521+ </xs:complexType>
3522+ <xs:complexType name="TaxRecordDetails1">
3523+ <xs:sequence>
3524+ <xs:element maxOccurs="1" minOccurs="0" name="Prd" type="TaxPeriod1"/>
3525+ <xs:element name="Amt" type="ActiveOrHistoricCurrencyAndAmount"/>
3526+ </xs:sequence>
3527+ </xs:complexType>
3528+ <xs:simpleType name="TaxRecordPeriod1Code">
3529+ <xs:restriction base="xs:string">
3530+ <xs:enumeration value="MM01"/>
3531+ <xs:enumeration value="MM02"/>
3532+ <xs:enumeration value="MM03"/>
3533+ <xs:enumeration value="MM04"/>
3534+ <xs:enumeration value="MM05"/>
3535+ <xs:enumeration value="MM06"/>
3536+ <xs:enumeration value="MM07"/>
3537+ <xs:enumeration value="MM08"/>
3538+ <xs:enumeration value="MM09"/>
3539+ <xs:enumeration value="MM10"/>
3540+ <xs:enumeration value="MM11"/>
3541+ <xs:enumeration value="MM12"/>
3542+ <xs:enumeration value="QTR1"/>
3543+ <xs:enumeration value="QTR2"/>
3544+ <xs:enumeration value="QTR3"/>
3545+ <xs:enumeration value="QTR4"/>
3546+ <xs:enumeration value="HLF1"/>
3547+ <xs:enumeration value="HLF2"/>
3548+ </xs:restriction>
3549+ </xs:simpleType>
3550+ <xs:simpleType name="TrueFalseIndicator">
3551+ <xs:restriction base="xs:boolean"/>
3552+ </xs:simpleType>
3553+</xs:schema>
3554
3555=== added file 'account_banking_sepa_direct_debit/data/payment_type_sdd.xml'
3556--- account_banking_sepa_direct_debit/data/payment_type_sdd.xml 1970-01-01 00:00:00 +0000
3557+++ account_banking_sepa_direct_debit/data/payment_type_sdd.xml 2013-11-20 23:27:56 +0000
3558@@ -0,0 +1,37 @@
3559+<?xml version="1.0" encoding="utf-8"?>
3560+<openerp>
3561+<data noupdate="0"> <!-- TODO : put to 1 when dev of the module is finished -->
3562+
3563+
3564+<!-- TODO In the suitable_bank_types field, we should add l10n_fr_rib via a small stupid module -->
3565+<record id="export_sdd_008_001_02" model="payment.mode.type">
3566+ <field name="name">SEPA Direct Debit v02 (recommended)</field>
3567+ <field name="code">pain.008.001.02</field>
3568+ <field name="suitable_bank_types"
3569+ eval="[(6,0,[ref('base_iban.bank_iban')])]" />
3570+ <field name="ir_model_id" ref="model_banking_export_sdd_wizard"/>
3571+ <field name="payment_order_type">debit</field>
3572+</record>
3573+
3574+<record id="export_sdd_008_001_03" model="payment.mode.type">
3575+ <field name="name">SEPA Direct Debit v03</field>
3576+ <field name="code">pain.008.001.03</field>
3577+ <field name="suitable_bank_types"
3578+ eval="[(6,0,[ref('base_iban.bank_iban')])]" />
3579+ <field name="ir_model_id" ref="model_banking_export_sdd_wizard"/>
3580+ <field name="payment_order_type">debit</field>
3581+</record>
3582+
3583+<record id="export_sdd_008_001_04" model="payment.mode.type">
3584+ <field name="name">SEPA Direct Debit v04</field>
3585+ <field name="code">pain.008.001.04</field>
3586+ <field name="suitable_bank_types"
3587+ eval="[(6,0,[ref('base_iban.bank_iban')])]" />
3588+ <field name="ir_model_id" ref="model_banking_export_sdd_wizard"/>
3589+ <field name="payment_order_type">debit</field>
3590+</record>
3591+
3592+
3593+
3594+</data>
3595+</openerp>
3596
3597=== added directory 'account_banking_sepa_direct_debit/i18n'
3598=== added file 'account_banking_sepa_direct_debit/i18n/account_banking_sepa_direct_debit.pot'
3599--- account_banking_sepa_direct_debit/i18n/account_banking_sepa_direct_debit.pot 1970-01-01 00:00:00 +0000
3600+++ account_banking_sepa_direct_debit/i18n/account_banking_sepa_direct_debit.pot 2013-11-20 23:27:56 +0000
3601@@ -0,0 +1,643 @@
3602+# Translation of OpenERP Server.
3603+# This file contains the translation of the following modules:
3604+# * account_banking_sepa_direct_debit
3605+#
3606+msgid ""
3607+msgstr ""
3608+"Project-Id-Version: OpenERP Server 7.0\n"
3609+"Report-Msgid-Bugs-To: \n"
3610+"POT-Creation-Date: 2013-11-11 14:28+0000\n"
3611+"PO-Revision-Date: 2013-11-11 14:28+0000\n"
3612+"Last-Translator: <>\n"
3613+"Language-Team: \n"
3614+"MIME-Version: 1.0\n"
3615+"Content-Type: text/plain; charset=UTF-8\n"
3616+"Content-Transfer-Encoding: \n"
3617+"Plural-Forms: \n"
3618+
3619+#. module: account_banking_sepa_direct_debit
3620+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_valid
3621+msgid "SEPA Direct Debit Mandate Validated"
3622+msgstr ""
3623+
3624+#. module: account_banking_sepa_direct_debit
3625+#: field:banking.export.sdd,filename:0
3626+#: field:banking.export.sdd.wizard,filename:0
3627+msgid "Filename"
3628+msgstr ""
3629+
3630+#. module: account_banking_sepa_direct_debit
3631+#: field:banking.export.sdd,requested_collec_date:0
3632+#: field:banking.export.sdd.wizard,requested_collec_date:0
3633+msgid "Requested Collection Date"
3634+msgstr ""
3635+
3636+#. module: account_banking_sepa_direct_debit
3637+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:276
3638+#, python-format
3639+msgid "The SEPA Direct Debit mandate with reference '%s' for partner '%s' has expired."
3640+msgstr ""
3641+
3642+#. module: account_banking_sepa_direct_debit
3643+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:186
3644+#, python-format
3645+msgid "Cannot validate the mandate '%s' without a date of signature."
3646+msgstr ""
3647+
3648+#. module: account_banking_sepa_direct_debit
3649+#: selection:sdd.mandate,recurrent_sequence_type:0
3650+msgid "Final"
3651+msgstr ""
3652+
3653+#. module: account_banking_sepa_direct_debit
3654+#: selection:banking.export.sdd.wizard,state:0
3655+msgid "Finish"
3656+msgstr ""
3657+
3658+#. module: account_banking_sepa_direct_debit
3659+#: view:res.partner:0
3660+#: view:res.partner.bank:0
3661+msgid "SDD Mandates"
3662+msgstr ""
3663+
3664+#. module: account_banking_sepa_direct_debit
3665+#: constraint:payment.line:0
3666+#: constraint:sdd.mandate:0
3667+msgid "Error msg in raise"
3668+msgstr ""
3669+
3670+#. module: account_banking_sepa_direct_debit
3671+#: field:sdd.mandate,company_id:0
3672+msgid "Company"
3673+msgstr ""
3674+
3675+#. module: account_banking_sepa_direct_debit
3676+#: field:sdd.mandate,recurrent_sequence_type:0
3677+msgid "Sequence Type for Next Debit"
3678+msgstr ""
3679+
3680+#. module: account_banking_sepa_direct_debit
3681+#: selection:banking.export.sdd,charge_bearer:0
3682+#: selection:banking.export.sdd.wizard,charge_bearer:0
3683+msgid "Borne by Creditor"
3684+msgstr ""
3685+
3686+#. module: account_banking_sepa_direct_debit
3687+#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.sdd_mandate_action
3688+#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.sdd_mandate_menu
3689+#: view:res.partner.bank:0
3690+#: field:res.partner.bank,sdd_mandate_ids:0
3691+msgid "SEPA Direct Debit Mandates"
3692+msgstr ""
3693+
3694+#. module: account_banking_sepa_direct_debit
3695+#: view:banking.export.sdd.wizard:0
3696+#: view:sdd.mandate:0
3697+msgid "Validate"
3698+msgstr ""
3699+
3700+#. module: account_banking_sepa_direct_debit
3701+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
3702+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
3703+msgid "Sequence Type set to Recurring"
3704+msgstr ""
3705+
3706+#. module: account_banking_sepa_direct_debit
3707+#: view:banking.export.sdd.wizard:0
3708+msgid "Generate"
3709+msgstr ""
3710+
3711+#. module: account_banking_sepa_direct_debit
3712+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_cancel
3713+msgid "SEPA Direct Debit Mandate Cancelled"
3714+msgstr ""
3715+
3716+#. module: account_banking_sepa_direct_debit
3717+#: selection:banking.export.sdd,charge_bearer:0
3718+#: selection:banking.export.sdd.wizard,charge_bearer:0
3719+msgid "Borne by Debtor"
3720+msgstr ""
3721+
3722+#. module: account_banking_sepa_direct_debit
3723+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:180
3724+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:185
3725+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:190
3726+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:197
3727+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:203
3728+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:336
3729+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:89
3730+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:115
3731+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:121
3732+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:130
3733+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:168
3734+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:219
3735+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:269
3736+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:275
3737+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:287
3738+#, python-format
3739+msgid "Error:"
3740+msgstr ""
3741+
3742+#. module: account_banking_sepa_direct_debit
3743+#: field:sdd.mandate,message_ids:0
3744+msgid "Messages"
3745+msgstr ""
3746+
3747+#. module: account_banking_sepa_direct_debit
3748+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:131
3749+#, python-format
3750+msgid "The '%s' is empty or 0. It should have a non-null value."
3751+msgstr ""
3752+
3753+#. module: account_banking_sepa_direct_debit
3754+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:89
3755+#, python-format
3756+msgid "This IBAN is not valid : %s"
3757+msgstr ""
3758+
3759+#. module: account_banking_sepa_direct_debit
3760+#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd_wizard
3761+msgid "Export SEPA Direct Debit XML file"
3762+msgstr ""
3763+
3764+#. module: account_banking_sepa_direct_debit
3765+#: view:sdd.mandate:0
3766+#: selection:sdd.mandate,state:0
3767+msgid "Cancelled"
3768+msgstr ""
3769+
3770+#. module: account_banking_sepa_direct_debit
3771+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:219
3772+#, python-format
3773+msgid "Payment Type Code '%s' is not supported. The only Payment Type Code supported for SEPA Direct Debit are 'pain.008.001.02', 'pain.008.001.03' and 'pain.008.001.04'."
3774+msgstr ""
3775+
3776+#. module: account_banking_sepa_direct_debit
3777+#: help:sdd.mandate,message_unread:0
3778+msgid "If checked new messages require your attention."
3779+msgstr ""
3780+
3781+#. module: account_banking_sepa_direct_debit
3782+#: field:banking.export.sdd.wizard,file_id:0
3783+msgid "SDD File"
3784+msgstr ""
3785+
3786+#. module: account_banking_sepa_direct_debit
3787+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_expired
3788+msgid "SEPA Direct Debit Mandate has Expired"
3789+msgstr ""
3790+
3791+#. module: account_banking_sepa_direct_debit
3792+#: help:banking.export.sdd,charge_bearer:0
3793+#: help:banking.export.sdd.wizard,charge_bearer:0
3794+msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor."
3795+msgstr ""
3796+
3797+#. module: account_banking_sepa_direct_debit
3798+#: view:sdd.mandate:0
3799+msgid "Reference"
3800+msgstr ""
3801+
3802+#. module: account_banking_sepa_direct_debit
3803+#: view:banking.export.sdd:0
3804+msgid "SEPA Direct Debit"
3805+msgstr ""
3806+
3807+#. module: account_banking_sepa_direct_debit
3808+#: view:banking.export.sdd.wizard:0
3809+msgid "SEPA Direct Debit XML file generation"
3810+msgstr ""
3811+
3812+#. module: account_banking_sepa_direct_debit
3813+#: help:sdd.mandate,message_summary:0
3814+msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
3815+msgstr ""
3816+
3817+#. module: account_banking_sepa_direct_debit
3818+#: help:banking.export.sdd.wizard,requested_collec_date:0
3819+msgid "This is the date on which you would like the collection to be made by the bank. Please keep in mind that there are minimum delays for SEPA direct debits that depend on the type of mandate and the type of sequence."
3820+msgstr ""
3821+
3822+#. module: account_banking_sepa_direct_debit
3823+#: model:ir.model,name:account_banking_sepa_direct_debit.model_payment_line
3824+msgid "Payment Line"
3825+msgstr ""
3826+
3827+#. module: account_banking_sepa_direct_debit
3828+#: field:banking.export.sdd,create_date:0
3829+msgid "Generation Date"
3830+msgstr ""
3831+
3832+#. module: account_banking_sepa_direct_debit
3833+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:337
3834+#, python-format
3835+msgid "The payment line with reference '%s' has the bank account '%s' which is not attached to the mandate '%s' (this mandate is attached to the bank account '%s')."
3836+msgstr ""
3837+
3838+#. module: account_banking_sepa_direct_debit
3839+#: selection:banking.export.sdd.wizard,state:0
3840+msgid "Create"
3841+msgstr ""
3842+
3843+#. module: account_banking_sepa_direct_debit
3844+#: field:banking.export.sdd,nb_transactions:0
3845+#: field:banking.export.sdd.wizard,nb_transactions:0
3846+msgid "Number of Transactions"
3847+msgstr ""
3848+
3849+#. module: account_banking_sepa_direct_debit
3850+#: view:sdd.mandate:0
3851+#: selection:sdd.mandate,type:0
3852+msgid "One-Off"
3853+msgstr ""
3854+
3855+#. module: account_banking_sepa_direct_debit
3856+#: field:banking.export.sdd,state:0
3857+#: field:banking.export.sdd.wizard,state:0
3858+msgid "State"
3859+msgstr ""
3860+
3861+#. module: account_banking_sepa_direct_debit
3862+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:204
3863+#, python-format
3864+msgid "The recurrent mandate '%s' must have a sequence type."
3865+msgstr ""
3866+
3867+#. module: account_banking_sepa_direct_debit
3868+#: field:sdd.mandate,message_follower_ids:0
3869+msgid "Followers"
3870+msgstr ""
3871+
3872+#. module: account_banking_sepa_direct_debit
3873+#: field:sdd.mandate,message_unread:0
3874+msgid "Unread Messages"
3875+msgstr ""
3876+
3877+#. module: account_banking_sepa_direct_debit
3878+#: view:banking.export.sdd:0
3879+#: field:banking.export.sdd,payment_order_ids:0
3880+#: field:banking.export.sdd.wizard,payment_order_ids:0
3881+msgid "Payment Orders"
3882+msgstr ""
3883+
3884+#. module: account_banking_sepa_direct_debit
3885+#: view:sdd.mandate:0
3886+msgid "Type"
3887+msgstr ""
3888+
3889+#. module: account_banking_sepa_direct_debit
3890+#: selection:banking.export.sdd,state:0
3891+msgid "Sent"
3892+msgstr ""
3893+
3894+#. module: account_banking_sepa_direct_debit
3895+#: selection:sdd.mandate,recurrent_sequence_type:0
3896+msgid "Recurring"
3897+msgstr ""
3898+
3899+#. module: account_banking_sepa_direct_debit
3900+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:181
3901+#, python-format
3902+msgid "The date of signature of mandate '%s' is in the future!"
3903+msgstr ""
3904+
3905+#. module: account_banking_sepa_direct_debit
3906+#: help:res.company,sepa_creditor_identifier:0
3907+msgid "Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. This identifier is composed of :\n"
3908+"- your country ISO code (2 letters)\n"
3909+"- a 2-digits checkum\n"
3910+"- a 3-letters business code\n"
3911+"- a country-specific identifier"
3912+msgstr ""
3913+
3914+#. module: account_banking_sepa_direct_debit
3915+#: sql_constraint:sdd.mandate:0
3916+msgid "A Mandate with the same reference already exists for this company !"
3917+msgstr ""
3918+
3919+#. module: account_banking_sepa_direct_debit
3920+#: help:sdd.mandate,state:0
3921+msgid "Only valid mandates can be used in a payment line. A cancelled mandate is a mandate that has been cancelled by the customer. A one-off mandate expires after its first use. A recurrent mandate expires after it's final use or if it hasn't been used for 36 months."
3922+msgstr ""
3923+
3924+#. module: account_banking_sepa_direct_debit
3925+#: help:sdd.mandate,recurrent_sequence_type:0
3926+msgid "This field is only used for Recurrent mandates, not for One-Off mandates."
3927+msgstr ""
3928+
3929+#. module: account_banking_sepa_direct_debit
3930+#: view:sdd.mandate:0
3931+msgid "Signature Date"
3932+msgstr ""
3933+
3934+#. module: account_banking_sepa_direct_debit
3935+#: field:banking.export.sdd,charge_bearer:0
3936+#: field:banking.export.sdd.wizard,charge_bearer:0
3937+msgid "Charge Bearer"
3938+msgstr ""
3939+
3940+#. module: account_banking_sepa_direct_debit
3941+#: field:sdd.mandate,partner_id:0
3942+msgid "Partner"
3943+msgstr ""
3944+
3945+#. module: account_banking_sepa_direct_debit
3946+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:125
3947+#, python-format
3948+msgid "Field type error:"
3949+msgstr ""
3950+
3951+#. module: account_banking_sepa_direct_debit
3952+#: selection:sdd.mandate,recurrent_sequence_type:0
3953+msgid "First"
3954+msgstr ""
3955+
3956+#. module: account_banking_sepa_direct_debit
3957+#: field:sdd.mandate,signature_date:0
3958+msgid "Date of Signature of the Mandate"
3959+msgstr ""
3960+
3961+#. module: account_banking_sepa_direct_debit
3962+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_cancel
3963+msgid "Mandate Cancelled"
3964+msgstr ""
3965+
3966+#. module: account_banking_sepa_direct_debit
3967+#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.act_banking_export_sdd_payment_order
3968+#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.action_account_banking_sdd
3969+#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.menu_account_banking_sdd
3970+msgid "Generated SEPA Direct Debit Files"
3971+msgstr ""
3972+
3973+#. module: account_banking_sepa_direct_debit
3974+#: selection:banking.export.sdd,state:0
3975+msgid "Reconciled"
3976+msgstr ""
3977+
3978+#. module: account_banking_sepa_direct_debit
3979+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:191
3980+#, python-format
3981+msgid "Cannot validate the mandate '%s' because it is not attached to a bank account."
3982+msgstr ""
3983+
3984+#. module: account_banking_sepa_direct_debit
3985+#: selection:banking.export.sdd,state:0
3986+#: view:sdd.mandate:0
3987+#: selection:sdd.mandate,state:0
3988+msgid "Draft"
3989+msgstr ""
3990+
3991+#. module: account_banking_sepa_direct_debit
3992+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:232
3993+#, python-format
3994+msgid "Mandate update"
3995+msgstr ""
3996+
3997+#. module: account_banking_sepa_direct_debit
3998+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:116
3999+#, python-format
4000+msgid "Cannot compute the '%s' of the Payment Line with Invoice Reference '%s'."
4001+msgstr ""
4002+
4003+#. module: account_banking_sepa_direct_debit
4004+#: selection:banking.export.sdd,charge_bearer:0
4005+#: selection:banking.export.sdd.wizard,charge_bearer:0
4006+msgid "Shared"
4007+msgstr ""
4008+
4009+#. module: account_banking_sepa_direct_debit
4010+#: field:banking.export.sdd,batch_booking:0
4011+#: field:banking.export.sdd.wizard,batch_booking:0
4012+msgid "Batch Booking"
4013+msgstr ""
4014+
4015+#. module: account_banking_sepa_direct_debit
4016+#: field:sdd.mandate,state:0
4017+msgid "Status"
4018+msgstr ""
4019+
4020+#. module: account_banking_sepa_direct_debit
4021+#: field:banking.export.sdd,total_amount:0
4022+#: field:banking.export.sdd.wizard,total_amount:0
4023+msgid "Total Amount"
4024+msgstr ""
4025+
4026+#. module: account_banking_sepa_direct_debit
4027+#: help:banking.export.sdd,batch_booking:0
4028+#: help:banking.export.sdd.wizard,batch_booking:0
4029+msgid "If true, the bank statement will display only one credit line for all the direct debits of the SEPA file ; if false, the bank statement will display one credit line per direct debit of the SEPA file."
4030+msgstr ""
4031+
4032+#. module: account_banking_sepa_direct_debit
4033+#: selection:banking.export.sdd,charge_bearer:0
4034+#: selection:banking.export.sdd.wizard,charge_bearer:0
4035+msgid "Following Service Level"
4036+msgstr ""
4037+
4038+#. module: account_banking_sepa_direct_debit
4039+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:198
4040+#, python-format
4041+msgid "The mandate '%s' can't have a date of last debit before the date of signature."
4042+msgstr ""
4043+
4044+#. module: account_banking_sepa_direct_debit
4045+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_final
4046+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_final
4047+msgid "Sequence Type set to Final"
4048+msgstr ""
4049+
4050+#. module: account_banking_sepa_direct_debit
4051+#: field:sdd.mandate,message_is_follower:0
4052+msgid "Is a Follower"
4053+msgstr ""
4054+
4055+#. module: account_banking_sepa_direct_debit
4056+#: view:payment.order:0
4057+msgid "SDD Mandate"
4058+msgstr ""
4059+
4060+#. module: account_banking_sepa_direct_debit
4061+#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_company
4062+msgid "Companies"
4063+msgstr ""
4064+
4065+#. module: account_banking_sepa_direct_debit
4066+#: field:sdd.mandate,message_summary:0
4067+msgid "Summary"
4068+msgstr ""
4069+
4070+#. module: account_banking_sepa_direct_debit
4071+#: field:account.invoice,sdd_mandate_id:0
4072+#: model:ir.model,name:account_banking_sepa_direct_debit.model_sdd_mandate
4073+#: field:payment.line,sdd_mandate_id:0
4074+#: view:sdd.mandate:0
4075+msgid "SEPA Direct Debit Mandate"
4076+msgstr ""
4077+
4078+#. module: account_banking_sepa_direct_debit
4079+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:270
4080+#, python-format
4081+msgid "Missing SEPA Direct Debit mandate on the payment line with partner '%s' and Invoice ref '%s'."
4082+msgstr ""
4083+
4084+#. module: account_banking_sepa_direct_debit
4085+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:288
4086+#, python-format
4087+msgid "The mandate with reference '%s' for partner '%s' has type set to 'One-Off' and it has a last debit date set to '%s', so we can't use it."
4088+msgstr ""
4089+
4090+#. module: account_banking_sepa_direct_debit
4091+#: field:sdd.mandate,scan:0
4092+msgid "Scan of the Mandate"
4093+msgstr ""
4094+
4095+#. module: account_banking_sepa_direct_debit
4096+#: field:sdd.mandate,last_debit_date:0
4097+msgid "Date of the Last Debit"
4098+msgstr ""
4099+
4100+#. module: account_banking_sepa_direct_debit
4101+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_expired
4102+msgid "Mandate Expired"
4103+msgstr ""
4104+
4105+#. module: account_banking_sepa_direct_debit
4106+#: constraint:res.company:0
4107+msgid "Invalid SEPA Creditor Identifier."
4108+msgstr ""
4109+
4110+#. module: account_banking_sepa_direct_debit
4111+#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_partner_bank
4112+msgid "Bank Accounts"
4113+msgstr ""
4114+
4115+#. module: account_banking_sepa_direct_debit
4116+#: model:ir.actions.act_window,help:account_banking_sepa_direct_debit.sdd_mandate_action
4117+msgid "<p class=\"oe_view_nocontent_create\">\n"
4118+" Click to create a new SEPA Direct Debit Mandate.\n"
4119+" </p><p>\n"
4120+" A SEPA Direct Debit Mandate is a document signed by your customer that gives you the autorization to do one or several direct debits on his bank account.\n"
4121+" </p>\n"
4122+" "
4123+msgstr ""
4124+
4125+#. module: account_banking_sepa_direct_debit
4126+#: view:banking.export.sdd:0
4127+msgid "General Information"
4128+msgstr ""
4129+
4130+#. module: account_banking_sepa_direct_debit
4131+#: view:sdd.mandate:0
4132+#: selection:sdd.mandate,state:0
4133+msgid "Valid"
4134+msgstr ""
4135+
4136+#. module: account_banking_sepa_direct_debit
4137+#: model:ir.model,name:account_banking_sepa_direct_debit.model_account_invoice
4138+msgid "Invoice"
4139+msgstr ""
4140+
4141+#. module: account_banking_sepa_direct_debit
4142+#: view:banking.export.sdd.wizard:0
4143+#: view:sdd.mandate:0
4144+msgid "Cancel"
4145+msgstr ""
4146+
4147+#. module: account_banking_sepa_direct_debit
4148+#: view:sdd.mandate:0
4149+#: field:sdd.mandate,payment_line_ids:0
4150+msgid "Related Payment Lines"
4151+msgstr ""
4152+
4153+#. module: account_banking_sepa_direct_debit
4154+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:169
4155+#, python-format
4156+msgid "The generated XML file is not valid against the official XML Schema Definition. The generated XML file and the full error have been written in the server logs. Here is the error, which may give you an idea on the cause of the problem : %s"
4157+msgstr ""
4158+
4159+#. module: account_banking_sepa_direct_debit
4160+#: view:sdd.mandate:0
4161+#: selection:sdd.mandate,type:0
4162+msgid "Recurrent"
4163+msgstr ""
4164+
4165+#. module: account_banking_sepa_direct_debit
4166+#: field:sdd.mandate,type:0
4167+msgid "Type of Mandate"
4168+msgstr ""
4169+
4170+#. module: account_banking_sepa_direct_debit
4171+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_valid
4172+msgid "Mandate Validated"
4173+msgstr ""
4174+
4175+#. module: account_banking_sepa_direct_debit
4176+#: field:banking.export.sdd,file:0
4177+msgid "SEPA File"
4178+msgstr ""
4179+
4180+#. module: account_banking_sepa_direct_debit
4181+#: field:res.company,sepa_creditor_identifier:0
4182+msgid "SEPA Creditor Identifier"
4183+msgstr ""
4184+
4185+#. module: account_banking_sepa_direct_debit
4186+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:122
4187+#, python-format
4188+msgid "Cannot compute the '%s'."
4189+msgstr ""
4190+
4191+#. module: account_banking_sepa_direct_debit
4192+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:126
4193+#, python-format
4194+msgid "The type of the field '%s' is %s. It should be a string or unicode."
4195+msgstr ""
4196+
4197+#. module: account_banking_sepa_direct_debit
4198+#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd
4199+msgid "SEPA Direct Debit export"
4200+msgstr ""
4201+
4202+#. module: account_banking_sepa_direct_debit
4203+#: view:sdd.mandate:0
4204+#: selection:sdd.mandate,state:0
4205+msgid "Expired"
4206+msgstr ""
4207+
4208+#. module: account_banking_sepa_direct_debit
4209+#: field:sdd.mandate,partner_bank_id:0
4210+msgid "Bank Account"
4211+msgstr ""
4212+
4213+#. module: account_banking_sepa_direct_debit
4214+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_first
4215+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_first
4216+msgid "Sequence Type set to First"
4217+msgstr ""
4218+
4219+#. module: account_banking_sepa_direct_debit
4220+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:233
4221+#, python-format
4222+msgid "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'."
4223+msgstr ""
4224+
4225+#. module: account_banking_sepa_direct_debit
4226+#: help:sdd.mandate,message_ids:0
4227+msgid "Messages and communication history"
4228+msgstr ""
4229+
4230+#. module: account_banking_sepa_direct_debit
4231+#: view:sdd.mandate:0
4232+msgid "Search SEPA Direct Debit Mandates"
4233+msgstr ""
4234+
4235+#. module: account_banking_sepa_direct_debit
4236+#: field:sdd.mandate,unique_mandate_reference:0
4237+msgid "Unique Mandate Reference"
4238+msgstr ""
4239+
4240+#. module: account_banking_sepa_direct_debit
4241+#: field:banking.export.sdd.wizard,file:0
4242+msgid "File"
4243+msgstr ""
4244+
4245
4246=== added file 'account_banking_sepa_direct_debit/i18n/fr.po'
4247--- account_banking_sepa_direct_debit/i18n/fr.po 1970-01-01 00:00:00 +0000
4248+++ account_banking_sepa_direct_debit/i18n/fr.po 2013-11-20 23:27:56 +0000
4249@@ -0,0 +1,652 @@
4250+# Translation of OpenERP Server.
4251+# This file contains the translation of the following modules:
4252+# * account_banking_sepa_direct_debit
4253+#
4254+msgid ""
4255+msgstr ""
4256+"Project-Id-Version: OpenERP Server 7.0\n"
4257+"Report-Msgid-Bugs-To: \n"
4258+"POT-Creation-Date: 2013-11-11 14:04+0000\n"
4259+"PO-Revision-Date: 2013-11-11 14:04+0000\n"
4260+"Last-Translator: <>\n"
4261+"Language-Team: \n"
4262+"MIME-Version: 1.0\n"
4263+"Content-Type: text/plain; charset=UTF-8\n"
4264+"Content-Transfer-Encoding: \n"
4265+"Plural-Forms: \n"
4266+
4267+#. module: account_banking_sepa_direct_debit
4268+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_valid
4269+msgid "SEPA Direct Debit Mandate Validated"
4270+msgstr "Mandat de prélèvement SEPA validé"
4271+
4272+#. module: account_banking_sepa_direct_debit
4273+#: field:banking.export.sdd,filename:0
4274+#: field:banking.export.sdd.wizard,filename:0
4275+msgid "Filename"
4276+msgstr "Nom du fichier"
4277+
4278+#. module: account_banking_sepa_direct_debit
4279+#: field:banking.export.sdd,requested_collec_date:0
4280+#: field:banking.export.sdd.wizard,requested_collec_date:0
4281+msgid "Requested Collection Date"
4282+msgstr "Date de collecte demandée"
4283+
4284+#. module: account_banking_sepa_direct_debit
4285+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:276
4286+#, python-format
4287+msgid "The SEPA Direct Debit mandate with reference '%s' for partner '%s' has expired."
4288+msgstr "Le mandat de prélèvement SEPA portant la référence '%s' pour le partenaire '%s' a expiré."
4289+
4290+#. module: account_banking_sepa_direct_debit
4291+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:186
4292+#, python-format
4293+msgid "Cannot validate the mandate '%s' without a date of signature."
4294+msgstr "Impossible de valider le mandat '%s' sans date de signature."
4295+
4296+#. module: account_banking_sepa_direct_debit
4297+#: selection:sdd.mandate,recurrent_sequence_type:0
4298+msgid "Final"
4299+msgstr "Final"
4300+
4301+#. module: account_banking_sepa_direct_debit
4302+#: selection:banking.export.sdd.wizard,state:0
4303+msgid "Finish"
4304+msgstr "Finir"
4305+
4306+#. module: account_banking_sepa_direct_debit
4307+#: view:res.partner:0
4308+#: view:res.partner.bank:0
4309+msgid "SDD Mandates"
4310+msgstr "Mandats SEPA"
4311+
4312+#. module: account_banking_sepa_direct_debit
4313+#: constraint:payment.line:0
4314+#: constraint:sdd.mandate:0
4315+msgid "Error msg in raise"
4316+msgstr "Error msg in raise"
4317+
4318+#. module: account_banking_sepa_direct_debit
4319+#: selection:banking.export.sdd,state:0
4320+msgid "Reconciled"
4321+msgstr "Réconcilié"
4322+
4323+#. module: account_banking_sepa_direct_debit
4324+#: field:sdd.mandate,recurrent_sequence_type:0
4325+msgid "Sequence Type for Next Debit"
4326+msgstr "Type de séquence pour le prochain prélèvement"
4327+
4328+#. module: account_banking_sepa_direct_debit
4329+#: selection:banking.export.sdd,charge_bearer:0
4330+#: selection:banking.export.sdd.wizard,charge_bearer:0
4331+msgid "Borne by Creditor"
4332+msgstr "Supportés par le créancier"
4333+
4334+#. module: account_banking_sepa_direct_debit
4335+#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.sdd_mandate_action
4336+#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.sdd_mandate_menu
4337+#: view:res.partner.bank:0
4338+#: field:res.partner.bank,sdd_mandate_ids:0
4339+msgid "SEPA Direct Debit Mandates"
4340+msgstr "Mandats de prélèvement SEPA"
4341+
4342+#. module: account_banking_sepa_direct_debit
4343+#: view:banking.export.sdd.wizard:0
4344+#: view:sdd.mandate:0
4345+msgid "Validate"
4346+msgstr "Valider"
4347+
4348+#. module: account_banking_sepa_direct_debit
4349+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
4350+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_recurring
4351+msgid "Sequence Type set to Recurring"
4352+msgstr "Type de séquence mis à Recurring"
4353+
4354+#. module: account_banking_sepa_direct_debit
4355+#: view:banking.export.sdd.wizard:0
4356+msgid "Generate"
4357+msgstr "Générer"
4358+
4359+#. module: account_banking_sepa_direct_debit
4360+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_cancel
4361+msgid "SEPA Direct Debit Mandate Cancelled"
4362+msgstr "Mandat de prélèvement SEPA annulé"
4363+
4364+#. module: account_banking_sepa_direct_debit
4365+#: selection:banking.export.sdd,charge_bearer:0
4366+#: selection:banking.export.sdd.wizard,charge_bearer:0
4367+msgid "Borne by Debtor"
4368+msgstr "Supportés par le débiteur"
4369+
4370+#. module: account_banking_sepa_direct_debit
4371+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:180
4372+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:185
4373+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:190
4374+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:197
4375+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:203
4376+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:336
4377+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:89
4378+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:115
4379+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:121
4380+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:130
4381+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:168
4382+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:219
4383+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:269
4384+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:275
4385+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:287
4386+#, python-format
4387+msgid "Error:"
4388+msgstr "Erreur :"
4389+
4390+#. module: account_banking_sepa_direct_debit
4391+#: field:sdd.mandate,message_ids:0
4392+msgid "Messages"
4393+msgstr "Messages"
4394+
4395+#. module: account_banking_sepa_direct_debit
4396+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:131
4397+#, python-format
4398+msgid "The '%s' is empty or 0. It should have a non-null value."
4399+msgstr "Le champ '%s' est vide ou nul. Il doit avoir une valeur non nulle."
4400+
4401+#. module: account_banking_sepa_direct_debit
4402+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:89
4403+#, python-format
4404+msgid "This IBAN is not valid : %s"
4405+msgstr "Cet IBAN n'est pas valide : %s"
4406+
4407+#. module: account_banking_sepa_direct_debit
4408+#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd_wizard
4409+msgid "Export SEPA Direct Debit XML file"
4410+msgstr "Export des fichiers de prélèvement SEPA"
4411+
4412+#. module: account_banking_sepa_direct_debit
4413+#: view:sdd.mandate:0
4414+#: selection:sdd.mandate,state:0
4415+msgid "Cancelled"
4416+msgstr "Annulé"
4417+
4418+#. module: account_banking_sepa_direct_debit
4419+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:219
4420+#, python-format
4421+msgid "Payment Type Code '%s' is not supported. The only Payment Type Code supported for SEPA Direct Debit are 'pain.008.001.02', 'pain.008.001.03' and 'pain.008.001.04'."
4422+msgstr "Le code du Type de paiement '%s' n'est pas supporté. Les seuls codes de Type de paiement supportés pour les prélèvements SEPA sont 'pain.008.001.02', 'pain.008.001.03' et 'pain.008.001.04'."
4423+
4424+#. module: account_banking_sepa_direct_debit
4425+#: help:sdd.mandate,message_unread:0
4426+msgid "If checked new messages require your attention."
4427+msgstr "If checked new messages require your attention."
4428+
4429+#. module: account_banking_sepa_direct_debit
4430+#: field:banking.export.sdd.wizard,file_id:0
4431+msgid "SDD File"
4432+msgstr "Fichier de prélèvement SEPA"
4433+
4434+#. module: account_banking_sepa_direct_debit
4435+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.mandate_expired
4436+msgid "SEPA Direct Debit Mandate has Expired"
4437+msgstr "Le mandat de prélèvement SEPA a expiré"
4438+
4439+#. module: account_banking_sepa_direct_debit
4440+#: help:banking.export.sdd,charge_bearer:0
4441+#: help:banking.export.sdd.wizard,charge_bearer:0
4442+msgid "Following service level : transaction charges are to be applied following the rules agreed in the service level and/or scheme (SEPA Core messages must use this). Shared : transaction charges on the creditor side are to be borne by the creditor, transaction charges on the debtor side are to be borne by the debtor. Borne by creditor : all transaction charges are to be borne by the creditor. Borne by debtor : all transaction charges are to be borne by the debtor."
4443+msgstr "Suivant le niveau de service : la répartition des frais bancaires suit les règles pré-établies dans le schema ou dans le contrat avec la banque (les messages SEPA Core doivent utiliser ce paramètre). Partagés : les frais bancaires côté débiteur sont à la charge du débiteur, les frais bancaires côté créancier sont à la charge du créancier. Supportés par le créancier : tous les frais bancaires sont à la charge du créancier. Supportés par le débiteur : tous les frais bancaires sont à la charge du débiteur."
4444+
4445+#. module: account_banking_sepa_direct_debit
4446+#: view:sdd.mandate:0
4447+msgid "Reference"
4448+msgstr "Référence"
4449+
4450+#. module: account_banking_sepa_direct_debit
4451+#: view:banking.export.sdd:0
4452+msgid "SEPA Direct Debit"
4453+msgstr "Prélèvement SEPA"
4454+
4455+#. module: account_banking_sepa_direct_debit
4456+#: view:banking.export.sdd.wizard:0
4457+msgid "SEPA Direct Debit XML file generation"
4458+msgstr "Génération de fichiers de prélèvement SEPA XML"
4459+
4460+#. module: account_banking_sepa_direct_debit
4461+#: help:sdd.mandate,message_summary:0
4462+msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
4463+msgstr "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views."
4464+
4465+#. module: account_banking_sepa_direct_debit
4466+#: model:ir.model,name:account_banking_sepa_direct_debit.model_payment_line
4467+msgid "Payment Line"
4468+msgstr "Ligne de paiement"
4469+
4470+#. module: account_banking_sepa_direct_debit
4471+#: field:banking.export.sdd,create_date:0
4472+msgid "Generation Date"
4473+msgstr "Date de génération"
4474+
4475+#. module: account_banking_sepa_direct_debit
4476+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:337
4477+#, python-format
4478+msgid "The payment line with reference '%s' has the bank account '%s' which is not attached to the mandate '%s' (this mandate is attached to the bank account '%s')."
4479+msgstr "La ligne de paiement portant la référence '%s' est configurée avec le compte bancaire '%s' qui n'est pas rattaché au mandat '%s' (ce mandat est rattaché au compte bancaire '%s')."
4480+
4481+#. module: account_banking_sepa_direct_debit
4482+#: selection:banking.export.sdd.wizard,state:0
4483+msgid "Create"
4484+msgstr "Créer"
4485+
4486+#. module: account_banking_sepa_direct_debit
4487+#: field:banking.export.sdd,nb_transactions:0
4488+#: field:banking.export.sdd.wizard,nb_transactions:0
4489+msgid "Number of Transactions"
4490+msgstr "Nombre de transactions"
4491+
4492+#. module: account_banking_sepa_direct_debit
4493+#: view:sdd.mandate:0
4494+#: selection:sdd.mandate,type:0
4495+msgid "One-Off"
4496+msgstr "One-Off"
4497+
4498+#. module: account_banking_sepa_direct_debit
4499+#: field:banking.export.sdd,state:0
4500+#: field:banking.export.sdd.wizard,state:0
4501+msgid "State"
4502+msgstr "État"
4503+
4504+#. module: account_banking_sepa_direct_debit
4505+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:204
4506+#, python-format
4507+msgid "The recurrent mandate '%s' must have a sequence type."
4508+msgstr "Le mandat récurrent '%s' doit avoir un type de séquence."
4509+
4510+#. module: account_banking_sepa_direct_debit
4511+#: field:sdd.mandate,message_follower_ids:0
4512+msgid "Followers"
4513+msgstr "Followers"
4514+
4515+#. module: account_banking_sepa_direct_debit
4516+#: field:sdd.mandate,message_unread:0
4517+msgid "Unread Messages"
4518+msgstr "Unread Messages"
4519+
4520+#. module: account_banking_sepa_direct_debit
4521+#: view:banking.export.sdd:0
4522+#: field:banking.export.sdd,payment_order_ids:0
4523+#: field:banking.export.sdd.wizard,payment_order_ids:0
4524+msgid "Payment Orders"
4525+msgstr "Ordres de paiement"
4526+
4527+#. module: account_banking_sepa_direct_debit
4528+#: view:sdd.mandate:0
4529+msgid "Type"
4530+msgstr "Type"
4531+
4532+#. module: account_banking_sepa_direct_debit
4533+#: selection:banking.export.sdd,state:0
4534+msgid "Sent"
4535+msgstr "Envoyé"
4536+
4537+#. module: account_banking_sepa_direct_debit
4538+#: selection:sdd.mandate,recurrent_sequence_type:0
4539+msgid "Recurring"
4540+msgstr "Recurring"
4541+
4542+#. module: account_banking_sepa_direct_debit
4543+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:181
4544+#, python-format
4545+msgid "The date of signature of mandate '%s' is in the future!"
4546+msgstr "La date de signature du mandat '%s' est dans le futur !"
4547+
4548+#. module: account_banking_sepa_direct_debit
4549+#: help:res.company,sepa_creditor_identifier:0
4550+msgid "Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. This identifier is composed of :\n"
4551+"- your country ISO code (2 letters)\n"
4552+"- a 2-digits checkum\n"
4553+"- a 3-letters business code\n"
4554+"- a country-specific identifier"
4555+msgstr "Entrez l'Identifiant créancier qui a été attribué à votre société pour réaliser des prélèvements SEPA. Cet identifiant est composé de :\n"
4556+"- du code ISO de votre pays (2 lettres)\n"
4557+"- un code de contrôle à 2 chiffres\n"
4558+"- un code d'activité à 3 lettres\n"
4559+"- un identifiant national"
4560+
4561+#. module: account_banking_sepa_direct_debit
4562+#: sql_constraint:sdd.mandate:0
4563+msgid "A Mandate with the same reference already exists for this company !"
4564+msgstr "Un mandat avec la même référence existe déjà pour cette société !"
4565+
4566+#. module: account_banking_sepa_direct_debit
4567+#: help:sdd.mandate,state:0
4568+msgid "Only valid mandates can be used in a payment line. A cancelled mandate is a mandate that has been cancelled by the customer. A one-off mandate expires after its first use. A recurrent mandate expires after it's final use or if it hasn't been used for 36 months."
4569+msgstr "Seuls des mandats valides peuvent être utilisés dans une ligne de paiement. Un mandate annulé est un mandat qui a été annulé par le client. Un mandat One-Off expire à l'issue de sa première utilisation. Un mandate récurrent expire après sa dernière utilisation ou si il n'a pas été utilisé pendant 36 mois."
4570+
4571+#. module: account_banking_sepa_direct_debit
4572+#: help:sdd.mandate,recurrent_sequence_type:0
4573+msgid "This field is only used for Recurrent mandates, not for One-Off mandates."
4574+msgstr "Ce champ n'est utilisé que pour les mandats récurrents, pas pour les mandats One-Off."
4575+
4576+#. module: account_banking_sepa_direct_debit
4577+#: view:sdd.mandate:0
4578+msgid "Signature Date"
4579+msgstr "Date de signature"
4580+
4581+#. module: account_banking_sepa_direct_debit
4582+#: field:banking.export.sdd,charge_bearer:0
4583+#: field:banking.export.sdd.wizard,charge_bearer:0
4584+msgid "Charge Bearer"
4585+msgstr "Répartition des frais"
4586+
4587+#. module: account_banking_sepa_direct_debit
4588+#: field:sdd.mandate,partner_id:0
4589+msgid "Partner"
4590+msgstr "Partenaire"
4591+
4592+#. module: account_banking_sepa_direct_debit
4593+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:125
4594+#, python-format
4595+msgid "Field type error:"
4596+msgstr "Erreur de type de champ :"
4597+
4598+#. module: account_banking_sepa_direct_debit
4599+#: selection:sdd.mandate,recurrent_sequence_type:0
4600+msgid "First"
4601+msgstr "First"
4602+
4603+#. module: account_banking_sepa_direct_debit
4604+#: field:sdd.mandate,signature_date:0
4605+msgid "Date of Signature of the Mandate"
4606+msgstr "Date de signature du mandat"
4607+
4608+#. module: account_banking_sepa_direct_debit
4609+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_cancel
4610+msgid "Mandate Cancelled"
4611+msgstr "Mandat annulé"
4612+
4613+#. module: account_banking_sepa_direct_debit
4614+#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.act_banking_export_sdd_payment_order
4615+#: model:ir.actions.act_window,name:account_banking_sepa_direct_debit.action_account_banking_sdd
4616+#: model:ir.ui.menu,name:account_banking_sepa_direct_debit.menu_account_banking_sdd
4617+msgid "Generated SEPA Direct Debit Files"
4618+msgstr "Fichiers de prélèvement SEPA générés"
4619+
4620+#. module: account_banking_sepa_direct_debit
4621+#: field:sdd.mandate,company_id:0
4622+msgid "Company"
4623+msgstr "Société"
4624+
4625+#. module: account_banking_sepa_direct_debit
4626+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:191
4627+#, python-format
4628+msgid "Cannot validate the mandate '%s' because it is not attached to a bank account."
4629+msgstr "Impossible de valider le mandat '%s' car il n'est pas rattaché à un compte bancaire."
4630+
4631+#. module: account_banking_sepa_direct_debit
4632+#: selection:banking.export.sdd,state:0
4633+#: view:sdd.mandate:0
4634+#: selection:sdd.mandate,state:0
4635+msgid "Draft"
4636+msgstr "Brouillon"
4637+
4638+#. module: account_banking_sepa_direct_debit
4639+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:232
4640+#, python-format
4641+msgid "Mandate update"
4642+msgstr "Mise-à-jour du mandat"
4643+
4644+#. module: account_banking_sepa_direct_debit
4645+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:116
4646+#, python-format
4647+msgid "Cannot compute the '%s' of the Payment Line with Invoice Reference '%s'."
4648+msgstr "Impossible de générer le '%s' de la ligne de paiement ayant la référence de facture '%s'."
4649+
4650+#. module: account_banking_sepa_direct_debit
4651+#: selection:banking.export.sdd,charge_bearer:0
4652+#: selection:banking.export.sdd.wizard,charge_bearer:0
4653+msgid "Shared"
4654+msgstr "Partagée"
4655+
4656+#. module: account_banking_sepa_direct_debit
4657+#: field:banking.export.sdd,batch_booking:0
4658+#: field:banking.export.sdd.wizard,batch_booking:0
4659+msgid "Batch Booking"
4660+msgstr "Crédit groupé"
4661+
4662+#. module: account_banking_sepa_direct_debit
4663+#: field:sdd.mandate,state:0
4664+msgid "Status"
4665+msgstr "Statut"
4666+
4667+#. module: account_banking_sepa_direct_debit
4668+#: field:banking.export.sdd,total_amount:0
4669+#: field:banking.export.sdd.wizard,total_amount:0
4670+msgid "Total Amount"
4671+msgstr "Montant total"
4672+
4673+#. module: account_banking_sepa_direct_debit
4674+#: help:banking.export.sdd,batch_booking:0
4675+#: help:banking.export.sdd.wizard,batch_booking:0
4676+msgid "If true, the bank statement will display only one credit line for all the direct debits of the SEPA file ; if false, the bank statement will display one credit line per direct debit of the SEPA file."
4677+msgstr "Si activé, le relevé de compte ne fera apparaître qu'une ligne de crédit pour tous les prélèvements du fichier SEPA ; si désactivé, le relevé de banque fera apparaître une ligne de crédit pour chaque prélèvement du fichier SEPA."
4678+
4679+#. module: account_banking_sepa_direct_debit
4680+#: selection:banking.export.sdd,charge_bearer:0
4681+#: selection:banking.export.sdd.wizard,charge_bearer:0
4682+msgid "Following Service Level"
4683+msgstr "Suivant le niveau de service"
4684+
4685+#. module: account_banking_sepa_direct_debit
4686+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:198
4687+#, python-format
4688+msgid "The mandate '%s' can't have a date of last debit before the date of signature."
4689+msgstr "Le mandat '%s' ne peut pas avoir une date de dernier débit antérieure à la date de signature."
4690+
4691+#. module: account_banking_sepa_direct_debit
4692+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_final
4693+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_final
4694+msgid "Sequence Type set to Final"
4695+msgstr "Type de Séquence mis à Final"
4696+
4697+#. module: account_banking_sepa_direct_debit
4698+#: field:sdd.mandate,message_is_follower:0
4699+msgid "Is a Follower"
4700+msgstr "Is a Follower"
4701+
4702+#. module: account_banking_sepa_direct_debit
4703+#: view:payment.order:0
4704+msgid "SDD Mandate"
4705+msgstr "Mandat de prélèvement"
4706+
4707+#. module: account_banking_sepa_direct_debit
4708+#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_company
4709+msgid "Companies"
4710+msgstr "Sociétés"
4711+
4712+#. module: account_banking_sepa_direct_debit
4713+#: field:sdd.mandate,message_summary:0
4714+msgid "Summary"
4715+msgstr "Résumé"
4716+
4717+#. module: account_banking_sepa_direct_debit
4718+#: field:account.invoice,sdd_mandate_id:0
4719+#: model:ir.model,name:account_banking_sepa_direct_debit.model_sdd_mandate
4720+#: field:payment.line,sdd_mandate_id:0
4721+#: view:sdd.mandate:0
4722+msgid "SEPA Direct Debit Mandate"
4723+msgstr "Mandat de prélèvement SEPA"
4724+
4725+#. module: account_banking_sepa_direct_debit
4726+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:270
4727+#, python-format
4728+msgid "Missing SEPA Direct Debit mandate on the payment line with partner '%s' and Invoice ref '%s'."
4729+msgstr "Mandat de prélèvement SEPA manquant sur la ligne de paiement ayant pour partenaire '%s' et pour référence de facture '%s'."
4730+
4731+#. module: account_banking_sepa_direct_debit
4732+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:288
4733+#, python-format
4734+msgid "The mandate with reference '%s' for partner '%s' has type set to 'One-Off' and it has a last debit date set to '%s', so we can't use it."
4735+msgstr "Le mandat portant la référence '%s' pour le partenaire '%s' est de type 'One-Off' et il a une date de dernier débit au '%s', donc il n'est pas utilisable."
4736+
4737+#. module: account_banking_sepa_direct_debit
4738+#: field:sdd.mandate,scan:0
4739+msgid "Scan of the Mandate"
4740+msgstr "Scan du mandat"
4741+
4742+#. module: account_banking_sepa_direct_debit
4743+#: field:sdd.mandate,last_debit_date:0
4744+msgid "Date of the Last Debit"
4745+msgstr "Date du dernier prélèvement"
4746+
4747+#. module: account_banking_sepa_direct_debit
4748+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_expired
4749+msgid "Mandate Expired"
4750+msgstr "Mandat expiré"
4751+
4752+#. module: account_banking_sepa_direct_debit
4753+#: constraint:res.company:0
4754+msgid "Invalid SEPA Creditor Identifier."
4755+msgstr "Identifiant créancier SEPA invalide."
4756+
4757+#. module: account_banking_sepa_direct_debit
4758+#: model:ir.model,name:account_banking_sepa_direct_debit.model_res_partner_bank
4759+msgid "Bank Accounts"
4760+msgstr "Comptes bancaires"
4761+
4762+#. module: account_banking_sepa_direct_debit
4763+#: view:banking.export.sdd:0
4764+msgid "General Information"
4765+msgstr "Informations générales"
4766+
4767+#. module: account_banking_sepa_direct_debit
4768+#: view:sdd.mandate:0
4769+#: selection:sdd.mandate,state:0
4770+msgid "Valid"
4771+msgstr "Valide"
4772+
4773+#. module: account_banking_sepa_direct_debit
4774+#: model:ir.model,name:account_banking_sepa_direct_debit.model_account_invoice
4775+msgid "Invoice"
4776+msgstr "Facture"
4777+
4778+#. module: account_banking_sepa_direct_debit
4779+#: view:banking.export.sdd.wizard:0
4780+#: view:sdd.mandate:0
4781+msgid "Cancel"
4782+msgstr "Annuler"
4783+
4784+#. module: account_banking_sepa_direct_debit
4785+#: view:sdd.mandate:0
4786+#: field:sdd.mandate,payment_line_ids:0
4787+msgid "Related Payment Lines"
4788+msgstr "Lignes de paiement associées"
4789+
4790+#. module: account_banking_sepa_direct_debit
4791+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:169
4792+#, python-format
4793+msgid "The generated XML file is not valid against the official XML Schema Definition. The generated XML file and the full error have been written in the server logs. Here is the error, which may give you an idea on the cause of the problem : %s"
4794+msgstr "Le fichier XML généré n'est pas valide par rapport à la Définition du Schéma XML officiel. Le fichier XML généré et le message d'erreur complet ont été écrits dans les logs du serveur. Voici l'erreur, qui vous donnera peut-être une idée sur la cause du problème : %s"
4795+
4796+#. module: account_banking_sepa_direct_debit
4797+#: view:sdd.mandate:0
4798+#: selection:sdd.mandate,type:0
4799+msgid "Recurrent"
4800+msgstr "Récurrent"
4801+
4802+#. module: account_banking_sepa_direct_debit
4803+#: field:sdd.mandate,type:0
4804+msgid "Type of Mandate"
4805+msgstr "Type de mandat"
4806+
4807+#. module: account_banking_sepa_direct_debit
4808+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.mandate_valid
4809+msgid "Mandate Validated"
4810+msgstr "Mandat validé"
4811+
4812+#. module: account_banking_sepa_direct_debit
4813+#: field:banking.export.sdd,file:0
4814+msgid "SEPA File"
4815+msgstr "SEPA File"
4816+
4817+#. module: account_banking_sepa_direct_debit
4818+#: field:res.company,sepa_creditor_identifier:0
4819+msgid "SEPA Creditor Identifier"
4820+msgstr "Identifiant créancier SEPA"
4821+
4822+#. module: account_banking_sepa_direct_debit
4823+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:122
4824+#, python-format
4825+msgid "Cannot compute the '%s'."
4826+msgstr "Impossible de calculer le '%s'."
4827+
4828+#. module: account_banking_sepa_direct_debit
4829+#: code:addons/account_banking_sepa_direct_debit/wizard/export_sdd.py:126
4830+#, python-format
4831+msgid "The type of the field '%s' is %s. It should be a string or unicode."
4832+msgstr "Le champ '%s' est de type %s. Il devrait être de type string ou unicode."
4833+
4834+#. module: account_banking_sepa_direct_debit
4835+#: model:ir.model,name:account_banking_sepa_direct_debit.model_banking_export_sdd
4836+msgid "SEPA Direct Debit export"
4837+msgstr "Export de prélèvement SEPA"
4838+
4839+#. module: account_banking_sepa_direct_debit
4840+#: view:sdd.mandate:0
4841+#: selection:sdd.mandate,state:0
4842+msgid "Expired"
4843+msgstr "Expiré"
4844+
4845+#. module: account_banking_sepa_direct_debit
4846+#: field:sdd.mandate,partner_bank_id:0
4847+msgid "Bank Account"
4848+msgstr "Compte bancaire"
4849+
4850+#. module: account_banking_sepa_direct_debit
4851+#: model:mail.message.subtype,description:account_banking_sepa_direct_debit.recurrent_sequence_type_first
4852+#: model:mail.message.subtype,name:account_banking_sepa_direct_debit.recurrent_sequence_type_first
4853+msgid "Sequence Type set to First"
4854+msgstr "Type de Séquence mis à First"
4855+
4856+#. module: account_banking_sepa_direct_debit
4857+#: model:ir.actions.act_window,help:account_banking_sepa_direct_debit.sdd_mandate_action
4858+msgid "<p class=\"oe_view_nocontent_create\">\n"
4859+" Click to create a new SEPA Direct Debit Mandate.\n"
4860+" </p><p>\n"
4861+" A SEPA Direct Debit Mandate is a document signed by your customer that gives you the autorization to do one or several direct debits on his bank account.\n"
4862+" </p>\n"
4863+" "
4864+msgstr "<p class=\"oe_view_nocontent_create\">\n"
4865+" Cliquez pour créer un mandat de prélèvement SEPA.\n"
4866+" </p><p>\n"
4867+" Un mandat de prélèvement SEPA est un document signé par votre client qui vous donne l'autorisation de réaliser un ou plusieurs prélèvements sur son compte bancaire.\n"
4868+" </p>\n"
4869+" "
4870+
4871+#. module: account_banking_sepa_direct_debit
4872+#: code:addons/account_banking_sepa_direct_debit/account_banking_sdd.py:233
4873+#, python-format
4874+msgid "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'."
4875+msgstr "Etant donné que vous avez changé le compte bancaire associé à ce mandat, le 'Type de séquence' a été remis à 'First'."
4876+
4877+#. module: account_banking_sepa_direct_debit
4878+#: help:sdd.mandate,message_ids:0
4879+msgid "Messages and communication history"
4880+msgstr "Messages and communication history"
4881+
4882+#. module: account_banking_sepa_direct_debit
4883+#: view:sdd.mandate:0
4884+msgid "Search SEPA Direct Debit Mandates"
4885+msgstr "Recherche dans les mandats de prélèvement SEPA"
4886+
4887+#. module: account_banking_sepa_direct_debit
4888+#: help:banking.export.sdd.wizard,requested_collec_date:0
4889+msgid "This is the date on which you would like the collection to be made by the bank. Please keep in mind that there are minimum delays for SEPA direct debits that depend on the type of mandate and the type of sequence."
4890+msgstr "Entrez la date à laquelle vous voudriez que le prélèvement soit effectué par la banque. Gardez en mémoire qu'il y a un délai minimum pour les prélèvements SEPA qui dépend du type de mandat et du type de séquence."
4891+
4892+#. module: account_banking_sepa_direct_debit
4893+#: field:sdd.mandate,unique_mandate_reference:0
4894+msgid "Unique Mandate Reference"
4895+msgstr "Référence unique de mandat"
4896+
4897+#. module: account_banking_sepa_direct_debit
4898+#: field:banking.export.sdd.wizard,file:0
4899+msgid "File"
4900+msgstr "Fichier"
4901+
4902
4903=== added file 'account_banking_sepa_direct_debit/mandate_expire_cron.xml'
4904--- account_banking_sepa_direct_debit/mandate_expire_cron.xml 1970-01-01 00:00:00 +0000
4905+++ account_banking_sepa_direct_debit/mandate_expire_cron.xml 2013-11-20 23:27:56 +0000
4906@@ -0,0 +1,26 @@
4907+<?xml version="1.0" encoding="utf-8"?>
4908+
4909+<!--
4910+ Copyright (C) 2013 Akretion (http://www.akretion.com/)
4911+ @author Alexis de Lattre <alexis.delattre@akretion.com>
4912+ The licence is in the file __openerp__.py
4913+-->
4914+
4915+<openerp>
4916+
4917+<data noupdate="1"> <!-- noupdate = 1 for the 'active' field -->
4918+<record id="sdd_mandate_expire_cron" model="ir.cron">
4919+ <field name="name">Set SEPA Direct Debit Mandates to Expired</field>
4920+ <field name="active" eval="True"/>
4921+ <field name="user_id" ref="base.user_root"/>
4922+ <field name="interval_number">1</field>
4923+ <field name="interval_type">days</field>
4924+ <field name="numbercall">-1</field> <!-- don't limit the number of calls -->
4925+ <field name="doall" eval="False"/>
4926+ <field name="model" eval="'sdd.mandate'"/>
4927+ <field name="function" eval="'_sdd_mandate_set_state_to_expired'" />
4928+ <field name="args" eval="'()'"/>
4929+</record>
4930+
4931+</data>
4932+</openerp>
4933
4934=== added file 'account_banking_sepa_direct_debit/res_partner_bank_view.xml'
4935--- account_banking_sepa_direct_debit/res_partner_bank_view.xml 1970-01-01 00:00:00 +0000
4936+++ account_banking_sepa_direct_debit/res_partner_bank_view.xml 2013-11-20 23:27:56 +0000
4937@@ -0,0 +1,48 @@
4938+<?xml version="1.0" encoding="utf-8"?>
4939+<!--
4940+ Copyright (C) 2013 Akretion (http://www.akretion.com)
4941+ @author: Alexis de Lattre <alexis.delattre@akretion.com>
4942+ The licence is in the file __openerp__.py
4943+-->
4944+<openerp>
4945+<data>
4946+
4947+<record id="sdd_mandate_partner_bank_form" model="ir.ui.view">
4948+ <field name="name">sdd.mandate.res.partner.bank.form</field>
4949+ <field name="model">res.partner.bank</field>
4950+ <field name="inherit_id" ref="base.view_partner_bank_form"/>
4951+ <field name="arch" type="xml">
4952+ <group name="bank" position="after">
4953+ <group name="sdd_mandates" string="SEPA Direct Debit Mandates" colspan="4">
4954+ <field name="sdd_mandate_ids" context="{'default_partner_bank_id': active_id, 'sdd_mandate_bank_partner_view': True}" nolabel="1"/>
4955+ </group>
4956+ </group>
4957+ </field>
4958+</record>
4959+
4960+<record id="sdd_mandate_partner_bank_tree" model="ir.ui.view">
4961+ <field name="name">sdd.mandate.res.partner.bank.tree</field>
4962+ <field name="model">res.partner.bank</field>
4963+ <field name="inherit_id" ref="base.view_partner_bank_tree"/>
4964+ <field name="arch" type="xml">
4965+ <field name="partner_id" position="after">
4966+ <field name="sdd_mandate_ids" string="SDD Mandates"/>
4967+ </field>
4968+ </field>
4969+</record>
4970+
4971+<!-- add number of mandates in this list of bank accounts
4972+on the partner form -->
4973+<record id="sdd_mandate_partner_form" model="ir.ui.view">
4974+ <field name="name">sdd.mandate.partner.form</field>
4975+ <field name="model">res.partner</field>
4976+ <field name="inherit_id" ref="account.view_partner_property_form"/>
4977+ <field name="arch" type="xml">
4978+ <xpath expr="//field[@name='bank_ids']/tree/field[@name='owner_name']" position="after">
4979+ <field name="sdd_mandate_ids" string="SDD Mandates"/>
4980+ </xpath>
4981+ </field>
4982+</record>
4983+
4984+</data>
4985+</openerp>
4986
4987=== added file 'account_banking_sepa_direct_debit/sdd_mandate_view.xml'
4988--- account_banking_sepa_direct_debit/sdd_mandate_view.xml 1970-01-01 00:00:00 +0000
4989+++ account_banking_sepa_direct_debit/sdd_mandate_view.xml 2013-11-20 23:27:56 +0000
4990@@ -0,0 +1,147 @@
4991+<?xml version="1.0" encoding="utf-8"?>
4992+<!--
4993+ Copyright (C) 2013 Akretion (http://www.akretion.com)
4994+ @author: Alexis de Lattre <alexis.delattre@akretion.com>
4995+ The licence is in the file __openerp__.py
4996+-->
4997+<openerp>
4998+<data>
4999+
5000+<record id="sdd_mandate_form" model="ir.ui.view">
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to status/vote changes: