Invoicing with Business Central

Last updated: November 20, 2026

Flexnet creates each invoice and sends it to Business Central as a draft sales invoice shortly afterward. Invoice sync is always on while Business Central is connected. The Invoicing Options section of the integration's Configuration tab controls when invoices are created and what Flexnet sends with them, and Invoice Rules can change both for some customers and orders.

For the day-to-day Orders > To Be Invoiced workflow, printing invoices, and invoices that fail to sync, see Managing Orders from Acceptance Through Invoicing.

Before You Start

When Flexnet Creates Invoices

With Enable Early Invoicing off, you create invoices from Orders > To Be Invoiced after the order is dispatched. Nothing is created automatically.

Flexnet sends the invoice with the company's Business Central customer as the sell-to customer. When Bill To Parent is on, the parent company's customer is the bill-to customer.

Turn On Early Invoicing

Early invoicing lets your team create an invoice before dispatch, either from the order or automatically at the steps you select. Use it when your team needs the Business Central invoice earlier.

  1. Open Admin > Integrations and select Settings on the Business Central card.

  2. Select the Configuration tab and find Invoicing Options.

  3. Turn on Enable Early Invoicing. Create Invoice Automatically When Any Of appears.

  4. Select each step at which Flexnet should create the invoice: the order is created, the order is paid, accepted, labelled, or dispatched. To create invoices only from the order, leave every step cleared.

  5. Select Save Invoicing Settings.

With Enable Early Invoicing on:

  • Create Invoice appears under Document Links on any open order that has no invoice yet. Select it and confirm the prompt. The order stays at its current stage, and Flexnet marks it as invoiced when it is dispatched.

  • Flexnet creates the invoice automatically at the first selected step the order reaches. Later steps do not create a second invoice.

  • If anything under What Stops an Invoice Being Created applies when a step is reached, Flexnet does not create the invoice.

  • If the invoice date comes from Dispatch Date, Flexnet changes an early invoice's date to the dispatch date when the order is dispatched, unless the date was set with Change Invoice Date or the invoice can no longer be edited in Business Central.

  • An early invoice exists while the order is still being labeled and packed, so Flexnet updates it, and overwrites changes made to it directly in Business Central, for longer. See What Flexnet Updates After the Invoice Is Created.

Turning off Enable Early Invoicing clears the selected steps. Invoices are then created from Orders > To Be Invoiced after dispatch.

An invoice rule can set different steps for some customers and orders. See Set Up Invoice Rules.

An invoice prints with the acceptance documents only when the order is created is selected, and with the packing documents only when the order is created or accepted is selected. When an invoice rule with its own steps matches the order, Flexnet checks that rule's steps instead. Business Central needs time to return the invoice PDF, so an invoice created at the same stage you print is not ready for that print run. Flexnet gets the PDF from Business Central only once the invoice is posted, so a draft invoice has no PDF to print. See Managing Orders from Acceptance Through Invoicing.

Set Up Invoice Rules

Invoice Rules, at the top of Invoicing Options, change invoicing for the orders they match. Each rule is saved as soon as you save it, separately from Save Invoicing Settings.

  1. Under Invoice Rules, select Add Rule.

  2. Enter a Rule Name.

  3. In Apply To, choose:

    • All Customers (Default Rule): every company.

    • Specific Customer Type: every company of the Company Type you choose in Customer Type.

    • Specific Customer: the company you search for and choose in Customer.

  4. To limit the rule to some orders, choose them in Order Types and Order Sources, such as Storefront, Imported, Standing Order, or one of your eCommerce integrations. Leave either empty to match any.

  5. Set the options this rule should change, described below.

  6. Select Save Rule. Flexnet adds the rule to the bottom of the list, above the rule that matches every order if there is one, and shows "Invoice rules saved".

A rule can change:

  • Invoice Date Source: the date Flexnet sends as the invoice date and posting date. The first option, marked (Global), keeps your Invoicing Options setting. A date source chosen in a rule applies even when Send Invoice Date is off, and Change Invoice Date then appears on those orders.

  • Invoice Trigger: with Use Global on, the rule keeps your account's steps. Turn off Use Global to choose different steps under Create Invoice Automatically When Any Of for the orders the rule matches. With no step selected, their invoices are only created manually.

  • Do Not Send Prices: Flexnet sends the invoice lines, including shipping and surcharge lines, without a unit price or discount, so Business Central prices them from its own price lists. The rule's Pricing column then shows Business Central instead of Flexnet.

  • Auto Post: posts the draft sales invoice in Business Central. See Post Invoices Automatically.

  • Map Locale From Billing State: writes the locale dimension value on the draft invoice when the billing state matches a mapped location abbreviation. See Mapping Business Central Posting Groups and Dimensions.

  • Use Order Addresses: sends the order's billing address as the sell-to address and its delivery address as the ship-to address, instead of the company's addresses, for orders such as eCommerce orders. A blank order address falls back to the company's. With Flexnet Sync version 1.0.13 or later, Flexnet also sends the order's billing address as the bill-to address.

