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.
When to run it
When to run it
When shipped sales orders should be invoiced automatically, after packing slips are posted.
How often
On a recurrence that matches your billing rhythm, for example daily as in the Microsoft example.
Batch settings
Run it as a recurring batch job with Late selection on, so each run picks up the orders that are ready at that moment.
What the output shows
Posted sales invoices for the selected orders; the invoice remainder on each order line is reduced and fully invoiced orders get the status Invoiced. An order that stays open usually failed the credit limit check or had no quantity to invoice for the chosen Quantity option.
Invoice shipped sales orders automatically on a schedule.
Steps from Microsoft
Go to Accounts receivable > Invoices > Batch invoicing > Invoice.
Select Select and choose the sales orders to invoice, for example all orders with posted packing slips, and then confirm the query.
Under Parameters, keep Posting on Yes to post the invoices; turn it off only when you want a pro forma document instead.
Set Late selection to Yes when the job recurs, so the order query runs each time the batch job starts instead of only now.
Choose Print invoice, Print (Current or After), Check credit limit and Summary update for, for example Invoice account to combine several orders into one invoice per customer.
Select Batch, set Batch processing to Yes and define a Recurrence such as Days, then check the posted invoices in Open customer invoices after the first run.
Which quantities the invoice is based on, such as All, Picked or Packing slip.Microsoft Learn
Posting
Turn on to post the invoice; turn off to print a pro forma document instead.Microsoft Learn
Print invoice
Prints the invoice; turn off to post without printing.Microsoft Learn
Print
Prints after each invoice is updated (Current) or after all invoices are updated (After).Microsoft Learn
Check credit limit
What the credit limit check looks at: nothing, the balance, or the balance plus deliveries and open orders.Microsoft Learn
Summary update for
How several sales orders are combined into invoices, for example by invoice account.Microsoft Learn
Late selection
Runs the selection query when the batch job runs instead of now.Microsoft Learn
Common errors and fixes
Message
What to do
Invoices are printed before posting finishes and not in the expected order
Set Print to After, so documents print once all invoices are updated, sorted as set on Form sorting. Microsoft Learn
Packing slip cannot be found or has not been posted
The order has no posted packing slip for the selected Quantity Packing slip. Post the packing slip first (for direct delivery, the purchase order product receipt), then invoice. Microsoft Learn
Test checklist
Each selected order has a posted invoice in Open customer invoices.
Orders combined by Summary update for share one invoice per invoice account.
The batch job history shows the recurring runs without errors.
A recurring batch job with Late selection on, Quantity Packing slip, Print After and Summary update for Invoice account when customers want one invoice per run.Late selection runs the query when each batch run starts, so new shipments are picked up; Print After prints once all invoices are updated, in the Form sorting order.
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounting supervisor LedgerAccountingSupervisorRental manager RentalManagerRental coordinator agent RentalCoordinatorAgentGive people one of these roles. On this system, 4 roles can run this page.Checked in Dynamics 365
Load order: Batch invoicing for sales orders has no data entity in Data management, so it can't be loaded from a file or a configuration template. It only reads posted data, so there is nothing to load for it; it shows data once invoices and orders are posted in the environment.Checked in Dynamics 365