BeyondERP.Newsletter
Menu

Setup page · Accounts receivable

Billing codes

A public sector setup page for billing codes, which hold default billing values and rates for a defined type of service or charge.

Used by
Accounts receivable clerk, Accounts receivable manager, Auditor and 7 more roles
Business process
Generate invoices for government services in Dynamics 365 Finance
Menu item
CustBillingCode
Main table
CustBillingCode
Setup steps
1 on this page
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 public sector setup page for billing codes, which hold default billing values and rates for a defined type of service or charge.
What you do hereUse it to define billing codes whose values (description, dates, sales tax, interest, accounting distribution, rates, custom fields) fill in free text invoice lines automatically.
ExampleA waste management department uses a New container billing code so that the container charge details are entered automatically when it invoices customers for new containers.
Billing codes 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 Billing codes1 screen

Set up the optional billing codes used for charges on free text invoice lines.

  1. Screen 1

    Create the billing code

    Go to Accounts receivable > Setup > Billing codes

    1. Select New and enter the billing code, description and effective date
    2. On the Accounting distribution FastTab, set Allow ledger account changes to Yes
    3. Select Add and enter the percent and ledger account
    1Billing codeBEAT-SVC
    DescriptionService billing
    Effective10/7/2026
    ExpirationNever
    Allow ledger account changesYes
    Percent100.00
    Ledger account410100
    Create the billing code (zoomed on the outlined fields)
    Show the full screenCreate the billing code
    page title tab to open what to set or check

How to use it

  1. Go to Accounts receivable > Setup > Billing codes.
  2. Select New to add a billing code, or select a code in the list and select Edit.
  3. Fill in the Billing code, Description, Effective and Expiration fields.
  4. In the Taxes and interest section, set the Item sales tax group and the Interest code.
  5. In the Accounting distribution section, select Add, then enter a Percent and a Ledger account.
  6. Use New version, Delete, Activate or As of date in the Action Pane when you need them.

Source: Checked in Dynamics 365

Fields on the page

FieldWhat it meansExampleTable column
Billing codeThe code, up to 10 letters or numbers.Microsoft Learn SERVICEBillingCode
DescriptionUp to 60 characters; it prints on the invoice.Microsoft Learn Service billingDescription
Effective dateWhen this version of the billing code starts to apply; rate changes are handled with new versions.Microsoft Learn
Effective10/7/2026ValidFrom
ExpirationNeverValidTo
Allow ledger account changesYesAllowChangeLedgerAccount
Percent100.00Percentage
Ledger account410100LedgerDimension

Test checklist

  1. Create a billing code with a rate and an effective date in the past.
  2. Add a second version with a higher rate and an effective date of tomorrow.
  3. Create a free text invoice today, select the billing code and check that the current rate fills in.
  4. Create one with an invoice date after tomorrow and check that the new rate fills in.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Billing codesWhen rates change, add a new version of the existing billing code with its own effective and expiration dates instead of creating a new code.The system starts using the new version automatically on its effective date, so invoice users keep picking the same code.Trying to share one billing code across departments. A billing code can be assigned to only one billing classification, so create identical codes, one per classification.
Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Billing code values are defaults copied onto free text invoice lines when the code is selected. New versions with their own dates replace the rates going forward; invoices already created keep their values. Microsoft Learn
If you change it laterWhen rates change, add a new version of the billing code with its own effective and expiration dates; the new version is used automatically from its effective date. Microsoft Learn
Technical architect

6Technical

Menu itemCustBillingCode Checked in Dynamics 365
FormCustBillingCode Checked in Dynamics 365
TableCustBillingCodeShown as “Billing code” in Record infoKey field: RecIdChecked in Dynamics 365
Who can open itPrivilegesMaintain billing codes in setup CustBillingCodeMaintainView billing codes in setup CustBillingCodeViewDutiesInquire into invoice and cash policies CustInvoiceInvoiceAndCashPoliciesInquirEnable invoice and cash process CustInvoiceInvoiceAndCashProcessEnableInquire into invoice and cash policies RentalCustInvInvoiceAndCashPolInquirEnable invoice and cash process RentalCustInvoiceInvAndCashProcEnable
10 security rolesAuditor AuditPolicyManagerCollections manager CollectionLetterCollectionsManagerAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable manager CustInvoiceAccountsReceivableManagerAccounting manager LedgerAccountingManagerAccounting supervisor LedgerAccountingSupervisorAccounts receivable centralized payments clerk PaymAccountsReceivableCentralPaymClerkAccounts receivable payments clerk PaymAccountsReceivablePaymentsClerkRental coordinator agent RentalCoordinatorAgentRental manager RentalManager
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRental manager RentalManagerAccounts receivable manager CustInvoiceAccountsReceivableManagerRental coordinator agent RentalCoordinatorAgentCollections manager CollectionLetterCollectionsManagerAccounting supervisor LedgerAccountingSupervisorTo use itAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable payments clerk PaymAccountsReceivablePaymentsClerkAccounts receivable centralized payments clerk PaymAccountsReceivableCentralPaymClerkAuditor AuditPolicyManagerGive people one of these roles. On this system, 10 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=CustBillingCode
Table definitionCustBillingCode columns and relations Microsoft data model
Everyone

8Sources