Skip to main content

Returns, a cancelled shipment and a disputed claim: keeping a customer rebate straight

Summary. Merrowind Distribution pays a grocery chain, Pellham & Rye Markets, a rebate of 2.00 USD on every case of sparkling water it ships. One spring brings a packing slip posted by mistake, damaged goods returned twice (once before the claim and once after the credit), and a claim that the customer disputes and wants partly paid by cheque. Each event is put right in Earmark without a manual journal. At the end the rebate expense is exactly 2.00 USD for every case the customer kept, and the accrual and claim accounts are back to zero. Features involved: packing slip cancellation, return reversals and splits, return after claim, claim reversal and re-accumulation, accrual reversal, settlement preferences and the refund proposal. Read it if you are an accounts receivable clerk, an accountant or an accounting manager who runs a customer rebate in Earmark.

The situation​

Merrowind Distribution is a beverage distributor that works in USD. Pellham & Rye Markets is a regional grocery chain and one of its biggest customers. All names, numbers and accounts in this story are invented.

PersonRole in Dynamics 365What they do in this story
Kenji MoriSales clerkBuilds the order line prices, posts packing slips, cancels the wrong one, enters the return orders
Luis FerreiraAccountantWatches the accrual queue, runs the processor, reverses the waived accrual
Dana OkaforAccounts receivable clerkRaises, reverses and re-raises the claims, records the refund request, proposes the refund
Ingrid SolbergEarmark claims approverApproves the claims
Hazel WuAccounts receivable payments clerkSettles credits against invoices and posts the refund journal
Priya RamanAccounting managerOwns the Earmark setup
Rosa LindqvistSales managerDecides to waive the disputed amount

The deal is Pellham's spring volume rebate, DL-000318:

TermValue
CustomerPellham & Rye Markets
ItemSPK-12, sparkling water, 12 bottles a case
Rate basisAmount per unit, 2.00 USD per case
Accrual pointShip (the accrual is made when a packing slip posts)
Price modeOff-invoice (nothing changes on the order price; the rebate is paid by claim)
Claimable byCustomer
ControlsNo caps, no per-transaction limits, no qualifying quantity
ValidMarch 1 to June 30

What happens, in order:

DateEvent
March 3Packing slip PS-1001 ships 300 cases on sales order SO-5071 (800 cases on one line)
March 10PS-1002 is posted for 500 cases by mistake: the truck never left
March 11Kenji cancels PS-1002
March 17Pellham returns 40 damaged cases from the PS-1001 delivery
March 20PS-1004 ships the real 500 cases
March 31Dana raises the March claim; Ingrid approves it and Pellham is credited
April 8Pellham returns 25 more damaged cases, this time from the PS-1004 delivery, after the credit
April 24PS-1012 ships 400 cases on a new order, SO-5108
April 30Dana raises the April claim. Pellham disputes one line of it and asks for part of the credit as a cheque

Why it matters​

Each of these events is ordinary, and each one is easy to get wrong by hand:

  • A packing slip posted by mistake has already accrued 1,000.00 USD for goods that never left. If the cancellation took back the wrong accrual, or nothing, the liability would be overstated and the next claim would pay Pellham for 500 cases it never received.
  • A return that is keyed against the wrong shipment, or corrected twice, leaves a residue that nobody can explain at reconciliation.
  • Once a credit has posted to the customer, it is a fact on their account. A later return must take money back without rewriting that credit.
  • A claim is a single document. When the customer disputes one line, the finance team needs a way to take the whole claim back, fix the money and raise it again, with a trail that shows what replaced what.
  • A cash refund must settle exactly the credit it pays out, or Accounts receivable pays twice.

Earmark handles each case from the document that caused it, and every reversal takes its amount from the movement it reverses, so each chain nets to exactly zero.

Before they start​

Priya set these up when Merrowind went live. Each row links to the setup it needs.

