ApplyCreditNoteToInvoiceRequest (object)
| Feld | Typ | Beschreibung |
|---|---|---|
| amount_cents | integer | Amount to offset in cents. Defaults to min(invoice amount_open, credit note amount_open). |
| invoice_id | integer | Required when the credit note has no invoice_id. Must match the linked invoice otherwise. |
| note | string | — |
| settlement_date | string (date) | — |
| settlement_type | string | Defaults based on amounts when omitted. string
|
Beispiel (JSON)
{
"invoice_id": 0,
"amount_cents": 0,
"settlement_type": "full_cancellation",
"settlement_date": "2026-01-15",
"note": "string"
}