The Accounts payable list of charges codes: each code for an amount added to purchase orders and vendor invoices besides the item lines, such as freight or insurance, with its debit and credit posting.
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
None for this page's own settings
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, 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
A ready-to-run test, “Freight charge posts to expense”, 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
The Accounts payable list of charges codes: each code for an amount added to purchase orders and vendor invoices besides the item lines, such as freight or insurance, with its debit and credit posting.
What you do here
Use this page to define each charge, its optional maximum amount for invoice validation, and how it is debited and credited when posted.
Example
For example, BEAT sets up the code FREIGHT with Debit type Ledger account on expense account 605100 and Credit type Customer/Vendor, a maximum amount of 500.00 and Compare purchase order and invoice values on, so freight is expensed, capped and matched.
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
Steps from Microsoft
Go to Accounts payable > Charges setup > Charges code.
Select New.
In the Charges code field, enter a code for the charge, and add a description.
Optionally, select an Item sales tax group and enter a Maximum amount for the charge.
On the Posting FastTab, set how the charge is debited and credited, including the posting types and main accounts for ledger postings.
To compare the charge on invoices with the purchase order, turn on Compare purchase order and invoice values.
The type of account the debit side of the charge posts to, such as Ledger account or Item.Microsoft Learn
Ledger account
CustType
Debit Account
The main account the debit side of the charge posts to.Microsoft Learn
610100
CustomerLedgerDimension
Credit Type
Where the credit side of the charge posts. Customer/Vendor adds the charge to the vendor's account.Microsoft Learn
Customer/Vendor
VendType
Common errors and fixes
Message
What to do
The Maximum amount on the charges code isn't enforced
Charges are only validated when Enable invoice matching validation is on in Accounts payable parameters and a policy rule type based on charges exists in the vendor invoice policy. Microsoft Learn
A charge isn't compared with the purchase order
Charges matching runs only for codes with Compare purchase order and invoice values selected, and when Match charges is on in Accounts payable parameters. Microsoft Learn
Test checklist
Create a Freight code with Debit Ledger account (expense) and Credit Customer/Vendor.
Add the charge to a purchase order and post the invoice.
Check the voucher debits the expense account and increases the vendor balance.
Set a Maximum amount, turn on invoice matching validation and a charges policy rule, then check an invoice above it is flagged.
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.
Reversible: Charges codes can be edited at any time; charges already posted keep the accounts they used. Microsoft Learn
If you change it later
The posting setup is read when a charge is posted, so a change affects charges posted afterwards; every automatic charge that uses the code picks up the change. 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
Data entities
PurchProcurementChargeEntityProcurement charge codes (The procurement charges codes (MarkupTable records of the vendor module).) Microsoft data model
Who can open it
8 security roles. Select a role to see its duties and privileges.
RoleMCRTestUserRole no duty on this page is assigned to this role directly
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 itAccounts payable manager VendInvoiceAccountsPayableManagerRental manager RentalManagerPurchasing manager TradePurchasingManagerRental 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.
Developer
8Developer
Open it by URL
https://<your-environment>/?mi=MarkupTable_Vend
Data migration
PurchProcurementChargeEntity Procurement charges codes with their posting.Load order: Load main accounts and item sales tax groups first, then the charges codes, before automatic charges and charges tolerances.Load first: MainAccountEntityMicrosoft Learn
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.