SettingWhat Merrowind choseWhy it matters here
Reversal presentation, on the Accrual posting tab of Earmark > Setup > Earmark parametersFlip debit and creditIt ships as Not defined, which refuses every reversal. Every event in this story posts a reversal of some kind. See Set company defaults and I want to set how reversals post.
Earmark > Setup > Earmark posting profileAccrual: Accrued customer rebates. Accrual offset: Customer rebate expense. Claim: Customer rebate claims payable. Claim offset: Accrued customer rebates.Claim offset is the same account as Accrual, so a claim moves money out of accrued rebates into claims payable. See Set up the posting profile.
Posting control tabA Daily journal name for Accrual, Accrual reversal, Adjustment, Claim, Claim reversal and Claim approval, with Post automatically on for every row, including Return reversal and Claim approval reversal (a return reversal posts on the Accrual reversal journal name, and a claim approval reversal on the Claim approval one)Nobody has to open an Earmark journal in this story: each one posts after the movement is saved, at the latest on the next processor run. See Set journal names.
Claim settlement tabRefund proposal journal name: a Customer payment journal name whose offset is the Operating bank account. Refund proposal method of payment: Merrowind's cheque method. Net charge-backs in refund proposal: on, as shipped.Needed for the cheque in the last step. See I want to set the refund settings.
Reason codesDISPUTE and GOODWILL, flagged for EarmarkReversing a claim and reversing an accrual both need a reason code. See Flag financial reasons for Earmark.
Accrual event processorScheduled every hour, with Event sweep cadence (Accrual processing tab of the parameters) raised from the shipped 15 to 60 minutes to match, so the Accrual event processor not scheduled setup gap stays closedPosting a document only queues its accrual; the processor makes the accrual. See I want to schedule the accrual event processor and Accrual event processing.
Claim approval workflowActive. Ingrid holds Earmark claims approver and never generates or submits claims.Approval is a separate person from the clerk who raises the claim. See Activate the approval workflows.

How to read the amounts. Earmark shows a customer's deal money as a negative amount: -600.00 means 600.00 owed to Pellham. A positive amount takes money back. Every Earmark journal line carries an account and an offset: a negative amount credits the account side and debits the offset, and a positive amount does the opposite. The journal tables below use the account names from the posting profile above; Pellham & Rye Markets means the customer's account, which posts to the receivables account of the default customer posting profile in Accounts receivable parameters.

1. The first shipment accrues​

When Kenji entered SO-5071, he selected the line, selected Build price (Price build-up group above the lines), selected Include on DL-000318 and selected Accept. That turned the deal into the line's accrual commitment, AI-000771 (see I want to build a deal price on a sales order line). A line that is never built accrues nothing. He built SO-5108's line the same way in April.

On March 3 Kenji posts packing slip PS-1001 for 300 cases on SO-5071. Within the hour the processor turns the queued event into an accrual on AI-000771:

MovementQuantityAmountState
Accrual (PS-1001)300-600.00Accumulated
AccountDebitCredit
Customer rebate expense600.00
Accrued customer rebates600.00

The journal is Earmark's own general journal, never part of the packing slip's voucher. Kenji can see the accrual from the order (see I want to see the accruals on a sales order).

2. A packing slip posted by mistake is cancelled​

On March 10 Kenji posts PS-1002 for the remaining 500 cases, but the pick had not been done and the truck never left. The hourly run accrues -1,000.00 for PS-1002 before anyone notices. The next morning the warehouse calls, and Kenji cancels the slip.

What Kenji does (standard Dynamics 365):

  1. Open sales order SO-5071. On the Pick and pack tab, in the Journals group, select Packing slip.
  2. Select PS-1002 and select Cancel.

Standard Dynamics 365 reverses the slip's inventory transactions under the same number. In the same transaction, Earmark queues the cancellation as a return of that one document.

