Documentation Index

Fetch the complete documentation index at: https://docs.abakion.com/llms.txt

Use this file to discover all available pages before exploring further.

Subscription Management

Prev Next

App Overview

Subscription Management is a recurring billing app for Microsoft Dynamics 365 Business Central. It gives sales and finance teams a structured, automated way to manage subscription-based invoicing — creating invoices for recurring products and services on a defined schedule, without manual effort for each billing cycle.

At the heart of the app is the Subscription Order: a blanket sales order of type "Subscription Order" that holds the customer, the billable items, and all the billing rules — start date, invoicing frequency, period length, and optional end date. Every subscription order acts as the standing agreement from which invoices are generated.

Invoice creation is the operational engine. Invoices can be created manually from a single subscription order, or automatically in batch using the Subscription Job Queue — a configurable automation that runs on a schedule, calculates the correct dates from formulas, and creates invoices for all subscriptions that are due. The Invoice Per setting controls whether subscriptions for the same customer are consolidated onto one invoice, kept per order, or split per line.

Supporting both is the Subscription Text Translation feature, which ensures that the description line added to each invoice line is shown in the customer's language — with a global fallback for customers whose language has no specific translation.


Feature Map

Use this table to find the right article for your task.

Feature What it solves Who uses it
Subscription Orders How do I set up recurring billing for a customer? Create and manage subscription agreements with invoicing frequency, period length, partial-period handling, and end dates. Sales Order Processor, Sales Manager, Business Manager
Invoice Creation How do I generate invoices from subscriptions — manually or automatically? Covers both the manual Create Invoices action and the fully automated Job Queue with date formulas and scheduling. Sales Order Processor, Accountant, IT Manager
Subscription Text Translation How do I control what the invoice line description says, and in which language? Configures the description text added to each subscription invoice line, globally and per item, with per-language translations. Business Manager

Common Infrastructure

Several concepts are shared across all three features. Understanding them once makes the individual feature articles easier to follow.

Subscription Orders as the Source of Truth

Everything in Subscription Management flows from the Subscription Order. It is a specialised blanket order that holds the customer, the items, and the complete billing ruleset for each line. Invoice Creation reads from it; Text Translation is applied during invoice creation; nothing in the app runs without at least one correctly configured subscription order.

Number Series

Two number series must be configured before the app can be used: one for Subscription Orders and one for Posted Subscription Invoices. Both are configured in Subscription Setup. The posted subscription number series is also linked to the Sales & Receivables Setup to ensure the correct number series is used when invoices are posted.

Subscription Setup

Subscription Setup is the single configuration page for the app. It controls the number series, the first-period calculation method, partial-period adjustment behaviour, and the default subscription text language. It also provides navigation to the Subscription Text Translation page and the Subscription Job Queue Setup page.

Next Invoicing Date and Period Start Date

Each subscription line carries two key dates that the system maintains automatically: Next Invoicing Date (when the next invoice should be created) and Period Start Date (the start of the next billing period to be invoiced). After each invoice run, both dates are advanced by the invoicing frequency. When Period Start Date reaches or passes the Ending Date, the line is automatically marked Completely Invoiced and excluded from future runs.

Partial Period Handling

When a subscription starts mid-period, the first invoice covers a partial period. The Calc. End First Period setting in Subscription Setup determines how the first period end date is calculated (aligned to end of month, end of current period, or using the actual period length). The Adjust For Odd Subscription Period setting controls whether the adjustment is applied to the invoiced quantity or the unit price.


Typical Workflows

Onboarding a new subscription customer

  1. Open Subscription Setup and confirm that the number series and default text language are configured.
  2. Create a new Subscription Order for the customer.
  3. Add subscription lines with Starting Date, Invoicing Frequency, and optionally Ending Date.
  4. Review the auto-calculated End Date First Period for the first partial period, adjusting if needed.
  5. Run Create Invoices from the order to test that the first invoice is generated correctly.

Monthly automated billing run

  1. The Subscription Job Queue runs automatically according to the configured schedule (typically nightly or on the first of each month).
  2. It calculates the include-up-to date, posting date, and document date from the configured date formulas.
  3. All subscription lines with a Next Invoicing Date within the calculated window are processed and invoices are created.
  4. The Last Run Status and Invoices Created Last Run fields in Job Queue Setup are updated, and the result is logged to the Activity Log.

