1
Setup SEPA Direct Debit in AX 2012 R2 File format Netherlands (due to the missing Format for Germany) To receive the SEPA Direct Debit functionality KB2786631, KB2851350 have to implement first!!! Further information: http://technet.microsoft.com/en-us/library/jj571733.aspx http://msdn.microsoft.com/en-us/library/hh446522.aspx Repro Steps in CEE (Contoso Germany)
1. Export the xml stylesheet for the payment format from AOT:
Create the folder, that you want to export the XLST tile to. The folder might be named Desktop\AX_SEPA
Open AOT by clicking CTRL+D
Expand the resources node, select ‘CustPayments_SEPADirectDebit_02_.xslt
Right click and open
Click Export and save the file to e.g. Desktop/AX_SEPA
2
2. Setup a batch job System administration/Inquries/Batch jobs/Batch jobs
- Ctrl+N and create a new batch job - Enter a Job description= Generate SEPA Payments and save the batch job - Click ‘View task’ and create the following tasks
a) Task description: 1
Company accounts: CEE Class name: AIFGatewaySendService
b) Task description: 2 Company accounts: CEE Class name: AIFOutboundProcessingService
Close the Batch task form
- In the Batch job form select the previous created Batch job and click Recurrence - Enter Recurring pattern
Select for examples Minutes/Count: 1
OK
- Back to the Batch job form go to Functions/Change status Select: Waiting
3
3. Setup Outbound ports for electronic payments System administration/Setup/Services and Application Integration Framework/ Electronic payment services
Open up the form ‘Outbound ports for electronic payments`
Select SEPADirectDebit
Specify the location of the XLST file ‘SEPACust.xsl’ and the location for the Outbound folder
Create ports An outbound port will be created
Select payment format SEPADirectDebit and click ‚Payment processing data‘
- Enter Format information: Strd or Ustrd
- Enter a Country: NL ( or the country the SEPA format is needed)
- Enter Issuer: CUR for NL
4. Add a Truncate to the Outbound port
AOT -> Resources> VendPayments_SEPATruncateTagsAndBOM_xslt
Right click and open it:
4
Export it to a folder of your preference e.g. Desktop/AX_SEPA
Go to System administration/Setup/Services and Application Integration Framework/
Outbound ports
- Select the one for SEPADirectDebit and enable check Transform all responses and
click button Outbound transforms (on FastTab Processing options).
- On the new form, click on button Manage transforms.
- Click on button New and give it a name (in my example I called it
TruncateSEPA_2). Click on button Load and select the file you exported in step
2,3 ( SEPATruncateTags.xsl ). You will have a form like this:
5
5. Setup the bank account for CEE
Cash and bank management/Bank accounts
Select EURBANK and double click to open it. Click Edit
- FastTab General:
Routing number: 61150020
Bank account number: 791711
- FastTab Additional identification
SWIFT code: ESSLDE66XXX
IBAN: DE40611500200000791711
Direct debit ID: Enter an Identifier of the bank (791711)
6. Setup SEPA Direct debit mandates
a) Setup Number sequences
Organization administration/Common/Number sequences/Number sequences
Ctrl+N to create a new number sequence
Number sequence code: SEPA
- FastTab Scope parameters:
Scope: Company
Company: CEE
- FastTab Segments:
Create segments
6
- FastTab General:
Manual: Cleared
Continuous: Selected
Smales: 1
b) Accounts receivable/Setup/Accounts receivable parameters
Area: Direct debit
Enter all required days
Enter Month between usage and expiration
7
Area: Number sequences
Select Reference= Direct debit mandate ID and select a number sequence code
(e.g. SEPA)
c) Method of payment for direct debit mandates
Accounts receivable/Setup/Payment/Method of payment
Ctrl+N to create a new method e.g SEPA DD
Period: Invoice
- FastTab General
Payment type: Electronic payment
Require mandate: YES
8
7. Setup customer record with direct debit mandate information
Accounts receivable/Common/Customers/all Customers
Select Customer: 1102 and click Edit
- FastTab Direct debit mandates
Click Add
Mandate ID: assigned automatically
Bank account: right click/view details
Tab Address: enter an Italian address
Tab General:
o Routing number: 0623033100
o Bank account number: 000047114493
o CIN: G
o SWIFT code: CRPPIT2P337
o IBAN: IT86G0623033100000047114493
Mandate scheme: Core
Payment frequency: Recurring
Timing: should be entered automatically
Signature date: 10.06.2013
Expected number of payments: 100
Usage count: This is 0 for new mandates and will update automatically with each
Invoice payment
9
OK
Default mandate ID: should be entered automatically otherwise select the default
mandate
8. Create a free text invoice for direct debit mandate customer
Accounts receivable/Common/Free text invoices/All free text invoices
Ctrl+N
Customer account: 1102
- Line view/Invoice lines
Main account: 4026
10
Sales tax code: AR-EU/Item sales tax group: Full
Unit price: 500,00
Amount: 500,00
- Go to Header view
o FastTab Payment:
Method of payment: SEPA DD (previous created one with has
parameter Require mandate activated)
Direct debit mandate ID: Select the mandate reference
Post/Post
The invoice includes a SEPA Notification letter
11
9. Create a payment
Accounts receivable/Journals/Payments/Payment journal
Ctrl+N
Click Lines
- Date: Today
- Account: 1102
- Offset account type: Bank
- Offset account: EURBANK
- Method of payment: SEPA DD
12
Go to Functions/Settlement
Mark the previous created invoice
Close the Settle open transaction form
Go to Functions/Generate payments
- Mark “Export payment using Service”
- Payment format = SEPADirectDebit
- Bank account = EURBANK
- Mark “Show format dialog”
13
OK
The Payment processing data form opens
- Format: Ustrd
- Country: NL
- Issuer: CUR
- Control report: YES
Click Ok
Payment status in payment journal changed to „Sent“
Result:
Following file arrived in the SEPA folder
14
Opened with Notepad