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
The diagram goes on to the side. Drag it, or use the two buttons.
Steps
Steps in order
| # | Step | Done by | Tolerance | Rollout stage |
|---|---|---|---|---|
| 1 | Dealer writes about goods or an invoice Selected | Dealer | No check at this step | 4 |
| 2 | AI agent reads the letter into a case Selected | Credit agent · AI agent | No check at this step | 4 |
| 3 | Code checks what may be credited Selected | Credit checks · Automation, no AI | Invoice and serial numbers of this dealer and 4 more | 6 |
| 4 | Sales manager proposes the credit Selected | Sales manager | Limit 20,000 UAH, or its equivalent at the NBU rate of the day and 1 more | 6 |
| 5 | Owner approves the credit Selected | Owner | None - the owner decides | 6 |
| 6 | Accountant posts the credit note Selected | Accountant | Sum not above what was proposed or approved and 2 more | 6 |
| 7 | Code settles the credit note Selected | Credit checks · Automation, no AI | Exact in the currency of the invoice and 2 more | 6 |
| 8 | Owner signs the refund Selected | Owner | Exact and 1 more | 6 |
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
| Step | Compared with | Tolerance | On a difference |
|---|---|---|---|
| 3 · Code checks what may be credited | Invoice 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 tax | Invoice 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's | The 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 credit | The proposed sum, with the other credit notes of the same invoice, against the limit, and line by line against the highest sum of step 3 | Limit 20,000 UAH, or its equivalent at the NBU rate of the day; never above the highest sum | Our 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 credit | Reason and sum against the invoice and the dealer's earlier credit notes | None - the owner decides | A 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 note | The draft against the proposal and the approval; rate and tax against the invoice; lines with a stock product against the return | Sum 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 product | Our 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 note | Credit note against the open part of the invoice; the refund against the money received for that invoice; returned quantity against the stock move | Exact 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 back | A 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 refund | The refund against the credit note - dealer, account, sum and currency | Exact; the account the invoice was paid from | The 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
| Step | Record | What is written |
|---|---|---|
| 2 · AI agent reads the letter into a case | Agent action log | One line per field written |
| 3 · Code checks what may be credited | Agent action log | One line per check result |
Connected processes
Where the work comes from and where it goes
Work goes to
| Process | What passes | At step |
|---|---|---|
| Bank reconciliation | A signed refund, to be found on the statement | Owner signs the refund |
| Tax figures for the return | A credit note set against its invoice | Code settles the credit note |
| Tax figures for the return | A credit note paid back | Owner signs the refund |
| Stock value to ledger | Serial numbers that came back, with their cost | Accountant posts the credit note |
Work comes from
| Process | What passes | At step |
|---|---|---|
| Stripe payout match | A refund or a disputed charge with no credit note | Accountant settles unmatched lines |
| Collecting overdue invoices | A dispute with the invoice and the sum | Accountant records the answer |
| Dealer question answered with sources | A return or a disputed invoice | Sales manager passes it on |
| Warranty claim | An accepted claim to be settled by credit | Service manager sends the answer |
Want this process checked on your data?
Tell us where it goes wrong.