MosoFin · Credit memos and refunds, in plain words

A customer wants money back, or we owe a supplier a credit. How do we record it right?

Money sometimes goes back the other way. A customer returns goods, a price was wrong, a supplier billed too much, or a card payment comes back. This skill finds which type of credit each one is. It checks the credit against the original invoice or bill, and it checks that the tax on the credit mirrors the original tax.

The 20-second version

You tell it the credit, the original invoice and the reason. It reads your books, or the files that you upload. It checks every credit in the month against its original. It writes the journal entry for each credit as a draft, and it lists the credits that nobody used. It never posts an entry, never sends a refund and never changes your books.

What a run finds

Four new credits at Northbrook Trading in September

Northbrook Trading sells goods to other businesses, works in US dollars and charges 7.5% sales tax on its sales. The run is on Wednesday 30 September 2026, for September. Four items come in: a pricing credit, a return of goods, a card chargeback and an unpaid invoice to write off.

ItemOriginal invoiceType and reasonCredit $What the skill does
CM-0418, Harbor Retail, Tue 8 Sep1042, Mon 3 Aug: 16,000 + 1,200 tax = 17,200, unpaidCustomer credit. Pricing error1,290.001,200 + 90 tax. The credit goes against invoice 1042, so 17,200 − 1,290 = 15,910 stays open. Draft E1
CM-0421, Crestline Foods, Mon 14 Sep1038, Mon 27 Jul: 40 units × $150 = 6,000 + 450 tax = 6,450, paidSales return. 10 units come back, and you say that 2 are broken1,612.501,500 + 112.50 tax. Crestline paid the invoice, so the credit stays on Crestline's account. Draft E2
Lakeside Freight, Tue 22 Sep1050, Mon 24 Aug: 2,000 + 150 tax = 2,150, paid by cardChargeback, still disputed. Processor fee $15—It does not reverse the sale while the dispute is open. Draft E5
Brookfield Gym0880, Fri 1 May: 1,000 + 75 tax = 1,075, unpaid for 152 daysBad-debt write-off. You say that the customer stopped trading—It writes the 1,075 off as a bad debt. It does not claim the $75 of tax back. Draft E7
Example figures for a made-up company, in dollars. The 7.5% rate is the example rate in the skill's own tax step. The reasons and the broken units come from you, because no system holds them.
New items42 credits, 1 chargeback, 1 write-off
Problems in September's credits43 credits fail a check. 1 vendor credit is in the wrong account
Draft entries72 of them correct entries that are already in the books
Vendor credits not used$2,750$2,350 of it is 111 days old. The skill posts nothing
Why the reason matters

One credit memo can need three different entries

A credit memo is a document that reduces what a customer owes you. A price correction, a return of goods and a goodwill credit can all use the same document. The skill uses a different entry for each one. So it asks you for the reason, and it never guesses it from the document.

Credit memo one document The reason you supply it Pricing error DR Sales returns & allowances, DR Sales tax CR Accounts receivable Return of goods The same lines, plus DR Inventory, CR Cost of goods sold Broken goods come back at what they are worth now Goodwill credit DR Sales returns & allowances or Sales discounts A price concession: it reduces sales, not a bad debt
The entry shapes come from the skill's own templates. DR means debit and CR means credit. Each entry also has a separate tax line when the original carried tax.

Sales returns and allowances is a contra-revenue account. It has a debit balance and it reduces your gross sales1. When goods come back and you can sell them again, a second entry puts them back into inventory at their cost1. If the customer keeps the goods and gets a lower price, there is no inventory entry.

Crestline sent back 10 units that cost Northbrook $60 each, so 10 × 60 = $600 comes off the cost of goods sold. You say that 2 units are broken and are worth $20 each now. The skill brings 8 × 60 + 2 × 20 = $520 back into inventory. The other 600 − 520 = $80 is a write-down. If the skill brought the broken goods back at full cost, your inventory would show too much.

The mistake it catches

The tax stays on a sale that you cancelled

The skill checks every credit in the month, and the new ones too. On Wednesday 9 September, someone at Northbrook recorded credit memo CM-0412 for Acme Corp. The credit cancels all of invoice 1019: 800 + 60 tax = 860. The person put the full 860 against sales and recorded no tax line.

The tax mirrors the original

What the skill expects for CM-0412
DR Sales returns & allowances$800
DR Sales tax payable$60
CR Accounts receivable$860
800 × 7.5% = 60. The tax on the credit is equal to the tax on the original, on its own line.

The tax is inside the net amount

What Northbrook recorded
DR Sales returns & allowances$860
DR Sales tax payable$0
CR Accounts receivable$860
The customer owes the same. But sales are $60 too low, and Northbrook still owes $60 of sales tax on a sale that it cancelled.

