BeyondERP.Newsletter
Menu

Setup page · Accounts receivable

Period charge rule

A setup page for period charge rules, which charge customers when the orders invoiced to them over a period fail to meet set criteria.

Read the guide Back to Accounts receivable

Used by
Accounts receivable clerk, Accounts receivable manager, Credit management clerk and 15 more roles
Business process
Define freight and other charges for orders in Dynamics 365 Supply Chain Management
Menu item
MarkupPeriodChargeRule
Main table
MarkupPeriodChargeRule
Data entity
MarkupPeriodChargeRuleCustomerEntity
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, “Quantity threshold charge”, 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 isA setup page for period charge rules, which charge customers when the orders invoiced to them over a period fail to meet set criteria.
What you do hereUse it to define rules for a customer or all customers, sites and warehouses, with monetary or quantity thresholds and charge amounts; the Calculate period charge job then creates free text invoice lines for shortfalls.
ExampleA rule sets a 100 USD freight charge threshold; a customer who was charged only 45 USD of freight over the period receives a free text invoice line for the 55 USD shortfall.
Period charge rule 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.

Step by step, with screenshots

Set up Period charge rule1 screen

Defines rules that identify customers whose invoiced orders over a period fell short of a minimum amount or quantity so that a free text invoice charge can be generated for the shortfall.

  1. Screen 1

    Create the period charge rule

    Go to Accounts receivable > Charges setup > Period charge rule

    1. Select New and fill in the rule header
    2. On the Lines FastTab, select Add
    3. Add a Monetary threshold line with the charge code and revenue account
    1NameBEAT-PERIOD
    DescriptionMonthly period charge
    From invoice date10/7/2026
    To invoice date12/31/2026
    Account codeTable
    Account relationBEAT-000001
    SiteBEAT
    WarehouseBEAT
    TypeMonetary threshold
    Monetary threshold100.00
    CurrencyUSD
    Charge codeBEAT-FRT
    Revenue account410100
    Create the period charge rule (zoomed on the outlined fields)
    Show the full screenCreate the period charge rule
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Accounts receivable > Charges setup > Period charge rule.
  2. Select New, or select a rule and then Edit.
  3. Enter a Name, a Description, and the From invoice date and To invoice date.
  4. In the Account code field, select Table or All, and for Table select the customer in Account relation.
  5. Optionally, select a Site and a Warehouse.
  6. On the Lines FastTab, add a line and select its Type: Monetary threshold, Quantity threshold or Quantity threshold minimum amount.
  7. Enter the thresholds, currency or unit, Charge code, Charge amount and Revenue account the line needs.
  8. On the Line details FastTab, enter a description for the free text invoice line.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
From invoice dateThe first date the rule is valid.Microsoft Learn 10/7/2026ValidFrom
To invoice dateThe last date the rule is valid.Microsoft Learn 12/31/2026ValidTo
Account codeWhether the rule applies to one customer (Table) or all customers (All).Microsoft Learn TableAccountCode
SiteThe site the rule applies to; blank for all sites.Microsoft Learn MAINInventSiteId
WarehouseThe warehouse the rule applies to; blank for all warehouses.Microsoft Learn WH01InventLocationId
TypeThe kind of charge the rule line creates: based on money, on quantity, or on both.Microsoft Learn Monetary thresholdRuleLineType
Monetary thresholdIf qualifying charges in the period total less than this, the customer is charged the shortfall.Microsoft Learn 100.00MonetaryThreshold
Quantity thresholdIf the quantity ordered in the period is below this, the customer is charged the charge amount.Microsoft Learn QuantityThreshold
Charge codeThe type of charge the rule line applies to, such as freight.Microsoft Learn FREIGHTChargeCode
Charge amountThe fixed fee charged when a quantity threshold isn't met.Microsoft Learn ChargeAmount
Revenue accountThe revenue account on the free text invoice line the rule creates.Microsoft Learn 410100DefaultRevenueAccount
NameThe name of the period charge rule.Microsoft Learn MONTHLYRuleName
DescriptionA short text that describes the period charge rule.Microsoft Learn Monthly period charge
Account relationThe customer the rule applies to when Account code is Table; it is empty for All.Microsoft Learn BEAT-000001AccountRelation
CurrencyThe currency of the rule line. It is also a selection criterion, so only charges on invoice lines in this currency are counted.Microsoft Learn USDCurrencyCode

Common errors and fixes

