CreditNoteLineItem
The credit note line item object
Summary
Types
@type t() :: %Stripe.Resources.CreditNoteLineItem{ amount: term(), description: term(), discount_amount: term(), discount_amounts: term(), id: term(), invoice_line_item: term(), livemode: term(), metadata: term(), object: term(), pretax_credit_amounts: term(), quantity: term(), tax_rates: term(), taxes: term(), type: term(), unit_amount: term(), unit_amount_decimal: term() }
amount- The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.description- Description of the item being credited. Max length: 5000. Nullable.discount_amount- The integer amount in cents (or local equivalent) representing the discount being credited for this line item.discount_amounts- The amount of discount calculated per discount for this line item Expandable.id- Unique identifier for the object. Max length: 5000.invoice_line_item- ID of the invoice line item being credited Max length: 5000.livemode- If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.metadata- Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Nullable.object- String representing the object's type. Objects of the same type share the same value. Possible values:credit_note_line_item.pretax_credit_amounts- The pretax credit amounts (ex: discount, credit grants, etc) for this line item. Expandable.quantity- The number of units of product being credited. Nullable.tax_rates- The tax rates which apply to the line item. Expandable.taxes- The tax information of the line item. Nullable. Expandable.type- The type of the credit note line item, one ofinvoice_line_itemorcustom_line_item. When the type isinvoice_line_itemthere is an additionalinvoice_line_itemproperty on the resource the value of which is the id of the credited line item on the invoice. Possible values:custom_line_item,invoice_line_item.unit_amount- The cost of each unit of product being credited. Nullable.unit_amount_decimal- Same asunit_amount, but contains a decimal value with at most 12 decimal places. Format: decimal string. Nullable.