OpenapiBilling invoice
Create_credit_note
POST
bearer_authheader
AuthorizationBearer <token>invoiceId*stringInvoice ID
Format
uuidapplication/json- body
amount*integerRefund amount in the smallest currency unit (must be a positive integer).
Format
int64memo*stringAdmin-provided refund reason (free text, 1-500 chars).
Manual credit note created
application/json- response
amount*integerFormat
int64createdAt*stringcreatedByUserId?|Format
uuidcurrency*stringexternalCreditNoteId?string|nullid*stringFormat
uuidmemo?string|nullsource*stringstatus*stringcurl -X POST 'https://example.com/api/bill/invoices/497f6eca-6276-4993-bfeb-53cbbbba6f08/credit-notes' \
-H 'Content-Type: application/json' \
-d '{
"amount": 0,
"memo": "string"
}'Example Response
{
"amount": 0,
"createdAt": "string",
"createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
"currency": "string",
"externalCreditNoteId": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"memo": "string",
"source": "string",
"status": "string"
}