MessageWhat to do
The Calculate period charge job creates no free text invoice lineThe job only charges customers whose invoices in the period fall short of the line's threshold, and only counts invoice lines in the line's currency and charge code. Check the dates, currency and charge code of the rule line. Microsoft Learn

Test checklist

  1. Create a rule for All customers with a Monetary threshold line of 100 for the freight charge code.
  2. Post invoices for one customer with total freight of 45 within the period.
  3. Run Calculate period charge for the period.
  4. Check a free text invoice line of 55 is created and Line invoice base shows the rule line and source invoices.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Period charge ruleRules for a customer (Table) or All with From invoice date and To invoice date, used with the recommended calculation parameters: Quantity threshold source Invoice lines, Site and warehouse source Invoice line, Required charge code match Yes.Learn recommends these parameter values unless specific business requirements demand otherwise; they make rules evaluate invoiced quantities and invoice-line sites and warehouses.Should period charges be set up per customer or for all customers?Setting the rule line Currency differently from the invoice currency. Currency is also a selection criterion, so only charges on invoice lines in that currency are counted and the shortfall is calculated wrongly.Test: Quantity threshold charge

Feature management and licence

Feature to turn onPeriod charges (Mandatory, on by default)
Licence or add-inIn this system 19 roles can open this page, among them Credit management clerk, Accounts receivable clerk, Accounts receivable manager and Accounts receivable centralized payments clerk.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: period charge rules are set up in each legal entity and the Calculate period charge job runs for the current company. Microsoft Learn
Can it be undoneReversible: Rules are only used by the Calculate period charge job. Changing a rule affects later runs; free text invoices already created by a run aren't changed. Microsoft Learn
If you change it laterRules are read only when Calculate period charge runs. A change affects the next run; free text invoices already created stay as they are. Microsoft Learn
Technical architect

6Technical

Menu itemMarkupPeriodChargeRule Checked in Dynamics 365
FormMarkupPeriodChargeRule Checked in Dynamics 365
TableMarkupPeriodChargeRuleShown as “Period charge rule” in Record infoKey field: RuleNameChecked in Dynamics 365
Data entitiesMarkupPeriodChargeRuleCustomerEntityPeriod charge rule Checked in Dynamics 365MarkupPeriodChargeRuleLineCustomerEntityPeriod charge rule line Checked in Dynamics 365
Who can open it

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

  • RoleCredit management clerkCredManClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleAccounts receivable clerkCustInvoiceAccountsReceivableClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain period charge rulesMarkupPeriodChargeRuleCustomerMaintain
  • RoleMCRTestUserRole no duty on this page is assigned to this role directly
  • RoleAccounts receivable centralized payments clerkPaymAccountsReceivableCentralPaymClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleAccounts receivable payments clerkPaymAccountsReceivablePaymentsClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleProject managerProjProjectManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleRental clerkRentalClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleRental coordinator agentRentalCoordinatorAgent
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleRental managerRentalManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleRental representativeRentalRepresentative
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleProduction plannerReqProductionPlanner
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleRetail serviceRetailService
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain period charge rulesMarkupPeriodChargeRuleCustomerMaintain
  • RoleRetail store managerRetailStoreManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleCustomer service representativeTradeCustomerServiceRepresentative
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleSales clerkTradeSalesClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
  • RoleSales managerTradeSalesManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain period charge rulesMarkupPeriodChargeRuleCustomerMaintain
  • RoleSales representativeTradeSalesRepresentative
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView period charge rulesMarkupPeriodChargeRuleCustomerView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccounts receivable manager CustInvoiceAccountsReceivableManagerSales manager TradeSalesManagerRetail service RetailServiceTo use itAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable payments clerk PaymAccountsReceivablePaymentsClerkAccounts receivable centralized payments clerk PaymAccountsReceivableCentralPaymClerkRental manager RentalManagerRental coordinator agent RentalCoordinatorAgentGive people one of these roles. On this system, 18 roles can open this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=MarkupPeriodChargeRule
Integrate withMarkupPeriodChargeRuleCustomerEntity data entity Checked in Dynamics 365
Data migrationMarkupPeriodChargeRuleCustomerEntity The rule headers.MarkupPeriodChargeRuleLineCustomerEntity The rule lines with thresholds and charges.Load order: Load charges codes first, then the period charge rules and then their lines.Load first: SalesChargeEntityMicrosoft Learn
Everyone

8Sources