What Luis does. Luis does not wait for the hour. He opens Earmark > Inquiries and reports > Accrual event queue and finds the new row (Source document type Return packing slip, Source document number PS-1002, Status Queued). Process now would leave a Queued row as it is, because it runs only rows a processor run has already claimed, so he opens Earmark > Periodic tasks > Accrual event processor, leaves Batch processing off and selects OK (see I want to process queued accruals now). The run takes every Queued row in the company. On the refreshed queue the row reads Posted, and its Last message reads "Movement posted. The cancellation of document PS-1002 is applied only to what is still accrued for that document on accrual commitment AI-000771: … Accruals made for other shipments or receipts on the same commitment are never reversed by a cancellation …"

Earmark recognizes a cancellation from the original rows plus the offsetting rows the cancel writes under the same number, and it takes back only what PS-1002 accrued:

MovementAmountState
Accrual (PS-1001)-600.00Accumulated, untouched
Accrual (PS-1002)-1,000.00Returned
Return reversal (PS-1002 canceled)+1,000.00Returned
AccountDebitCredit
Accrued customer rebates1,000.00
Customer rebate expense1,000.00

PS-1002 nets to zero. PS-1001's accrual is not touched, even though it sits on the same order line.

Cancel promptly. As in standard Dynamics 365, once a later negative packing slip has taken a slip's goods back, that slip can no longer be canceled ("Quantity … cannot be received because items have already been returned.").

3. Damaged goods come back before the claim​

On March 17 Pellham reports 40 crushed cases from the PS-1001 delivery.

What Kenji does (standard Dynamics 365):

  1. Create a return order for Pellham and use Find sales order to copy the line from SO-5071. This fills the return line's Return lot ID, which is how Earmark links the return to the original order line and its accrual.
  2. Once the warehouse has registered the arrival, post the return order's packing slip (PS-1003).

What Earmark does. The return goes through the same queue and processor as a shipment. Earmark looks for the accrual to take the return from: live accruals on the order line come first, newest first. The only live one is PS-1001's (PS-1002's is Returned). The return is 40 of its 300 cases, so Earmark splits the accrual by quantity and reverses the returned part. The returned part is -600.00 × 40 / 300 = -80.00, rounded to the currency's precision; the kept part takes the rest, so the two always add up to the original.

MovementMovement typeQuantityAmountState
Accrual (PS-1001)Accrual300-600.00Adjusted or split
Returned partAdjustment40-80.00Returned
Kept partAdjustment260-520.00Accumulated, claimable
Negation of the originalAdjustment+600.00Adjusted or split
Return reversal of the returned partReturn reversal+80.00Returned

That is four journals:

JournalDebitCredit
Returned partCustomer rebate expense 80.00Accrued customer rebates 80.00
Kept partCustomer rebate expense 520.00Accrued customer rebates 520.00
NegationAccrued customer rebates 600.00Customer rebate expense 600.00
Return reversalAccrued customer rebates 80.00Customer rebate expense 80.00

The first three net to zero: they only re-cut 600.00 into 80.00 and 520.00. The fourth takes the 80.00 back. PS-1001 now carries 520.00 for the 260 cases Pellham kept. The commitment belongs to the original order line, not to the return line, so Luis reads the chain from SO-5071: he selects the line, selects Accrual transactions in the Accruals group above the lines, then selects a movement and Open chain (see I want to understand what a return does to an accrual and I want to follow one accrual through its chain).

4. The March claim is raised and approved​

On March 20 PS-1004 ships the real 500 cases and accrues -1,000.00. At month end Dana claims everything still open.

What Dana does:

  1. Open Earmark > Inquiries and reports > Accrual transactions and select the Accumulated view. Filter on deal DL-000318.
  2. Select the two rows, the kept part of PS-1001 (-520.00) and PS-1004 (-1,000.00), and select Generate claims.
  3. In the dialog, check Transactions selected (2), Claims to be created (1) and What this would produce, then select Generate.