The skill writes a correcting draft, E4: debit Sales tax payable $60, credit Sales returns and allowances $60. It does not change or delete the original entry. Without the original invoice beside the credit, nobody sees this mistake.

The UK tax office shows the same idea for VAT. When a price falls after the sale, the supplier reduces its output tax, and a VAT-registered customer reduces the tax that it claimed2. The credit note must show the number and date of the original VAT invoice. It uses the tax rate of the original sale2. Northbrook is a US company, so this is only an example from another country.

The month's checks

Every September credit gets four checks

For each credit, the skill asks four questions. Does the original invoice exist? Are all the credits against it, this one and the earlier ones, not more than the original invoice amount? Is the period right? Is the currency the same? Then it checks the tax on the credit against the tax on the original.

CreditProblemThe arithmeticNext step
CM-0409, Summit Hotels, Thu 3 SepCredits are more than the originalInvoice 0975: 3,000 + 225 tax = 3,225. Earlier credit CM-0390: 1,075. CM-0409: 2,365. 1,075 + 2,365 = 3,440, which is 215 more than 3,2252,150 of the credit clears invoice 0975, and 215 stays on account. The skill lists the credit as a validation exception. A manager must approve the 215
CM-0412, Acme Corp, Wed 9 SepNo tax line on the creditExpected tax 800 × 7.5% = 60. Tax on the credit 0. Difference 60Correcting draft E4
CM-0425, Pinnacle Clinics, Fri 18 SepNo original invoiceA goodwill credit of 250 with no linked invoiceThe skill asks you for the business reason and recommends an approval step. No entry until you give a reason
VC-0077, Delta Packaging, Thu 10 SepVendor credit in the wrong accountBill B-5530 went to Packaging Supplies. The 400 credit went to Other IncomeCorrecting draft E3
Example figures for a made-up company, in dollars. CM-0418 and CM-0421 pass all four checks and the tax check. September is open, and Northbrook's year ends on 31 December.

The Delta problem is a posting problem, and it is not one of the four checks. A supplier gave Northbrook a $400 credit against a bill for packaging. The credit must go back to the account that holds the original cost. When a buyer returns goods, the credit also goes back to the account of the purchase3. That textbook case is about inventory. The skill uses the same idea for any cost account. Draft E3 moves the 400 from Other Income to Packaging Supplies.

Chargebacks and write-offs

A disputed chargeback does not touch your sales

Lakeside Freight paid invoice 1050 by card and then disputed the charge with its card issuer. The card processor took the $2,150 back from Northbrook and charged a $15 fee. Under US law, a cardholder can dispute a billing error in writing within 60 days of the first statement that shows it4. The issuer must resolve the dispute within two billing cycles, and in not more than 90 days4. So the dispute can still go either way.

While the dispute is open, the skill does not reverse the sale. Draft E5 records a chargeback receivable of $2,150 and a fee of $15 against the merchant clearing account: 2,150 + 15 = 2,165. If you have no connected payment processor, you supply the fee and the reference.

Brookfield Gym stopped trading and owes $1,075. Draft E7 moves the full 1,075 from accounts receivable to bad debt expense. The skill does not claim the $75 of sales tax back. Tax relief on a bad debt has its own rules in each country, so the skill flags it for you. It never claims that tax back automatically.

The draft entries

Seven drafts, and each one balances

DraftDebitsCreditsTotal $
E1 CM-0418, HarborSales returns & allowances 1,200. Sales tax payable 90Accounts receivable 1,2901,290.00
E2 CM-0421, CrestlineSales returns & allowances 1,500. Sales tax payable 112.50. Inventory 520. Loss on returns 80Accounts receivable 1,612.50. Cost of goods sold 6002,212.50
E3 VC-0077, Delta, correctionOther income 400Packaging supplies 400400.00
E4 CM-0412, Acme, correctionSales tax payable 60Sales returns & allowances 6060.00
E5 Lakeside chargebackChargeback receivable 2,150. Chargeback fees 15Merchant clearing 2,1652,165.00
E6 Cedar Point refund, if you refund itAccounts receivable 300Cash 300300.00
E7 Brookfield write-offBad debt expense 1,075Accounts receivable 1,0751,075.00
Example figures, in dollars. E2: debits 1,500 + 112.50 + 520 + 80 = 2,212.50, and credits 1,612.50 + 600 = 2,212.50. The drafts reduce sales tax payable by 90 + 112.50 + 60 = 262.50. A person posts each draft by hand, or does not post it.

CM-0418 goes against invoice 1042. The skill tracks that application and proposes no second entry for it. The credit is already in the books from the day that Northbrook issued it. A second entry would count it twice.

Credits that nobody used

$2,750 of supplier credits wait on account

A credit that nobody uses stays on the customer's or the supplier's record. The skill lists these credits in both directions, from the aging detail at the end of the month. It puts the vendor credits first, largest first.

