Mayson Monorepo Documentation
    Preparing search index...
    interface Line {
        amount?: number;
        description?: string;
        invoice_line_item?: string;
        quantity?: number;
        tax_amounts?: Emptyable<
            Stripe.CreditNoteListPreviewLineItemsParams.Line.TaxAmount[],
        >;
        tax_rates?: Emptyable<string[]>;
        type: Stripe.CreditNoteListPreviewLineItemsParams.Line.Type;
        unit_amount?: number;
        unit_amount_decimal?: string;
    }
    Index

    Properties

    amount?: number

    The line item amount to credit. Only valid when type is invoice_line_item. If invoice is set up with automatic_tax[enabled]=true, this amount is tax exclusive

    description?: string

    The description of the credit note line item. Only valid when the type is custom_line_item.

    invoice_line_item?: string

    The invoice line item to credit. Only valid when the type is invoice_line_item.

    quantity?: number

    The line item quantity to credit.

    A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with tax_rates.

    tax_rates?: Emptyable<string[]>

    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

    unit_amount?: number

    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.

    unit_amount_decimal?: string

    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.