Distribute an Advance Payment Across a Sales Invoice
When a client pays in advance and the amount is recorded as an advance payment invoice, you can later apply it to a sales invoice for the same client in the same currency with Distribute Advance Payment. The distributed amount counts as paid on the invoice, the advance payment's unsettled balance goes down, and the invoice journal is reposted. This guide covers the steps, the validations, and how to edit or remove a distribution.
Article contents
Before you start
- Turn on Enable Advance Payment in Invoice Settings. The setting shows when e-invoicing is active or an advance payment invoice already exists, and it turns on automatically with the Construction app.
- The client has an issued (not draft) advance payment invoice in the sales invoice's currency, with an unsettled balance.
- The sales invoice is not fully paid, and its e-invoice has not been submitted and accepted.
Distributing an advance payment to a sales invoice
1. Open the distribution screen
- Go to Sales → Manage Invoices.
- Click the sales invoice to open it.
- Click Distribute Advance Payment in the button bar. The screen Adding Advance Payment Invoice/s to Sales Invoice #number opens, with the Invoice unpaid amount at the top.
2. Choose the advance payment and the amount
- In Advance Payment Invoice, choose the advance payment; it shows as Advance Payment #number, and Unsettled Amount fills in automatically.
- In Amount, enter how much of this advance payment to apply to the invoice.
- To use more than one advance payment, click Add and choose another one on a new row.
Note: The list shows only advance payments for the same client and currency that are issued, have an unsettled balance, and are not already linked to this invoice.
3. Save
- Click Save.
- The message “Advance Payment Distribution Updated Successfully” shows and you return to the invoice; the distribution is in the Payments tab.
Fields
| Field | Required / optional | Default | Accepted values | What it does |
|---|---|---|---|---|
| Advance Payment Invoice | Required | — | An issued advance payment for the same client and currency with an unsettled balance | The advance payment the amount comes from. It cannot be chosen twice on the same screen. |
| Unsettled Amount | Read only | Filled automatically | — | What is left of the advance payment. |
| Amount | Required | — | Greater than zero, not above the unsettled amount or the invoice's unpaid amount | The amount counted as paid on the invoice from this advance payment. |
Settings that affect it
| Setting | Where | Default | Effect |
|---|---|---|---|
| Enable Advance Payment | Invoice Settings | Off | Shows Distribute Advance Payment on sales invoices and allows creating advance payment invoices. |
Validations and error messages
| Message | When it appears | Fix |
|---|---|---|
| Amount should be less than or equal unsettled amount | The amount is above the advance payment's balance. | Enter an amount no higher than Unsettled Amount. |
| Amount shouldn’t exceed the unpaid amount of the sales invoice / Total entered amounts shouldn’t exceed the unpaid amount of the sales invoice | The amount, or the total of all rows, is above the invoice's unpaid amount. | Lower the amounts so their total does not exceed the unpaid amount. |
| Amount must be greater than 0 | The amount is zero or negative. | Enter a positive amount. |
| You cannot Select the Advance Payment invoice multiple times | The same advance payment is on two rows, or is already linked to the invoice. | Use one row per advance payment; change its amount with Edit Distribution. |
| Advance Payment Invoices client / currency is not the same as invoice client / currency | The advance payment is for another client or in another currency. | Choose one for the same client and currency. |
| You can’t add more payments, the invoice is already paid | Opening the distribution for a fully paid invoice. | No distribution is needed; the invoice is settled. |
| You can’t add payments, the invoice’s e-invoice is already submitted | The invoice's e-invoice was submitted and accepted. | Distribution is not possible after the e-invoice is accepted. |
| Amount is required and must be a number. | Amount is empty or not a number. | Enter the amount in digits. |
Restrictions
| Restriction | Details |
|---|---|
| Client and currency | The advance payment must be for the invoice's client and in its currency. |
| Paid invoice | No distribution can be added to a fully paid invoice. |
| E-invoice | No adding or redistributing after the e-invoice is accepted. |
| Drafts | Draft advance payment invoices are not listed. |
| Editing the advance payment | An advance payment invoice distributed to sales invoices cannot be edited; it can be deleted after a warning, which removes its distribution. |
| Invoice type | The button shows on sales invoices only. |
Permissions
| Permission | What it allows | Without it |
|---|---|---|
| No special permission | Open Distribute Advance Payment and save, for anyone who can open the invoice. | — |
| Edit & Remove All Payments | Edit Distribution and Remove on any invoice. | Shown only on their own invoices, if they have the own-payments permission. |
| Add Payments to All Invoices | The add link in the Payments tab. | Use the Distribute Advance Payment button at the top of the invoice. |
What happens after saving
- The distribution is saved and listed in the Payments tab under Advance payments for invoice #… with the Distribution Amount and Unsettled Amount.
- The amount counts as paid on the invoice, so the unpaid amount drops, and the invoice becomes Paid when nothing is left.
- The advance payment invoice's unsettled balance drops by the same amount.
- The invoice journal is reposted: debit the clients' advance payment account and credit the client, with the prepaid tax in proportion.
- The printed invoice shows Advance Payment and Amount Due for Payment rows, and the action is recorded in the Activity Log.
Editing or removing a distribution
- In the invoice's Payments tab, section Advance payments for invoice #…, click Edit Distribution to change the advance payments or amounts, then Save.
- To remove a distribution, choose Remove on its row and confirm. The amount goes back to the advance payment's balance.
- Both actions need Edit & Remove All Payments, or the permission to edit and remove your own payments on your invoices.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| Distribute Advance Payment does not show | Enable Advance Payment is off, or the document is not a sales invoice. | Turn the setting on in Invoice Settings. |
| The Advance Payment Invoice list is empty | No issued advance payment for the same client and currency has a balance, or all are already linked. | Create a New Advance Payment for the client, issue the draft, or edit the current distribution. |
| The amount is not accepted | It is above the unsettled balance or the unpaid amount. | See the validations table. |
| Edit Distribution or Remove does not show | You lack permission to edit and remove payments. | Ask the account owner for the permission. |
| The advance payment invoice cannot be edited | It is distributed to a sales invoice. | Remove the distribution first, then edit it. |
FAQs
Can one advance payment be distributed to several invoices?
Yes, while it has an unsettled balance; use Distribute Advance Payment on each invoice.
Can one invoice use several advance payments?
Yes. Click Add for each one, as long as the total does not exceed the unpaid amount.
Why doesn't the advance payment show in the list?
It is for another client or currency, a draft, has no balance, or is already linked to the invoice.
What happens if I remove the distribution?
The amount goes back to the advance payment's balance, becomes unpaid on the invoice again, and the journal is reposted.
Can I distribute to a fully paid invoice?
No; the message “You can’t add more payments, the invoice is already paid” shows.
Does the distribution affect tax?
Yes. A share of the advance payment's tax matching the distributed amount is taken from prepaid tax.
Note: Record the advance amount first as a New Advance Payment from the Add menu on the invoices page, then distribute it to the sales invoice. You can also link advance payments while creating the invoice itself.