A rule's automatic steps only apply while Enable Early Invoicing is on. You can select steps in a rule only while the switch is on. If you turn it off, Flexnet ignores every rule's steps and invoices are created from Orders > To Be Invoiced after dispatch.

How Flexnet chooses a rule for an order:

  • Flexnet checks the rules from the top of the list down and uses the first active rule that matches the order. Only that rule applies, so options it leaves at (Global) or Use Global come from Invoicing Options, not from a rule further down.

  • A rule matches when the order's company is the one chosen in Customer, or is of the Company Type chosen in Customer Type, and the order's Order Type and source are among those chosen. Flexnet matches the order's company, not its billing parent.

  • An order with no source does not match a rule that has Order Sources chosen.

  • To change the order of the rules, use Move Up and Move Down in the rule's Actions. A rule for All Customers (Default Rule) with no Order Types or Order Sources matches every order, so it stays below the rules that have criteria.

  • Turn off the rule's switch in the Active column to stop using it without deleting it. Edit Rule and Delete Rule are in Actions. Each change is saved straight away.

  • Anything a rule does not change, such as Automatically Email Invoices, invoice numbering, and shipping, comes from Invoicing Options. With no rules, Invoicing Options applies to every company.

What Stops an Invoice Being Created

While Business Central is connected, Flexnet does not create an invoice when:

  • the order's Order Type does not have Enable Invoicing turned on;

  • the order has no lines to invoice;

  • the order's company is not linked to a Business Central customer;

  • the company is on hold;

  • the company has Do Not Invoice turned on;

  • a SKU on the order is not linked to a Business Central item, or has Exclude from Business Central Sync turned on;

  • the order has a payment surcharge and no Payment Surcharge SKU is set;

  • the order has an urgent order surcharge and no Urgent Order Surcharge SKU is set;

  • the order has a Bundle that was not packed in full and nobody has entered how many were delivered.

Flexnet also cannot create invoices while the integration is paused, because no accounting integration is active.

Do Not Invoice stops invoice creation in Flexnet, and the company's orders still appear on the invoicing list. With Do Not Invoice (Company ↔ BC Customer) turned on under Sync Behavior, Flexnet also sets the company's Business Central customer to Blocked Invoice, and a customer blocked for Invoice in Business Central turns on Do Not Invoice in Flexnet. See Syncing Customers and Items with Business Central.

Flexnet never sends a company's invoices to Business Central while Exclude from Business Central Sync is on for the company, or Exclude from Accounting Sync is on for its Company Type. For holds, see Managing Company Billing, Order Notes, Announcements, and Holds.

Choose the Invoice Fields

Under Invoice Fields, choose how Flexnet dates each Business Central invoice:

  • Send Invoice Date: sets the invoice date and posting date. When it is off, the invoice is dated the day Flexnet sends it to Business Central. Choose the date in Invoice Date Source:

    • Invoice Date: the date the invoice was created in Flexnet.

    • Dispatch Date: the date the order was dispatched.

    • Scheduled Dispatch Date: the order's scheduled dispatch date.

    • Order Created Date: the date the order was created, or placed on the eCommerce integration it came from.

With Send Invoice Date on, Change Invoice Date appears in the menu next to the order's Invoice link under Document Links. The date you set there overrides Invoice Date Source for that invoice.

Flexnet also sends the order's PO number as the customer's purchase order reference. It does not send a due date, so Business Central sets the due date from the customer's payment terms.

Post Invoices Automatically

Flexnet always creates the invoice in Business Central as a draft sales invoice. Under Invoice Delivery, turn on Auto Post Invoices to have Flexnet post it.

  • Flexnet posts the invoice after the order is labeled and Flexnet has checked that the Business Central invoice matches the Flexnet invoice. If they do not match, the invoice stays a draft.

  • Once the invoice is posted, Flexnet no longer changes it, so changes made while the order is packed do not reach Business Central.

  • With Auto Post Invoices off, invoices stay as drafts until you post them in Business Central.