Handling a fixed-term subscription that expires

  1. Set Ending Date on the subscription line.
  2. Invoice creation will continue to generate invoices until the last period before or on the Ending Date.
  3. The final invoice for a partially-covered period is automatically adjusted (quantity or price) according to the partial-period settings.
  4. Once the last period is invoiced, the line is marked Completely Invoiced and excluded from all future runs without any manual intervention.

Adding a one-time startup fee to a subscription

  1. Add an extra line to the Subscription Order.
  2. Set Single-Use Invoicing Item to true on the line (or configure the item card so it defaults to true).
  3. On the first invoice run, this line is included and billed once.
  4. After the first invoice, the line is automatically marked Completely Invoiced and will not appear on future invoices.

Integration with Other Abakion Apps

App Integration
Document Customizer When installed and enabled, a Default Layout/Template Setup action appears on the Subscription Order. A print layout and template can be assigned per subscription order, so invoices generated from it automatically use the correct report layout.
Master Data Information When installed and enabled, master data fields are automatically transferred from the subscription order header and lines to the generated sales invoice header and lines at the time of invoice creation. A Master Data Information action is also available directly on the Subscription Order.

Setup

The setup stories below cover the minimum required configuration to get Subscription Management operational. Work through them in order the first time you set up the app.


Core Setup

SETUP-01: Configure number series in Subscription Setup

As a Business Manager
I want to assign number series for subscription orders and posted subscription invoices
So that the system can automatically number new subscription orders and the invoices they generate

Setup:

  1. Search for Subscription Setup and open the page.
  2. In the Number Series section, set Subscription Nos. to the number series to use for new subscription orders.
  3. Set Posted Subscription Nos. to the number series to use for posted subscription invoices.
  4. Save the page. The app will not allow new subscription orders or invoice creation until both series are filled in.

Note: If a Posted Invoice Nos. series is already configured in Sales & Receivables Setup, the app automatically creates a number series relationship between that series and the posted subscription series when you save.

SETUP-02: Configure partial period and calculation settings

As a Business Manager
I want to define how the app handles partial first periods and calculates prorated amounts
So that subscriptions that start mid-period generate the correct invoice amount for the first billing cycle

Setup:

  1. Open Subscription Setup.
  2. Set Calc. End First Period to one of:
    • End current period — the first period ends at the end of the current calendar period (month, quarter, or year depending on the invoicing frequency).
    • End month — the first period always ends at the end of the current month.
    • Actual period length — no alignment; the first period runs for the configured period length from the starting date.
  3. Set Adjust For Odd Subscription Period to either Adjust Quantity (the invoiced quantity is reduced proportionally) or Adjust Sales Price (the unit price is reduced proportionally).
  4. Set Sales Days per Month to Actual days (calendar-accurate proration) or 30 days (fixed 30-day month).
SETUP-03: Configure the default subscription text language

As a Business Manager
I want to set the fallback language for subscription invoice line descriptions
So that invoice creation does not fail when a customer's language has no specific translation configured

Setup:

  1. Open Subscription Setup.
  2. Set Default Subscription Text Language to your primary invoicing language code (e.g. ENU for English, DAN for Danish).
  3. Open Subscription Text Translation from the action bar.
  4. Add at least one row for the language code set in step 2, with the desired Subscription Text.

Note: Invoice creation will fail with an error if Default Subscription Text Language is blank or if no Subscription Text row exists for that language.

SETUP-04: Configure the Subscription Job Queue for automated invoice creation

As a IT Manager
I want to set up automatic invoice creation on a scheduled basis
So that subscription invoices are generated each billing cycle without manual intervention

Setup:

  1. Open Subscription Setup and choose Subscription Job Queue Setup from the action bar.
  2. Set Include Up To Date Formula — e.g. <1M+CM> to include all lines due up to the end of next month.
  3. Set Posting Date Formula — e.g. <CM+1D> to post invoices on the first day of next month.
  4. Set Document Date Formula — e.g. <0D> to use today's date.
  5. Set Invoice Per to the preferred grouping (Customer, Subscription, or Line).
  6. Under Schedule, set No. of Minutes between Runs (e.g. 1440 for daily) and select the days the job should run.
  7. Enable Configure Job Queue. The job queue entry is created with status On Hold.
  8. Click Open Job Queue Entry and change the status to Ready to activate automatic execution.

Note: Use the Run Now action at any time to test the configuration without waiting for the schedule.