This article covers automating a sales deposit invoice from a billing schedule sales order, within the Sales Ledger. This is a separate automation from the one that generates the regular scheduled invoices – see Generating scheduled invoices with the billing schedule automation for that.
Unlocking the sales deposit document type
Before you can automate a sales deposit, the 'Sale invoice: Deposit' document type must be unlocked and configured with a document series and an account default. By default, this document type is locked.
- Navigate to Document Types
- Search for 'deposit'
- Select the green dot near the top right of the screen to reveal inactive document types
- Open the 'Sale invoice: Deposit' document
- Select the three dots menu and choose 'Unlock'.


Assigning a document series
Once unlocked, the document type needs a document series before it can be used in an automation.
- With the document open in edit mode, go to the 'Series' tab
- Assign a document series
- Set the date from field to any historic date before your earliest order that needs picking up
- Save the changes.

Assigning an account default
The deposit automation maps to your debtors control account through an account default, not directly through the Chart of Accounts.
- Navigate to Account Defaults
- Search for 'sale'
- Tick the record with purpose 'Sale: Deposit'
- Confirm the account is set to your debtors control account

Creating the sales deposit automation
- Navigate to Automations and select 'New'
- Set 'Automation type' to 'Sale deposit'
- Set 'From doc type' to 'Billing Schedule'
- Set 'To doc types' and 'Default' to 'Sale invoice: Deposit'
- Set 'Trigger' to 'Automatic upon posting'
- Save the automation
Because the trigger is set to automatic upon posting, the deposit invoice is raised as soon as the billing schedule sales order is posted. You do not need to run this automation manually, unless the date for the deposit is in the future.

For how to create a billing schedule order, including adding the deposit, see How to create a sales order with a billing schedule? and How to add a deposit to a billing schedule sales order?
Sales deposit automation
Invoice a deposit
Deposit automation
Billing schedule automation
Automate sales deposit
Deposit invoice not showing in billing schedule