Track on-behalf payments for customers¶
Guide information
Requirements
This tutorial requires the installation of the following applications/modules:
Onbehalf Payment in Freight (installs Sale On-Behalf Management and On-behalf Payments automatically - the second one is what actually records the disbursement payment in Step 2)
A forwarder regularly pays money to a customs office, a quarantine authority or a carrier that the customer - not the forwarder - actually owes. If that amount is invoiced like an ordinary service line, it picks up a service VAT rate it should not have and inflates the shipment’s gross profit with revenue the forwarder never earned. Mark On-Behalf keeps that amount out of the customer invoice and out of gross profit, and records it as a separate amount still to be collected. If a term below is new to you, see the Freight forwarding glossary.
Running scenario: on the FCL import shipment for Minh Phat Engineering (container
CSNU8123450, see Import a full container load by sea), Hai Long Logistics pays the import duty and the quarantine fee to
Cơ quan Hải quan & Kiểm dịch Hải Phòng so the container can clear customs: import duty
65,000,000 VND plus quarantine fee 13,000,000 VND, a combined 78,000,000 VND that Hai
Long must recover from Minh Phat Engineering afterwards.
Before you start¶
Sale On Behalf is turned on in the Freight Features section of .
The Minh Phat Engineering shipment is Confirmed and has a sale order linked to it, priced in VND. Lan clicked Create Quotation on the shipment, which opened the draft order S00006 built from the three charge lines (with an order already linked, the same button is Add to Sales Order and opens a review window): Ocean Freight 29,900,000 VND, THC 3,200,000 VND and CIC 100 USD converted to 2,600,000 VND at the agreed rate of 26,000, a total of 35,700,000 VND. Lan confirmed the order, and Tuan created one invoice for the three services with Create Customer Invoice on the shipment; do not invoice the services again. See Import a full container load by sea.
The customs office or quarantine authority and the customer already exist as contacts. On the Accounting tab of each contact, Account Other Receivable and Account Other Payable hold the accounts that on-behalf amounts are booked to; a contact without them uses its standard receivable and payable accounts instead.
Lan (Sales) edits the order, so she needs a Sales access right (User: Own Documents Only or above). Tuan, the accountant in this example, needs User: All Shipments (open the shipment), Sales: User: All Documents (see each on-behalf line in the shipment panel) and the Accounting right Invoicing (create and post payments). Your administrator sets them under .
Step 1: Mark the on-behalf amount on the sale order¶
Marking the line before you invoice anything is what removes it from the customer invoice and from gross profit. Adding it as an ordinary line first and fixing it later means correcting an invoice that has already gone out.
Lan goes to and opens the sale order of the Minh Phat Engineering shipment, S00006.
In Order Lines, open the column options (the sliders icon at the top-right of the list) and turn on Mark On-Behalf and Collection Partner - both are hidden by default.
Add a new line:
Product: Import Duty & Quarantine Fee (Disbursement).
Mark On-Behalf: ticked.
Collection Partner: Cơ quan Hải quan & Kiểm dịch Hải Phòng - the party the duty and fee are owed to. Never pick the customer who pays: the amount is not the customer’s revenue, it belongs to the third party.
Quantity: 1, Unit Price: 78,000,000 VND (a new line starts at 0, so type the amount).
Warning
Ticking Collection Partner without ticking Mark On-Behalf first is rejected on save: “You cannot select a collection partner for a non-onbehalf line.” Tick Mark On-Behalf first, then fill in Collection Partner.
The Collection Partner also decides how the charge behind the line is handled, so a wrong choice later changes what the purchase side does:
A charge with an agent is an on-behalf charge. The agent follows the Collection Partner on the line: change or clear the partner and the agent changes with it.
To turn the line back into an ordinary resale line, clear the Collection Partner and untick Mark On-Behalf; the agent is taken off its charge.
A charge cannot have both a vendor and an agent. Marking a line on-behalf is rejected while its charge still has a vendor.
An on-behalf line with no Collection Partner yet does not generate a purchase order.
After you save:
The line’s quantity to invoice is zero - it never appears when you click Create Invoice on this order, now or later.
Click Trackings on the shipment: the On Behalf Items panel of the tracking screen shows one row for this line. It reads in the company currency (VND in this guide), so Expected reads 78,000,000 VND and Collected 0 VND, with Remaining 78,000,000 VND in red. A user without a Sales access right sees one combined row, “Sales orders on-behalf items”, instead of one row per line; Tuan has Sales: User: All Documents, so he sees the line itself.
Tip
Step 1 is done when:
Clicking Create Invoice on the sale order does not include this line.
The On Behalf Items panel on the Minh Phat Engineering shipment shows Expected 78,000,000 VND for this line.
Step 3: Collect the money from the customer¶
The Sales Orders field on the customer payment is what triggers the system to build the distribution for you from Step 1’s on-behalf line. A payment recorded any other way for the same amount looks identical on the bank statement but never clears the Remaining balance on the shipment. The customer’s receipt in this example covers both the service charges and the 78,000,000 VND, at the agreed rate of 26,000 VND/USD.
Go to and click New.
Set Date to the receipt date and use the bank journal.
In Sales Orders, select the sale order used in Step 1.
After you select the sale order:
Customer fills in from the order. With no earlier customer payment in this example, Amount is 113,700,000 VND: 35,700,000 for services plus 78,000,000 for the on-behalf line. Keep the full amount only when it matches the money actually received.
On-Behalf Payment ticks itself, and the distribution line (On-behalf of: the customs and quarantine authority, Amount: 78,000,000 VND) is created for you - you do not enter it by hand (Percentage reads 68.6% of the receipt). The distribution names the Collection Partner, never the customer: a distribution line naming the paying customer is rejected.
Click Confirm.
After you confirm:
The On Behalf Items panel shows Collected 78,000,000 VND and Remaining 0 VND in green.
The receipt books the 78,000,000 VND as collected for the Collection Partner: an Other Payable owed to the customs authority. Both this receipt and the payment of Step 2 still show the On-behalf Not Paid ribbon: the panel, not the ribbon, is where the shipment’s recovery is followed.
The 35,700,000 VND service portion is not an on-behalf amount: it settles the invoice of the three services. Accounting matches it with that invoice once it is posted, the usual way for a customer receipt.
Tip
Step 3 is done when: the receipt is In Process, and the On Behalf Items panel of the shipment reads Collected 78,000,000 VND and a green Remaining 0 VND.
See also
Once this amount is settled, check the shipment’s remaining charges and overall margin: Record charges, invoice the customer, and bill vendors.
Decide how much of this to track¶
Option |
Use when |
What changes |
|---|---|---|
Only Step 1 (sale order line) |
You only need Ops and Sales to see the pending amount on the shipment, and Accounting will book the reconciling entry separately when the money actually moves |
The On Behalf Items panel is accurate, but no Other Receivable/Other Payable entry is created automatically |
Only Steps 2-3 (payment distribution) |
Accounting only needs the books to be correct, and no one else needs to see the pending amount on the shipment |
Posting the disbursement and the receipt creates their accounting entries. The On Behalf Items panel never shows this amount without a sale order line. |
All three steps |
Both the books and the shipment record need to be right - the usual case for money this size |
You enter 78,000,000 VND on both the sale order and the payment; nothing in the system checks that the two match |
Use all three steps only when company procedure requires both the shipment record and the accounting entries. This flow does not check that the sale-order amount equals the distributed payment amount, so reconcile the two amounts against supporting documents before posting. If the required accounting treatment is unclear, ask Accounting which steps to use before entering the transaction.
Known limitations¶
Step |
What Viindoo does today |
What you do instead |
|---|---|---|
Recording the disbursement (Step 1 and 2) |
The sale order line and the payment distribution are two separate mechanisms with no link and no amount cross-check between them |
Enter the same amount on both, and note the tax/customs receipt number in the Chatter of both the sale order and the payment so the two can be traced back to each other later |
Tracking recovery (Step 3) |
The On Behalf Items panel counts an amount as Collected when it comes in through a payment linked to the order, or through a payment that matches the order’s invoice (a partial payment counts too). With several on-behalf lines for the same Collection Partner, the collected amount is shared between those lines |
Collect this money through a payment with Sales Orders set to the order used in Step 1; a payment recorded any other way for the same amount may not be read by the panel |
Reimbursement of an amount already paid out (Step 3) |
The receipt books the on-behalf amount as owed to the Collection Partner and the panel reads it as collected; the On-behalf Not Paid ribbon of the two payments does not change |
Follow the recovery on the On Behalf Items panel of the shipment, and keep the receipt number of the customer’s transfer in the Chatter of the payments |
Field names |
Collection Partner (Step 1) and On-behalf of (Step 2-3) sound alike but point in opposite directions - the first is who the money is ultimately owed to, the second is who Hai Long is recovering it from |
Read each field’s own help text before filling it in; do not assume the two fields take the same partner |
Troubleshooting¶
Saving the sale order line raises “You cannot select a collection partner for a non-onbehalf line.”¶
Symptom: the exact message above appears when saving the order.
Cause: Collection Partner was filled in before Mark On-Behalf was ticked on the same line.
Fix: tick Mark On-Behalf first, then fill in Collection Partner again.
Confirming the payment raises “You checked the On-Behalf Payment option but did not specify a partner…”¶
Symptom: “You checked the On-Behalf Payment option but did not specify a partner of which the payment was made on-behalf. Please specify one.”
Cause: On-Behalf Payment is ticked, but the On-behalf payment distribution tab has no line.
Fix: add at least one distribution line with a partner and an amount before confirming.
“The total on-behalf payment amount must not be greater than the payment amount.”¶
Symptom: the message above appears when saving the payment. A single line larger than the payment shows “The on-behalf payment percentage must be positive and less than or equal to 100%.” instead.
Cause: the distribution lines add up to more than the payment’s own Amount - for example, two lines of 40,000,000 VND against a payment of 70,000,000 VND.
Fix: correct either the payment Amount or the distribution line’s Amount so the distribution total stays within the payment.
“The on-behalf partner ‘…’ must not be of the same commercial entity as the payment’s.”¶
Symptom: the exact message above appears, naming the partner on the distribution line.
Cause: the distribution line’s partner is the same company as the payment’s own partner - for example, paying the customs authority but naming the customs authority again as the party being collected on behalf of, or recording the customer’s receipt on behalf of the customer.
Fix: the payment’s own partner and the distribution’s On-behalf of partner must be two different companies. In Step 2 the payment is to the customs and quarantine authority and the distribution is on behalf of Minh Phat Engineering; in Step 3 the receipt is from Minh Phat Engineering and the distribution is on behalf of the customs authority.
Remaining stays red although the customer already paid¶
Symptom: the On Behalf Items panel on the Minh Phat Engineering shipment still shows a red Remaining amount after Minh Phat Engineering’s transfer has landed.
Cause: the customer’s payment was recorded without the Sales Orders field set to Step 1’s sale order - a plain payment or one linked only to an unrelated invoice never reaches the on-behalf calculation.
Fix: cancel or adjust that payment and re-record it through with Sales Orders set to the sale order used in Step 1.
See also
Related articles