Trends

SB512 – Periodic Tasks in Recurring Contract Billing: Description, Use Case & Best Practices

🌐 Introduction

Welcome to SB512 in our Subscription Billing blog series!

After exploring monitoring tools in SB511, we now shift focus to automation. D365 provides several powerful periodic tasks (batch jobs) to help billing teams manage invoicing, pricing updates, renewals, and usage entries across hundreds or thousands of subscription contracts—with just a few clicks.

This article breaks down each periodic task under:

📍 Subscription Billing > Recurring Contract Billing > Periodic Tasks

Each task is explained in table format, including:

  • What it does
  • When to use it
  • Best practices for automation or cleanup

🛠️ SB512 – Periodic Tasks Table

Task NameDescriptionUse CaseBest Practice
Generate InvoiceCreates invoices (Sales Orders or Free Text) based on billing schedule dataRun monthly to generate CRM license, support fees, or usage billingAutomate as a scheduled job; filter by date and billing group
Generate Price UpdateApplies CPI escalation or updated pricing to future billing linesIncrease CRM renewal (SBX-RNW-ANN1) by 5% annuallyRun annually in January or based on CPI effective date
Hold Billing SchedulesPuts selected billing schedules on hold (e.g., credit issues, review)Pause subscription invoicing for customers under reviewUse hold reason codes for audit visibility
Terminate Billing SchedulesBulk terminates contracts based on filters (customer, item, end date)End old contracts or clean up inactive subscriptionsUse with termination reason codes and preview changes first
Stub Billing SchedulesCreates shortened versions of contracts (partial billing cycle setup)Mid-month go-lives or partial-period onboardingEnsure proration settings are enabled in parameters
Update Completion DateAdjusts completion date for milestone-based billing linesManually trigger milestone billing for SBX-MILET-01Use audit reason codes to track why milestone was completed
Update Billing Start DateAdjusts contract start date without recreating billing linesPush back go-live for late-onboarding customersAlways preview before applying; confirm alignment with usage start
Update Billing Line DatesMass updates start/end dates on linesAdjust all CRM licenses to match fiscal year startUse filters to target specific billing group or item
Update Item ReferenceSwap item numbers in billing lines (e.g., upgraded product version)Change from SBX-CRM-M01 to a new CRM SKU without recreating the contractMaintain clean audit trail for product changes
Update Sales Order Posting OptionControls if generated sales orders are auto-posted or manually reviewedSet CRM onboarding fees (SBX-IMP-ONE) to post manuallyBatch-enable or disable posting based on user workflow preferences
Validate Billing Schedule LinesRuns a check for missing or invalid data across billing linesQA for CPI escalation, proration errors, billing method issuesRun before invoice generation as a pre-check
Mass Generate Usage LinesAutomatically populates usage for consumption-based itemsGenerate placeholder usage for API metering (SBX-CONS-API01)Use when integrating usage from an external system or when default estimates apply
Mass Generate Milestone LinesTriggers milestone billing lines based on setupProgress-based revenue recognition for onboarding projectsReview milestone template logic before running

✅ Summary

Periodic tasks in D365 Subscription Billing allow billing teams to move from manual to scalable operations—automating repetitive tasks, standardising contract changes, and controlling when and how billing actions are applied.

CategoryKey Tasks
InvoicingGenerate Invoice, Post Sales Order
Contract LifecycleHold, Terminate, Stub, Update Start/End Dates
MilestonesUpdate Completion Date, Mass Generate Milestone Lines
Usage BillingMass Generate Usage Lines, Validate Usage Entry
Price AdjustmentsGenerate Price Update (CPI/Uplift), Update Item Reference
QA & AuditingValidate Billing Schedule Lines, Reason Codes for Termination or Milestones

🔜 Coming Up Next: SB513 – Introduction to Revenue & Expense Deferrals in D365 Subscription Billing

Now that we’ve completed the Recurring Billing lifecycle—from setup to invoicing and automation—we’re ready to enter the next functional area: Revenue & Expense Deferrals.

In SB513, we’ll introduce:

  • What revenue deferrals are and why they matter
  • The difference between invoicing, revenue, and cash
  • Key concepts like deferral schedules and recognition logic
  • Real CRM SaaS examples using SBX-RNW-ANN1 and SBX-MILET-01
  • How D365 helps you stay compliant with IFRS 15 and ASC 606

This article sets the foundation for all upcoming deferral configuration and processing posts.

Expand Your Knowledge: See More Subscription Billing Blogs

Share this content:

I am Yogeshkumar Patel, a Microsoft Certified Solution Architect and ERP Systems Manager with expertise in Dynamics 365 Finance & Supply Chain, Power Platform, AI, and Azure solutions. With over six years of experience, I have successfully led enterprise-level ERP implementations, AI-driven automation projects, and cloud migrations to optimise business operations. Holding a Master’s degree from the University of Bedfordshire, I specialise in integrating AI with business processes, streamlining supply chains, and enhancing decision-making with Power BI and automation workflows. Passionate about knowledge sharing and innovation, I created AI-Powered365 to provide practical insights and solutions for businesses and professionals navigating digital transformation. 📩 Let’s Connect: LinkedIn | Email 🚀

Post Comment

Table of Content