Demo

Illustrative example - not a client. All companies, people and numbers are made up.

Credit note to a dealer.

A dealer's return or dispute becomes a credit note tied to one invoice, or a refund. Code checks serial numbers, the return and what is still left to credit; the sales manager proposes, the owner approves above the limit, the accountant posts.

Company
Demo Manufacturer LLC and Demo Manufacturer US Inc.
Starts when
A dealer returns goods or disputes an invoice
How often
A few times a month, one run per case
Select a step to open its card. The table below lists every step in order.

Steps

Steps in order

#StepDone byToleranceRollout stage
1Dealer writes about goods or an invoice DealerNo check at this step4
2AI agent reads the letter into a case Credit agent · AI agentNo check at this step4
3Code checks what may be credited Credit checks · Automation, no AIInvoice and serial numbers of this dealer and 4 more6
4Sales manager proposes the credit Sales managerLimit 20,000 UAH, or its equivalent at the NBU rate of the day and 1 more6
5Owner approves the credit OwnerNone - the owner decides6
6Accountant posts the credit note AccountantSum not above what was proposed or approved and 2 more6
7Code settles the credit note Credit checks · Automation, no AIExact in the currency of the invoice and 2 more6
8Owner signs the refund OwnerExact and 1 more6

Rollout stage: 4 · Customer and dealer letters with sources; 6 · Month-end close and approvals.

Before

How it was done before

The sales manager agreed a discount by letter, and the accountant found out when the dealer paid less.

Where it breaks without control

  • A second credit note brings the total above the invoice it corrects.
  • Money goes back before the unit does, or for a unit that was sold to another dealer.
  • A price credit is posted with the unit on its line, and the ledger takes back stock that never returned.
  • One case is split into two notes, each under the owner's limit.

Controls

What is checked, and who signs

Checks

StepCompared withToleranceOn a difference
3 · Code checks what may be creditedInvoice and dealer; serial numbers against the delivery of that invoice; quantity against the return and its inspection; earlier credit notes of the same invoice and the same serial numbers; the invoice's price, currency and taxInvoice and serial numbers of this dealer; each serial number credited once; for a return, received as a return of that delivery and inspected; all credit notes together not above the invoice, line by line; currency the invoice'sThe case waits in the sales manager's exception queue with each difference in plain words. A serial number of another dealer, or one credited before, cannot be proposed. A return that has not arrived waits; nothing is credited on a promise to send it. A unit that stands in Repair is still the dealer's property and is first received as a return.
4 · Sales manager proposes the creditThe proposed sum, with the other credit notes of the same invoice, against the limit, and line by line against the highest sum of step 3Limit 20,000 UAH, or its equivalent at the NBU rate of the day; never above the highest sumOur module refuses a sum above the highest one. Earlier notes of the same invoice count towards the limit, so a case split in two still reaches the owner. A refused case is answered by the sales manager and closed with a reason.
5 · Owner approves the creditReason and sum against the invoice and the dealer's earlier credit notesNone - the owner decidesA refused draft is cancelled with the reason, and a lowered sum goes back to step 4; the sales manager tells the dealer. A change of sum, lines or invoice after the approval cancels it.
6 · Accountant posts the credit noteThe draft against the proposal and the approval; rate and tax against the invoice; lines with a stock product against the returnSum not above what was proposed or approved; rate and tax the invoice's; a stock product only with a done return, because Odoo books its cost back to stock with the note - a price credit stands on a line of its own without the productOur module refuses to post, and says which condition failed. The accountant corrects the draft, or returns it to the sales manager when the sum must change.
7 · Code settles the credit noteCredit note against the open part of the invoice; the refund against the money received for that invoice; returned quantity against the stock moveExact in the currency of the invoice; its own invoice first; a refund only of money that the bank or Stripe shows as received and not yet given backA rest that cannot be set off stays open on the dealer and is listed to the accountant. When the dealer owes on another invoice, the accountant asks in writing before anything is set against it. A stock move that differs stops the refund.
8 · Owner signs the refundThe refund against the credit note - dealer, account, sum and currencyExact; the account the invoice was paid fromThe owner does not sign. Another account is accepted only after the sales manager calls the dealer on the number on file and the owner confirms it; the accountant then makes a new file.

Duties by role

What the action log records

StepRecordWhat is written
2 · AI agent reads the letter into a caseAgent action logOne line per field written
3 · Code checks what may be creditedAgent action logOne line per check result

Connected processes

Where the work comes from and where it goes

Work goes to

ProcessWhat passesAt step
Bank reconciliationA signed refund, to be found on the statementOwner signs the refund
Tax figures for the returnA credit note set against its invoiceCode settles the credit note
Tax figures for the returnA credit note paid backOwner signs the refund
Stock value to ledgerSerial numbers that came back, with their costAccountant posts the credit note

Work comes from

ProcessWhat passesAt step
Stripe payout matchA refund or a disputed charge with no credit noteAccountant settles unmatched lines
Collecting overdue invoicesA dispute with the invoice and the sumAccountant records the answer
Dealer question answered with sourcesA return or a disputed invoiceSales manager passes it on
Warranty claimAn accepted claim to be settled by creditService manager sends the answer

Back to the diagramShow it on the process map

Want this process checked on your data?

Tell us where it goes wrong.

Write to us about this process