OptionalamountOptionaldescriptionThe description of the credit note line item. Only valid when the type is custom_line_item.
Optionalinvoice_The invoice line item to credit. Only valid when the type is invoice_line_item.
OptionalquantityThe line item quantity to credit.
Optionaltax_A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with tax_rates.
Optionaltax_The tax rates which apply to the credit note line item. Only valid when the type is custom_line_item and cannot be mixed with tax_amounts.
Type of the credit note line item, one of invoice_line_item or custom_line_item
Optionalunit_The integer unit amount in cents (or local equivalent) of the credit note line item. This unit_amount will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when type is custom_line_item.
Optionalunit_Same as unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of unit_amount and unit_amount_decimal can be set.
The line item amount to credit. Only valid when
typeisinvoice_line_item. If invoice is set up withautomatic_tax[enabled]=true, this amount is tax exclusive