Earmark creates claim CLM-000141 for Pellham: one line per accrual, Total claim amount -1,520.00, status Open. Both accruals turn Claimed. The claim journals move the money from accrued rebates into claims payable:

Claim lineDebitCredit
Kept part of PS-1001Accrued customer rebates 520.00Customer rebate claims payable 520.00
PS-1004Accrued customer rebates 1,000.00Customer rebate claims payable 1,000.00

Once the claim journals have posted (see I want to get the claim journals posted), Dana selects Submit for approval. Ingrid reviews the lines on Earmark > Claims > All claims and selects Approve (see I want to approve a claim). Approval writes one journal per line, crediting Pellham's account:

Claim lineDebitCredit
Kept part of PS-1001Customer rebate claims payable 520.00Pellham & Rye Markets 520.00
PS-1004Customer rebate claims payable 1,000.00Pellham & Rye Markets 1,000.00

When those post, each line's Posting status reads Posted, and Pellham holds two credit vouchers of 520.00 and 1,000.00. Earmark writes these lines approved, so Accounts receivable can settle them.

5. More goods come back after the credit​

On April 8 Pellham finds 25 more damaged cases, from the PS-1004 delivery. Kenji enters the return the same way (return order, Find sales order, return packing slip PS-1009).

This time nothing on the order line is still claimable: everything was claimed on CLM-000141, and the credit is already on Pellham's account. Earmark never rewrites a claim that has been made. It takes the most recent claimed accrual on the line, PS-1004's (500 cases, -1,000.00), and posts the return as a new accrual that takes money back: -(-1,000.00 × 25 / 500) = +50.00.

MovementQuantityAmountState
Accrual, new chain (return after claim)-25+50.00Accumulated, claimable
AccountDebitCredit
Accrued customer rebates50.00
Customer rebate expense50.00

The queue row's message explains it: "… so the return has been posted as a negative accumulation on a new chain rather than by reversing it. The claim that was already made is a fact and Earmark does not rewrite it …" PS-1004's accrual is flagged, and on CLM-000141 the line for PS-1004 now shows Return after claim, with Return review outstanding on the claim.

Dana looks at the flag and leaves it. On an approved claim the flag is a record only: Accept return flag is refused there ("Claim CLM-000141 is Approved, so the return flag on line CLM-000141-2 can no longer be accepted. The review is only meaningful while the claim can still be approved."). The 50.00 is not lost: it is a claimable accrual, and the next claim takes it back from Pellham. Until then the accrued rebates account carries a 50.00 debit for it.

6. The April claim, and a disputed line​

On April 24 PS-1012 ships 400 cases on SO-5108 and accrues -800.00 on that line's commitment, AI-000802. On April 30 Dana selects the two Accumulated rows (-800.00 and the +50.00 from the April 8 return) and generates claim CLM-000152: two lines, Total claim amount -750.00, status Open. The +50.00 line runs the other way:

Claim lineDebitCredit
PS-1012Accrued customer rebates 800.00Customer rebate claims payable 800.00
The 25 returned casesCustomer rebate claims payable 50.00Accrued customer rebates 50.00

Merrowind agrees each claim with Pellham's category buyer before submitting it, so Dana emails the breakdown. The buyer pushes back on the second line: the 25 cases were damaged in Merrowind's own delivery, so Pellham should not lose the rebate on them. He also asks for part of the April rebate as a cheque. Rosa, the sales manager, agrees to waive the 50.00 as goodwill.

A claim's lines cannot be removed, and a claim is reversed whole or not at all. So the plan is: reverse CLM-000152, waive the 50.00, and claim the 800.00 again.

7. Reverse the disputed claim, waive the 50.00 and claim again​

