Skip to main content
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 a draft, 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.
Every line here must reference an invoice line. Each invoice line’s 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.
Pre-payment credit notes — against an invoice that is 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.
Once applied, a credit note cannot be modified or un-applied. Review the draft first — GET /credit-notes/{id} returns its line_items, subtotal, tax, and total.

Create and apply in one call

Set apply: 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

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

  1. Open the invoice under Invoices and choose Create Credit Note from its actions.
  2. Pick the lines and quantities to credit, or add a custom line. The credit note is created as a draft.
  3. 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.
  4. Optionally send the customer the credit note email.
All credit notes are listed under Invoices → Credit Notes, filterable by status, date, and customer.

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.