Last updated November 25, 2026
A credit note is the document that corrects an issued invoice. It reduces what the customer owes — or, if the invoice is already paid, records the amount you are returning to them — while leaving the original invoice intact for the audit trail. Use one for overcharges, service credits, partial cancellations, or price adjustments after the fact. Voiding is for withdrawing an invoice entirely; a credit note is for adjusting it. A credit note starts as adraft, then is applied to finalize it. Applying to an unpaid invoice reduces the balance due; applying to a paid invoice optionally triggers a refund to the original payment or a wallet. See How Alguna Works for where corrections sit in the lifecycle.
When to use one
Statuses
Credit an invoice
The simplest path:POST /invoices/{id}/credit-notes creates a draft that credits invoice lines at exactly the prices and tax they were billed with — no re-calculation. Omit line_items to credit everything still uncredited; pass them to credit specific lines by the quantity of units (fractional allowed). See Credit an invoice.
amount_including_tax in GET /invoices/{id} is what a full credit of that line returns.
Create a credit note with your own lines
POST /credit-notes builds a draft from lines you specify. Link it to an invoice with invoice_id, or give a customer_id for a credit not tied to a specific invoice. A line either credits an invoice line (invoice_line_item_id + quantity, reusing its price and tax) or prices something new (description, quantity, tax-exclusive unit_price; tax is calculated on top). See Create a credit note.
issued or overdue — are supported for Alguna-issued invoices. Linked paid invoices are supported too.
Apply a credit note
Applying finalizes the draft.do_refund is required: false for an unpaid invoice (the balance is reduced) or when you want a paid invoice credited without money moving; true to refund a paid invoice, with refund_destination of original_payment or wallet (plus wallet_id). See Apply a credit note.
Who can apply one
Two controls govern who can credit an invoice. The draft stage separates creating a credit note from applying it, so someone other than the author can review the lines and amounts while nothing has moved yet. Role permissions decide who may do either: Manage credit notes covers creating and applying, View credit notes is read-only, and roles are configured under Settings → Admin → Users → Custom Roles (see Team and roles). The audit log under Settings → Logs → Audit log records each application with the user who made it. The audit log is available on request: contact support or your account team to turn it on. It may depend on your plan.Create and apply in one call
Setapply: true on POST /credit-notes to create and apply synchronously. To refund as well, add refund: { "destination": "original_payment" }; this requires a linked invoice that is paid. If applying fails, the credit note is left in draft and the error names it so you can apply it separately.
Python
Refund or correct tax
When an invoice charged tax that it should not have, or charged it at too high a rate, a tax-correction credit note returns only the tax and leaves the net amounts as billed. A typical case is a customer who sends a valid VAT ID after the invoice went out, so the supply falls under reverse charge. This flow is dashboard-only; the public API does not create tax-correction credit notes.- Open the invoice under Invoices and choose Refund Tax (paid invoice) or Correct Tax (issued or overdue invoice) from its actions. The action shows only when the invoice has tax left to correct, Alguna manages the invoice, the tax does not come from Anrok, and no payment is processing.
- Choose the corrected treatment: reverse charge, customer exempt, zero-rated, or standard at a lower rate (from 0% up to, but not including, 100%). Add a reason for the audit trail if you want one. Tick Also update the customer’s tax settings to give future invoices the corrected treatment and rate; the option is not offered when the legal entity uses Stripe Tax, which ignores the customer’s tax settings.
- Check the lines. Alguna computes the tax charged, the corrected tax, and the difference for each line; you never type an amount. Untick a line to keep its tax as charged. A line that credits an earlier charge, such as a proration credit on an upgrade invoice, carries negative tax: it is listed too, and it lowers the refund, so the correction gives back no more tax than the invoice collected. The ticked lines must refund more than zero and no more than the tax the invoice still holds; on an unpaid invoice they also cannot exceed the amount still payable. When the ticked lines break one of these limits, the dialog says why and the button stays disabled.
- On a paid invoice, choose where the refund goes, with the same options as Apply Credit Note, and optionally send the credit note email. On an unpaid invoice, Correct Tax applies the credit note and the amount due drops by the difference.
Read credit notes
GET /credit-notes?customer_id=… lists a customer’s credit notes (customer_id is required); GET /credit-notes/{id} returns one. Useful fields:
In the dashboard
- Open the invoice under Invoices and choose Create Credit Note from its actions.
- Pick the lines and quantities to credit, or add a custom line. The credit note is created as a
draft. - Open the draft and choose Apply Credit Note. For a paid invoice you choose where the money goes: Refund to payment method, Refund offline (you return the money yourself and record it), Apply to wallet, or Create and apply to a new wallet.
- Optionally send the customer the credit note email.
Next steps
Refunds
What a refund is, its statuses, and when to create one directly.
Wallets
Refund to a prepaid balance instead of the original payment.
Invoicing Configuration
Invoice statuses and organization settings.
Credit Notes API
Full request and response reference.