What Dana does (see I want to reverse an open claim):

  1. On Earmark > Claims > All claims, select CLM-000152 and, in the Reversal group, select Reverse claim.
  2. In the Reverse claim dialog, read Settlement check by line. Nothing blocks: the claim was never approved, so there is no credit to unsettle.
  3. Enter Reason code DISPUTE, a Reason note ("Line 2 disputed; charge-back waived by the sales manager"), and keep today's Posting date.
  4. Select Reverse. Earmark confirms: "Claim CLM-000152 was reversed: 2 lines reversed, 2 accruals returned to claimable."

For each line Earmark posts three movements: a claim reversal that undoes the claim, a re-accumulation that puts the money back as a fresh claimable accrual, and a negation that cancels the original accrual's amount now that the re-accumulation carries it. The original accruals end Claim reversed and stay on file.

MovementAmountDebitCredit
Line 1: claim reversal+800.00Customer rebate claims payable 800.00Accrued customer rebates 800.00
Line 1: re-accumulation-800.00Customer rebate expense 800.00Accrued customer rebates 800.00
Line 1: negation+800.00Accrued customer rebates 800.00Customer rebate expense 800.00
Line 2: claim reversal-50.00Accrued customer rebates 50.00Customer rebate claims payable 50.00
Line 2: re-accumulation+50.00Accrued customer rebates 50.00Customer rebate expense 50.00
Line 2: negation-50.00Customer rebate expense 50.00Accrued customer rebates 50.00

The re-accumulation and the negation of each line cancel each other in the ledger. The claim reversal cancels the claim journal. Claims payable for CLM-000152 is back to zero, and the -800.00 and +50.00 are claimable again as two new Accumulated rows. CLM-000152 is now Reversed.

What Luis does (see I want to reverse accruals). The waiver means the +50.00 should never be claimed. On Accrual transactions, in the Accumulated view, Luis selects the re-accumulated +50.00 row and, in the Movement group, selects Reverse. He checks the Journal line preview, enters Reason code GOODWILL and selects Reverse. The infolog ends "Reverse accruals finished: 1 of 1 selected movements reversed."

MovementAmountDebitCredit
Accrual reversal of the +50.00-50.00Customer rebate expense 50.00Accrued customer rebates 50.00

The +50.00 row is now Reversed. The whole chain for the 25 cases (the return after claim, the claim line, its reversal and this waiver) nets to zero on every account, so Merrowind bears the full 1,000.00 rebate on PS-1004, as Rosa agreed.

What Dana does next. She selects the re-accumulated -800.00 row on Accrual transactions and selects Generate claims. The new claim, CLM-000158, has one line of -800.00. Its Reversal reference names CLM-000152, and CLM-000152's now names CLM-000158, so anyone reading either claim can see what replaced what (see I want to review reversed claims). Dana submits it; Ingrid approves it.

MovementDebitCredit
Claim (CLM-000158)Accrued customer rebates 800.00Customer rebate claims payable 800.00
Claim approvalCustomer rebate claims payable 800.00Pellham & Rye Markets 800.00

8. Part of the credit as a cheque​

Pellham wants 500.00 of the 800.00 by cheque. The other 300.00 covers an invoice it had already short-paid in anticipation of the rebate.

What Hazel does (standard Dynamics 365; see I want to settle claim credits against invoices). In Settle open transactions on Pellham's customer account, she settles 300.00 of the CLM-000158 credit against the short-paid invoice. Nothing is stored in Earmark: the claim line's Remaining reads the customer transaction live and now shows -500.00. Settling needs a standard Accounts receivable role; the Earmark duties do not grant it.

What Dana does:

  1. Open claim CLM-000158. On the Lines FastTab, select the line and select Record settlement preference (see I want to record a customer settlement preference).
  2. Under What the customer asked for, set Preference to Refund by cheque, How they told us to Email, and Date received to the date of the buyer's email. Check Remaining credit (-500.00, the open part of the credit) and select Record.
  3. Open Earmark > Periodic tasks > Propose refunds. Enter Pellham's Invoice account, check Proposal date, Journal name and Method of payment, leave Net charge-backs in refund proposal on, and select OK (see I want to propose refunds and post the refund journal).

