This endpoint is used to create a single Credit Note.
The credit note service period configuration supports two explicit modes:
Global service periods: Specify start_date and end_date at the credit note level. These dates will be applied to all line items uniformly.
Individual service periods: Specify start_date and end_date for each line item. When using this mode, ALL line items must have individual periods specified.
Default behavior: If no service periods are specified (neither global nor individual), the original invoice line item service periods will be used.
Note: Mixing global and individual service periods in the same request is not allowed to prevent confusion.
Service period dates are normalized to the start of the day in the customer’s timezone to ensure consistent handling across different timezones.
Date Format: Use start_date and end_date with format “YYYY-MM-DD” (e.g., “2023-09-22”) to match other Orb APIs like /v1/invoice_line_items.
Note: Both start_date and end_date are inclusive - the service period will cover both the start date and end date completely (from start of start_date to end of end_date).
API Keys can be issued in the Orb's web application.
1An optional reason for the credit note.
duplicate, fraudulent, order_change, product_unsatisfactory "duplicate"
"fraudulent"
"order_change"
"product_unsatisfactory"
An optional memo to attach to the credit note.
"An optional memo for my credit note."
A date string to specify the global credit note service period start date in the customer's timezone. This will be applied to all line items that don't have their own individual service periods specified. If not provided, line items will use their original invoice line item service periods. This date is inclusive.
"2023-09-22"
A date string to specify the global credit note service period end date in the customer's timezone. This will be applied to all line items that don't have their own individual service periods specified. If not provided, line items will use their original invoice line item service periods. This date is inclusive.
"2023-09-22"
Created
The Credit Note resource represents a credit that has been applied to a particular invoice.
The Orb id of this credit note.
The creation time of the resource in Orb.
The time at which the credit note was voided in Orb, if applicable.
The unique identifier for credit notes.
The id of the invoice resource that this credit note is applied to.
An optional memo supplied on the credit note.
Duplicate, Fraudulent, Order change, Product unsatisfactory refund, adjustment The total prior to any creditable invoice-level discounts or minimums.
The total including creditable invoice-level discounts or minimums, and tax.
A URL to a PDF of the credit note.
Any credited amount from the applied minimum on the invoice.
The maximum amount applied on the original invoice
All of the line items associated with this credit note.
Any discounts applied on the original invoice.