Credit an invoice
credit_note_createCredit one invoice: the whole invoice, a GROSS amount_minor split over its VAT rates, or named lines. Amounts store negative, reusing the invoice's own rates. Free: 5 a month. Send it with credit_note_text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Credit only these invoice lines. Leave out with amount_minor for a full credit note | |
| notes | No | Free text printed under the totals | |
| reason | Yes | Why the money is being given back, e.g. "returned goods" or "billed twice". Printed on the document | |
| invoice | Yes | The invoice number to credit, e.g. INV-2026-0001 | |
| issue_date | No | YYYY-MM-DD, defaults to today in your business profile's timezone | |
| amount_minor | No | Credit this GROSS amount, VAT included, in minor units. Split across the invoice's VAT rates in proportion to each rate's share of the total |