WhoCreditDateAmount $Age, daysSuggested step
Ridgeway Metals (supplier)VC-0061Thu 11 Jun2,350.00111Check it against the supplier's statement
Delta Packaging (supplier)VC-0077Thu 10 Sep400.0020Apply it to the next Delta bill, after correction E3
Supplier credits2,750.00
Crestline FoodsCM-0421Mon 14 Sep1,612.5016Apply it to the next invoice or refund it. You decide
Summit HotelsCM-0409, the extra partThu 3 Sep215.0027Hold for approval
Pinnacle ClinicsCM-0425Fri 18 Sep250.0012Hold for the reason
Cedar Point CafePayment, not appliedFri 25 Sep300.005A refund of an overpayment, sent to its own path
Customer credits2,377.50
Example figures, in dollars. Ages count the days to 30 September. 1,612.50 + 215 + 250 + 300 = 2,377.50. The skill asks you to check any supplier credit older than one billing cycle against the supplier's statement. The skill does not define a billing cycle, so this example uses one month.

A supplier credit in your books can be money that you can use against the next bill. But some are duplicate entries, and the supplier already refunded others. So the skill asks you to check each old one against the supplier's statement before you claim it.

What it sends elsewhere

An overpayment, and a request that it refuses

Cedar Point Cafe paid $300 more than it owed on invoice 1047. That is an unapplied payment, and it is not a credit memo. The skill flags it and gives the refund entry as draft E6. You decide whether to refund it.

Then the owner asks: "Post these and send Crestline its refund." The skill says no, once and plainly. It cannot change data in a connected system. It gives you the drafts so that you can post them yourself in your own system.

How a run starts

Eight items, in one message

The skill asks these first, in one short batch. It asks only for what it cannot already see.

  1. Use MosoFin for this run, or upload the data yourself?
    MosoFin is the connection to your books and the other platforms that you link. With it, the skill reads from there. Without it, you upload the files, and the checks are the same. The skill asks this only if your account has the MosoFin tools. If not, it says once that the run is manual.
  2. What type is it: customer credit, customer refund, vendor credit or chargeback? For a chargeback: still disputed, accepted, or a fraud loss?
    Each type needs a different entry. The skill never chooses a default type. On the MosoFin path, the type of document in your books narrows it, and the skill asks you if that type is correct.
  3. The original invoice or bill: its number, date and amount.
    With the original, the skill can check that it exists, and check its balance, period and currency. If there is no original, the skill flags it and asks for the business reason.
  4. The credit amount.
    Required. The skill adds it to the earlier credits and compares the total with the original invoice amount.
  5. The reason: a return, a price dispute, goodwill, damage or an error.
    Required, and never guessed. A return changes your inventory. A goodwill credit or a pricing error reduces sales. A write-off of an unpaid balance goes to bad debt.
  6. The tax place, if the original carried tax.
    The tax rules of that place decide if you can get tax back on a write-off. On the MosoFin path, the skill reads the tax codes of the original and asks you if they are correct.
  7. Which period's credits to review?
    The skill checks every credit in the period, and not only the new one. It names the file for the month.
  8. Who approves a credit that is more than the original invoice?
    Such a credit needs a manager's approval. The skill finds these credits itself. A person must give the approval.

Then it reads the plan back and waits for your yes. The skill's own example reads like this:

"Processing credit memo CM-0418 for Northbrook Trading: a customer credit of $1,200 against invoice 1042, reason pricing error, tax under the jurisdiction you named, with the books read from your Mosofin connection. I will also check every credit in September and list unapplied credits in both directions. Shall I go ahead?"

The read-back does not say if $1,200 includes tax. This page reads it as the amount before tax, so the credit is 1,200 + 90 = 1,290.

What you need

Connect once, or upload the credit and the original

Connected with MosoFin

Say yes, then give it the reason

  • It reads back the workspace and the company file by name, and waits for your yes
  • It checks for a connected payment processor, which holds the chargeback fee and reference
  • It reads the credit memos, refunds and vendor credits, and the original invoices and bills. It also reads the open balances, item costs, tax codes and chart of accounts
  • It asks you if it has the correct names for your sales returns, chargeback fee and write-off accounts
  • You still give it the reason, if returned goods came back in good condition, the write-off tax rules and the exchange rate. No system holds these
Uploading instead

One checklist, in one message

  • The credit memo, refund, vendor credit or chargeback, required. PDF or image, or a CSV or XLSX export
  • The original invoice or bill, with number, date, amount, balance, currency and tax codes, required if there is one. PDF, image, CSV or XLSX
  • The credit type, the reason and the credit amount, required, typed in the chat
  • Chart of accounts, CSV or XLSX, required for the draft entries
  • The tax place, typed in the chat, required if the original carried tax
  • Open credits, and the AR and AP aging with credit balances, CSV or XLSX, recommended for the list of unused credits
  • The processor statement with the chargeback fee and reference, and the item cost and condition for a return, when they apply
