Accounts payable clerk, Accounts payable manager, Chief financial officer and 6 more roles
Business process
Manage payment transfers in Dynamics 365 Finance
Menu item
VendPaymReconciliation
Main table
LedgerJournalTrans
Data entity
CustomerPaymentJournalLineEntity
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Rejected payment shows its reason”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
The Accounts payable list of vendor payments sent to the bank, where bank return files are imported so that each payment's status shows what the bank did with it.
What you do here
Use this page to import the bank return file for vendor payments by selecting Return file - vendor, so that the payment status is updated.
Example
For example, BEAT sends a pain.001 file with 25 vendor payments; the bank's pain.002 return rejects one with code AC04 (closed account), so after the import that payment shows Rejected and the other 24 show Accepted.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Setup steps on this page
Import bank return files for vendor payments
Update vendor payment status from the bank's return messages.
Steps from Microsoft
Go to Accounts payable > Payments > Payment transfers.
Select Return file - vendor.
Select the method of payment that has the return format set up for the bank, and select OK.
Select the file format to import, for example pain.002 or camt.054, and select OK.
For camt.054, enter the Fee ID, the New journal name and whether to settle transactions; then enter the file path and select OK.
Review the payments and their updated status on the Payment transfers page.
The payment status, updated from the bank's return file.Microsoft Learn
Fee ID
Creates payment fee lines when the bank file includes charges.Microsoft Learn
New journal name
The journal that processed transactions move to; new voucher numbers are given there.Microsoft Learn
Settle transactions
Settles imported vendor payments with matching invoices already in the system.Microsoft Learn
Common errors and fixes
Message
What to do
The import doesn't change the payment status
The method of payment needs the pain.002 ER configuration selected as its return format and the generic electronic return format turned on, and Return format status mapping must map the bank's statuses. Check all three and import again. Microsoft Learn
Test checklist
Map RJCT, ACCP and ACSP on Return format status mapping and add the AC codes on Return format error codes.
Generate an ISO 20022 credit transfer for two vendor payments.
Import a pain.002 return file that accepts one payment and rejects the other.
Check that one payment shows Accepted and the other Rejected with its error code.
Import every pain.002 status return and camt.054 debit advice from the bank through Return file - vendor, with status mapping and error codes set up first.Rejected payments are then visible with their reason, so they can be corrected and sent again before the vendor chases the money.
Hard to reverse: Imported statuses come from the bank; payments moved and posted need a payment reversal.
If you change it later
Importing a pain.002 file updates the status of the payment lines. Importing a camt.054 debit advice can create payment fee lines and move processed payments into a new journal, and settle them when Settle transactions is Yes. Microsoft Learn
Technical architect
6Technical
Menu item
VendPaymReconciliationChecked in Dynamics 365
Form
CustVendPaymReconciliationChecked in Dynamics 365
Table
LedgerJournalTransShown as “Journal lines” in Record infoChecked in Dynamics 365
DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itAccounts payable payments clerk PaymAccountsPayablePaymentsClerkTo use itAccounts payable manager VendInvoiceAccountsPayableManagerAccounting supervisor LedgerAccountingSupervisorAccounting manager LedgerAccountingManagerAccounts payable clerk VendInvoiceAccountsPayableClerkChief financial officer CompanyChiefFinancialOfficerGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Actions on the page
Buttons: Return file - vendor, PostChecked in Dynamics 365
VendorPaymentJournalLineEntity Vendor payment lines; the transfer status is set by the bank return import, not loaded.Load order: Payment transfers come from payments generated in the new system and the bank's return files, so there is nothing to load at go-live.Load first: VendorPaymentJournalHeaderEntityMicrosoft Learn