BeyondERP.Newsletter
Menu

Setup step on the Payment transfers page · Accounts payable

Import bank return files for vendor payments

Update vendor payment status from the bank's return messages.

See how to set it up Back to Accounts payable

Used by
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 isThe 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 hereUse this page to import the bank return file for vendor payments by selecting Return file - vendor, so that the payment status is updated.
ExampleFor 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.
Payment transfers page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

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

  1. Go to Accounts payable > Payments > Payment transfers.
  2. Select Return file - vendor.
  3. Select the method of payment that has the return format set up for the bank, and select OK.
  4. Select the file format to import, for example pain.002 or camt.054, and select OK.
  5. For camt.054, enter the Fee ID, the New journal name and whether to settle transactions; then enter the file path and select OK.
  6. Review the payments and their updated status on the Payment transfers page.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Payments statusThe payment status, updated from the bank's return file.Microsoft Learn
Fee IDCreates payment fee lines when the bank file includes charges.Microsoft Learn
New journal nameThe journal that processed transactions move to; new voucher numbers are given there.Microsoft Learn
Settle transactionsSettles imported vendor payments with matching invoices already in the system.Microsoft Learn

Common errors and fixes

MessageWhat to do
The import doesn't change the payment statusThe 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

  1. Map RJCT, ACCP and ACSP on Return format status mapping and add the AC codes on Return format error codes.
  2. Generate an ISO 20022 credit transfer for two vendor payments.
  3. Import a pain.002 return file that accepts one payment and rejects the other.
  4. Check that one payment shows Accepted and the other Rejected with its error code.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Import bank return files for vendor paymentsImport 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.Which bank return messages should be imported?Importing before Return format status mapping is set up: the payments keep their old status and rejections go unnoticed.Test: Rejected payment shows its reason

Feature management and licence

Licence or add-inIn this system 9 roles can open this page, among them Chief financial officer, Accountant, Accounting manager and Accounting supervisor.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneHard to reverse: Imported statuses come from the bank; payments moved and posted need a payment reversal.
If you change it laterImporting 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 itemVendPaymReconciliation Checked in Dynamics 365
FormCustVendPaymReconciliation Checked in Dynamics 365
TableLedgerJournalTransShown as “Journal lines” in Record infoChecked in Dynamics 365
Data entitiesCustomerPaymentJournalLineEntityCustomer payment journal line Microsoft data model VendorPaymentJournalLineEntityVendor payment journal line Microsoft data model BankJournalLineEntityBank journal line Microsoft data model CustInvoiceJournalLineEntityCustomer invoice journal line Microsoft data model ExpenseJournalLineEntityProject expense journal lines Microsoft data model LedgerReportingCurrencyAdjustmentJournalLineEntityReporting currency adjustment journal line Microsoft data model RAssetJournalLineEntityFixed asset journal lines (Russia) Microsoft data model VendInvoiceJournalLineEntityVendor invoice journal line Microsoft data model VendInvoiceRegisterLineEntityVendor invoice register line Microsoft data model VendInvoiceRegisterLineV2EntityVendor invoice register line V2 Microsoft data model AssetJournalLineEntityFixed asset journal line Microsoft data model LedgerJournalLineCDSEntityCDS Ledger journal line entity Microsoft data model LedgerJournalLineEntityJournal lines Microsoft data model
Who can open it

9 security roles. Select a role to see its duties and privileges.

  • RoleChief financial officerCompanyChiefFinancialOfficer
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleAccountantLedgerAccountant
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleAccounting managerLedgerAccountingManager
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleFinancial controllerLedgerFinancialController
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleAccounts payable centralized payments clerkPaymAccountsPayableCentralPaymClerk
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleAccounts payable payments clerkPaymAccountsPayablePaymentsClerk
    • DutyMaintain vendor paymentsPaymVendorPaymentsMaintain
      • PrivilegeMaintain vendor payment transfer journalsVendPaymReconciliationMaintain
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleAccounts payable clerkVendInvoiceAccountsPayableClerk
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
  • RoleAccounts payable managerVendInvoiceAccountsPayableManager
    • DutyInquire into vendor payment statusPaymVendorPaymentStatusInquire
      • PrivilegeView vendor payment transfer journalsVendPaymReconciliationView
Checked in Dynamics 365
Roles to set it up and use itTo 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 pageButtons: Return file - vendor, PostChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=VendPaymReconciliation
Integrate withCustomerPaymentJournalLineEntity data entity Microsoft data model
Data migrationVendorPaymentJournalLineEntity 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
Table definitionLedgerJournalTrans columns and relations Microsoft data model
Everyone

8Sources

To cite this step: AP-PAYJ-030, Import bank return files for vendor payments. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/AP-PAYJ-030