Accounts payable manager, Rental coordinator agent, Rental manager and 4 more roles
Business process
Perform invoice matching in Dynamics 365 Finance
Menu item
MarkupTable_Vend
Main table
MarkupTable
Data entity
PurchProcurementChargeEntity
Setup steps
2 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, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
2 ready-to-run tests to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it9 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A setup page where you define the charges codes, such as freight or insurance, that are added to purchase orders and how each charge posts.
What you do here
Use this page to define each purchase charge, its optional maximum amount for invoice validation, and whether it posts to a ledger account, the vendor or the item cost.
Example
For example, BEAT sets up FREIGHT with Debit Type Ledger account 610100 and Credit Type Customer/Vendor, so 85.00 USD of freight on a purchase order is added to the vendor balance and posted to freight expense when the invoice posts.
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.
Step by step, with screenshots
Set up Charges code1 screen
Set up the codes for the charges, such as freight or fees, that are used on purchase orders.
Screen 1
Create the freight charges code
Go to Accounts payable > Charges setup > Charges code, Posting section
Select New and enter the charges code and description
In the Posting section, set the debit and credit types
Turn on Compare purchase order and invoice values
1Charges code
BEAT-FRT
Description
Freight
Maximum amount
0.00
Debit Type
Ledger account
Debit Posting
Purchase, charge
Debit Account
610100
Credit Type
Customer/Vendor
Compare purchase order and invoice values
Yes
Show the full screen page title tab to open what to set or check
Decide how purchase charges post
Set up the purchase charges codes so freight, fees and similar costs post where finance expects them.
Steps from Microsoft
Go to Procurement and sourcing > Setup > Charges > Charges code.
Select New, and enter the Charges code and a Description.
Optionally, select an Item sales tax group and enter a Maximum amount for invoice validation.
On the Posting FastTab, set the Debit and Credit Type, Posting and Account for the charge.
Select Save, then use the code in Automatic charges or in Maintain charges on a purchase order.
On the Posting FastTab, the type of account that the charge is debited to (ledger, customer/vendor or item); Item adds the charge to the inventory cost.Microsoft Learn
Ledger account
CustType
Debit Account
The main account that the charge is debited to when Debit Type is Ledger account.Microsoft Learn
610100
CustomerLedgerDimension
Credit Type
On the Posting FastTab, the type of account that the charge is credited to; Customer/Vendor adds the charge to the vendor balance.Microsoft Learn
Customer/Vendor
VendType
Common errors and fixes
Message
What to do
A purchase order with an Item-type charge can't be confirmed.
Charges that are accounted as product cost (Debit Type Item) must be allocated from the order header to the lines before the order is confirmed. Select Allocate charges on the purchase order. Microsoft Learn
Test checklist
Create a charges code with Debit Type Ledger account and Credit Type set, and a Maximum amount.
Turn on Compare purchase order and invoice values on the code.
Add the charge to a purchase order, then invoice with a different charge value and check invoice matching flags the difference.
Post the invoice and check the voucher uses the debit and credit accounts from the code.
For a vendor charge recorded as expense: Credit Type Customer/Vendor and Debit Type Ledger account with the expense main accountLearn's example adds the charge to the vendor's account on the credit side and posts the cost to an expense account on the debit side.
Debit Type Ledger account with the expense main account for charges that are expenses; Debit Type Item only for charges that must go into the item costItem-type charges become inventory cost but must be allocated from the header to the lines before the order can be confirmed; ledger charges post straight to the expense account.
On the live system, Purchasing manager, Accounts payable manager, Sales manager, Sales clerk, Rental manager, Rental coordinator agent and Rental sales manager use this page. The same table holds sales charges codes, opened from Accounts receivable.
Reversible: You can change the posting setup at any time; charges already posted keep their vouchers. Microsoft Learn
If you change it later
The posting setup is used when the charge posts, and the Maximum amount is only checked when Enable invoice matching validation is on in Accounts payable parameters. Microsoft Learn
Technical architect
6Technical
Menu item
MarkupTable_VendChecked in Dynamics 365
Form
MarkupTableChecked in Dynamics 365
Table
MarkupTableShown as “Charges code” in Record infoKey field: MarkupCodeChecked in Dynamics 365
DutyEnable purchase order to invoice processPurchOrderToInvoiceProcessEnable
PrivilegeMaintain charges in the purchase processMarkupAutoSetup_VendMaintain
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itPurchasing manager TradePurchasingManagerAccounts payable manager VendInvoiceAccountsPayableManagerRental manager RentalManagerRental coordinator agent RentalCoordinatorAgentRental sales manager RentalSalesManagerTo use itSales manager TradeSalesManagerSales clerk TradeSalesClerkGive people one of these roles. On this system, 7 roles can open this page.Checked in Dynamics 365
Actions on the page
Buttons: Translations, External codesChecked in Dynamics 365
Security administrator · Solution architect
7Advanced Security configuration
Each button below opens a menu item. Start from a standard security role, or from an empty one, and choose what the new role gets for each button: remove it, or an access level. Then create the file that System administration > Security > Security configuration > Data > Import reads. The file holds a copy of the role and copies of only the duties and privileges that change. Everything else stays the standard object.
This demo uses Microsoft's standard roles. To do the same on your own system, with your own roles, use the Chrome extension or the bookmark.
Information technology manager (SysServerITManager) can use 2 of these buttons. You can also give it buttons it does not have.
On your own system, the Advanced Security configuration bookmark does the same with your real roles, including your own: click a button on the live page to see who can use it and what to change.
Built from Microsoft's standard security definitions for version 10.0.49 and the buttons seen on this page in a working system. Add-ons, your own roles and later versions can differ. Beyond ERP is not affiliated with Microsoft. Buttons without a menu item, such as Post, are not listed: security roles cannot change them this way.
PurchProcurementChargeEntity Procurement charge codes: loads the purchase charges on this page, for each company; in Microsoft's default template 120 - Accounts payable.Load order: Load the main accounts and item sales tax groups first, then the procurement charge codes, then the charges groups and automatic charges, before open purchase orders.Load first: Main accounts, Item sales tax groupsChecked in Dynamics 365
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.