Verify the Advance Deposit billing item exists in Products and Billing Items Create the Advance Deposit using dates which fall within the valid dates of the billing item
1. Go to the Configuration module, and click on Products and Billing Items
2. Open the Advance Deposit you are trying to add to the record
3. Look at the valid from and to dates
4. Either change these dates to include the transaction date, OR change the transaction date to fall within this range