A matching invoice rule replaces Auto Post Invoices. If the rule's Auto Post is off, Flexnet leaves those companies' invoices as drafts even when Auto Post Invoices is on. If it is on, Flexnet posts them even when Auto Post Invoices is off.

Set Invoice Numbering

Choose who numbers the invoices in Invoice Numbering Source, under Invoice Numbering:

  • Business Central No. Series: Business Central numbers the invoice from its Invoice Nos. series. This is the default.

  • Flexnet: Flexnet sends the number. The Invoice Nos. series in Business Central must have Manual Nos. turned on.

With the Flexnet Sync extension installed, Invoice No. Series appears with Business Central No. Series, and Flexnet is offered only when the series has Manual Nos. turned on.

Saving an Invoice No. Series changes Business Central's own setting. Flexnet writes the series to Invoice Nos. in Sales & Receivables Setup, so invoices created directly in Business Central use it too.

When Flexnet sends the number, it uses the first of these that is turned on and present:

  1. Use Order Public ID as Invoice Number: the order's public ID, such as an eCommerce order number, without a leading #.

  2. Use Flexnet Invoice Number as Invoice Number: the Flexnet invoice number.

  3. The next number in sequence: Last Used Invoice Number plus 1.

  • Invoice Prefix (Optional): text added before every number Flexnet sends. For example, INV- produces INV-1001.

  • Starting Invoice Number: where the sequence starts. Changing it sets Last Used Invoice Number to one less.

  • Last Used Invoice Number: where the sequence continues from. If you lower it, Flexnet warns that the numbers up to the old value may already be used in Business Central.

Starting Invoice Number and Last Used Invoice Number are hidden while Use Flexnet Invoice Number as Invoice Number is on.

Use Order Public ID as Invoice Number also works with Business Central No. Series. Orders with a public ID then get that number, and Business Central numbers the rest. Business Central accepts this only when the Invoice Nos. series allows manual numbers.

The external document number on each invoice is the Flexnet invoice number. Turn on Use Order Public ID as External Document Number to use the order's public ID instead, when the order has one.

Business Central invoice numbers can be up to 20 characters and external document numbers up to 35, so Flexnet shortens longer ones.

Without the Flexnet Sync extension, if Business Central rejects a number Flexnet sends, Flexnet switches Invoice Numbering Source back to Business Central No. Series and creates the invoice with a number from Business Central.

Email Invoices from Business Central

Turn on Automatically Email Invoices under Invoice Delivery to have Business Central email each invoice to the customer. Flexnet asks Business Central to send it when the invoice reaches Business Central and:

  • the order has been labeled;

  • Flexnet has checked that the Business Central invoice matches the Flexnet invoice.

With Auto Post Invoices also on, Flexnet asks Business Central to post the invoice and email it. Business Central sends the email, so it must be set up to email documents. Invoice rules do not change this setting.

Set Invoice Line Descriptions

With no fields set, each invoice line's description is the product name and SKU name. To build your own descriptions, use Invoice line descriptions:

  1. Under Default (global), select Add Field and choose a field: SKU Description, Grind Profile (Coffee Only), Roast Profile (Coffee Only), SKU Name, Product Name, Custom Text, GTIN, or UPC. For Custom Text, enter the text to show.

  2. Add more fields as needed. Flexnet joins them top to bottom, in the order listed.

  3. Choose a Field Separator: Pipe ( | ), Dash ( - ), or Comma ( , ). The Preview shows the result.

  4. To use different fields for a Product Category, expand Category-Specific Settings, expand the category, and add its fields. A category with no fields uses Default (global).

  5. Select Save Invoicing Settings.

Removing every field turns custom descriptions off. Grind Profiles and Roast Profiles only appear when the order line has one and the product offers it. GTIN and UPC values show with a GTIN: or UPC: prefix. Business Central line descriptions can be up to 100 characters, so Flexnet shortens longer ones.

Add Shipping Charges

When an order has a shipping charge, Flexnet adds a shipping line to the Business Central invoice. Set it up under Shipping Charges:

  • Shipping SKU: the SKU used for the shipping line. Only SKUs linked to Business Central are listed. Select the refresh button next to it after linking a new one.

  • Shipping Line Description: the description on the shipping line. If you leave it blank, the line shows Shipping.

Business Central calculates the tax on the shipping line from its setup for that item.

