Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
Credit note request
invoice_id is the unique identifier of the invoice this credit note is applied to
DUPLICATE, FRAUDULENT, ORDER_CHANGE, UNSATISFACTORY, SERVICE_ISSUE, BILLING_ERROR, SUBSCRIPTION_CANCELLATION credit_note_number is an optional human-readable identifier for the credit note
idempotency_key is an optional key used to prevent duplicate credit note creation
line_items contains the individual line items that make up this credit note (minimum 1 required)
memo is an optional free-text field for additional notes about the credit note
process_credit_note is a flag to process the credit note after creation
Response
Created
credit_note_number is the unique identifier for credit notes
DRAFT, FINALIZED, VOIDED ADJUSTMENT, REFUND currency is the three-letter ISO currency code (e.g., USD, EUR) for the credit note
customer_id is the unique identifier of the customer who owns this credit note
environment_id is the unique identifier of the environment this credit note belongs to
finalized_at is the timestamp when the credit note was finalized
id is the unique identifier for the credit note
idempotency_key is an optional key used to prevent duplicate credit note creation
invoice_id is the id of the invoice resource that this credit note is applied to
line_items contains all of the line items associated with this credit note
memo is an optional memo supplied on the credit note
DUPLICATE, FRAUDULENT, ORDER_CHANGE, UNSATISFACTORY, SERVICE_ISSUE, BILLING_ERROR, SUBSCRIPTION_CANCELLATION INITIATED, PENDING, PROCESSING, SUCCEEDED, OVERPAID, FAILED, REFUNDED, PARTIALLY_REFUNDED published, deleted, archived subscription_id is the optional unique identifier of the subscription related to this credit note
total_amount is the total including creditable invoice-level discounts or minimums, and tax
voided_at is the timestamp when the credit note was voided

