Setup page · Accounts payable
Automatic charges
A setup page for auto charges, which are applied automatically when a purchase order is created.
- Used by
- Accounts payable manager, , Rental coordinator agent and 5 more roles
- Business process
- Record supplier invoices in Dynamics 365 Finance
- Menu item
MarkupAutoSetup_Vend- Main table
MarkupAutoTable- Data entity
- —
- Setup steps
- 1 on this page
Show what matters for
Everyone
1What it is and why
| What it is | A setup page for auto charges, which are applied automatically when a purchase order is created. |
|---|---|
| What you do here | Used 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 | You automatically apply a charge to purchase orders when a vendor is located outside a specific vicinity. |

Functional consultant · Solution architect
2Where it fits
| Business process | Manage accounts payable › Process supplier invoices › Record supplier invoices in Dynamics 365 Finance |
|---|---|
| Menu path | Accounts payable › Charges setup › Automatic charges |
| Set up first | Charges code Microsoft Learn ↗Vendor charges group Microsoft Learn ↗Item charge groups Microsoft Learn ↗ |
| Used next by | All purchase orders Microsoft Learn ↗ |
| Related pages | Charges code Microsoft Learn ↗Vendor charges group Microsoft Learn ↗Item charge groups Microsoft Learn ↗ |
End user · Functional consultant
3How to do it
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
1Charge description BEAT synthetic 5 USD freight 2Charges code BEAT-FRT Account code Table Vendor relation BEAT-000001 Item code All Mode of delivery code All Currency USD Category Fixed Charges value 5.00 Charges currency USD Compare purchase order and invoice values Yes 
page title tab to open what to set or check
Microsoft's steps
- 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.
Source: Microsoft Learn ↗
Field guide
| Field | What it means | Worked example | Table column |
|---|---|---|---|
| Level | Whether the charge is added to the order header or to the order lines.Microsoft Learn ↗ | — | — |
| Account code | Whether the charge applies to one vendor, a vendor charges group, or all vendors.Microsoft Learn ↗ | Table | AccountCode |
| Item code | Whether a line charge applies to one item, an item charges group, or all items; only used for line-level charges.Microsoft Learn ↗ | All | ItemCode |
| Category | How the charge is calculated, such as a fixed amount, per unit, or a percentage.Microsoft Learn ↗ | Fixed | — |
| From amount | The order total at which the charge starts to apply, used with To amount for tiered charges.Microsoft Learn ↗ | — | — |
| Vendor relation | — | BEAT-000001 | — |
| Mode of delivery code | — | All | — |
| Charge description | — | BEAT synthetic 5 USD freight | — |
| Currency | — | USD | — |
| Charges code | — | BEAT-FRT | — |
| Charges value | — | 5.00 | — |
| Charges currency | — | USD | — |
| Compare purchase order and invoice values | — | Yes | — |
Functional consultant
4Setup decisions
| Setup step | Recommended value and why | Decision · common mistake · test |
|---|---|---|
| Set up Automatic charges | — | — |
Solution architect
5Design impact
| Shared or per company | Per company: each legal entity has its own records. Microsoft data model ↗ |
|---|---|
| Can it be undone | — |
| Feature or country | — |
| If you change it later | — |
Technical architect
6Technical
| Menu item | MarkupAutoSetup_Vend Checked in Dynamics 365 |
|---|---|
| Form | MarkupAutoSetup Checked in Dynamics 365 |
| Table | MarkupAutoTableShown as “Auto charges transactions” in Record infoChecked in Dynamics 365 |
| Data entities | — |
| Who can open it | PrivilegesMaintain charges in the purchase process MarkupAutoSetup_VendMaintainView charges in the purchase process MarkupAutoSetup_VendViewDutiesInquire into product sales prices and discount master PriceDiscProdSalesPriceDiscMasterInquirEnable purchase order to invoice process PurchOrderToInvoiceProcessEnableEnable quotation to sales order process RentalSalesQuotationToSlsOrdProcessEnable8 security rolesMCRTestUserRoleRental coordinator agent RentalCoordinatorAgentRental manager RentalManagerRental sales manager RentalSalesManagerPurchasing manager TradePurchasingManagerSales clerk TradeSalesClerkSales manager TradeSalesManagerAccounts payable manager VendInvoiceAccountsPayableManager |
| Actions on the page | — |
Developer
7Developer
| Open it directly | https://<your-environment>/?mi=MarkupAutoSetup_Vend |
|---|---|
| Integrate with | — |
| Table definition | MarkupAutoTable columns and relations Microsoft data model ↗ |
Everyone
8Sources and checks
- learn.microsoft.com/training/modules/configure-accounts-payable-dyn365-finance/10-ap-charges
- learn.microsoft.com/dynamics365/finance/accounts-payable/accounts-payable-overview#optional-setup-pages-for-accounts-payable
- learn.microsoft.com/training/modules/configure-accounts-payable-dyn365-finance/10-ap-charges
- learn.microsoft.com/common-data-model/schema/core/operationscommon/tables/supplychain/procurementandsourcing/group/markupautotable
- learn.microsoft.com/dynamics365/finance/accounts-payable/accounts-payable-overview
- 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.
