The Accounts payable list of automatic charges: header or line charges added when a purchase order is created, for one vendor, a vendor charges group or all vendors, and on lines for one item, an item charges group or all items.
Accounts payable manager, Rental coordinator agent, Rental manager and 4 more roles
Business process
Record supplier invoices in Dynamics 365 Finance
Menu item
MarkupAutoSetup_Vend
Main table
MarkupAutoTable
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, “Tiered header charge is added”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
The Accounts payable list of automatic charges: header or line charges added when a purchase order is created, for one vendor, a vendor charges group or all vendors, and on lines for one item, an item charges group or all items.
What you do here
Use this page to define header or line charges for specific vendors, items, groups or all, with the charges code, category and value, optionally tiered by order amount.
Example
For example, BEAT adds a header charge of 50.00 USD to orders from vendors in the group OVERSEAS when the order total is 0 to 1,000.00, and none above, so small overseas orders carry their freight.
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 Automatic charges1 screen
Define the charges that are assigned automatically to purchase orders.
Screen 1
Create the automatic charge for the vendor
Go to Accounts payable > Charges setup > Automatic charges
Select New and set the account code and vendor relation
Enter the charge description in the General section
On the Lines section, select Add and fill in the charge line
2Charges code
BEAT-FRT
Account code
Table
Vendor relation
BEAT-000001
Item code
All
Mode of delivery code
All
Charge description
5 USD freight
Currency
USD
Category
Fixed
Charges value
5.00
Charges currency
USD
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 > Automatic charges.
Select New.
In the Level field, choose whether the charge applies to the order header or to order lines.
In the Account code and Vendor relation fields, choose one vendor, a vendor charges group, or all vendors.
For line-level charges, use the Item code and Item relation fields to choose one item, an item charges group, or all items.
On the Lines FastTab, select the Currency and the Charges code.
Choose how the charge is calculated in the Category field and enter the Charges value.
Optionally, enter From amount and To amount to apply the charge only to orders in that range.
The value of the charge, as a fixed amount, an amount per unit or a percentage depending on Category.Microsoft Learn
5.00
Value
Charges currency
A different currency for the charge, if it should not use the currency of the line.Microsoft Learn
USD
Compare purchase order and invoice values
Set on the charges code; when on, the charge is compared between the purchase order and the invoice in charges matching.Microsoft Learn
Yes
Common errors and fixes
Message
What to do
A fixed automatic charge is rejected when charges are validated
When charges are validated, a fixed charge value must be less than the Maximum amount of the charges code. Lower the charge or raise the maximum. Microsoft Learn
From amount and To amount can't be entered
Tiered charges by order amount are only possible at the main level and for the Fixed or Percent categories. Microsoft Learn
Test checklist
Create a header auto charge for one vendor: Fixed 50 for order totals 0 to 1,000, and 0 above.
Create a purchase order of 500 and check a 50 charge is added.
Create one of 2,000 and check no charge is added.
Invoice the first order and check the charge posts per the charges code.
Header auto charges with Category Fixed or Percent for order-level charges, tiered by From amount and To amount where the charge depends on order valueTiered charges by order total are only possible at header level with Fixed or Percent, and auto charges are applied when the purchase order is created.
Reversible: Auto charges can be changed at any time; orders already created keep the charges applied to them. Microsoft Learn
If you change it later
Automatic charges are added when a purchase order is created, so a change affects new orders; orders already created keep their charges. Microsoft Learn
Technical architect
6Technical
Menu item
MarkupAutoSetup_VendChecked in Dynamics 365
Form
MarkupAutoSetupChecked in Dynamics 365
Table
MarkupAutoTableShown as “Auto charges transactions” in Record infoChecked in Dynamics 365
Data entities
PurchAutomaticPurchaseDocumentHeaderChargeV2EntityAutomatic purchase document charges V2 (Header-level automatic charges for purchase documents.) PurchAutomaticPurchaseDocumentLineChargeV2EntityAutomatic purchase document line charges V2 (Line-level automatic charges for purchase documents.)
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
PurchAutomaticPurchaseDocumentHeaderChargeV2Entity Header automatic charges for vendors, groups or all vendors.PurchAutomaticPurchaseDocumentLineChargeV2Entity Line automatic charges by item, item charges group or all items.Load order: Load charges codes, vendor charges groups and item charges groups first, then the automatic charges, before you load open purchase orders.Load first: PurchProcurementChargeEntity, VendChargeVendorGroupEntity, InventChargeProductGroupEntityMicrosoft 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.