Mayson Monorepo Documentation
    Preparing search index...

    The credit note line item object

    interface CreditNoteLineItem {
        id: string;
        object: "credit_note_line_item";
        amount: number;
        description: string;
        discount_amount: number;
        discount_amounts: Stripe.CreditNoteLineItem.DiscountAmount[];
        invoice_line_item?: string;
        livemode: boolean;
        pretax_credit_amounts: Stripe.CreditNoteLineItem.PretaxCreditAmount[];
        quantity: number;
        tax_rates: Stripe.TaxRate[];
        taxes: Stripe.CreditNoteLineItem.Tax[];
        type: Stripe.CreditNoteLineItem.Type;
        unit_amount: number;
        unit_amount_decimal: string;
    }
    Index

    Properties

    id: string

    Unique identifier for the object.

    object: "credit_note_line_item"

    String representing the object's type. Objects of the same type share the same value.

    amount: number

    The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.

    description: string

    Description of the item being credited.

    discount_amount: number

    The integer amount in cents (or local equivalent) representing the discount being credited for this line item.

    The amount of discount calculated per discount for this line item

    invoice_line_item?: string

    ID of the invoice line item being credited

    livemode: boolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

    The pretax credit amounts (ex: discount, credit grants, etc) for this line item.

    quantity: number

    The number of units of product being credited.

    tax_rates: Stripe.TaxRate[]

    The tax rates which apply to the line item.

    The tax information of the line item.

    The type of the credit note line item, one of invoice_line_item or custom_line_item. When the type is invoice_line_item there is an additional invoice_line_item property on the resource the value of which is the id of the credited line item on the invoice.

    unit_amount: number

    The cost of each unit of product being credited.

    unit_amount_decimal: string

    Same as unit_amount, but contains a decimal value with at most 12 decimal places.