What you get back

Six sheets, from the register to the coverage

Credit memos registerEach credit with its date, type, customer or supplier, original invoice, amounts, tax reversed, reason and status.
GL posting inputsThe draft entry for each credit, with the label "proposal".
Application trackingWhich invoice each credit went to, the amount applied and the balance that stays.
Unapplied creditsCredits that nobody used, in both directions, with vendor credits first.
Validation exceptionsEach credit that failed a check against its original, or the tax check, and the next step.
CoverageFor each task, what the skill read and with which tool, and what a person supplied.

For a batch, it asks whether you want the sheets as an Excel file, CreditMemos_2026-09.xlsx, before it makes one. If you say no, you get the same sheets as tables in the chat. For one credit, it gives a short summary and the entry inputs in the chat. It waits until you see and approve the results. Then it offers to save your account names and your reasons, with the entry for each reason. It also offers to save your approval limit and your write-off tax position. It never saves customer or supplier names with credit amounts, reasons or dispute details, and it never saves the open credit balance.

What it never does

Six rules that never bend

  • Never reads MosoFin without asking. A connected account is not permission to read it.
  • Never reads anything before you answer the intake items and say yes to the read-back.
  • Never writes, updates or deletes anything, in any system. Every entry that it makes is a proposal for a person to post.
  • Never guesses the reason from the document type. It never chooses a default reason, credit type or tax treatment. In the skill's words: "Three types can share an identical document and need three entries."
  • Always mirrors the tax of the original on a separate line. It never claims tax back automatically on a write-off.
  • Never proposes a second entry when a person applies a credit. It never applies one company's credit to another company's invoice. It never proposes a refund on test data, which the system marks as mock.
Words you'll hear

Seven terms, in plain English

Credit memo
A document that reduces what a customer owes you. From a supplier, accountants call it a credit note or a vendor credit.
Sales returns and allowances
A contra-revenue account: it reduces your sales and does not count as a cost1.
On account
A credit that stays on a customer's or supplier's record and that nobody used yet.
Application
The use of a credit to pay part of an invoice. It needs no new entry in the general ledger.
Chargeback
A customer reverses a card payment through the bank that issued the card4.
Output tax
The tax that you charged a customer. A credit reduces it by the same rate as the original sale2.
NRV
Net realisable value: what returned goods are worth now. It can be less than their cost.
Sources

Where the facts on this page come from

The sources are two sections of an accounting textbook, a UK tax office brief and a US consumer guide. We found each one on 28 October 2026 in search results. We did not open the pages, so follow each link for today's wording. What the skill does comes from the skill's own files.

  1. OpenStax: Principles of Accounting, Volume 1, 6.4 Analyze and Record Transactions for the Sale of Merchandise Using the Perpetual Inventory SystemSales returns and allowances is a contra-revenue account with a debit balance that reduces gross sales. With a perpetual inventory, a second entry puts goods that come back into inventory and reduces cost of goods sold. An allowance has no inventory entry.
  2. HMRC: Revenue and Customs Brief 6 (2019): changes in accounting for VAT after prices are alteredWhen a price falls after the sale, the supplier reduces its output tax and a VAT-registered customer reduces its input tax. The credit note shows the number and date of the original VAT invoice and uses the rate of the original supply. This is a UK rule.
  3. OpenStax: Principles of Accounting, Volume 1, 6.3 Analyze and Record Transactions for Merchandise Purchases Using the Perpetual Inventory SystemA buyer that returns goods credits Merchandise Inventory, the account where it recorded the purchase. Before payment it debits Accounts Payable, and after payment it debits Cash.
  4. Federal Trade Commission: Using Credit Cards and Disputing ChargesUnder the Fair Credit Billing Act, a cardholder can dispute billing errors in writing within 60 days of the first statement that shows the error. The issuer must resolve the dispute within two billing cycles, and in not more than 90 days. This is a US consumer rule.

No outside authority backs the list of credit types, the four checks, the six sheets, the vendor-first order or the 7.5% rate. They are the skill's own rules and examples. We made up Northbrook Trading and every figure in the example for this page. Northbrook is a US company, and US states set sales tax, so this page cites no US tax rule. The UK source shows the same tax idea in another country.

About this skill

This page explains credit-memo-and-refund-handler, from the MosoFin finance skills library, MosoFin/mosofin-finance-skills on GitHub. Read the skill on GitHub → The skill is in the card format on the main branch. It merged in PR #1 on 26 October 2026, and a bookkeeping-audit correction followed on 27 October 2026. This page describes that version.