List the credit notes booked against an invoice
Only booked credit notes are listed, those a recurring series’ end booked among them: an attempt that did not book is no credit. Oldest change first; the stamp is taken when the credit note is written, so updated_since needs no overlap.
Authorization
bearerAuth An API key minted by an admin under Settings → Developers. It is bound to one company and has a scope: read, or read_write. A request without one, or with one that is not ours, is answered 401 and metered by its client address (x-rate-limits).
In: header
Path Parameters
The record's id, or ext:<external_id> for the record that carries your own key.
Query Parameters
How many records a page holds. Default 25, at most 100.
1 <= value <= 100The next_cursor of the page before.
1 <= lengthOnly records changed at or after this ISO 8601 instant. The stamp is taken when the record is written, so a list is followed from the instant the last walk started: no overlap is needed.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/invoices/string/credit-notes"{ "object": "list", "data": [ { "object": "credit_note", "id": "string", "external_id": "string", "invoice_id": "string", "customer_id": "string", "currency": "string", "kind": "full", "origin": "manual", "credit_date": "string", "issued_at": "string", "platform_ref": "string", "platform_number": -9007199254740991, "send_error": { "reason": "string", "platform_reason": "string" }, "total_amount": 0, "created_at": "string", "updated_at": "string", "lines": [ { "id": "string", "invoice_line_id": "string", "amount": 0, "position": -9007199254740991 } ] } ], "has_more": true, "next_cursor": "string"}Read one invoice GET
Forrige side
Read the revenue recognition of one invoice GET
Earned, billed, deferred revenue and work in progress, per line and for the invoice, in the company’s base currency. The figures are the month-end accrual’s own, stated as of the last day of `month`: the running month where it is left out.