If no Shipping SKU is set, Flexnet leaves the shipping charge off the Business Central invoice. Flexnet still creates the invoice, so check this setting before you invoice orders with shipping.

Add Payment Surcharge Lines

When an order has a payment surcharge, Flexnet adds it to the invoice as a line. Set it up under Payment Surcharge Lines:

  • Payment Surcharge SKU: the SKU used for the line. An order with a payment surcharge cannot be invoiced until this is set.

  • Payment Surcharge Line Description: the description on the line. If you leave it blank, the line shows Payment surcharge.

Add Urgent Order Surcharge Lines

When a Storefront order includes an urgent order surcharge, Flexnet adds it to the invoice as a line. Set it up under Urgent Order Surcharge:

  • Urgent Order Surcharge SKU: the SKU used for the line. An order with an urgent order surcharge cannot be invoiced until this is set.

  • Urgent Order Surcharge Line Description: the description on the line. If you leave it blank, the line shows As soon as possible.

Send Payments to Business Central

Flexnet can record the payments taken on Flexnet orders against their Business Central invoices.

  1. In Invoicing Options, find Send Payments.

  2. Turn on Automatically Send Payments.

  3. Choose the Customer Payment Journal that records the payments. If the list is empty, select Refresh Data at the top of Invoicing Options.

  4. Select Save Invoicing Settings.

  • Flexnet sends no payments until a Customer Payment Journal is chosen.

  • Flexnet sends each completed payment once, after the invoice is in Business Central and only once the invoice is posted. Payments are not applied to draft invoices.

  • Flexnet records the payment in the journal, applies it to the invoice, and posts the journal.

  • Payments Flexnet recorded because the invoice was paid in Business Central are not sent back.

What Flexnet Updates After the Invoice Is Created

Flexnet overwrites changes made directly in Business Central to an invoice it created. When an order's lines or invoicing details change, Flexnet updates the Business Central invoice while it can still be edited there.

Flexnet rebuilds the invoice from the order and updates Business Central when:

  • you edit the order's lines, PO number, or shipping charge;

  • you change the order's PO number, shipping charge, or urgent order surcharge on the invoicing list;

  • the order is labeled or packed;

  • you select Reprocess Bundles on the order and a Bundle changes;

  • the order's lines change in the eCommerce integration it came from.

While the invoice is a draft, Flexnet replaces its lines with the order's current lines. Once the invoice is posted, paid, or canceled in Business Central, Flexnet no longer changes it there.

Flexnet also:

  • keeps the invoice's Business Central status, such as draft, open, or paid, and its due date up to date in Flexnet. Flexnet keeps its own totals and tax, and does not copy Business Central's totals back;

  • records the payment method and reference on the order when the invoice is paid in Business Central, and updates the company's Balance and Balance Due;

  • gets the Business Central invoice PDF once the invoice is posted. Select Invoice under the order's Document Links to open it.

Rebuild Invoice, in the menu next to the Invoice link, rebuilds the invoice from the order and sends it to Business Central again. It replaces the lines in Business Central with the order's current lines. Once the invoice can no longer be edited in Business Central, Rebuild Invoice is unavailable.

Troubleshooting

An Order Cannot Be Invoiced

Check the order against the list under What Stops an Invoice Being Created. The most common causes are an unlinked company or SKU. Link them on the Customers or Items tab, then invoice again.

An Invoice Rule Is Not Used

Check that the rule's switch in the Active column is on and that no rule above it matches the order first. Use Move Up to move it above that rule. A rule's automatic steps also need Enable Early Invoicing turned on.

Shipping Is Missing from the Business Central Invoice

Shipping SKU is not set. Set it under Shipping Charges and save.

Invoices Stay as Drafts

Check that Auto Post Invoices is on, or Auto Post in the invoice rule that matches the order, and that the order has been labeled. If the Business Central invoice does not match the Flexnet invoice, Flexnet does not post it.

Invoice Numbering Went Back to Business Central No. Series

Business Central rejected an invoice number Flexnet sent, usually because the Invoice Nos. series does not allow manual numbers. Turn on Manual Nos. on the series in Business Central, then choose Flexnet in Invoice Numbering Source again.

Payments Do Not Reach Business Central

Check that Automatically Send Payments is on, Customer Payment Journal is set, and the Business Central invoice is posted.

An Invoice Failed to Sync

Open the Sync History tab, fix the error shown under Failed Syncs, and select Retry. See Syncing Customers and Items with Business Central.

Related Articles