Mayson Monorepo Documentation
    Preparing search index...

    The TransactionLineItem object.

    interface TransactionLineItem {
        id: string;
        object: "tax.transaction_line_item";
        amount: number;
        amount_tax: number;
        livemode: boolean;
        metadata: Metadata;
        product: string;
        quantity: number;
        reference: string;
        reversal: Stripe.Tax.TransactionLineItem.Reversal;
        tax_behavior: Stripe.Tax.TransactionLineItem.TaxBehavior;
        tax_code: string;
        type: Stripe.Tax.TransactionLineItem.Type;
    }
    Index

    Properties

    id: string

    Unique identifier for the object.

    object: "tax.transaction_line_item"

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

    amount: number

    The line item amount in the smallest currency unit. If tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.

    amount_tax: number

    The amount of tax calculated for this line item, in the smallest currency unit.

    livemode: boolean

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

    metadata: 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.

    product: string

    The ID of an existing Product.

    quantity: number

    The number of units of the item being purchased. For reversals, this is the quantity reversed.

    reference: string

    A custom identifier for this line item in the transaction.

    If type=reversal, contains information about what was reversed.

    Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.

    tax_code: string

    The tax code ID used for this resource.

    If reversal, this line item reverses an earlier transaction.