The run ends "Refund proposal complete: 1 customer payment journals proposed, 0 customers skipped, in journal name …" Earmark has written one unposted customer payment journal with one line for the CLM-000158 credit. The line's text is the claim reference, CLM-000158-1, and the line is marked for settlement against that credit. Pellham has no open charge-backs, so there is nothing to net.

AccountDebitCredit
Pellham & Rye Markets500.00
Operating bank account500.00

Earmark never posts this journal. Hazel reviews it, completes the cheque the way Merrowind pays any customer refund, and posts it in the standard customer payment journal. Posting settles the remaining 500.00 of the credit, and Earmark records the refund against the claim line. Remaining reads 0.00.

What they ended up with​

Every Earmark journal in the story, summed by account:

AccountDebitCreditBalance
Accrued customer rebates5,750.005,750.000.00
Customer rebate claims payable3,170.003,170.000.00
Customer rebate expense4,900.002,580.002,320.00 debit
Pellham & Rye Markets500.002,320.001,820.00 credit
Operating bank account500.00500.00 credit
  • The expense is right to the cent. Pellham kept 260 cases from PS-1001, 500 from PS-1004 (the 25 returned cases were waived) and 400 from PS-1012: 1,160 cases × 2.00 = 2,320.00.
  • The customer received exactly that. 2,320.00 of credits: 300.00 settled the short-paid invoice, 500.00 went out as a cheque, and the March credits of 520.00 and 1,000.00 stay on account for Hazel to settle against Pellham's next invoices.
  • Every correction netted. PS-1002's accrual and its cancellation net to zero. The split of PS-1001 nets to zero before the 80.00 is taken back. CLM-000152 and its reversal net to zero on claims payable. The 25-case return after claim, its claim and its waiver net to zero.
  • The trail is complete. CLM-000141 is Approved, with Return after claim on the PS-1004 line as a permanent record. CLM-000152 is Reversed, with reason DISPUTE and Reversal reference CLM-000158. CLM-000158 is Approved and fully settled. Luis can follow any of it from one accrual (see I want to follow one accrual through its chain) and reconcile it to the ledger at month end (see Reconcile accruals against the general ledger).

What could have gone differently​

The slip was canceled before the processor ran. If Kenji had canceled PS-1002 within the hour, its accrual event would have been answered with "Document PS-1002 had been canceled by the time its accrual event for accrual commitment AI-000771 was processed: … Nothing needs to be done." No accrual, no reversal, no journals. See Understand what happens when goods are returned.

The return line had no Return lot ID. A return line typed in without Find sales order (or Create credit note) is not linked to the original shipment, so Earmark reverses nothing for it. The accrual has to be corrected by hand: Adjust accrual to split off the returned quantity, then Reverse on the returned part. See Adjust an accrual and Reverse accruals.

The dispute came after approval. Had Ingrid already approved CLM-000152, Dana could not reverse it. An Accounts receivable manager uses Reverse approval instead. Any part of the credit already settled in Accounts receivable must be unsettled first, and the reversal posts one more journal per line, which takes the credit (or charge-back) back off Pellham's account before the same three movements. See Reverse a claim (or reverse an approved claim) and I want to reverse an approved claim.

Merrowind held the 50.00. If Rosa had kept the charge-back, CLM-000152 would have been approved as it stood: an 800.00 credit and a 50.00 debit (a charge-back) on Pellham's account, one journal each. With Net charge-backs in refund proposal on, Propose refunds puts the open charge-back on the same payment journal as a line of its own, so the bank moves the net amount across two lines. Payments are generated line by line, and standard cheque generation refuses a line with a negative amount. If you pay refunds by cheque, settle the charge-back against the credit in Accounts receivable first, so the proposal carries one net line. See Propose refunds and Refund proposal.